Benjamin Peterson
0b2a6dc42b
merge 3.4
2015-02-02 17:47:31 -05:00
Benjamin Peterson
b0ef78535a
merge 3.3
2015-02-02 17:47:26 -05:00
Benjamin Peterson
1572944499
reduce memory usage of test ( closes #23369 )
2015-02-02 17:47:07 -05:00
Benjamin Peterson
83e814d852
merge 3.4
2015-02-01 18:02:21 -05:00
Benjamin Peterson
c0b743a97b
merge 3.3
2015-02-01 18:02:15 -05:00
Benjamin Peterson
68389eaa3f
remove extra ws
2015-02-01 18:02:09 -05:00
Benjamin Peterson
71cf91cc09
merge 3.4 ( #23369 )
2015-02-01 18:00:19 -05:00
Benjamin Peterson
3675cd9db1
merge 3.3 ( #23369 )
2015-02-01 17:59:49 -05:00
Benjamin Peterson
e3bfe19358
fix possible overflow in encode_basestring_ascii ( closes #23369 )
2015-02-01 17:53:53 -05:00
Serhiy Storchaka
47efb4a5dc
Issue #19361 : JSON decoder now raises JSONDecodeError instead of ValueError.
2015-01-26 13:16:30 +02:00
Antoine Pitrou
dc3eaa80d4
Issue #23206 : Make ``json.dumps(..., ensure_ascii=False)`` as fast as the default case of ``ensure_ascii=True``. Patch by Naoki Inada.
2015-01-11 16:41:01 +01:00
Berker Peksag
39e4c4d873
Issue #21650 : Add an `--sort-keys` option to json.tool CLI.
2014-11-10 09:56:54 +02:00
Zachary Ware
f886697659
Closes #22002 : Merge with 3.4
2014-07-23 12:06:47 -05:00
Zachary Ware
f012ba42fe
Issue #22002 : Make full use of test discovery in test sub-packages.
...
Adds `load_package_tests` function to test.support, uses it in test_asyncio,
test_email, test_json, test_tools, test_importlib and all test_importlib
sub-packages to implement test discovery.
2014-07-23 12:00:29 -05:00
Benjamin Peterson
79f3ef6336
merge 3.4
2014-04-13 22:32:12 -04:00
Benjamin Peterson
584f5cbf16
merge 3.3
2014-04-13 22:31:42 -04:00
Benjamin Peterson
156285c35f
merge 3.2
2014-04-13 22:28:16 -04:00
Benjamin Peterson
940e207412
improve the command-line interface of json.tool ( closes #21000 )
...
A patch from Berker Peksag.
2014-03-21 23:17:29 -05:00
Serhiy Storchaka
687ff0ecdf
Issue #11489 : JSON decoder now accepts lone surrogates.
2013-11-26 21:27:11 +02:00
Serhiy Storchaka
c93329b3dd
Issue #11489 : JSON decoder now accepts lone surrogates.
2013-11-26 21:25:28 +02:00
Ezio Melotti
566a2be95c
#18958 : Improve error message for json.load(s) while passing a string that starts with a UTF-8 BOM.
2013-10-21 02:10:55 +03:00
Ezio Melotti
a0e768ccc2
#19307 : Improve error message for json.load(s) while passing objects of the wrong type.
2013-10-21 01:52:33 +03:00
Ethan Furman
a661f4531e
Close #18745 : Improve enum tests in test_json for infinities and NaN.
2013-09-02 01:14:56 -07:00
Ethan Furman
a4998a7041
Close #18264 : int- and float-derived enums now converted to int or float.
2013-08-10 13:01:45 -07:00
Ezio Melotti
5cc06fde43
#18273 : merge with 3.3.
2013-08-08 15:18:26 +03:00
Ezio Melotti
66f2ea042a
#18273 : move the tests in Lib/test/json_tests to Lib/test/test_json and make them discoverable by unittest. Patch by Zachary Ware.
2013-08-08 15:03:45 +03:00