Skip to content
Permalink
3.9

Commits on Jul 31, 2021

  1. Trivial typo in docstring (#27505)

    (cherry picked from commit 4b4227b)
    
    Co-authored-by: Jesús Cea <jcea@jcea.es>
    
    Co-authored-by: Jesús Cea <jcea@jcea.es>
    miss-islington and jcea committed Jul 31, 2021

Commits on Jul 30, 2021

  1. bpo-42892: fix email multipart attribute error (GH-26903) (GH-27493)

    (cherry picked from commit e3f877c)
    
    Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
    miss-islington and akulakov committed Jul 30, 2021
  2. bpo-41911: Update docs for various expressions (GH-27470) (GH-27491)

    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    (cherry picked from commit 4bd9caa)
    
    Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
    miss-islington and akulakov committed Jul 30, 2021
  3. bpo-44666: Use default encoding as fallback for compile_file (GH-27236)…

    … (GH-27489)
    
    When sys.stdout.encoding is None compile_file will fall back to
    sys.getdefaultencoding to encode/decode error messages.
    
    Co-authored-by: Stefan Hoelzl <stefan.hoelzl@posteo.de>
    Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr>
    (cherry picked from commit 80f0707)
    miss-islington committed Jul 30, 2021
  4. bpo-44753: Don't use logfile extension when determining old files to …

    …be deleted (GH-27475) (GH-27486)
    
    (cherry picked from commit 6ff8903)
    miss-islington committed Jul 30, 2021
  5. [3.9] Fail the CI if an optional module fails to compile (GH-27466). (G…

    …H-27482)
    
    (cherry picked from commit 7cad0be)
    
    Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
    pablogsal committed Jul 30, 2021
  6. [3.9] Update URLs in comments and metadata to use HTTPS (GH-27458) (G…

    …H-27480)
    
    (cherry picked from commit be42c06)
    
    Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
    ambv and coderanger committed Jul 30, 2021
  7. Add missing gdbm dependencies to the UNIX CI (GH-27467) (GH-27468)

    (cherry picked from commit 851cca8)
    
    Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
    miss-islington and pablogsal committed Jul 30, 2021

Commits on Jul 29, 2021

  1. [3.9] bpo-31746: Prevent segfaults when sqlite3.Connection is uniniti…

    …alised (GH-27431) (GH-27465)
    
    (cherry picked from commit 7e311e4)
    
    Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
    erlend-aasland committed Jul 29, 2021
  2. Fix typo in ast.rst (GH-27449) (GH-27455)

    Co-authored-by: HaeckelK <haeckelk.github@gmail.com>
    (cherry picked from commit 6b61d74)
    miss-islington committed Jul 29, 2021
  3. To fix the random failed test cases of test___xxsubinterpreters in mu…

    …ltiprocess. (GH-27240) (GH-27453)
    
    (cherry picked from commit 9101b39)
    
    Co-authored-by: Hai Shi <shihai1992@gmail.com>
    miss-islington and shihai1991 committed Jul 29, 2021
  4. bpo-44765: [doc] fix typo (GH-27430) (GH-27451)

    (cherry picked from commit ccefa8a)
    
    Co-authored-by: Pavel <69010336+pavel-lexyr@users.noreply.github.com>
    miss-islington and pavel-lexyr committed Jul 29, 2021
  5. bpo-44752: refactor part of rlcompleter.Completer.attr_matches (GH-27433

    ) (GH-27446)
    
    (cherry picked from commit 6741794)
    
    Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
    miss-islington and jdevries3133 committed Jul 29, 2021
  6. bpo-44752: Make rlcompleter not call @property methods (GH-27401) (#…

    …27445)
    
    * rlcompleter was calling these methods to identify whether to add
      parenthesis to the completion, based on if the attribute is callable.
    * for property objects, completion with parenthesis are never desirable.
    * property methods with print statements behaved very strangely, which
      was especially unfriendly to language newcomers. <tab> could suddenly
      produce output unexpectedly.
    (cherry picked from commit 50de8f7)
    
    Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
    miss-islington and jdevries3133 committed Jul 29, 2021
  7. bpo-44707: Fix an undefined behavior of the null pointer arithmetic (G…

    …H-27292) (GH-27443)
    
    (cherry picked from commit e5c8ddb)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    miss-islington and serhiy-storchaka committed Jul 29, 2021
  8. bpo-43565: Document PyUnicode_KIND's return type as an unsigned int (G…

    …H-25724) (GH-27440)
    
    (cherry picked from commit 47fd472)
    
    Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
    miss-islington and ammaraskar committed Jul 29, 2021

