Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #19361: JSON decoder now raises JSONDecodeError instead of ValueError. | Serhiy Storchaka | 2015-01-26 | 2 | -48/+45 |
| | |||||
* | Issue #23206: Make ``json.dumps(..., ensure_ascii=False)`` as fast as the ↵ | Antoine Pitrou | 2015-01-11 | 1 | -1/+8 |
| | | | | default case of ``ensure_ascii=True``. Patch by Naoki Inada. | ||||
* | Issue #21650: Add an `--sort-keys` option to json.tool CLI. | Berker Peksag | 2014-11-10 | 1 | -2/+10 |
| | |||||
* | improve the command-line interface of json.tool (closes #21000) | Benjamin Peterson | 2014-03-22 | 1 | -12/+15 |
| | | | | A patch from Berker Peksag. | ||||
* | Remove mentions of Python 2.x and being externally maintained from | Gregory P. Smith | 2013-12-08 | 1 | -5/+2 |
|\ | | | | | | | | | the bundled json module. Replace that with a mention of it being a version of the externally maintained simplejson module. | ||||
| * | Remove mentions of Python 2.x and being externally maintained from | Gregory P. Smith | 2013-12-08 | 1 | -5/+2 |
| | | | | | | | | | | the bundled json module. Replace that with a mention of it being a version of the externally maintained simplejson module. | ||||
* | | Issue #11489: JSON decoder now accepts lone surrogates. | Serhiy Storchaka | 2013-11-26 | 1 | -18/+17 |
|\ \ | |/ | |||||
| * | Issue #11489: JSON decoder now accepts lone surrogates. | Serhiy Storchaka | 2013-11-26 | 1 | -18/+17 |
| | | |||||
* | | #18958: Improve error message for json.load(s) while passing a string that ↵ | Ezio Melotti | 2013-10-20 | 1 | -0/+2 |
| | | | | | | | | starts with a UTF-8 BOM. | ||||
* | | #19307: Improve error message for json.load(s) while passing objects of the ↵ | Ezio Melotti | 2013-10-20 | 1 | -0/+3 |
| | | | | | | | | wrong type. | ||||
* | | Close #18264: int- and float-derived enums now converted to int or float. | Ethan Furman | 2013-08-10 | 1 | -8/+19 |
| | | |||||
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 3 | -4/+4 |
| | | |||||
* | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 3 | -4/+4 |
| | | | | | | | | ModuleNotFoundError. | ||||
* | | Merge #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. | ||||
| * | Merge #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. | ||||
| | * | #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: merge with 3.3. | Ezio Melotti | 2013-03-12 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | #17368: merge with 3.2. | Ezio Melotti | 2013-03-12 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | #17368: Fix an off-by-one error in the Python JSON decoder that caused a ↵ | Ezio Melotti | 2013-03-12 | 1 | -1/+1 |
| | | | | | | | | | | | | 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. | ||||
| * | | 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. | ||||
| | * | 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. | ||||
| * | | #16476: merge with 3.2. | Ezio Melotti | 2012-11-29 | 1 | -1/+2 |
| |\ \ | | |/ | |||||
| | * | #16476: Fix json.tool to avoid including trailing whitespace. | Ezio Melotti | 2012-11-29 | 1 | -1/+2 |
| | | | |||||
* | | | #16009: JSON error messages now provide more information. Patch by Serhiy ↵ | Ezio Melotti | 2013-01-03 | 2 | -9/+9 |
| | | | | | | | | | | | | Storchaka. | ||||
* | | | #16549: merge with 3.3. | Ezio Melotti | 2012-11-29 | 1 | -9/+11 |
|\ \ \ | |/ / | |||||
| * | | #16549: merge with 3.2. | Ezio Melotti | 2012-11-29 | 1 | -9/+11 |
| |\ \ | | |/ | |||||
| | * | #16549: Make json.tool work again on Python 3 and add tests. Initial patch ↵ | Ezio Melotti | 2012-11-29 | 1 | -9/+11 |
| | | | | | | | | | | | | by Berker Peksag and Serhiy Storchaka. | ||||
| * | | #16333: merge with 3.2. | Ezio Melotti | 2012-11-28 | 2 | -5/+12 |
| |\ \ | | |/ | |||||
| | * | #16333: document a way to get rid of trailing whitespace when indent is used. | Ezio Melotti | 2012-11-28 | 2 | -5/+12 |
| | | | |||||
* | | | Cleanup json decoder: float() has builtin support of nan, +inf, -inf since ↵ | Victor Stinner | 2012-11-28 | 1 | -11/+3 |
| | | | | | | | | | | | | Python 2.6 | ||||
* | | | #16333: fix example in docstring. | Ezio Melotti | 2012-11-28 | 1 | -2/+1 |
| | | | |||||
* | | | #16333: use (",", ": ") as default separator when indent is specified to ↵ | Ezio Melotti | 2012-11-28 | 2 | -9/+14 |
| | | | | | | | | | | | | avoid trailing whitespace. Patch by Serhiy Storchaka. | ||||
* | | | Merge issue #14570: Document json sort_keys parameter properly. | Andrew Svetlov | 2012-10-28 | 1 | -6/+12 |
|\ \ \ | |/ / | | | | | | | Patch by Chris Rebert. | ||||
| * | | Merge issue #14570: Document json sort_keys parameter properly. | Andrew Svetlov | 2012-10-28 | 1 | -6/+12 |
| |\ \ | | |/ | | | | | | | Patch by Chris Rebert. | ||||
| | * | Issue #14570: Document json sort_keys parameter properly. | Andrew Svetlov | 2012-10-28 | 1 | -6/+12 |
| | | | | | | | | | | | | Patch by Chris Rebert. | ||||
* | | | more yield from | Philip Jenvey | 2012-10-01 | 1 | -10/+5 |
|/ / | | | | | | | patch by Serhiy Storchaka | ||||
* | | Issue #5067: improve some json error messages. | Antoine Pitrou | 2012-06-28 | 3 | -7/+9 |
|\ \ | |/ | | | | | Patch by Serhiy Storchaka. | ||||
| * | Issue #5067: improve some json error messages. | Antoine Pitrou | 2012-06-28 | 3 | -7/+9 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | #14875: merge with 3.2. | Ezio Melotti | 2012-05-21 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | #14875: Use float('inf') instead of float('1e66666') in the json module. | Ezio Melotti | 2012-05-21 | 1 | -2/+1 |
| | | |||||
* | | Merge 3.2: Issue #13703 plus some related test suite fixes. | Georg Brandl | 2012-02-20 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵ | Georg Brandl | 2012-02-20 | 1 | -1/+3 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior. | ||||
| | * | Issue #13703: add a way to randomize the hash values of basic types (str, ↵ | Georg Brandl | 2012-02-20 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior. | ||||
| | * | #5723: Improve json tests to be executed with and without accelerations. | Ezio Melotti | 2011-05-14 | 17 | -193/+245 |
| | | | |||||
| | * | #12051: Fix segfault in json.dumps() while encoding highly-nested objects ↵ | Ezio Melotti | 2011-05-10 | 1 | -1/+20 |
| | | | | | | | | | | | | using the C accelerations. | ||||
| | * | #12017: Fix segfault in json.loads() while decoding highly-nested objects ↵ | Ezio Melotti | 2011-05-07 | 1 | -0/+12 |
| | | | | | | | | | | | | using the C accelerations. | ||||
* | | | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -2/+1 |
|/ / | |||||
* | | #5723: merge with 3.1. | Ezio Melotti | 2011-05-14 | 1 | -2/+2 |
| | | |||||
* | | Merge 3.1 | Éric Araujo | 2011-04-24 | 1 | -1/+1 |
|\ \ | |/ |