Skip to content
Permalink
3.9

Commits on Sep 10, 2021

  1. IDLE: adjust Python version in doc url for 3.10+ (GH-28228) (GH-28282)

    Expression 'python_version()[:3]' truncated '3.10.0' to '3.1' instead of '3.10'.
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    (cherry picked from commit b74c819)
    
    Co-authored-by: giovanniwijaya <16949408+giovanniwijaya@users.noreply.github.com>
    miss-islington and giovanniwijaya committed Sep 10, 2021
  2. bpo-9811: [doc] strftime handling of unsupported format specifiers is…

    … platform dependent (GH-28264) (GH-28278)
    
    (cherry picked from commit e86bcfa)
    
    Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
    miss-islington and iritkatriel committed Sep 10, 2021
  3. bpo-44219: Mention GH-28250 is a deadlock bugfix (GH-28261) (GH-28275)

    (cherry picked from commit 296b710)
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    miss-islington and ambv committed Sep 10, 2021
  4. [3.9] Fix typos in pep384_macrocheck.py (GH-28220) (GH-28273)

    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
    (cherry picked from commit 4338aee)
    
    
    Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
    
    Automerge-Triggered-By: GH:Fidget-Spinner
    miss-islington committed Sep 10, 2021

Commits on Sep 9, 2021

  1. bpo-44219: Release the GIL during isatty syscalls (GH-28250)

    Release the GIL while performing isatty() system calls on arbitrary
    file descriptors. In particular, this affects os.isatty(),
    os.device_encoding() and io.TextIOWrapper. By extension,
    io.open() in text mode is also affected.
    (cherry picked from commit 06148b1)
    
    Co-authored-by: Vincent Michel <vxgmichel@gmail.com>
    miss-islington and vxgmichel committed Sep 9, 2021

Commits on Sep 8, 2021

  1. [3.9] bpo-41082: Add note on errors that may be raised by home() and …

    …expanduser() (GH-28186)
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    akulakov and ambv committed Sep 8, 2021
  2. [3.9] bpo-38820: Test with OpenSSL 3.0.0 final (GH-28205) (GH-28217)

    Signed-off-by: Christian Heimes <christian@python.org>.
    (cherry picked from commit cc7c680)
    
    Co-authored-by: Christian Heimes <christian@python.org>
    ambv and tiran committed Sep 8, 2021
  3. [3.9] bpo-45121: Fix RecursionError when calling Protocol.__init__ fr…

    …om a subclass' __init__ (GH-28206) (GH-28233)
    
    Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
    Fidget-Spinner and uriyyo committed Sep 8, 2021

Commits on Sep 7, 2021

  1. Remove documentation for non-existing socket class attributes (GH-28029

    …) (GH-28221)
    
    The functions in question are available on the module-level only.
    (cherry picked from commit 34d82ce)
    
    Co-authored-by: Matti Picus <matti.picus@gmail.com>
    miss-islington and mattip committed Sep 7, 2021
  2. bpo-24888: Clarify subprocess.check_call propagates exceptions if una…

    …ble to start process (GH-28018) (GH-28223)
    
    (cherry picked from commit 19a304b)
    
    Co-authored-by: DonnaDia <37962843+DonnaDia@users.noreply.github.com>
    miss-islington and DonnaDia committed Sep 7, 2021
  3. bpo-45118: Fix regrtest second summary for re-run tests (GH-28183) (G…

    …H-28215)
    
    Fix regrtest second summary when using -w/--verbose2 command line
    option: lists re-run tests in the second test summary.
    (cherry picked from commit c4ea45d)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    miss-islington and vstinner committed Sep 7, 2021
  4. bpo-45104: Clarify when __init__ is called (GH-28210) (GH-28212)

    (cherry picked from commit fa15df7)
    
    Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
    miss-islington and rhettinger committed Sep 7, 2021
  5. [3.8] Update idlelib/help.html to include idle.rst spelling fix (GH-2…

    …8191) (GH-28193)
    
    The idle.rst fix was GH-27903 two weeks ago.
    (cherry picked from commit f05ad92)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    miss-islington and terryjreedy committed Sep 7, 2021

Commits on Sep 5, 2021

  1. bpo-45102: unittest: add tests for skipping and errors in cleanup (GH…

    …-28166)
    
    (cherry picked from commit 2826426)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    miss-islington and serhiy-storchaka committed Sep 5, 2021
  2. [3.9] bpo-45042: Now test classes decorated with `requires_hashdigest…

    …` are not skipped (GH-28060) (GH-28169)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>.
    (cherry picked from commit dd7b816)
    
    Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
    serhiy-storchaka and sobolevn committed Sep 5, 2021

