Skip to content
Permalink
3.9

Commits on Dec 5, 2020

  1. bpo-42576: Raise TypeError when passing in keyword arguments to Gener…

    …icAlias (GH-23656)
    
    Use `_PyArg_NoKeywords` instead of `_PyArg_NoKwnames` when checking the `kwds` tuple when creating `GenericAlias`. This fixes an interpreter crash when passing in keyword arguments to `GenericAlias`'s constructor.
    
    Needs backport to 3.9.
    
    Automerge-Triggered-By: GH:gvanrossum
    (cherry picked from commit 804d689)
    
    Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
    miss-islington and Fidget-Spinner committed Dec 5, 2020
  2. [3.9] bpo-5054: CGIHTTPRequestHandler.run_cgi() HTTP_ACCEPT improperl…

    …y parsed (GH-23638) (GH-23657)
    
    (cherry picked from commit da3d2ab)
    
    
    Co-authored-by: Senthil Kumaran <senthil@uthcode.com>
    
    Automerge-Triggered-By: GH:orsenthil
    miss-islington committed Dec 5, 2020
  3. [3.9] bpo-41116: Fix setup.py test for macOS Tcl/Tk frameworks (GH-23649

    ) (GH-23650)
    
    If no explicit macOS SDK was specified, setup.py should check for
    Tcl and TK frameworks in /Library/Frameworks; the previous commit
    inadvertently broke that test.
    (cherry picked from commit 29afab6)
    
    Co-authored-by: Ned Deily <nad@python.org>
    miss-islington and ned-deily committed Dec 5, 2020

Commits on Dec 4, 2020

  1. bpo-17735: inspect.findsource now raises OSError when co_lineno is ou…

    …t of range (GH-23633)
    
    This can happen when a file was edited after it was imported.
    (cherry picked from commit 2e0760b)
    
    Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
    miss-islington and iritkatriel committed Dec 4, 2020
  2. [3.9] bpo-42482: remove reference to exc_traceback from TracebackExce…

    …ption (GH-23531) (GH-23578)
    
    (cherry picked from commit 427613f)
    
    
    Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
    miss-islington and iritkatriel committed Dec 4, 2020
  3. bpo-42116: Fix inspect.getsource handling of trailing comments (GH-23630

    )
    
    (cherry picked from commit 6e1eec7)
    
    Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
    miss-islington and iritkatriel committed Dec 4, 2020
  4. bpo-41473: Reenable test_gdb on gdb 9.2 and newer (GH-23637)

    https://bugzilla.redhat.com/show_bug.cgi?id=1866884 is fixed in gdb
    10.1 (failed to reproduce on gdb-10.1-1.fc34.aarch64).
    (cherry picked from commit 0663940)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    miss-islington and vstinner committed Dec 4, 2020

Commits on Dec 3, 2020

  1. bpo-42523: Fix supported versions in "Using Python on Windows" (GH-23603

    )
    
    (cherry picked from commit db68544)
    
    Co-authored-by: Zackery Spytz <zspytz@gmail.com>
    miss-islington and ZackerySpytz committed Dec 3, 2020
  2. bpo-42553: Fix test_asyncio.test_call_later() (GH-23627)

    Fix test_asyncio.test_call_later() race condition: don't measure
    asyncio performance in the call_later() unit test. The test failed
    randomly on the CI.
    (cherry picked from commit 7e5e13d)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    miss-islington and vstinner committed Dec 3, 2020
  3. bpo-42328: Skip some tests with themes vista and xpnative on Windows 7 (

    GH-23612)
    
    (cherry picked from commit f3c3ea9)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    miss-islington and serhiy-storchaka committed Dec 3, 2020
  4. bpo-42504: fix for MACOSX_DEPLOYMENT_TARGET=11 (GH-23556)

    macOS releases numbering has changed as of macOS 11 Big Sur.  Previously, major releases were of the form 10.x, 10.x+1, 10.x+2, etc; as of Big Sur, they are now x, x+1, etc, so, for example, 10.15, 10.15.1, ..., 10.15.7, 11, 11.0.1, 11.1, ..., 12, 12.1, etc. Allow Python to build with single-digit deployment target values. Patch provided by FX Coudert.
    (cherry picked from commit 5291639)
    
    Co-authored-by: FX Coudert <fxcoudert@gmail.com>
    miss-islington and fxcoudert committed Dec 3, 2020

Commits on Dec 2, 2020

  1. bpo-42521: Add note about 'Python -d' only working on debug builds (G…

    …H-23607)
    
    (cherry picked from commit 99b5944)
    
    Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
    miss-islington and pablogsal committed Dec 2, 2020

