52 Commits (643238eb53805bc77148adbca83cd22e34d8aeba)

Author SHA1 Message Date
Christian Heimes f402e922f3 Issue #16847: Fixed improper use of _PyUnicode_CheckConsistency() in 13 years ago
Antoine Pitrou e9e35c3f6b Issue #16228: Fix a crash in the json module where a list changes size while it is being encoded. 13 years ago
Antoine Pitrou 9f69e79c45 Issue #16228: Fix a crash in the json module where a list changes size while it is being encoded. 13 years ago
Antoine Pitrou 2d24e94bbe Issue #5067: improve some json error messages. 14 years ago
Antoine Pitrou d9a5137742 Issue #5067: improve some json error messages. 14 years ago
Victor Stinner 8f825060f1 Check newly created consistency using _PyUnicode_CheckConsistency(str, 1) 14 years ago
Amaury Forgeot d'Arc dee76e627d Issue #13774: json: Fix a SystemError when a bogus encoding is passed to 14 years ago
Victor Stinner f5cff56a1b Issue #13088: Add shared Py_hexdigits constant to format a number into base 16 15 years ago
Victor Stinner d9c0631d77 Strip trailing spaces in _json.c 15 years ago
Victor Stinner c4f281eba3 Fix misuse of PyUnicode_GET_SIZE, use PyUnicode_GET_LENGTH instead 15 years ago
Antoine Pitrou 699cd9f7f1 Remove unused variable 15 years ago
Martin v. Löwis 1ee1b6fe0d Use identifier API for PyObject_GetAttrString. 15 years ago
Martin v. Löwis c47adb04b3 Change PyUnicode_KIND to 1,2,4. Drop _KIND_SIZE and _CHARACTER_SIZE. 15 years ago
Antoine Pitrou 90c30e87be Remove now duplicate code in _json.c; instead, reuse the new private lib 15 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 15 years ago
Antoine Pitrou 18bb330203 Fix compilation under Windows 15 years ago
Antoine Pitrou df7fc9dda7 Issue #12778: Reduce memory consumption when JSON-encoding a large container of many small objects. 15 years ago
Ezio Melotti 136726537f #12051: Fix segfault in json.dumps() while encoding highly-nested objects using the C accelerations. 15 years ago
Ezio Melotti c1ec7b5d44 #12051: Fix segfault in json.dumps() while encoding highly-nested objects using the C accelerations. 15 years ago
Ezio Melotti 362b95102f #12017: Fix segfault in json.loads() while decoding highly-nested objects using the C accelerations. 15 years ago
Ezio Melotti cec464951e #12017: Fix segfault in json.loads() while decoding highly-nested objects using the C accelerations. 15 years ago
Ezio Melotti f5164f6e93 #11982: remove now unused function. 15 years ago
Ezio Melotti df8a8f768d #11982: fix json.loads('""') to return u'' rather than ''. 15 years ago
Antoine Pitrou f645451d78 Issue #11856: Speed up parsing of JSON numbers. 15 years ago
Brett Cannon b94767ff44 Issue #8914: fix various warnings from the Clang static analyzer v254. 15 years ago
Georg Brandl d823bdcb0e #10804: fix copy-paste error when checking assigned fields for NULL. 15 years ago
Antoine Pitrou 2397dd58b7 Issue #10314: improve performance of JSON encoding with sort_keys=True 16 years ago
Barry Warsaw fa6582752a Issue 10038. Restore the Python 2.6 behavior that json.loads() always returns 16 years ago
Raymond Hettinger cbba8d4c7a Backport r72961 fixing issue #6105: json.dumps not following OrderedDict iteration order. 16 years ago
Antoine Pitrou 22ad24528e Merged revisions 85342 via svnmerge from 16 years ago
Antoine Pitrou ae136da881 Merged revisions 85342 via svnmerge from 16 years ago
Antoine Pitrou 5b0e9e84e9 Issue #10055: Make json C89-compliant in UCS4 mode. 16 years ago
Georg Brandl 4009c9edfc Merged revisions 82805-82806,83523-83527,83536,83538,83542,83546-83548,83550-83555,83558,83560 via svnmerge from 16 years ago
Antoine Pitrou 7d6e076f6d Issue #7451: Improve decoding performance of JSON objects, and reduce 16 years ago
Georg Brandl c8284cfc57 #9087: update json docstrings -- unicode and long do not exist anymore. 16 years ago
Doug Hellmann f31db93fc1 Apply patch from Ray Allen for issue 9296 16 years ago
Doug Hellmann 76e57947a1 Merged revisions 83016 via svnmerge from 16 years ago
Doug Hellmann 1c524754f6 Apply patch from Ray Allen for issue 9296 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Brett Cannon 8e9757e432 Remove unneeded variable mutation and initializations. 16 years ago
Antoine Pitrou 4fad6bdde9 Merged revisions 76710 via svnmerge from 16 years ago
Antoine Pitrou 781eba7972 Merged revisions 76708 via svnmerge from 16 years ago
Antoine Pitrou 187177fc55 Issue #6986: Fix crash in the JSON C accelerator when called with the 16 years ago
Eric Smith 129c97df02 Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in _json.c as part of short float repr. Change made after consulting with Bob Ippolito. This completes the removal of calls to PyOS_ascii_strtod. 17 years ago
Raymond Hettinger 491a4cb8d9 Fix TODO: do the sort by just the key, not the key/value pair. 17 years ago
Raymond Hettinger bcf6f92dc5 * Fix-up a TODO (support the sort_key option). 17 years ago
Raymond Hettinger c8d952dfe4 Issue 6105: json encoder to respect iteration order of its inputs. 17 years ago
Georg Brandl 596820539f Merged revisions 72314 via svnmerge from 17 years ago
Georg Brandl f71ba95e91 #5932: fix error return in _convertPyInt_AsSsize_t() conversion function. 17 years ago