Commits on Sep 4, 2021

  1. bpo-45030: Fix integer overflow in __reduce__ of the range iterator (G…

    …H-28000)
    
    It happened with fast range iterator  when the calculated stop = start + step * len
    was out of the C long range.
    (cherry picked from commit 936f6a1)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    miss-islington and serhiy-storchaka committed Sep 4, 2021
  2. [3.9] bpo-45097: Remove incorrect deprecation warnings in asyncio. (G…

    …H-28153)
    
    Deprecation warnings about the loop argument were incorrectly emitted
    in cases when the loop argument was used inside the asyncio library,
    not from user code.
    serhiy-storchaka committed Sep 4, 2021

Commits on Sep 3, 2021

  1. [3.9] bpo-45083: Include the exception class qualname when formatting…

    … an exception (GH-28119) (GH-28135)
    
    * bpo-45083: Include the exception class qualname when formatting an exception (GH-28119)
    
    Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
    (cherry picked from commit b4b6342)
    
    Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    3 people committed Sep 3, 2021

Commits on Sep 2, 2021

  1. bpo-45081: Fix __init__ method generation when inheriting from Protoc…

    …ol (GH-28121) (GH-28132)
    
    Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
    (cherry picked from commit 0635e20)
    
    Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
    miss-islington and uriyyo committed Sep 2, 2021
  2. [doc] Link to deprecation policy PEP from the DeprecationWarning docu…

    …mentation (GH-28123) (GH-28124)
    
    (cherry picked from commit a7ef15a)
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    miss-islington and ambv committed Sep 2, 2021

Commits on Sep 1, 2021

  1. [3.9] bpo-45060: Get rid of few uses of the equality operators with N…

    …one (GH-28087). (GH-28093)
    
    (cherry picked from commit 3c65457)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    serhiy-storchaka committed Sep 1, 2021
  2. [3.9] bpo-45057: Simplify RegressionTestResult (GH-28081) (GH-28103)

    Remove code which duplicates the functionality of TextTestResult.
    (cherry picked from commit 2b76a53)
    serhiy-storchaka committed Sep 1, 2021

Commits on Aug 31, 2021

  1. bpo-45059: Add module cleanup to IDLE test_macosx (GH-28102)

    (cherry picked from commit 22fe0eb)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    miss-islington and terryjreedy committed Aug 31, 2021
  2. bpo-45059: Fix IDLE test typo: using "==" instead of "=" (GH-28086)

    (cherry picked from commit 54f1005)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    miss-islington and serhiy-storchaka committed Aug 31, 2021
  3. bpo-44135: Refine explanation of how passing tuples to issubclass() b…

    …ehaves (GH-26193) (GH-28094)
    
    This is a quasi-backport to 3.9 since the wording in this branch is different.
    
    Co-authored-by: Zachary Kneupper zachary.kneupper@gmail.com
    ambv committed Aug 31, 2021

Commits on Aug 30, 2021

  1. Post 3.9.7

    ambv committed Aug 30, 2021
  2. bpo-44756: Remove misleading NEWS entries of a change that was revert…

    …ed before release (GH-28075)
    
    They are misleading because the first one is in Tools/Demos and the other one
    is in Documentation so it's not easy to tell the revert happened.
    ambv committed Aug 30, 2021
  3. Python 3.9.7

    ambv committed Aug 30, 2021
  4. [3.9] bpo-43913: Fix bugs in cleaning up classes and modules in unitt…

    …est. (GH-28006) (GH-28071)
    
    * Functions registered with addModuleCleanup() were not called unless
      the user defines tearDownModule() in their test module.
    * Functions registered with addClassCleanup() were not called if
      tearDownClass is set to None.
    * Buffering in TestResult did not work with functions registered
      with addClassCleanup() and addModuleCleanup().
    * Errors in functions registered with addClassCleanup() and
      addModuleCleanup() were not handled correctly in buffered and
      debug modes.
    * Errors in setUpModule() and functions registered with
      addModuleCleanup() were reported in wrong order.
    * And several lesser bugs..
    (cherry picked from commit 08d9e59)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    serhiy-storchaka committed Aug 30, 2021
  5. bpo-44449: faulthandler don't modify frame refcnt (GH-27850)

    Fix a crash in the signal handler of the faulthandler module: no
    longer modify the reference count of frame objects.
    (cherry picked from commit fe997e1)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    miss-islington and vstinner committed Aug 30, 2021
  6. bpo-41620: TestCase.run() now always return a TestResult instance (GH…

    …-28030) (GH-28065)
    
    Previously it returned None if the test class or method was
    decorated with a skipping decorator.
    
    Co-authored-by: Iman Tabrizian <iman.tabrizian@gmail.com>
    (cherry picked from commit 7e246a3)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    miss-islington and serhiy-storchaka committed Aug 30, 2021
  7. [3.9] bpo-45007: Update multissl to openssl 1.1.1l as well (GH-28044) (

    …GH-28062)
    
    This was missed while upgrading CI..
    (cherry picked from commit d6cb5dd)
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    tiran and ambv committed Aug 30, 2021
Older