Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | doc: Use super() in subclassed JSONEncoder examples (GH-115565) | Jan Max Meyer | 2024-02-28 | 1 | -2/+2 |
| | | | | Replace calls to `json.JSONEncoder.default(self, obj)` by `super().default(obj)` within the examples of the documentation. | ||||
* | Docs: Avoid the deprecated ``.. cmdoption::`` directive (#110292) | Adam Turner | 2023-10-03 | 1 | -7/+7 |
| | |||||
* | gh-107544: Add docs about `json.dumps(..., default=)` (#108259) | Nikita Sobolev | 2023-09-07 | 1 | -1/+12 |
| | |||||
* | gh-101100: Sphinx warnings: pick the low hanging fruits (GH-107386) | Serhiy Storchaka | 2023-07-29 | 1 | -3/+3 |
| | |||||
* | gh-106892: Use roles :data: and :const: for referencing module variables ↵ | Serhiy Storchaka | 2023-07-21 | 1 | -3/+3 |
| | | | | (GH-106894) | ||||
* | Revert "GH-96145: Add AttrDict to JSON module for use with object_hook ↵ | Łukasz Langa | 2023-06-26 | 1 | -43/+0 |
| | | | | | (#96146)" (#105948) This reverts commit 1f0eafa844bf5a380603d55e8d4b42d8c2a3439d. | ||||
* | Fix indentation in `json.AttrDict` REPL example (#104930) | Alex Waygood | 2023-05-25 | 1 | -8/+8 |
| | | | This is causing the docs to be rendered incorrectly. | ||||
* | Misc updates to Whatsnew 3.12 (#104912) | Raymond Hettinger | 2023-05-25 | 1 | -2/+2 |
| | |||||
* | gh-96959: Update more HTTP links (GH-97536) | Serhiy Storchaka | 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. | ||||
* | gh-96512: Update int_max_str docs to say 3.11 (#96942) | Gregory P. Smith | 2022-09-19 | 1 | -1/+1 |
| | | | | It was unknown if it'd be before 3.11.0 when creating the original changes. It's in 3.11rc2, so 3.11 it is. | ||||
* | gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96499) | 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. 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 | 1 | -0/+43 |
| | |||||
* | gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS ↵ | Serhiy Storchaka | 2022-08-04 | 1 | -2/+2 |
| | | | | | | | | | | (GH-95527) 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. | ||||
* | gh-92417: `json` docs: `dict` is ordered on all supported Python versions ↵ | Alex Waygood | 2022-05-08 | 1 | -7/+0 |
| | | | | (GH-92422) | ||||
* | bpo-46157: fix typo in docs (GH-30237) | Kumar Aditya | 2021-12-23 | 1 | -2/+2 |
| | |||||
* | bpo-46001: Change OverflowError to RecursionError in JSON library docstrings ↵ | James Gerity | 2021-12-07 | 1 | -2/+2 |
| | | | | (GH-29943) | ||||
* | bpo-45441: Update some moved URLs in documentation (GH-28861) | 180909 | 2021-10-12 | 1 | -3/+3 |
| | |||||
* | 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 |
| |