Commits on Dec 1, 2020

  1. bpo-37221: PyCode_New() didn't change in Python 3.8 (GH-23595)

    (cherry picked from commit 1867b46)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    miss-islington and vstinner committed Dec 1, 2020
  2. [3.9] build(deps): bump actions/upload-artifact from v2.2.0 to v2.2.1 (

    …GH-23597)
    
    Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.0 to v2.2.1.
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](actions/upload-artifact@v2.2.0...726a6dc)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    (cherry picked from commit 8acd0e0)
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    benjaminp and dependabot committed Dec 1, 2020
  3. build(deps): bump actions/cache from v2.1.2 to v2.1.3 (23582)

    Bumps [actions/cache](https://github.com/actions/cache) from v2.1.2 to v2.1.3.
    - [Release notes](https://github.com/actions/cache/releases)
    - [Commits](actions/cache@v2.1.2...0781355)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    (cherry picked from commit a43fea8)
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    miss-islington and dependabot committed Dec 1, 2020
  4. Add GCC pragmas to silence compiler warning about ffi_prep_closure (G…

    …H-23327) (GH-23590)
    
    (cherry picked from commit cce3f0b)
    
    Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
    
    Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
    miss-islington and pablogsal committed Dec 1, 2020
  5. [3.9] bpo-17852: Doc: Fix the tutorial about closing files (GH-23135) (

    …GH-23527)
    
    Co-authored-by: Inada Naoki <songofacandy@gmail.com>
    (cherry picked from commit c8aaf71)
    
    
    Co-authored-by: Volker-Weissmann <39418860+Volker-Weissmann@users.noreply.github.com>
    miss-islington and Volker-Weissmann committed Dec 1, 2020
  6. Fix bz2 examples markup (GH-23580)

    (cherry picked from commit 80a429e)
    
    Co-authored-by: Andre Delfino <adelfino@gmail.com>
    miss-islington and andresdelfino committed Dec 1, 2020

Commits on Nov 30, 2020

  1. bpo-42508: Remove bogus idlelib.pyshell.ModifiedInterpreter attribute (

    …GH-23570) (GH-23571)
    
    restart_subprocess is a method of self, the pyshell.InteractiveInterpreter instance. The latter does not have an interp attribute redundantly referring to itself. (The PyShell instance does have an interp attribute, referring to the InteractiveInterpreter instance.)
    (cherry picked from commit e41bfd1)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    miss-islington and terryjreedy committed Nov 30, 2020
  2. bpo-42370: Check element before making mouse click in ttk tests (GH-2…

    …3491)
    
    (cherry picked from commit b0b4285)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    miss-islington and serhiy-storchaka committed Nov 30, 2020
  3. bpo-42142: Try to fix timeouts in ttk tests (GH-23474)

    Instead of using wait_visibility() which waits event <VisibilityNotify> in dead loop
    use update() which should proceed all queued events.
    (cherry picked from commit 6cc2c41)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    miss-islington and serhiy-storchaka committed Nov 30, 2020
  4. [3.9] bpo-42474: test TracebackException comparison to non-equal inst…

    …ances (GH-23557)
    iritkatriel committed Nov 30, 2020

Commits on Nov 29, 2020

  1. bpo-42406: Fix whichmodule() with multiprocessing (GH-23403)

    * bpo-42406: Fix whichmodule() with multiprocessing
    
    Signed-off-by: Renato L. de F. Cunha <renatoc@br.ibm.com>
    Co-authored-by: Gregory P. Smith <greg@krypto.org>
    (cherry picked from commit 8668431)
    
    Co-authored-by: Renato Cunha <renatocunha@acm.org>
    miss-islington and renatolfc committed Nov 29, 2020
  2. bpo-39096: Improve description of 'e', 'f' and 'g' presentation types (

    …GH-23537) (GH-23550)
    
    * Improve description of 'e', 'f' and 'g' presentation types
    
    * Drop the 'E' from Scientific 'E' notation; remove >= 0 qualifications
    
    * Fix false statement that the alternate form is valid for Decimal
    
    * Nitpick: remove the Harvard/Oxford comma
    
    * Add note that the decimal point is also removed if no digits follow it, except in alternate form
    (cherry picked from commit c642374)
    
    Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
    
    Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
    miss-islington and mdickinson committed Nov 29, 2020

Commits on Nov 28, 2020

  1. Fix dis markup (GH-23524)

    (cherry picked from commit fa840cc)
    
    Co-authored-by: Andre Delfino <adelfino@gmail.com>
    miss-islington and andresdelfino committed Nov 28, 2020
  2. Fix multiprocessing markup (GH-23525)

    (cherry picked from commit 4b44472)
    
    Co-authored-by: Andre Delfino <adelfino@gmail.com>
    miss-islington and andresdelfino committed Nov 28, 2020
  3. bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)

    (cherry picked from commit d41ec65)
    
    Co-authored-by: Zackery Spytz <zspytz@gmail.com>
    miss-islington and ZackerySpytz committed Nov 28, 2020
  4. bpo-34215: Clarify IncompleteReadError message when "expected" is None (

    GH-21925) (GH-23539)
    
    Co-Authored-By: Tyler Bell <mrbell321@gmail.com>
    (cherry picked from commit 8085f74)
    
    Co-authored-by: Zackery Spytz <zspytz@gmail.com>
    
    Co-authored-by: Zackery Spytz <zspytz@gmail.com>
    miss-islington and ZackerySpytz committed Nov 28, 2020

Commits on Nov 26, 2020

  1. Post 3.9.1rc1

    ambv committed Nov 26, 2020
  2. Merge tag 'v3.9.1rc1' into 3.9

    Python 3.9.1rc1
    ambv committed Nov 26, 2020

Commits on Nov 25, 2020

  1. Typo: fix inverted sense of statement (GH-23288) (GH-23512)

    miss-islington committed Nov 25, 2020
Older
You can’t perform that action at this time.