Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | v3.19.1HEADv3.19.1master | Bob Ippolito | 2023-04-06 | 1 | -1/+1 |
| | | | | Signed-off-by: Bob Ippolito <bob@redivi.com> | ||||
* | Additional security hardening improvements: | Bob Ippolito | 2023-04-05 | 6 | -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 encoder | Bob Ippolito | 2023-04-04 | 1 | -1/+1 |
| | |||||
* | SJ-PT-23-100: Fix inconsistencies in error messages between C and Python ↵ | Bob Ippolito | 2023-04-04 | 3 | -7/+10 |
| | | | | implementations | ||||
* | SJ-PT-23-03: Backport integer string length limitation to limit quadratic ↵ | Bob Ippolito | 2023-04-04 | 3 | -3/+24 |
| | | | | parsing | ||||
* | SJ-PT-23-02: Fix missing reference count decrease | Bob Ippolito | 2023-04-04 | 1 | -1/+3 |
| | |||||
* | SJ-PT-23-01: Fix invalid handling of unicode escape sequences in Python decoder | Bob Ippolito | 2023-04-04 | 3 | -26/+24 |
| | |||||
* | Bump version and update CHANGEStest-sdist | Bob Ippolito | 2023-02-05 | 1 | -1/+1 |
| | |||||
* | Fix #309. Build sdist without any overrides | Bob Ippolito | 2023-02-05 | 1 | -1/+1 |
| | |||||
* | Fix #307. Build a pure python wheel | Bob Ippolito | 2023-02-04 | 1 | -1/+1 |
| | |||||
* | Update version to v3.18.1 and update CHANGES for #303 | Bob Ippolito | 2022-11-16 | 1 | -1/+1 |
| | |||||
* | Clear `i` var from loop not to leak into module namespace | Nikita Sobolev | 2022-11-16 | 1 | -0/+1 |
| | |||||
* | Revert unnecessary change | Bob Ippolito | 2022-11-14 | 1 | -1/+2 |
| | |||||
* | Rename variable for clarity | Bob Ippolito | 2022-11-14 | 1 | -5/+5 |
| | |||||
* | v3.18.0 | Bob Ippolito | 2022-11-14 | 1 | -1/+1 |
| | |||||
* | Implement speedups for #301 | Bob Ippolito | 2022-11-14 | 1 | -62/+68 |
| | |||||
* | Implement tests and fallback implementation of #301 | Bob Ippolito | 2022-11-14 | 2 | -20/+54 |
| | |||||
* | #299 Comment error fix | Richard Quaicoe | 2022-07-01 | 1 | -1/+1 |
| | |||||
* | Update CHANGES.txt and bump version | Bob Ippolito | 2022-04-22 | 1 | -1/+1 |
| | |||||
* | Add the unit test | Kishin Yagami | 2022-04-21 | 1 | -0/+2 |
| | |||||
* | Check the unicode code point range before chr() is called | Kishin Yagami | 2022-04-21 | 1 | -0/+2 |
| | |||||
* | v3.17.6v3.17.6 | Bob Ippolito | 2021-11-15 | 1 | -1/+1 |
| | |||||
* | Update version to 3.17.5 | Bob Ippolito | 2021-08-23 | 1 | -1/+1 |
| | |||||
* | Implement _asdict() check for pure python path as well | Bob Ippolito | 2021-08-23 | 1 | -4/+12 |
| | |||||
* | Raise TypeError when _asdict() is callable but does not return a dict | Bob Ippolito | 2021-08-23 | 1 | -0/+5 |
| | |||||
* | oops, a missing word made it into the commit. | Gregory P. Smith | 2021-08-23 | 1 | -1/+1 |
| | |||||
* | Move the PyDict_Check after the _asdict call. | Gregory P. Smith [Google LLC] | 2021-08-20 | 2 | -6/+33 |
| | | | | Add a unittest. | ||||
* | Merge branch 'master' into fix_is_namedtuple_dict_fu | Bob Ippolito | 2021-08-20 | 1 | -1/+1 |
|\ | |||||
| * | Upgrade cibuildwheel to v2.1.1test-v3.17.4 | Bob Ippolito | 2021-08-19 | 1 | -1/+1 |
| | | |||||
* | | Fix the C extension module to harden is_namedtuple. | Gregory P. Smith [Google LLC] | 2021-07-16 | 1 | -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 actions | Bob Ippolito | 2021-07-09 | 3 | -20/+44 |
| | |||||
* | docs: fix simple typo, precendence -> precedence | Tim Gates | 2020-12-29 | 1 | -1/+1 |
| | | | | | | There is a small typo in simplejson/__init__.py. Should read `precedence` rather than `precendence`. | ||||
* | v3.17.2v3.17.2 | Bob Ippolito | 2020-07-16 | 1 | -1/+1 |
| | |||||
* | v3.17.1v3.17.1 | Bob Ippolito | 2020-07-16 | 1 | -1/+1 |
| | |||||
* | Set version back to v3.17.0v3.17.0 | Bob Ippolito | 2019-11-17 | 1 | -1/+1 |
| | |||||
* | Bump version to v3.18.0 to work around build issues | Bob Ippolito | 2019-11-17 | 1 | -1/+1 |
| | |||||
* | Finish updating docs to be Python 3-centric | Bob Ippolito | 2019-11-17 | 1 | -30/+17 |
| | |||||
* | Prep for v3.16.1 and add JSON lines examplejson-lines-example | Bob Ippolito | 2018-09-06 | 1 | -2/+22 |
| | |||||
* | Update CHANGES for v3.16.0v3.16.0 | Bob Ippolito | 2018-06-28 | 1 | -1/+1 |
| | |||||
* | fix indentation | Benjamin Peterson | 2018-06-26 | 1 | -1/+1 |
| | |||||
* | add test | Benjamin Peterson | 2018-06-26 | 1 | -0/+2 |
| | |||||
* | On Python 2, decode empty strings as str not unicode. | Benjamin Peterson | 2018-06-26 | 1 | -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.0 | Bob Ippolito | 2018-05-12 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into speedups-cleanupspeedups-cleanup | Bob Ippolito | 2018-04-25 | 4 | -15/+76 |
|\ | |||||
| * | Merge branch 'master' into str-decodestr-decode | Bob Ippolito | 2018-04-25 | 2 | -6/+13 |
| |\ | |||||
| * | | Fix the other comment typos | Bob Ippolito | 2018-04-25 | 1 | -3/+3 |
| | | | |||||
| * | | fix comment typos | Bob Ippolito | 2018-04-25 | 1 | -3/+3 |
| | | | |||||
| * | | Bypass the decode() method in bytes subclasses. | Serhiy Storchaka | 2018-04-25 | 4 | -15/+76 |
| | | | | | | | | | | | | | | | The Python and the C implementations produce different results due to using the decode() method. | ||||
* | | | Merge branch 'master' into speedups-cleanup | Bob Ippolito | 2018-04-25 | 2 | -6/+13 |
|\ \ \ | | |/ | |/| | |||||
| * | | Support builds without cStringIO.cStringIO | Serhiy Storchaka | 2018-04-25 | 2 | -6/+13 |
| |/ | | | | | | | | | The cStringIO module is optional. Fall back to StringIO if it is not available. |