Skip to content
Permalink
3.9

Commits on Jan 21, 2022

  1. 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>
    miss-islington and sparrowt committed Jan 21, 2022
  2. [3.9] bpo-41857: mention timeout argument units in select.poll() and …

    …select.depoll() doc-strings (GH-22406)
    
    (cherry picked from commit 27df756)
    
    Co-authored-by: Zane Bitter <zbitter@redhat.com>
    taleinat and zaneb committed Jan 21, 2022

Commits on Jan 20, 2022

  1. 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>
    miss-islington and felixfontein committed Jan 20, 2022
  2. [3.9] Mark all clinic headers as generated (GH-30679). (GH-30728)

    (cherry picked from commit 71734d0)
    
    Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
    erlend-aasland committed Jan 20, 2022

Commits on Jan 19, 2022

  1. bpo-46437: remove useless hasattr from test_typing (GH-30704)

    (cherry picked from commit 263c0dd)
    
    Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
    miss-islington and sobolevn committed Jan 19, 2022
  2. 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>
    miss-islington and The-Compiler committed Jan 19, 2022
  3. 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>
    miss-islington and jab committed Jan 19, 2022
  4. [3.9] bpo-45680: Clarify documentation on GenericAlias objects (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 people committed Jan 19, 2022
  5. [3.9] bpo-46424: [typing] cover Annotation[arg] invalid usage in te…

    …sts (GH-30663) (GH-30692)
    
    (cherry picked from commit 3239829)
    
    
    Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
    miss-islington and sobolevn committed Jan 19, 2022
  6. bpo-46231: Remove invalid_* rules preceded by more tokens from the gr…

    …ammar docs (GH-30341) (GH-30392)
    
    (cherry picked from commit e09d94a)
    
    Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
    
    Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
    miss-islington and pablogsal committed Jan 19, 2022
  7. [3.9] bpo-22039: [doc] clarify that there are no plans to disable del…

    …eting an attribute via PyObject_SetAttr (GH-30639) (GH-30685)
    
    (cherry picked from commit 3bf6315)
    
    
    Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
    
    Automerge-Triggered-By: GH:iritkatriel
    miss-islington committed Jan 19, 2022

Commits on Jan 18, 2022

  1. [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>
    miss-islington and jmarshall committed Jan 18, 2022
  2. [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
    erlend-aasland committed Jan 18, 2022
  3. bpo-20823: Clarify copyreg.pickle() documentation (GH-30230)

    (cherry picked from commit 65940fa)
    
    Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
    miss-islington and kumaraditya303 committed Jan 18, 2022
  4. [3.9] bpo-46411: Remove unnecessary calls to sys.exc_info() in tests (G…

    …H-30638) (GH-30658)
    
    (cherry picked from commit a287b31)
    
    
    Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
    
    Automerge-Triggered-By: GH:iritkatriel
    miss-islington committed Jan 18, 2022

Commits on Jan 17, 2022

  1. 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>
    miss-islington and vstinner committed Jan 17, 2022

Commits on Jan 14, 2022

  1. bpo-20281, bpo-29964: update datetime docs to refer %z and %Z to a pr…

    …e-existing footnote (GH-30354)
    
    (cherry picked from commit 305588c)
    
    Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
    miss-islington and hugovk committed Jan 14, 2022
  2. Post 3.9.10

    ambv committed Jan 14, 2022
  3. Merge tag 'v3.9.10' into 3.9

    Python 3.9.10
    ambv committed Jan 14, 2022
  4. 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>
    miss-islington and hugovk committed Jan 14, 2022
  5. 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>
    miss-islington and vstinner committed Jan 14, 2022

Commits on Jan 13, 2022

  1. Python 3.9.10

    ambv committed Jan 13, 2022
  2. 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>
    miss-islington and tiran committed Jan 13, 2022
  3. 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)
    vstinner committed Jan 13, 2022
  4. [3.9] bpo-40479: Fix hashlib's usedforsecurity for OpenSSL 3.0.0 (GH-…

    …30455) (GH-30574)
    
    Co-authored-by: Christian Heimes <christian@python.org>
    tiran committed Jan 13, 2022
  5. bpo-46345: Add a test case for implicit Optional class attribute (G…

    …H-30535)
    
    (cherry picked from commit 1de6015)
    
    Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
    miss-islington and sobolevn committed Jan 13, 2022

Commits on Jan 11, 2022

  1. [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>
    miss-islington and JulienPalard committed Jan 11, 2022
  2. closes bpo-46253: Change Py_UNICODE to Py_UCS4 in the C API docs to m…

    …atch the current source code (GH-30387)
    
    (cherry picked from commit 43c5c13)
    
    Co-authored-by: Julian Gilbey <julian-git@d-and-j.net>
    miss-islington and juliangilbey committed Jan 11, 2022
  3. 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>
    miss-islington and colesbury committed Jan 11, 2022

Commits on Jan 8, 2022

  1. bpo-46290: Fix parameter names in dataclasses docs (GH-30450)

    (cherry picked from commit ef5376e)
    
    Co-authored-by: Zsolt Dollenstein <zsol.zsol@gmail.com>
    miss-islington and zsol committed Jan 8, 2022
  2. bpo-46299: improve test_descr.py with stricter error handling (GH-3…

    …0471)
    
    (cherry picked from commit e63066c)
    
    Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
    miss-islington and sobolevn committed Jan 8, 2022

Commits on Jan 7, 2022

  1. 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>
    miss-islington and hugovk committed Jan 7, 2022
  2. bpo-46216: remove spurious link to os.system() from os.time() documen…

    …tation (GH-30326) (GH-30460)
    
    Automerge-Triggered-By: GH:iritkatriel
    (cherry picked from commit 9b7aa6a)
    
    Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
    
    Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
    miss-islington and iritkatriel committed Jan 7, 2022
Older