summaryrefslogtreecommitdiffstats
path: root/Doc/tools
Commit message (Collapse)AuthorAgeFilesLines
* Fixed linenumber missing when audit hook has an error (GH-24692)Jules Lasne2021-03-011-0/+1
| | | | | See https://github.com/sphinx-doc/sphinx/issues/8932 Co-authored-by: tk0miya <i.tkomiya@gmail.com>
* Remove unused suspicious rule in the docsv3.10.0a6Pablo Galindo2021-03-011-1/+0
|
* bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917)Brandt Bucher2021-02-261-0/+1
| | | | | Co-authored-by: Guido van Rossum <guido@python.org> Co-authored-by: Talin <viridia@gmail.com> Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
* bpo-42997: Improve error message for missing : before suites (GH-24292)Pablo Galindo2021-02-021-0/+6
| | | | | | | | * Add to the peg generator a new directive ('&&') that allows to expect a token and hard fail the parsing if the token is not found. This allows to quickly emmit syntax errors for missing tokens. * Use the new grammar element to hard-fail if the ':' is missing before suites.
* Fix 'make suspicious' for the itertools module (GH-24097)Pablo Galindo2021-01-041-0/+1
|
* bpo-34398: Allow glossary results to show up on search page (GH-8773)Ammar Askar2020-12-182-0/+105
|
* bpo-42238: Check Misc/NEWS.d/next/ for reStructuredText issues. (GH-23802)Julien Palard2020-12-181-0/+76
|
* bpo-42579: Make workaround for various versions of Sphinx more robust (GH-23662)Matěj Cepl2020-12-071-1/+6
| | | | | | The solution in gh#python/cpython#13236 is too strict because it effectively requires the use of Sphinx >= 2.0. It is not too difficult to make the same solution more robust so it works with all normal versions of Sphinx.
* bpo-42042: Use ids attribute instead of names attribute (GH-22739)Dong-hee Na2020-11-131-2/+2
|
* bpo-41028: Doc: Move switchers to docsbuild-scripts. (GH-20969)Julien Palard2020-11-074-171/+12
|
* Expand and clarify the "Invoking Descriptors" section of the Descriptor ↵Raymond Hettinger2020-11-011-1/+1
| | | | HowTo (GH-23078)
* bpo-42061: Document __format__ for IP addresses (GH-23018)Teugea Ioan-Teodor2020-10-291-2/+4
| | | Automerge-Triggered-By: GH:ericvsmith
* Create a primer section for the descriptor howto guide (GH-22906)Raymond Hettinger2020-10-231-0/+3
|
* Remove 3.5 from Doc version switcher in master. (#22886)larryhastings2020-10-222-2/+0
|
* Doc: Do not suggest `s[::-1]` for reversed order (GH-22457)Andre Delfino2020-10-211-1/+0
|
* bpo-4356: Add key function support to the bisect module (GH-20556)Raymond Hettinger2020-10-201-2/+0
|
* bpo-35293: Remove RemovedInSphinx40Warning (GH-22198)Dong-hee Na2020-09-181-15/+21
| | | | | | | | | | | * bpo-35293: Remove RemovedInSphinx40Warning * Update Misc/NEWS.d/next/Documentation/2020-09-12-17-37-13.bpo-35293._cOwPD.rst Co-authored-by: Victor Stinner <vstinner@python.org> * bpo-35293: Apply Victor's review Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-41746: Add type information to asdl_seq objects (GH-22223)Pablo Galindo2020-09-161-1/+1
| | | | | | | | | | | | | * Add new capability to the PEG parser to type variable assignments. For instance: ``` | a[asdl_stmt_seq*]=';'.small_stmt+ [';'] NEWLINE { a } ``` * Add new sequence types from the asdl definition (automatically generated) * Make `asdl_seq` type a generic aliasing pointer type. * Create a new `asdl_generic_seq` for the generic case using `void*`. * The old `asdl_seq_GET`/`ast_seq_SET` macros now are typed. * New `asdl_seq_GET_UNTYPED`/`ast_seq_SET_UNTYPED` macros for dealing with generic sequences. * Changes all possible `asdl_seq` types to use specific versions everywhere.
* Fix invalid escape sequences in the peg_highlight Sphinx extension (GH-22047)Pablo Galindo2020-09-021-1/+1
|
* bpo-40939: Use the new grammar for the grammar specification documentation ↵Pablo Galindo2020-07-271-0/+75
| | | | | | | (GH-19969) (We censor the heck out of actions and some other stuff using a custom "highlighter".) Co-authored-by: Guido van Rossum <guido@python.org>
* Doc: fix import of asdl.py when called from outside Doc/. (GH-21529)Julien Palard2020-07-201-1/+4
|
* bpo-40742: Doc: fix parallel build. (GH-21237)Julien Palard2020-07-061-0/+35
|
* bpo-40798: Generate a different message for already removed elements (GH-20483)Florian Dahlitz2020-05-302-2/+12
|
* Doc: Python 3.10 in sidebar and version switcher. (GH-20209)Julien Palard2020-05-192-2/+4
|
* bpo-40517: Implement syntax highlighting support for ASDL (GH-19967)Batuhan Taskaya2020-05-071-0/+51
|
* Revert "bpo-40517: Implement syntax highlighting support for ASDL (#19928)" ↵Raymond Hettinger2020-05-061-51/+0
| | | | | (#19950) This reverts commit d60040ba226bd2e3b6f58d074015aa2499dc1cb8.
* bpo-40517: Implement syntax highlighting support for ASDL (#19928)Batuhan Taskaya2020-05-061-0/+51
|
* Fix download.html (GH-18902)Inada Naoki2020-03-111-1/+1
| | | | | `<tt>` is not allowed. Co-authored-by: Kyle Stanley <aeros167@gmail.com>
* bpo-34822: Simplify AST for subscription. (GH-9605)Serhiy Storchaka2020-03-101-0/+2
| | | | | | | | | * Remove the slice type. * Make Slice a kind of the expr type instead of the slice type. * Replace ExtSlice(slices) with Tuple(slices, Load()). * Replace Index(value) with a value itself. All non-terminal nodes in AST for expressions are now of the expr type.
* bpo-34788: Add support for scoped IPv6 addresses (GH-13772)opavlyuk2020-02-261-0/+2
| | | Automerge-Triggered-By: @asvetlov
* Doc: Change Python 2 status to EOL. (GH-17885)Inada Naoki2020-01-071-1/+1
|
* Remove use of deprecated `array.fromstring` method (GH-17332)David Coles2019-11-261-1/+1
|
* bpo-38738: Fix formatting of True and False. (GH-17083)Serhiy Storchaka2019-11-121-2/+2
| | | | | | | | | * "Return true/false" is replaced with "Return ``True``/``False``" if the function actually returns a bool. * Fixed formatting of some True and False literals (now in monospace). * Replaced "True/False" with "true/false" if it can be not only bool. * Replaced some 1/0 with True/False if it corresponds the code. * "Returns <bool>" is replaced with "Return <bool>".
* bpo-38592 Add pt-br switcher to Python Docs website (GH-16924)Marco Rougeth2019-10-271-0/+1
| | | | * 📜🤖 Added by blurb_it.
* bpo-38557: Improve documentation for list and tuple C API. (GH-16925)Serhiy Storchaka2019-10-261-0/+1
|
* Update doc switcher list for 3.8.0 (GH-16809)Ned Deily2019-10-151-1/+1
|
* Doc: 3.8 is now stable. (GH-16790)Julien Palard2019-10-141-1/+1
|
* bpo-38294: Add list of no-longer-escaped chars to re.escape documentation. ↵Ricardo Bánffy2019-10-071-0/+1
| | | | | | | | | (GH-16442) Prior to 3.7, re.escape escaped many characters that don't have special meaning in Python, but that use to require escaping in other tools and languages. This commit aims to make it clear which characters were, but are no longer escaped.
* bpo-36675: Remove obsolete code. (GH-16024)Julien Palard2019-09-121-32/+0
| | | | Does no longer work since Sphinx moved the trim_doctest_flag option in the configuration.
* bpo-33187: Document ElementInclude (XInclude) support in ElementTree (GH-8861)Anjali Bansal2019-09-111-0/+3
|
* bpo-37504: Fix documentation build with texinfo builder (GH-14606)Dmitry Shachnev2019-09-101-0/+1
| | | | | | | | | In the table model used by docutils, the `cols` attribute of `tgroup` nodes is mandatory, see [1]. It is used in texinfo builder in [2]. [1]: https://www.oasis-open.org/specs/tm9901.htm#AEN348 [2]: https://github.com/sphinx-doc/sphinx/blob/v2.1.2/sphinx/writers/texinfo.py#L1129 * Doc: Add texinfo support to the Makefile
* bpo-38086: Sync importlib.metadata with importlib_metadata 0.21. (GH-15840)Jason R. Coombs2019-09-101-1/+1
| | | https://gitlab.com/python-devs/importlib_metadata/-/tags/0.21
* Doc: Fix PDF build (NoUri). (GH-15739)Julien Palard2019-09-091-4/+11
|
* bpo-36853: Fix suspicious.py to actually print the unused rules (#13579)Anthony Sottile2019-09-021-11/+14
| | | | | | * Fix suspicious.py to actually print the unused rules * Fix the other `self.warn` calls
* Bpo-37644: update suspicious.csv for distutils/examples (GH-14885)Ned Deily2019-07-211-1/+1
|
* Replace backquote with command substitution in subprocess doc example (GH-13941)David Jones2019-07-161-2/+0
| | | Replace backquotes with POSIXy command substitution in example.
* bpo-37363: Add audit events on startup for the run commands (GH-14524)Steve Dower2019-07-011-8/+14
|
* bpo-37390: Add audit event table to documentations (GH-14406)Steve Dower2019-06-271-11/+131
| | | Also updates some (unreleased) event names to be consistent with the others.
* bpo-37363: Add audit events for a range of modules (GH-14301)Steve Dower2019-06-241-5/+5
|
* bpo-37111: Add 'encoding' and 'errors' parameters to logging.basicCon… ↵Vinay Sajip2019-06-171-0/+2
| | | | (GH-14008)