Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify compatibility code.compat | Serhiy Storchaka | 2018-04-24 | 7 | -36/+29 |
| | | | | | Since minimal supported Python 3 version is 3.3, the u() helper no longer needed. | ||||
* | v3.14.0v3.14.0 | Bob Ippolito | 2018-04-21 | 4 | -6/+10 |
| | |||||
* | Merge pull request #212 from richvdh/rav/defer_is_rawjson_test | Bob Ippolito | 2018-04-09 | 1 | -6/+6 |
|\ | | | | | Defer is_raw_json test | ||||
| * | Defer is_raw_json test | Richard van der Hoff | 2018-04-03 | 1 | -6/+6 |
| | | | | | | | | | | | | Instances of RawJSON are unusual; by moving the test for them to lower in encoder_listencode_obj, we get a 12% performance improvement in my tests by not doing the instanceof test. | ||||
* | | Merge pull request #211 from richvdh/rav/fix_linebreak_encoding | Bob Ippolito | 2018-04-02 | 4 | -8/+27 |
|\ \ | |/ |/| | Avoid escaping U+2028 and U+2029 without ensure_ascii | ||||
| * | Remove redundant parts of ESCAPE and ESCAPE_DCT | Richard van der Hoff | 2018-03-29 | 1 | -3/+1 |
| | | | | | | | | | | | | | | * `\b\f\n\r\t` are all in the range `\x00-\x1f` so can be omitted from ESCAPE * `ESCAPE_DCT[0x2028:0x2029]` is no longer used in `encode_basestring`, and `py_encode_basestring_ascii` handles them via the generic `\uNNNN` code, so these entries can be removed from `ESCAPE_DCT`. | ||||
| * | documentation updates | Richard van der Hoff | 2018-03-29 | 2 | -4/+4 |
| | | |||||
| * | Update documentation for JSONEncoderForHTML | Richard van der Hoff | 2018-03-29 | 1 | -0/+5 |
| | | |||||
| * | Improve docstring on JSONEncoderForHTML | Richard van der Hoff | 2018-03-29 | 1 | -0/+5 |
| | | | | | | | | Document the U+2028 and U+2029 behavior. | ||||
| * | Simplify ESCAPE regexp construction | Richard van der Hoff | 2018-03-29 | 1 | -4/+1 |
| | | | | | | | | | | Now that we do not include \uNNNN escapes in the regex, we can use a raw string rather than having to double-escape everything. | ||||
| * | Avoid escaping U+2028 and U+2029 without ensure_ascii | Richard van der Hoff | 2018-03-29 | 3 | -4/+18 |
|/ | | | | | There is no need to escape U+2028 and U+2029 when ensure_ascii is false, and doing so makes us inconsistent with the standard JSON library. | ||||
* | Update CHANGES.txt and increment version to 3.13.3 | Bob Ippolito | 2018-03-27 | 4 | -3/+8 |
| | |||||
* | Merge pull request #210 from richvdh/rav/avoid_string_copy | Bob Ippolito | 2018-03-27 | 2 | -2/+7 |
|\ | | | | | Avoid copying strings when encoding | ||||
| * | Avoid copying strings when encoding | Richard van der Hoff | 2018-03-27 | 2 | -2/+7 |
|/ | | | | | | | d782561 introduced a performance regression which means that every string is copied during serialisation, when ensure_ascii is False. This should fix it. | ||||
* | Merge pull request #199 from simplejson/setup-classifiers | Bob Ippolito | 2017-12-10 | 1 | -20/+19 |
|\ | | | | | The classifier parameter in setup.py must be a list. | ||||
| * | The classifier parameter in setup.py must be a list.setup-classifiers | Serhiy Storchaka | 2017-12-03 | 1 | -20/+19 |
|/ | |||||
* | v3.13.2v3.13.2 | Bob Ippolito | 2017-11-24 | 4 | -3/+7 |
| | |||||
* | maybe fix windows 2.x build | Bob Ippolito | 2017-11-24 | 1 | -1/+2 |
| | |||||
* | v3.13.1v3.13.1 | Bob Ippolito | 2017-11-24 | 4 | -3/+9 |
| | |||||
* | fail build in CI if speedups do not build correctly | Bob Ippolito | 2017-11-24 | 3 | -2/+5 |
| | |||||
* | Merge pull request #194 from simplejson/speedups-compile-error-2.7 | Bob Ippolito | 2017-11-24 | 1 | -1/+1 |
|\ | | | | | Fix a compile error on 2.x. Closes #193. | ||||
| * | Fix a compile error on 2.x. Closes #193.speedups-compile-error-2.7 | Serhiy Storchaka | 2017-11-24 | 1 | -1/+1 |
|/ | |||||
* | also upload tarball | Bob Ippolito | 2017-11-23 | 1 | -1/+1 |
| | |||||
* | build sdist from travis | Bob Ippolito | 2017-11-23 | 2 | -2/+9 |
| | |||||
* | fix artifact matchingv3.13.0 | Bob Ippolito | 2017-11-23 | 1 | -13/+26 |
| | |||||
* | fix appveyor.yml | Bob Ippolito | 2017-11-23 | 1 | -1/+1 |
| | |||||
* | Fix string encoding for Python 2 | Bob Ippolito | 2017-11-23 | 1 | -2/+8 |
| | |||||
* | Ensure that encoding text subtypes is consistent with or without speedups. ↵ | Bob Ippolito | 2017-11-23 | 6 | -10/+24 |
| | | | | Fixes #185 | ||||
* | update CHANGES | Bob Ippolito | 2017-11-23 | 1 | -3/+5 |
| | |||||
* | Merge pull request #191 from simplejson/type-error-messages | Bob Ippolito | 2017-11-23 | 4 | -5/+27 |
|\ | | | | | Make TypeError messages contain type name instead of a repr. | ||||
| * | Add tests.type-error-messages | Serhiy Storchaka | 2017-11-23 | 1 | -1/+18 |
| | | |||||
| * | Make TypeError messages contain type name instead of a repr. | Serhiy Storchaka | 2017-11-10 | 3 | -4/+9 |
| | | | | | | | | | | | | The failure depends on the type, not on the value of an object. This combines CPython's issues 26623 and 24641. | ||||
* | | update appveyor config | Bob Ippolito | 2017-11-23 | 1 | -1/+4 |
| | | |||||
* | | Update version, add *.pyd to gitignore | Bob Ippolito | 2017-11-23 | 5 | -3/+8 |
| | | |||||
* | | Workarounds for NamedTemporaryFile issues with Windows for tool tests | Bob Ippolito | 2017-11-23 | 1 | -13/+21 |
| | | |||||
* | | v3.12.1v3.12.1 | Bob Ippolito | 2017-11-23 | 4 | -3/+13 |
| | | |||||
* | | update artifacts.py to avoid none-any wheels | Bob Ippolito | 2017-11-23 | 1 | -9/+23 |
| | | |||||
* | | added editorconfig | Bob Ippolito | 2017-11-23 | 1 | -0/+11 |
| | | |||||
* | | Merge pull request #188 from simplejson/bpo-31505 | Bob Ippolito | 2017-11-20 | 2 | -3/+42 |
|\ \ | |/ |/| | bpo-31505: Fix an assertion failure in json, in case _json.make_encoder() received a bad encoder() argument. | ||||
| * | Fix a test.bpo-31505 | Serhiy Storchaka | 2017-11-06 | 1 | -3/+1 |
| | | |||||
| * | bpo-31505: Fix an assertion failure in json, in case _json.make_encoder() ↵ | Serhiy Storchaka | 2017-11-06 | 2 | -3/+44 |
| | | | | | | | | | | | | received a bad encoder() argument. Original patch by Oren Milman. | ||||
* | | bpo-31095: fix potential crash during GC (#187) | Serhiy Storchaka | 2017-11-06 | 1 | -2/+4 |
| | | | | | | Original patch by INADA Naoki. | ||||
* | | Fix a reference leak when sort keys. (#186) | Serhiy Storchaka | 2017-11-06 | 1 | -2/+5 |
|/ | |||||
* | Add Python 3.6.3 to appveyor | Bob Ippolito | 2017-11-05 | 1 | -2/+10 |
| | |||||
* | Fix #184 threaded import issue, prep v3.12.0v3.12.0 | Bob Ippolito | 2017-11-05 | 9 | -87/+102 |
| | |||||
* | see if pypy will install without dist: trusty | Bob Ippolito | 2017-07-08 | 1 | -2/+0 |
| | |||||
* | newer versions are not in pyenv for some reason | Bob Ippolito | 2017-07-08 | 1 | -2/+2 |
| | |||||
* | sudo: false | Bob Ippolito | 2017-07-08 | 1 | -0/+8 |
| | |||||
* | Add pypy3 and update osx python versions | Bob Ippolito | 2017-07-08 | 1 | -2/+5 |
| | |||||
* | Merge pull request #179 from taleinat/patch-1 | Bob Ippolito | 2017-07-08 | 1 | -1/+1 |
|\ | | | | | setup.py: fix condition for build_ext exception types |