Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | gh-100931: Test all `pickle` protocols in `test_slice` (#100932) | Nikita Sobolev | 2023-01-11 |
| | |||
* | gh-99925: Fix inconsistency in `json.dumps()` error messages (GH-99926) | František Nesveda | 2022-12-20 |
| | |||
* | gh-100272: Fix JSON serialization of OrderedDict (GH-100273) | Serhiy Storchaka | 2022-12-17 |
| | | | | It now preserves the order of keys. | ||
* | gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961) | Serhiy Storchaka | 2022-09-24 |
| | |||
* | gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96499) | Gregory P. Smith | 2022-09-02 |
| | | | | | | | | | | | | | | | | Integer to and from text conversions via CPython's bignum `int` type is not safe against denial of service attacks due to malicious input. Very large input strings with hundred thousands of digits can consume several CPU seconds. This PR comes fresh from a pile of work done in our private PSRT security response team repo. Signed-off-by: Christian Heimes [Red Hat] <christian@python.org> Tons-of-polishing-up-by: Gregory P. Smith [Google] <greg@krypto.org> Reviews via the private PSRT repo via many others (see the NEWS entry in the PR). <!-- gh-issue-number: gh-95778 --> * Issue: gh-95778 <!-- /gh-issue-number --> I wrote up [a one pager for the release managers](https://docs.google.com/document/d/1KjuF_aXlzPUxTK4BMgezGJ2Pn7uevfX7g0_mvgHlL7Y/edit#). Much of that text wound up in the Issue. Backports PRs already exist. See the issue for links. | ||
* | GH-96145: Add AttrDict to JSON module for use with object_hook (#96146) | Raymond Hettinger | 2022-08-23 |
| | |||
* | bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) | Christian Heimes | 2022-03-22 |
| | | | | | | | | | | | - Add requires_fork and requires_subprocess to more tests - Skip extension import tests if dlopen is not available - Don't assume that _testcapi is a shared extension - Skip a lot of socket tests that don't work on Emscripten - Skip mmap tests, mmap emulation is incomplete - venv does not work yet - Cannot get libc from executable The "entire" test suite is now passing on Emscripten with EMSDK from git head (91 suites are skipped). | ||
* | bpo-46542: test_json uses support.infinite_recursion() (GH-30972) | Victor Stinner | 2022-01-28 |
| | | | | Fix test_json tests checking for RecursionError: modify these tests to use support.infinite_recursion(). | ||
* | bpo-45644: Make json.tool read infile before writing to outfile (GH-29273) | Chris Wesseling | 2021-11-06 |
| | | | | | | | | | so that $ python -m json.tool foo.json foo.json doesn't result in an empty foo.json. Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||
* | bpo-45269: test wrong `markers` type to `c_make_encoder` (GH-28540) | Nikita Sobolev | 2021-09-28 |
| | |||
* | bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25189) | Inada Naoki | 2021-04-06 |
| | | | | | | | | | | | | * Fix _sitebuiltins * Fix test_inspect * Fix test_interpreters * Fix test_io * Fix test_iter * Fix test_json * Fix test_linecache * Fix test_lltrace * Fix test_logging * Fix logging | ||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21314) | Hai Shi | 2020-07-06 |
| | |||
* | bpo-40462: Fix typo in test_json (GH-20094) | Victor Stinner | 2020-05-15 |
| | |||
* | bpo-39828: Fix json.tool to catch BrokenPipeError (GH-18779) | Dong-hee Na | 2020-03-10 |
| | |||
* | bpo-39377: json: Remove the encoding option. (GH-18075) | Inada Naoki | 2020-01-20 |
| | |||
* | bpo-29636: json.tool: Add document for indentation options. (GH-17482) | Daniel Himmelstein | 2019-12-07 |
| | | | And updated test to use subprocess.run | ||
* | bpo-27413: json.tool: Add --no-ensure-ascii option. (GH-17472) | wim glenn | 2019-12-06 |
| | |||
* | bpo-33684: json.tool: Use utf-8 for infile and outfile. (GH-17460) | Inada Naoki | 2019-12-04 |
| | |||
* | bpo-29636: Add --(no-)indent arguments to json.tool (GH-345) | Daniel Himmelstein | 2019-12-04 |
| | |||
* | bpo-37805: Add tests for json.dump(..., skipkeys=True) (GH-15489) | Dong-hee Na | 2019-08-26 |
| | | | | | | | https://bugs.python.org/issue37805 Automerge-Triggered-By: @methane | ||
* | bpo-33461: emit DeprecationWarning when json.loads(encoding=...) is used ↵ | Matthias Bussonnier | 2019-04-09 |
| | | | | (GH-6762) | ||
* | bpo-31553: add --json-lines option to json.tool (#10051) | HongWeipeng | 2018-11-07 |
| | | | | | | | | | | * add jsonlines option to json.tool * code review * fix:avoid read infile after it close * improve doc in whatsnew 3.8 | ||
* | bpo-30877: Fix clearing a cache in the the JSON decoder. (GH-7048) | Serhiy Storchaka | 2018-05-22 |
| | |||
* | bpo-6986: Add a comment to clarify a test of _json.make_encoder(). (GH-3789) | Oren Milman | 2018-03-26 |
| | |||
* | bpo-24641: Improved error message for JSON unserializible keys. (#4364) | Serhiy Storchaka | 2017-11-25 |
| | | | | | Also updated an example for default() in the module docstring. Removed quotes around type name in other error messages. | ||
* | bpo-31505: Fix an assertion failure in json, in case _json.make_encoder() ↵ | Oren Milman | 2017-09-24 |
| | | | | received a bad encoder() argument. (#3643) | ||
* | bpo-30936: Fix a reference leak in json when fail to sort keys. (#2712) | Serhiy Storchaka | 2017-07-16 |
| | |||
* | bpo-30911: Add tests for bad boolean arguments for accelerated json (#2690) | Serhiy Storchaka | 2017-07-13 |
| | | | encoder and decoder. | ||
* | bpo-29919: Remove unused imports found by pyflakes (#137) | Victor Stinner | 2017-03-27 |
| | | | Make also minor PEP8 coding style fixes on modified imports. | ||
* | Fix stderr bug in json.tool test (#346) | Daniel Himmelstein | 2017-03-15 |
| | | | See https://github.com/python/cpython/pull/201#discussion_r103229425. | ||
* | Issue #28541: Improve test coverage for encoding detection in json library. | Serhiy Storchaka | 2016-10-30 |
| | | | | Original patch by Eric Appelt. | ||
* | Issue #17909: Accept binary input in json.loads | Nick Coghlan | 2016-09-10 |
| | | | | | | | json.loads (and hence json.load) now support binary input encoded as UTF-8, UTF-16 or UTF-32. Patch by Serhiy Storchaka. | ||
* | Issue #27993: Merge plural fixes from 3.5 | Martin Panter | 2016-09-07 |
|\ | |||
| * | Issue #27993: Fix problems with plural objects in docs and comments | Martin Panter | 2016-09-07 |
| | | |||
* | | Remove more unused imports in tests. | Serhiy Storchaka | 2016-04-25 |
| | | |||
* | | Issue #23277: Remove unused sys and os imports | Berker Peksag | 2016-04-24 |
|/ | | | | Patch by Jon Dufresne. | ||
* | Issue #24683: Fixed crashes in _json functions called with arguments of | Serhiy Storchaka | 2015-07-26 |
|\ | | | | | | | inappropriate type. | ||
| * | Issue #24683: Fixed crashes in _json functions called with arguments of | Serhiy Storchaka | 2015-07-26 |
| | | | | | | | | inappropriate type. | ||
* | | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. | Yury Selivanov | 2015-07-03 |
| | | |||
* | | Issue #9517: Move script_helper to the support package. | Berker Peksag | 2015-05-06 |
| | | | | | | | | Patch by Christie Wilson. | ||
* | | merge 3.4 (#24094) | Benjamin Peterson | 2015-05-02 |
|\| | |||
| * | merge 3.3 (#24094) | Benjamin Peterson | 2015-05-02 |
| |\ | |||
| | * | just sort the items tuple directly (closes #24094) | Benjamin Peterson | 2015-05-02 |
| | | | |||
* | | | merge 3.4 | Benjamin Peterson | 2015-02-02 |
|\| | | |||
| * | | merge 3.3 | Benjamin Peterson | 2015-02-02 |
| |\| | |||
| | * | reduce memory usage of test (closes #23369) | Benjamin Peterson | 2015-02-02 |
| | | | |||
* | | | merge 3.4 | Benjamin Peterson | 2015-02-01 |
|\| | | |||
| * | | merge 3.3 | Benjamin Peterson | 2015-02-01 |
| |\| | |||
| | * | remove extra ws | Benjamin Peterson | 2015-02-01 |
| | | | |||
* | | | merge 3.4 (#23369) | Benjamin Peterson | 2015-02-01 |
|\| | |