summaryrefslogtreecommitdiffstats
path: root/Lib/json/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix py3k warnings in 1/0 in tests. (#4072)Serhiy Storchaka2017-10-221-1/+1
|
* [2.7] bpo-30911: Add tests for bad boolean arguments for accelerated json ↵Serhiy Storchaka2017-07-131-0/+28
| | | | | | (GH-2690) (#2694) encoder and decoder.. (cherry picked from commit d3aaa2f1496aae0809c9ec9623fa528d3a2c16c2)
* Issue #27993: Fix problems with the plural “objects” in docs and commentsMartin Panter2016-09-081-1/+1
|
* Issue #27934: Use float.__repr__ instead of plain repr when JSON-encoding an ↵Mark Dickinson2016-09-031-0/+11
| | | | instance of a float subclass. Thanks Eddie James.
* in scan_once, prevent the reading of arbitrary memory when passed a negative ↵Benjamin Peterson2014-04-141-0/+5
| | | | | | index Bug reported by Guido Vranken.
* Fixed JSON tests on wide build when ran from *.pyc files (issue #11489).Serhiy Storchaka2013-12-011-2/+3
|
* Issue #11489: JSON decoder now accepts lone surrogates.Serhiy Storchaka2013-11-261-4/+51
|
* #17368: Fix an off-by-one error in the Python JSON decoder that caused a ↵Ezio Melotti2013-03-121-2/+7
| | | | failure while decoding empty object literals when object_pairs_hook was specified.
* #16549: fix test failures on Windows.Ezio Melotti2012-11-291-2/+2
|
* #16476: Fix json.tool to avoid including trailing whitespace.Ezio Melotti2012-11-291-8/+8
|
* #16549: Add tests for json.tools. Initial patch by Berker Peksag and Serhiy ↵Ezio Melotti2012-11-291-0/+69
| | | | Storchaka.
* #16559: Add more tests for the json module. Patch by Serhiy Storchaka.Ezio Melotti2012-11-263-15/+44
|
* Issue #16228: Fix a crash in the json module where a list changes size while ↵Antoine Pitrou2012-11-011-0/+9
| | | | | | it is being encoded. Patch by Serhiy Storchaka.
* Issue #15615: Add some tests for the json module's handling of invalid input ↵Antoine Pitrou2012-08-181-0/+9
| | | | | | data. Patch by Kushal Das.
* Issue #13774: json: Fix a SystemError when a bogus encoding is passed toAmaury Forgeot d'Arc2012-01-131-0/+4
| | | | json.loads().
* #5723: Improve json tests to be executed with and without accelerations.Ezio Melotti2011-05-1417-209/+265
|
* #12051: Fix segfault in json.dumps() while encoding highly-nested objects ↵Ezio Melotti2011-05-101-1/+21
| | | | using the C accelerations.
* #12017: Fix segfault in json.loads() while decoding highly-nested objects ↵Ezio Melotti2011-05-071-0/+19
| | | | using the C accelerations.
* #11982: fix json.loads('""') to return u'' rather than ''.Ezio Melotti2011-05-041-1/+2
|
* #9233: Fix json.loads({}) to return a dict (instead of a list), when _json ↵Ezio Melotti2011-04-131-0/+5
| | | | is not available.
* #10019: Fix regression relative to 2.6: add newlines if indent=0R David Murray2011-04-131-0/+16
| | | | Patch by Amaury Forgeot d'Arc, updated by Sando Tosi.
* Remove unnecessary imports and use assertIs instead of assertTrue.Ezio Melotti2011-04-122-5/+3
|
* #9233: skip _json-specific tests when _json is not available.Ezio Melotti2011-04-122-2/+14
|
* Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-2114-66/+66
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
* Issue 10038. Restore the Python 2.6 behavior that json.loads() always returnsBarry Warsaw2010-11-021-0/+2
| | | | unicode. Patch by Patch by Walter Dörwald.
* Backport r72961 fixing issue #6105: json.dumps not following OrderedDict ↵Raymond Hettinger2010-10-301-0/+8
| | | | iteration order.
* Apply patch from Ray Allen for issue 9296Doug Hellmann2010-07-211-0/+9
|
* #7092: fix DeprecationWarnings for json when the tests are run with -3 -Wd.Ezio Melotti2010-01-261-2/+2
|
* Issue #6986: Fix crash in the JSON C accelerator when called with theAntoine Pitrou2009-12-081-2/+11
| | | | wrong parameter types. Patch by Victor Stinner.
* convert usage of fail* to assert*Benjamin Peterson2009-06-302-4/+4
|
* #5932: fix error return in _convertPyInt_AsSsize_t() conversion function.Georg Brandl2009-05-051-0/+3
|
* Issue 5381: fix regression in pure python code path, Issue 5584: fix a ↵Bob Ippolito2009-03-292-5/+12
| | | | decoder bug for unicode float literals outside of a container
* Issue 5381: Add object_pairs_hook to the json module.Raymond Hettinger2009-03-192-0/+32
|
* merge json library with simplejson 2.0.9 (issue 4136)Bob Ippolito2009-03-177-5/+69
|
* check for error conditions in _json #3623Benjamin Peterson2008-10-161-0/+7
|
* PEP 8 nits in json packageBenjamin Peterson2008-05-062-2/+2
|
* Add the 'json' package. Code taken from simplejson 1.9 and contributed by BobBrett Cannon2008-05-0516-0/+624
Ippolito. Closes issue #2750.