3.9
Commits on Jan 21, 2022
-
bpo-46434: Handle missing docstrings in pdb help (GH-30705)
(cherry picked from commit 60705cf) Co-authored-by: Tom Sparrow <793763+sparrowt@users.noreply.github.com>
-
[3.9] bpo-41857: mention timeout argument units in select.poll() and …
Commits on Jan 20, 2022
-
bpo-46080: fix argparse help generation exception in edge case (GH-30111
) Fix an uncaught exception during help text generation when argparse.BooleanOptionalAction is used with default=argparse.SUPPRESS and help is specified. (cherry picked from commit 9e87c0e) Co-authored-by: Felix Fontein <felix@fontein.de>
Commits on Jan 19, 2022
-
bpo-46437: remove useless
hasattrfromtest_typing(GH-30704)(cherry picked from commit 263c0dd) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
-
doc: Clarify os.urandom return type (GH-30282)
Other descriptions in the same file also use 'bytestring' to refer to bytes objects (cherry picked from commit 4b99803) Co-authored-by: Florian Bruhin <me@the-compiler.org>
-
docs: correct outdated MappingProxyType docstrings (GH-30281)
The docstrings for MappingProxyType's keys(), values(), and items() methods were never updated to reflect the changes that Python 3 brought to these APIs, namely returning views rather than lists. (cherry picked from commit 2d10fa9) Co-authored-by: Joshua Bronson <jabronson@gmail.com>
-
[3.9] bpo-45680: Clarify documentation on
GenericAliasobjects (G……H-29335) (GH-30689) The documentation on ``GenericAlias`` objects implies at multiple points that only container classes can define ``__class_getitem__``. This is misleading. This PR proposes a rewrite of the documentation to clarify that non-container classes can define ``__class_getitem__``, and to clarify what it means when a non-container class is parameterized. See also: initial discussion of issues with this piece of documentation in GH-29308, and previous BPO issue [42280](https://bugs.python.org/issue42280). Also improved references in glossary and typing docs. Fixed some links. (cherry picked from commit 0eae9a2) Co-Authored-By: Erlend Egeberg Aasland <erlend.aasland@innova.no> Co-Authored-By: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-Authored-By: Alex Waygood <Alex.Waygood@Gmail.com>
-
[3.9] bpo-46424: [typing] cover
Annotation[arg]invalid usage in te… -
bpo-46231: Remove invalid_* rules preceded by more tokens from the gr…
Commits on Jan 18, 2022
-
[3.9] bpo-45554: Document multiprocessing.Process.exitcode values (GH…
…-30142) (GH-30675) This addresses [[bpo-45554]()]() by expanding the `exitcode` documentation to also describe what `exitcode` will be in cases of normal termination, `sys.exit()` called, and on uncaught exceptions. (cherry picked from commit 3852269) Co-authored-by: John Marshall <jmarshall@hey.com>
-
[3.9] bpo-46402: Promote SQLite URI tricks in sqlite3 docs (GH-30660) (…
…#30672) * bpo-46402: Promote SQLite URI tricks in `sqlite3` docs (GH-30660) Provide some examples of URI parameters in sqlite connect(). Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> (cherry picked from commit bdf2ab1) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> * Update suspicious rules
-
bpo-20823: Clarify copyreg.pickle() documentation (GH-30230)
(cherry picked from commit 65940fa) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Commits on Jan 17, 2022
-
bpo-13886: Skip PTY non-ASCII tests if readline is loaded (GH-30631) (G…
…H-30635) Skip test_builtin PTY tests on non-ASCII characters if the readline module is loaded. The readline module changes input() behavior, but test_builtin is not intented to test the readline module. When the readline module is loaded, PyOS_Readline() uses the readline implementation. In some cases, the Python readline callback rlhandler() is called by readline with a string without non-ASCII characters. (cherry picked from commit ad6e640) Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Victor Stinner <vstinner@python.org>
Commits on Jan 14, 2022
-
-
bpo-23183: Document the timeit output (GH-30359)
Co-authored-by: Robert Collins <robertc@robertcollins.net> (cherry picked from commit 73140de) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
-
bpo-46280: Fix tracemalloc_copy_domain() (GH-30591)
Test if tracemalloc_copy_traces() failed to allocated memory in tracemalloc_copy_domain(). (cherry picked from commit 7c770d3) Co-authored-by: Victor Stinner <vstinner@python.org>
Commits on Jan 13, 2022
-
-
bpo-40479: Fix typo, flag must be set for OpenSSL < 3.0.0 (GH-30584)
(cherry picked from commit 276c234) Co-authored-by: Christian Heimes <christian@python.org>
-
bpo-46070: _PyGC_Fini() untracks objects (GH-30577) (GH-30580)
Py_EndInterpreter() now explicitly untracks all objects currently tracked by the GC. Previously, if an object was used later by another interpreter, calling PyObject_GC_UnTrack() on the object crashed if the previous or the next object of the PyGC_Head structure became a dangling pointer. (cherry picked from commit 1a4d1c1)
Commits on Jan 11, 2022
-
[doc] Add license_url for python-docs-theme 2022.1. (GH-30527) (GH-30541
) (cherry picked from commit 6f05e1e) Co-authored-by: Julien Palard <julien@palard.fr> Co-authored-by: Julien Palard <julien@palard.fr>
-
closes bpo-46253: Change Py_UNICODE to Py_UCS4 in the C API docs to m…
-
bpo-46205: exit if no workers are alive in runtest_mp (GH-30470)
(cherry picked from commit e13cdca) Co-authored-by: Sam Gross <colesbury@gmail.com>
Commits on Jan 8, 2022
-
bpo-46290: Fix parameter names in dataclasses docs (GH-30450)
(cherry picked from commit ef5376e) Co-authored-by: Zsolt Dollenstein <zsol.zsol@gmail.com>
Commits on Jan 7, 2022
-
bpo-28546: [doc] Clarify setting pdb breakpoints (GH-30360)
Co-authored-by: Ian Kelling <ian@iankelling.org> (cherry picked from commit 6d07a9f) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
-
bpo-46216: remove spurious link to os.system() from os.time() documen…