summaryrefslogtreecommitdiffstats
path: root/Modules/_json.c
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 76708 via svnmerge fromAntoine Pitrou2009-12-081-4/+15
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76708 | antoine.pitrou | 2009-12-08 16:40:51 +0100 (mar., 08 déc. 2009) | 4 lines Issue #6986: Fix crash in the JSON C accelerator when called with the wrong parameter types. Patch by Victor Stinner. ........
* Fix TODO: do the sort by just the key, not the key/value pair.Raymond Hettinger2009-05-271-15/+20
|
* * Fix-up a TODO (support the sort_key option).Raymond Hettinger2009-05-271-20/+40
| | | | | | | | * Fix an error where True/False were being written-out as title-cased strings when used a dictionary keys. * Speed-up iteration over dicts by looping over items() rather than keys() followed by value lookups. * TODO: sort only by keys, not keys and values.
* Issue 6105: json encoder to respect iteration order of its inputs.Raymond Hettinger2009-05-271-5/+22
|
* Merged revisions 72314 via svnmerge fromGeorg Brandl2009-05-051-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72314 | georg.brandl | 2009-05-05 09:48:12 +0200 (Di, 05 Mai 2009) | 1 line #5932: fix error return in _convertPyInt_AsSsize_t() conversion function. ........
* Fixed warning. (Should not use *const* as variable name)Hirokazu Yamamoto2009-05-021-1/+1
|
* port simplejson upgrade from the trunk #4136Benjamin Peterson2009-05-021-330/+1377
| | | | | | json also now works only with unicode strings Patch by Antoine Pitrou; updated by me
* Merged revisions 66938,66942 via svnmerge fromBenjamin Peterson2008-10-161-4/+6
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r66938 | benjamin.peterson | 2008-10-16 16:27:54 -0500 (Thu, 16 Oct 2008) | 1 line fix possible ref leak ........ r66942 | benjamin.peterson | 2008-10-16 16:48:06 -0500 (Thu, 16 Oct 2008) | 1 line fix more possible ref leaks in _json and use Py_CLEAR ........
* merge r66932 and add a few py3k only checksBenjamin Peterson2008-10-161-4/+6
|
* #3560: cleanup C memoryview APIAntoine Pitrou2008-08-191-1/+1
|
* Merged revisions 65654 via svnmerge fromMartin v. Löwis2008-08-131-1/+1
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65654 | martin.v.loewis | 2008-08-12 16:49:50 +0200 (Tue, 12 Aug 2008) | 6 lines Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple, by denying s# to parse objects that have a releasebuffer procedure, and introducing s*. More module might need to get converted to use s*. ........
* Merged revisions 65147 via svnmerge fromBenjamin Peterson2008-07-191-2/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65147 | bob.ippolito | 2008-07-19 16:59:50 -0500 (Sat, 19 Jul 2008) | 1 line #3322: bounds checking for _json.scanstring ........
* Implement PEP 3121: new module initialization and finalization API.Martin v. Löwis2008-06-111-4/+15
|
* Renamed PyString to PyBytesChristian Heimes2008-05-261-18/+18
|
* Move variable declaration to the top of the block,Amaury Forgeot d'Arc2008-05-081-1/+2
| | | | to let _json.c compile with Microsoft compilers.
* Merged revisions 62734,62736,62748,62769 via svnmerge fromChristian Heimes2008-05-081-0/+620
svn+ssh://pythondev@svn.python.org/python/trunk ........ r62734 | brett.cannon | 2008-05-05 22:21:38 +0200 (Mon, 05 May 2008) | 5 lines Add the 'json' package. Code taken from simplejson 1.9 and contributed by Bob Ippolito. Closes issue #2750. ........ r62736 | georg.brandl | 2008-05-05 22:53:39 +0200 (Mon, 05 May 2008) | 2 lines Fix JSON module docs. ........ r62748 | benjamin.peterson | 2008-05-06 04:51:10 +0200 (Tue, 06 May 2008) | 2 lines PEP 8 nits in json package ........ r62769 | christian.heimes | 2008-05-06 18:18:41 +0200 (Tue, 06 May 2008) | 2 lines Intern static string Use float constructors instead of magic code for float constants ........