Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-96959: Update more HTTP links (GH-97536) | Miss Islington (bot) | 2022-09-27 | 1 | -1/+1 |
| | | | | | | | Use HTTPS for documents which are available by both HTTP and HTTPS links, but there is no redirection from HTTP to HTTPS or vice versa. (cherry picked from commit dd53b79de0ea98af6a11481217a961daef4e9774) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | [3.10] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96501) | Gregory P. Smith | 2022-09-02 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | 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. This backports https://github.com/python/cpython/pull/96499 aka 511ca9452033ef95bc7d7fc404b8161068226002 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#). | ||||
* | [3.10] gh-91838: Use HTTPS links in docs for resources which redirect to ↵ | Serhiy Storchaka | 2022-08-04 | 1 | -2/+2 |
| | | | | | | | | | | | | HTTPS (GH-95527) (GH-95644) If an HTTP link is redirected to a same looking HTTPS link, the latter can be used directly without changes in readability and behavior. It protects from a men-in-the-middle attack. This change does not affect Python examples.. (cherry picked from commit f79547a429d5c90af83a0da821e082cba20d4712) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | [3.10] gh-92417: `json` docs: `dict` is ordered on all supported Python ↵ | Miss Islington (bot) | 2022-05-08 | 1 | -7/+0 |
| | | | | | | | | | | versions (GH-92422) (GH-92465) (cherry picked from commit bc098cfdb756f207d8fa84793e8ad91a2f263efb) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Automerge-Triggered-By: GH:serhiy-storchaka | ||||
* | bpo-46001: Change OverflowError to RecursionError in JSON library docstrings ↵ | Miss Islington (bot) | 2021-12-07 | 1 | -2/+2 |
| | | | | | | | (GH-29943) (cherry picked from commit 8db06528cacc94e67eb1fb2e4c2acc061a515671) Co-authored-by: James Gerity <snoopjedi@gmail.com> | ||||
* | bpo-45441: Update some moved URLs in documentation (GH-28861) | Miss Islington (bot) | 2021-10-12 | 1 | -3/+3 |
| | | | | | (cherry picked from commit b37dc9b3bc9575adc039c6093c643b7ae5e917e1) Co-authored-by: 180909 <wjh180909@gmail.com> | ||||
* | Doc: Improve library/json document. (GH-24390) | Adorilson Bezerra | 2021-03-02 | 1 | -7/+6 |
| | |||||
* | Doc: add a missing period (GH-21819) | Mathieu Dupuy | 2020-08-20 | 1 | -1/+1 |
| | |||||
* | bpo-39377: json: Update doc about the encoding option. (GH-18076) | Inada Naoki | 2020-01-22 | 1 | -5/+4 |
| | | | | Co-authored-by: Kyle Stanley <aeros167@gmail.com> | ||||
* | bpo-29636: json.tool: Add document for indentation options. (GH-17482) | Daniel Himmelstein | 2019-12-07 | 1 | -0/+6 |
| | | | And updated test to use subprocess.run | ||||
* | bpo-27413: json.tool: Add --no-ensure-ascii option. (GH-17472) | wim glenn | 2019-12-06 | 1 | -0/+6 |
| | |||||
* | Correct minor grammar mistake (GH-15404) | Andre Delfino | 2019-08-23 | 1 | -1/+1 |
| | |||||
* | bpo-30550: Clarify JSON ordering guarantees (GH-15397) | Raymond Hettinger | 2019-08-22 | 1 | -0/+12 |
| | |||||
* | bpo-33461: emit DeprecationWarning when json.loads(encoding=...) is used ↵ | Matthias Bussonnier | 2019-04-09 | 1 | -2/+5 |
| | | | | (GH-6762) | ||||
* | bpo-31553: add --json-lines option to json.tool (#10051) | HongWeipeng | 2018-11-07 | 1 | -0/+6 |
| | | | | | | | | | | * add jsonlines option to json.tool * code review * fix:avoid read infile after it close * improve doc in whatsnew 3.8 | ||||
* | bpo-35167: Specify program for gzip and json.tool command line options. ↵ | Serhiy Storchaka | 2018-11-05 | 1 | -0/+3 |
| | | | | (GH-10332) | ||||
* | bpo-34379: Doc: Move note for json.dump (GH-8730) | Evan Allrich | 2018-08-11 | 1 | -6/+5 |
| | |||||
* | bpo-17909: Document that json.load can accept a binary IO (GH-7366) | Anthony Sottile | 2018-06-07 | 1 | -3/+7 |
| | |||||
* | Improve highlighting of some code blocks. (GH-6401) | Serhiy Storchaka | 2018-04-08 | 1 | -8/+8 |
| | |||||
* | bpo-32360: Remove object_pairs_hook=OrderedDict examples (GH-5001) | INADA Naoki | 2018-04-03 | 1 | -8/+4 |
| | |||||
* | Make `json.dumps()` example to be PEP-8 compliant. (GH-3472) | Sergey Fedoseev | 2017-09-09 | 1 | -1/+1 |
| | |||||
* | Fix the signature of JSONDecodeError (no end parameter). (#1827) | Serhiy Storchaka | 2017-05-27 | 1 | -1/+1 |
| | | | Unlikely to the simplejson module, json.JSONDecodeError doesn't accept the end argument. | ||||
* | Issues #29189: Merge indentation fixes from 3.5 | Martin Panter | 2017-01-24 | 1 | -11/+11 |
|\ | |||||
| * | Issue #29189: Fix indentation in RST markup | Martin Panter | 2017-01-24 | 1 | -11/+11 |
| | | |||||
* | | Issue #29281: Fill-in a missing versionchanged entry | Raymond Hettinger | 2017-01-20 | 1 | -0/+5 |
| | | |||||
* | | Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges | Serhiy Storchaka | 2016-11-26 | 1 | -1/+1 |
|\ \ | |/ | | | | | in the documentation. | ||||
| * | Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges | Serhiy Storchaka | 2016-11-26 | 1 | -1/+1 |
| | | | | | | | | in the documentation. | ||||
* | | Fixed the documentation of parse_constant argument in json.load(). | Serhiy Storchaka | 2016-11-12 | 1 | -2/+2 |
|\ \ | |/ | | | | | parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7. | ||||
| * | Fixed the documentation of parse_constant argument in json.load(). | Serhiy Storchaka | 2016-11-12 | 1 | -2/+2 |
| | | | | | | | | parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7. | ||||
* | | Issue #19795: Mark up None as literal text. | Serhiy Storchaka | 2016-10-19 | 1 | -2/+3 |
|\ \ | |/ | |||||
| * | Issue #19795: Mark up None as literal text. | Serhiy Storchaka | 2016-10-19 | 1 | -2/+3 |
| | | |||||
* | | Issue #17909: Accept binary input in json.loads | Nick Coghlan | 2016-09-10 | 1 | -2/+3 |
| | | | | | | | | | | | | | | json.loads (and hence json.load) now support binary input encoded as UTF-8, UTF-16 or UTF-32. Patch by Serhiy Storchaka. | ||||
* | | Issue #4945: Improved the documenting of boolean arguments in the json module. | Serhiy Storchaka | 2016-06-30 | 1 | -22/+26 |
|\ \ | |/ | | | | | Based on patch by Gabriel Genellina. | ||||
| * | Issue #4945: Improved the documenting of boolean arguments in the json module. | Serhiy Storchaka | 2016-06-30 | 1 | -22/+26 |
| | | | | | | | | Based on patch by Gabriel Genellina. | ||||
* | | Merge with 3.5 | Terry Jan Reedy | 2016-06-23 | 1 | -1/+7 |
|\ \ | |/ | |||||
| * | Issue #27304: Source code links for sub-packages in the same file. | Terry Jan Reedy | 2016-06-23 | 1 | -1/+7 |
| | | | | | | | | Patch by Yoni Lavi | ||||
* | | Issue #18726: All optional parameters of the dump(), dumps(), | Serhiy Storchaka | 2016-06-21 | 1 | -6/+18 |
|/ | | | | | load() and loads() functions and JSONEncoder and JSONDecoder class constructors in the json module are now keyword-only. | ||||
* | Issue #22558: Add remaining doc links to source code for Python-coded modules. | Terry Jan Reedy | 2016-06-11 | 1 | -0/+5 |
| | | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi. | ||||
* | Issue #26736: Used HTTPS for external links in the documentation if possible. | Serhiy Storchaka | 2016-05-07 | 1 | -1/+1 |
| | |||||
* | Closes #25910: fix dead and permanently redirected links in the docs. Thanks ↵ | Georg Brandl | 2016-02-26 | 1 | -1/+1 |
| | | | | to SilentGhost for the patch. | ||||
* | Issue #25161: Merge full stops from 3.4 into 3.5 | Martin Panter | 2015-10-10 | 1 | -1/+1 |
|\ | |||||
| * | Issue #25161: Add full stops in documentation; patch by Takase Arihiro | Martin Panter | 2015-10-10 | 1 | -1/+1 |
| | | |||||
* | | Issue #19361: JSON decoder now raises JSONDecodeError instead of ValueError. | Serhiy Storchaka | 2015-01-26 | 1 | -3/+36 |
| | | |||||
* | | Issue #23181: More "codepoint" -> "code point". | Serhiy Storchaka | 2015-01-18 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #23181: More "codepoint" -> "code point". | Serhiy Storchaka | 2015-01-18 | 1 | -1/+1 |
| | | |||||
* | | Issue #21514: The documentation of the json module now refers to new JSON RFC | Serhiy Storchaka | 2014-11-27 | 1 | -39/+72 |
|\ \ | |/ | | | | | 7159 instead of obsoleted RFC 4627. | ||||
| * | Issue #21514: The documentation of the json module now refers to new JSON RFC | Serhiy Storchaka | 2014-11-27 | 1 | -39/+72 |
| | | | | | | | | 7159 instead of obsoleted RFC 4627. | ||||
* | | Issue #21650: Add an `--sort-keys` option to json.tool CLI. | Berker Peksag | 2014-11-10 | 1 | -0/+11 |
| | | |||||
* | | merge with 3.4 | Georg Brandl | 2014-10-28 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Using "-m module" is easier to read and understand than "-mmodule". | Georg Brandl | 2014-10-28 | 1 | -2/+2 |
| | |