Commits on Jul 28, 2021

  1. [3.9] bpo-44461: Check early that a pdb target is valid for execution. (

    GH-27227) (GH-27400)
    
    * [3.9] bpo-44461: Check early that a pdb target is valid for execution. (GH-27227)
    
    * bpo-44461: Fix bug with pdb's handling of import error due to a package which does not have a __main__ module
    
    * 📜🤖 Added by blurb_it.
    
    * remove "else"
    
    Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
    
    * If running as a module, first check that it can run as a module. Alternate fix for bpo-44461.
    
    Co-authored-by: Irit Katriel
    Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
    Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>.
    (cherry picked from commit ee03bad)
    
    Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
    
    * Ensure os_helper is imported.
    
    * Actually, os_helper doesn't exist yet. Just reference rmtree from support.
    jaraco committed Jul 28, 2021
  2. bpo-40263: Fixes an off-by-one error in _winapi_WaitForMultipleObject…

    …s_impl (GH-19501)
    
    (cherry picked from commit 92b5dc7)
    
    Co-authored-by: Ray Donnelly <mingw.android@gmail.com>
    miss-islington and mingwandroid committed Jul 28, 2021
  3. bpo-44763: [doc] remove repetitive sentence from textwrap.wrap (GH-27423

    ) (GH-27427)
    
    (cherry picked from commit cb1d76f)
    
    Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
    miss-islington and jdevries3133 committed Jul 28, 2021
  4. bpo-44544: [doc] list all textwrap func kwargs (GH-26999) (GH-27425)

    (cherry picked from commit c1e39d6)
    
    Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
    miss-islington and jdevries3133 committed Jul 28, 2021
  5. bpo-27827: identify a greater range of reserved filename on Windows. (G…

    …H-26698) (#27422)
    
    `pathlib.PureWindowsPath.is_reserved()` now identifies as reserved
    filenames with trailing spaces or colons.
    
    Co-authored-by: Barney Gale <barney.gale@foundry.com>
    Co-authored-by: Eryk Sun <eryksun@gmail.com>
    (cherry picked from commit 56c1f6d)
    miss-islington committed Jul 28, 2021
  6. Add missing end of sentence in docs (GH-27280) (GH-27420)

    (cherry picked from commit 531e2fb)
    
    Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
    miss-islington and adriangb committed Jul 28, 2021
  7. Fix typo in sqlite3.rst (GH-27415) (GH-27418)

    preceeding -> preceding
    (cherry picked from commit fbe8702)
    
    Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
    miss-islington and eltociear committed Jul 28, 2021
  8. Spell out 's.pop() or s.pop(i)' (GH-27398) (GH-27413)

    (cherry picked from commit 2ff5bb4)
    
    Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
    miss-islington and sweeneyde committed Jul 28, 2021
  9. bpo-44756: in ./Doc, make build depends on make html (GH-27403) (G…

    …H-27411)
    
    - venv rule is now conditional, and only does anything if $VENVDIR does not exist
    - add rule "clean-venv"
    (cherry picked from commit d22c876)
    
    Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
    miss-islington and jdevries3133 committed Jul 28, 2021
  10. bpo-44657: Fix instancemethod_call to use PyInstanceMethod_GET_FUNCTI…

    …ON (GH-27202)
    
    (cherry picked from commit ddf8ae3)
    
    Co-authored-by: Dong-hee Na <donghee.na@python.org>
    miss-islington and corona10 committed Jul 28, 2021
  11. [3.9] bpo-42853: Fix http.client fails to download >2GiB data over TLS (

    GH-27405)
    
    Revert "bpo-36050: optimize HTTPResponse.read() (GH-12698)"
    
    This reverts commit d6bf6f2.
    methane committed Jul 28, 2021

Commits on Jul 27, 2021

  1. Add windows build.bat counterpart for 'make regen-all' in error messa…

    …ge (GH-26770)
    
    (cherry picked from commit d61b69f)
    
    Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
    miss-islington and Fidget-Spinner committed Jul 27, 2021

Commits on Jul 26, 2021

  1. docs: replace "Mac OS X" -> "macOS" (GH-27364) (GH-27375)

    "Mac OS X" has been rebranded as macOS
    
    https://www.apple.com/macos
    (cherry picked from commit 5fdd2a1)
    
    Co-authored-by: partev <petrosyan@gmail.com>
    miss-islington and partev committed Jul 26, 2021
  2. The current documentation says it returns None if the name is not fou…

    …nd, but (GH-26785) (GH-27372)
    
    the implementation uses [] and will raise KeyError instead.
    
    Noticed by @srittau in python/typeshed@5659.
    (cherry picked from commit f22737a)
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    miss-islington and JelleZijlstra committed Jul 26, 2021
  3. bpo-43443: Clarify difference between shelve objects and dicts (GH-27004

    ) (GH-27370)
    
    (cherry picked from commit c97c2a0)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    miss-islington and serhiy-storchaka committed Jul 26, 2021
  4. bpo-44698: Fix undefined behaviour in complex exponentiation. (GH-27278

    …) (GH-27367)
    
    (cherry picked from commit 1d582bb)
    
    Co-authored-by: T. Wouters <thomas@python.org>
    miss-islington and Yhg1s committed Jul 26, 2021
  5. bpo-44734: Fix precision in turtle tests (GH-27343) (GH-27362)

    (cherry picked from commit 3f135c0)
    
    Co-authored-by: Logan Jones <loganasherjones@gmail.com>
    miss-islington and loganasherjones committed Jul 26, 2021
  6. bpo-44693: Update __future__ entry in Doc/glossary.rst (GH-27349) (GH…

    …-27358)
    
    Replace sentence with confusing "pseudo-module" with two sentences
    separating future statements and the __future__ module.
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    (cherry picked from commit 0363a40)
    
    Co-authored-by: Steven Hsu <hsuhaochun@gmail.com>
    
    Co-authored-by: Steven Hsu <hsuhaochun@gmail.com>
    miss-islington and StevenHsuYL committed Jul 26, 2021
Older