summaryrefslogtreecommitdiff
path: root/simplejson
Commit message (Collapse)AuthorAgeFilesLines
* v3.19.1HEADv3.19.1masterBob Ippolito2023-04-061-1/+1
| | | | Signed-off-by: Bob Ippolito <bob@redivi.com>
* Additional security hardening improvements:Bob Ippolito2023-04-056-94/+83
| | | | | | | | * Remove unused namedtuple_as_object and tuple_as_array arguments from simplejson.load (SJ-PT-23-102) * Remove vestigial _one_shot code from iterencode (SJ-PT-23-103) * Change default of allow_nan from True to False and add allow_nan to decoder (SJ-PT-23-107)
* SJ-PT-23-101: Remove unused unichr import from encoderBob Ippolito2023-04-041-1/+1
|
* SJ-PT-23-100: Fix inconsistencies in error messages between C and Python ↵Bob Ippolito2023-04-043-7/+10
| | | | implementations
* SJ-PT-23-03: Backport integer string length limitation to limit quadratic ↵Bob Ippolito2023-04-043-3/+24
| | | | parsing
* SJ-PT-23-02: Fix missing reference count decreaseBob Ippolito2023-04-041-1/+3
|
* SJ-PT-23-01: Fix invalid handling of unicode escape sequences in Python decoderBob Ippolito2023-04-043-26/+24
|
* Bump version and update CHANGEStest-sdistBob Ippolito2023-02-051-1/+1
|
* Fix #309. Build sdist without any overridesBob Ippolito2023-02-051-1/+1
|
* Fix #307. Build a pure python wheelBob Ippolito2023-02-041-1/+1
|
* Update version to v3.18.1 and update CHANGES for #303Bob Ippolito2022-11-161-1/+1
|
* Clear `i` var from loop not to leak into module namespaceNikita Sobolev2022-11-161-0/+1
|
* Revert unnecessary changeBob Ippolito2022-11-141-1/+2
|
* Rename variable for clarityBob Ippolito2022-11-141-5/+5
|
* v3.18.0Bob Ippolito2022-11-141-1/+1
|
* Implement speedups for #301Bob Ippolito2022-11-141-62/+68
|
* Implement tests and fallback implementation of #301Bob Ippolito2022-11-142-20/+54
|
* #299 Comment error fixRichard Quaicoe2022-07-011-1/+1
|
* Update CHANGES.txt and bump versionBob Ippolito2022-04-221-1/+1
|
* Add the unit testKishin Yagami2022-04-211-0/+2
|
* Check the unicode code point range before chr() is calledKishin Yagami2022-04-211-0/+2
|
* v3.17.6v3.17.6Bob Ippolito2021-11-151-1/+1
|
* Update version to 3.17.5Bob Ippolito2021-08-231-1/+1
|
* Implement _asdict() check for pure python path as wellBob Ippolito2021-08-231-4/+12
|
* Raise TypeError when _asdict() is callable but does not return a dictBob Ippolito2021-08-231-0/+5
|
* oops, a missing word made it into the commit.Gregory P. Smith2021-08-231-1/+1
|
* Move the PyDict_Check after the _asdict call.Gregory P. Smith [Google LLC]2021-08-202-6/+33
| | | | Add a unittest.
* Merge branch 'master' into fix_is_namedtuple_dict_fuBob Ippolito2021-08-201-1/+1
|\
| * Upgrade cibuildwheel to v2.1.1test-v3.17.4Bob Ippolito2021-08-191-1/+1
| |
* | Fix the C extension module to harden is_namedtuple.Gregory P. Smith [Google LLC]2021-07-161-0/+6
|/ | | | | | | Protects against looks-a-likes such as Mocks. Also prevent dict encoding from causing an unraised SystemError when encountering a non-Dict. Noticed by running user tests against a CPython interpreter with C asserts enabled (COPTS += -UNDEBUG).
* Replace travis and appveyor with github actionsBob Ippolito2021-07-093-20/+44
|
* docs: fix simple typo, precendence -> precedenceTim Gates2020-12-291-1/+1
| | | | | | There is a small typo in simplejson/__init__.py. Should read `precedence` rather than `precendence`.
* v3.17.2v3.17.2Bob Ippolito2020-07-161-1/+1
|
* v3.17.1v3.17.1Bob Ippolito2020-07-161-1/+1
|
* Set version back to v3.17.0v3.17.0Bob Ippolito2019-11-171-1/+1
|
* Bump version to v3.18.0 to work around build issuesBob Ippolito2019-11-171-1/+1
|
* Finish updating docs to be Python 3-centricBob Ippolito2019-11-171-30/+17
|
* Prep for v3.16.1 and add JSON lines examplejson-lines-exampleBob Ippolito2018-09-061-2/+22
|
* Update CHANGES for v3.16.0v3.16.0Bob Ippolito2018-06-281-1/+1
|
* fix indentationBenjamin Peterson2018-06-261-1/+1
|
* add testBenjamin Peterson2018-06-261-0/+2
|
* On Python 2, decode empty strings as str not unicode.Benjamin Peterson2018-06-261-7/+8
| | | | | | | | | | | | | | | | In general on Python 2, simplejson decodes ASCII strings as str, only promoting to unicode when needed: >>> simplejson.loads('["Spaetzle", "Spätzle"]') ['Spaetzle', u'Sp\xe4tzle'] Since 83a493db6a8b859ec7b10fa85365dd3fdf144c68, though, simplejson has always decoded empty JSON strings as unicode: >>> simplejson.loads('""') u'' This PR restores the old behavior of decoding empty strings as str.
* v3.15.0v3.15.0Bob Ippolito2018-05-121-1/+1
|
* Merge branch 'master' into speedups-cleanupspeedups-cleanupBob Ippolito2018-04-254-15/+76
|\
| * Merge branch 'master' into str-decodestr-decodeBob Ippolito2018-04-252-6/+13
| |\
| * | Fix the other comment typosBob Ippolito2018-04-251-3/+3
| | |
| * | fix comment typosBob Ippolito2018-04-251-3/+3
| | |
| * | Bypass the decode() method in bytes subclasses.Serhiy Storchaka2018-04-254-15/+76
| | | | | | | | | | | | | | | The Python and the C implementations produce different results due to using the decode() method.
* | | Merge branch 'master' into speedups-cleanupBob Ippolito2018-04-252-6/+13
|\ \ \ | | |/ | |/|
| * | Support builds without cStringIO.cStringIOSerhiy Storchaka2018-04-252-6/+13
| |/ | | | | | | | | The cStringIO module is optional. Fall back to StringIO if it is not available.