Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), | Serhiy Storchaka | 2015-05-30 | 1 | -7/+17 | |
| | | | | | | | | | | PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() to check for and handle errors correctly. | |||||
* | | merge 3.4 (#24094) | Benjamin Peterson | 2015-05-03 | 1 | -28/+3 | |
|\ \ | |/ | ||||||
| * | merge 3.3 (#24094) | Benjamin Peterson | 2015-05-03 | 1 | -28/+3 | |
| |\ | ||||||
| | * | just sort the items tuple directly (closes #24094) | Benjamin Peterson | 2015-05-03 | 1 | -27/+3 | |
| | | | ||||||
* | | | Issue #23685: Fix usage of PyMODINIT_FUNC in _json, _scproxy, nis, pyexpat | Victor Stinner | 2015-03-17 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | _codecs_cn, _codecs_hk, _codecs_iso2022, _codecs_jp, _codecs_kr and _codecs_tw modules. pyexpat.c doesn't need to redeclare PyMODINIT_FUNC, it's already declared in Include/pyport.h. | |||||
* | | | Issue #22883: Got rid of outdated references to PyInt and PyString in comments. | Serhiy Storchaka | 2015-02-17 | 1 | -4/+4 | |
| | | | ||||||
* | | | merge 3.4 (#23369) | Benjamin Peterson | 2015-02-01 | 1 | -4/+11 | |
|\ \ \ | |/ / | ||||||
| * | | merge 3.3 (#23369) | Benjamin Peterson | 2015-02-01 | 1 | -4/+11 | |
| |\ \ | | |/ | ||||||
| | * | fix possible overflow in encode_basestring_ascii (closes #23369) | Benjamin Peterson | 2015-02-01 | 1 | -4/+11 | |
| | | | ||||||
* | | | Issue #19361: JSON decoder now raises JSONDecodeError instead of ValueError. | Serhiy Storchaka | 2015-01-26 | 1 | -11/+10 | |
| | | | ||||||
* | | | Issue #23206: Make ``json.dumps(..., ensure_ascii=False)`` as fast as the ↵ | Antoine Pitrou | 2015-01-11 | 1 | -3/+130 | |
|/ / | | | | | | | default case of ``ensure_ascii=True``. Patch by Naoki Inada. | |||||
* | | Issue #22338: Fix a crash in the json module on memory allocation failure. | Victor Stinner | 2014-09-10 | 1 | -1/+2 | |
| | | ||||||
* | | merge 3.3 | Benjamin Peterson | 2014-04-14 | 1 | -4/+5 | |
|\ \ | |/ | ||||||
| * | merge 3.2 | Benjamin Peterson | 2014-04-14 | 1 | -4/+5 | |
| |\ | ||||||
| | * | disallow a negative idx parameter | Benjamin Peterson | 2014-04-14 | 1 | -4/+5 | |
| | | | ||||||
* | | | merge 3.3 | Benjamin Peterson | 2014-04-14 | 1 | -1/+4 | |
|\ \ \ | |/ / | ||||||
| * | | merge 3.2 | Benjamin Peterson | 2014-04-14 | 1 | -1/+4 | |
| |\ \ | | |/ | ||||||
| | * | in scan_once, prevent the reading of arbitrary memory when passed a negative ↵ | Benjamin Peterson | 2014-04-14 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | index Bug reported by Guido Vranken. | |||||
* | | | Issue #11489: JSON decoder now accepts lone surrogates. | Serhiy Storchaka | 2013-11-26 | 1 | -19/+7 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #11489: JSON decoder now accepts lone surrogates. | Serhiy Storchaka | 2013-11-26 | 1 | -19/+7 | |
| | | | ||||||
* | | | Close #18264: int- and float-derived enums now converted to int or float. | Ethan Furman | 2013-08-10 | 1 | -7/+58 | |
| | | | ||||||
* | | | Issue #16847: Fixed improper use of _PyUnicode_CheckConsistency() in | Christian Heimes | 2013-01-03 | 1 | -0/+2 | |
|\ \ \ | |/ / | | | | | | | | | | non-pydebug builds. Several extension modules now compile cleanly when assert()s are enabled in standard builds (-DDEBUG flag). | |||||
| * | | Issue #16847: Fixed improper use of _PyUnicode_CheckConsistency() in | Christian Heimes | 2013-01-03 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | non-pydebug builds. Several extension modules now compile cleanly when assert()s are enabled in standard builds (-DDEBUG flag). | |||||
* | | | #16009: JSON error messages now provide more information. Patch by Serhiy ↵ | Ezio Melotti | 2013-01-03 | 1 | -24/+24 | |
| | | | | | | | | | | | | Storchaka. | |||||
* | | | Issue #16590: remove obsolete compatibility code from the _json module. | Antoine Pitrou | 2012-12-01 | 1 | -40/+5 | |
| | | | | | | | | | | | | Patch by Serhiy Storchaka. | |||||
* | | | Issue #16228: Fix a crash in the json module where a list changes size while ↵ | Antoine Pitrou | 2012-11-01 | 1 | -7/+3 | |
|\ \ \ | |/ / | | | | | | | | | | | | | it is being encoded. Patch by Serhiy Storchaka. | |||||
| * | | Issue #16228: Fix a crash in the json module where a list changes size while ↵ | Antoine Pitrou | 2012-11-01 | 1 | -7/+3 | |
| |\ \ | | |/ | | | | | | | | | | | | | it is being encoded. Patch by Serhiy Storchaka. | |||||
| | * | Issue #16228: Fix a crash in the json module where a list changes size while ↵ | Antoine Pitrou | 2012-11-01 | 1 | -7/+3 | |
| | | | | | | | | | | | | | | | | | | it is being encoded. Patch by Serhiy Storchaka. | |||||
* | | | Issue #16330: Use surrogate-related macros | Victor Stinner | 2012-10-30 | 1 | -11/+10 | |
|/ / | | | | | | | Patch written by Serhiy Storchaka. | |||||
* | | Issue #5067: improve some json error messages. | Antoine Pitrou | 2012-06-28 | 1 | -4/+4 | |
|\ \ | |/ | | | | | Patch by Serhiy Storchaka. | |||||
| * | Issue #5067: improve some json error messages. | Antoine Pitrou | 2012-06-28 | 1 | -4/+4 | |
| | | | | | | | | Patch by Serhiy Storchaka. | |||||
* | | Check newly created consistency using _PyUnicode_CheckConsistency(str, 1) | Victor Stinner | 2012-04-27 | 1 | -0/+1 | |
| | | | | | | | | | | | | * In debug mode, fill the string data with invalid characters * Simplify also reference counting in PyCodec_BackslashReplaceErrors() and PyCodec_XMLCharRefReplaceError() | |||||
* | | Issue #14387: Do not include accu.h from Python.h. | Antoine Pitrou | 2012-03-22 | 1 | -0/+2 | |
|\ \ | |/ | ||||||
* | | Issue #13088: Add shared Py_hexdigits constant to format a number into base 16 | Victor Stinner | 2011-10-14 | 1 | -8/+8 | |
| | | ||||||
* | | Strip trailing spaces in _json.c | Victor Stinner | 2011-10-11 | 1 | -15/+15 | |
| | | ||||||
* | | Fix misuse of PyUnicode_GET_SIZE, use PyUnicode_GET_LENGTH instead | Victor Stinner | 2011-10-11 | 1 | -1/+1 | |
| | | ||||||
* | | Remove unused variable | Antoine Pitrou | 2011-10-11 | 1 | -1/+0 | |
| | | ||||||
* | | Use identifier API for PyObject_GetAttrString. | Martin v. Löwis | 2011-10-10 | 1 | -0/+1 | |
| | | ||||||
* | | Change PyUnicode_KIND to 1,2,4. Drop _KIND_SIZE and _CHARACTER_SIZE. | Martin v. Löwis | 2011-10-07 | 1 | -2/+2 | |
| | | ||||||
* | | Remove now duplicate code in _json.c; instead, reuse the new private lib | Antoine Pitrou | 2011-10-06 | 1 | -123/+22 | |
| | | ||||||
* | | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -100/+152 | |
| | | ||||||
* | | Fix compilation under Windows | Antoine Pitrou | 2011-08-20 | 1 | -1/+2 | |
| | | ||||||
* | | Issue #12778: Reduce memory consumption when JSON-encoding a large container ↵ | Antoine Pitrou | 2011-08-19 | 1 | -49/+154 | |
| | | | | | | | | of many small objects. | |||||
* | | #12051: merge with 3.2. | Ezio Melotti | 2011-05-10 | 1 | -2/+15 | |
|\ \ | |/ | ||||||
| * | #12051: merge with 3.1. | Ezio Melotti | 2011-05-10 | 1 | -2/+15 | |
| |\ | ||||||
| | * | #12051: Fix segfault in json.dumps() while encoding highly-nested objects ↵ | Ezio Melotti | 2011-05-10 | 1 | -2/+15 | |
| | | | | | | | | | | | | using the C accelerations. | |||||
* | | | #12017: merge with 3.2. | Ezio Melotti | 2011-05-07 | 1 | -2/+13 | |
|\ \ \ | |/ / | ||||||
| * | | #12017: merge with 3.1. | Ezio Melotti | 2011-05-07 | 1 | -2/+13 | |
| |\ \ | | |/ | ||||||
| | * | #12017: Fix segfault in json.loads() while decoding highly-nested objects ↵ | Ezio Melotti | 2011-05-07 | 1 | -2/+13 | |
| | | | | | | | | | | | | using the C accelerations. | |||||
| | * | Merged revisions 85342 via svnmerge from | Antoine Pitrou | 2010-10-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85342 | antoine.pitrou | 2010-10-09 17:24:28 +0200 (sam., 09 oct. 2010) | 4 lines Issue #10055: Make json C89-compliant in UCS4 mode. ........ |