Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [2.7] bpo-30911: Add tests for bad boolean arguments for accelerated json ↵ | Serhiy Storchaka | 2017-07-13 | 1 | -0/+28 |
| | | | | | | (GH-2690) (#2694) encoder and decoder.. (cherry picked from commit d3aaa2f1496aae0809c9ec9623fa528d3a2c16c2) | ||||
* | Fix trivial typo in json module docstring (GH-2274) (GH-2432) | Mariatta | 2017-07-06 | 1 | -1/+1 |
| | | | (cherry picked from commit 76c567ee27342d76f631a35c8291b715b2a61f3e) | ||||
* | Fixed the documentation of parse_constant argument in json.load(). | Serhiy Storchaka | 2016-11-12 | 1 | -1/+1 |
| | | | | parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7. | ||||
* | Issue #27993: Fix problems with the plural “objects” in docs and comments | Martin Panter | 2016-09-08 | 1 | -1/+1 |
| | |||||
* | Issue #27934: Use float.__repr__ instead of plain repr when JSON-encoding an ↵ | Mark Dickinson | 2016-09-03 | 2 | -1/+12 |
| | | | | instance of a float subclass. Thanks Eddie James. | ||||
* | Issue #4945: Improved the documenting of boolean arguments in the json module. | Serhiy Storchaka | 2016-06-30 | 1 | -3/+3 |
| | | | | Based on patch by Gabriel Genellina. | ||||
* | Issue #24540: fix typo in json.dumps docstring | Ned Deily | 2015-07-05 | 1 | -1/+2 |
| | |||||
* | Issue #19543: Emit deprecation warning for known non-text encodings. | Serhiy Storchaka | 2015-05-31 | 1 | -4/+2 |
| | | | | | | | | | | Backported issues #19619: encode() and decode() methods and constructors of str, unicode and bytearray classes now emit deprecation warning for known non-text encodings when Python is ran with the -3 option. Backported issues #20404: io.TextIOWrapper (and hence io.open()) now uses the internal codec marking system added to emit deprecation warning for known non-text encodings at stream construction time when Python is ran with the -3 option. | ||||
* | in scan_once, prevent the reading of arbitrary memory when passed a negative ↵ | Benjamin Peterson | 2014-04-14 | 1 | -0/+5 |
| | | | | | | index Bug reported by Guido Vranken. | ||||
* | Fixed JSON tests on wide build when ran from *.pyc files (issue #11489). | Serhiy Storchaka | 2013-12-01 | 1 | -2/+3 |
| | |||||
* | Issue #11489: JSON decoder now accepts lone surrogates. | Serhiy Storchaka | 2013-11-26 | 2 | -21/+69 |
| | |||||
* | #16057: Clarify why the base method default is called in custom encoders. | R David Murray | 2013-03-18 | 1 | -0/+1 |
| | | | | Original patch by Kushal Das. | ||||
* | #17368: Fix an off-by-one error in the Python JSON decoder that caused a ↵ | Ezio Melotti | 2013-03-12 | 2 | -3/+8 |
| | | | | failure while decoding empty object literals when object_pairs_hook was specified. | ||||
* | Issue #17225: JSON decoder now counts columns in the first line starting | Serhiy Storchaka | 2013-02-21 | 3 | -3/+3 |
| | | | | with 1, as in other lines. | ||||
* | #16549: fix test failures on Windows. | Ezio Melotti | 2012-11-29 | 1 | -2/+2 |
| | |||||
* | #16476: Fix json.tool to avoid including trailing whitespace. | Ezio Melotti | 2012-11-29 | 2 | -9/+10 |
| | |||||
* | #16549: Add tests for json.tools. Initial patch by Berker Peksag and Serhiy ↵ | Ezio Melotti | 2012-11-29 | 2 | -6/+77 |
| | | | | Storchaka. | ||||
* | #16333: document a way to get rid of trailing whitespace when indent is used. | Ezio Melotti | 2012-11-28 | 2 | -5/+12 |
| | |||||
* | #16559: Add more tests for the json module. Patch by Serhiy Storchaka. | Ezio Melotti | 2012-11-26 | 3 | -15/+44 |
| | |||||
* | Issue #16228: Fix a crash in the json module where a list changes size while ↵ | Antoine Pitrou | 2012-11-01 | 1 | -0/+9 |
| | | | | | | it is being encoded. Patch by Serhiy Storchaka. | ||||
* | Issue #14570: Document json sort_keys parameter properly. | Andrew Svetlov | 2012-10-28 | 1 | -6/+12 |
| | | | | Patch by Chris Rebert. | ||||
* | #13769: Enhance docs for ensure_ascii semantics in JSON decoding functions | Petri Lehtinen | 2012-09-01 | 2 | -11/+16 |
| | |||||
* | Issue #15615: Add some tests for the json module's handling of invalid input ↵ | Antoine Pitrou | 2012-08-18 | 1 | -0/+9 |
| | | | | | | data. Patch by Kushal Das. | ||||
* | Issue #5067: improve some json error messages. | Antoine Pitrou | 2012-06-28 | 3 | -10/+9 |
| | | | | Patch by Serhiy Storchaka. | ||||
* | #14875: Use float('inf') instead of float('1e66666') in the json module. | Ezio Melotti | 2012-05-21 | 1 | -2/+1 |
| | |||||
* | don't rely on dict order | Benjamin Peterson | 2012-02-21 | 1 | -1/+1 |
| | |||||
* | Issue #13774: json: Fix a SystemError when a bogus encoding is passed to | Amaury Forgeot d'Arc | 2012-01-13 | 1 | -0/+4 |
| | | | | json.loads(). | ||||
* | #5723: Improve json tests to be executed with and without accelerations. | Ezio Melotti | 2011-05-14 | 18 | -211/+267 |
| | |||||
* | #12051: Fix segfault in json.dumps() while encoding highly-nested objects ↵ | Ezio Melotti | 2011-05-10 | 1 | -1/+21 |
| | | | | using the C accelerations. | ||||
* | #12017: Fix segfault in json.loads() while decoding highly-nested objects ↵ | Ezio Melotti | 2011-05-07 | 1 | -0/+19 |
| | | | | using the C accelerations. | ||||
* | #11982: fix json.loads('""') to return u'' rather than ''. | Ezio Melotti | 2011-05-04 | 1 | -1/+2 |
| | |||||
* | #9233: Fix json.loads({}) to return a dict (instead of a list), when _json ↵ | Ezio Melotti | 2011-04-13 | 2 | -0/+11 |
| | | | | is not available. | ||||
* | #10019: Fix regression relative to 2.6: add newlines if indent=0 | R David Murray | 2011-04-13 | 2 | -1/+17 |
| | | | | Patch by Amaury Forgeot d'Arc, updated by Sando Tosi. | ||||
* | Remove unnecessary imports and use assertIs instead of assertTrue. | Ezio Melotti | 2011-04-12 | 2 | -5/+3 |
| | |||||
* | #9233: skip _json-specific tests when _json is not available. | Ezio Melotti | 2011-04-12 | 2 | -2/+14 |
| | |||||
* | Merged revisions 86596 via svnmerge from | Ezio Melotti | 2010-11-21 | 14 | -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 returns | Barry Warsaw | 2010-11-02 | 1 | -0/+2 |
| | | | | unicode. Patch by Patch by Walter Dörwald. | ||||
* | Backport r72961 fixing issue #6105: json.dumps not following OrderedDict ↵ | Raymond Hettinger | 2010-10-30 | 1 | -0/+8 |
| | | | | iteration order. | ||||
* | Recorded merge of revisions 85543 via svnmerge from | Georg Brandl | 2010-10-15 | 2 | -4/+34 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85543 | georg.brandl | 2010-10-15 19:03:02 +0200 (Fr, 15 Okt 2010) | 1 line #4785: document strict argument of JSONDecoder, plus add object_pairs_hook in the docstrings. ........ | ||||
* | Apply patch from Ray Allen for issue 9296 | Doug Hellmann | 2010-07-21 | 1 | -0/+9 |
| | |||||
* | #7092: fix DeprecationWarnings for json when the tests are run with -3 -Wd. | Ezio Melotti | 2010-01-26 | 3 | -8/+7 |
| | |||||
* | Issue #6986: Fix crash in the JSON C accelerator when called with the | Antoine Pitrou | 2009-12-08 | 1 | -2/+11 |
| | | | | wrong parameter types. Patch by Victor Stinner. | ||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 2 | -4/+4 |
| | |||||
* | #5932: fix error return in _convertPyInt_AsSsize_t() conversion function. | Georg Brandl | 2009-05-05 | 1 | -0/+3 |
| | |||||
* | Issue 5381: fix regression in pure python code path, Issue 5584: fix a ↵ | Bob Ippolito | 2009-03-29 | 4 | -7/+16 |
| | | | | decoder bug for unicode float literals outside of a container | ||||
* | Issue 5381: Add object_pairs_hook to the json module. | Raymond Hettinger | 2009-03-19 | 4 | -9/+51 |
| | |||||
* | merge json library with simplejson 2.0.9 (issue 4136) | Bob Ippolito | 2009-03-17 | 12 | -410/+550 |
| | |||||
* | check for error conditions in _json #3623 | Benjamin Peterson | 2008-10-16 | 1 | -0/+7 |
| | |||||
* | Replace more float hacks with correct math functions | Christian Heimes | 2008-05-07 | 1 | -7/+7 |
| | |||||
* | Intern static string | Christian Heimes | 2008-05-06 | 1 | -11/+1 |
| | | | | Use float constructors instead of magic code for float constants |