Skip to content
Permalink
3.8

Commits on Sep 29, 2021

  1. [3.8] bpo-44394: Ensure libexpat is linked against libm (GH-28617) (G…

    …H-28620)
    
    (cherry picked from commit 6c1154b)
    
    Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    3 people committed Sep 29, 2021
  2. bpo-45220: Avoid automatically selecting the Windows 11 SDK preview w…

    …hen building (GH-28393) (GH-28622)
    
    (cherry picked from commit f4b94b1)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
    miss-islington and zooba committed Sep 29, 2021

Commits on Sep 23, 2021

  1. [docs] Update documentation for multiprocessing.get_start_method (G…

    …H-18170) (GH-28535)
    
    (cherry picked from commit af90b54)
    
    Co-authored-by: Sam Sneddon <me@gsnedders.com>
    miss-islington and gsnedders committed Sep 23, 2021

Commits on Sep 7, 2021

  1. bpo-45104: Clarify when __init__ is called (GH-28210) (GH-28213)

    (cherry picked from commit fa15df7)
    
    Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
    miss-islington and rhettinger committed Sep 7, 2021

Commits on Sep 3, 2021

  1. bpo-45022: Pin current libffi build to fixed version in preparation f…

    …or upcoming update (GH-27982) (GH-28001)
    
    Also improve the build script for libffi, which is not used as part of the regular build.
    (cherry picked from commit 969ae7f)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
    zooba committed Sep 3, 2021

Commits on Aug 30, 2021

  1. Post 3.8.12

    ambv committed Aug 30, 2021
  2. Python 3.8.12

    ambv committed Aug 30, 2021
  3. [3.8] bpo-45007: Update multissl to openssl 1.1.1l as well (GH-28044) (

    …GH-28063)
    
    This was missed while upgrading CI..
    (cherry picked from commit d6cb5dd)
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    tiran and ambv committed Aug 30, 2021
  4. bpo-45007: Update macOS installer builds to use OpenSSL 1.1.1l (GH-28051

    ) (GH-28059)
    
    (cherry picked from commit 94b2639)
    
    Co-authored-by: Ned Deily <nad@python.org>
    miss-islington and ned-deily committed Aug 30, 2021
  5. bpo-44689: ctypes.util.find_library() now finds macOS 11+ system libr…

    …aries when built on older macOS systems (GH-27251) (GH-28054)
    
    Previously, when built on older macOS systems, `find_library` was not able to find macOS system libraries when running on Big Sur due to changes in how system libraries are stored.
    (cherry picked from commit 71853a7)
    
    Co-authored-by: Tobias Bergkvist <tobias@bergkv.ist>
    miss-islington and bergkvist committed Aug 30, 2021

Commits on Aug 29, 2021

  1. [3.8] bpo-45007: Update to OpenSSL 1.1.1l in Windows build and CI (GH…

    …-28009) (GH-28041)
    
    (cherry picked from commit d3bdbbf)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
    ambv and zooba committed Aug 29, 2021
  2. [3.8] bpo-43124: Fix smtplib multiple CRLF injection (GH-25987) (GH-2…

    …8036)
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    (cherry picked from commit 0897253)
    
    Co-authored-by: Miguel Brito <5544985+miguendes@users.noreply.github.com>
    miss-islington and miguendes committed Aug 29, 2021
  3. bpo-44394: Update libexpat copy to 2.4.1 (GH-26945) (GH-28033)

    Update the vendored copy of libexpat to 2.4.1 (from 2.2.8) to get the
    fix for the CVE-2013-0340 "Billion Laughs" vulnerability. This copy
    is most used on Windows and macOS.
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    (cherry picked from commit 3fc5d84)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    miss-islington and vstinner committed Aug 29, 2021
  4. bpo-42278: Use tempfile.TemporaryDirectory rather than tempfile.mktem…

    …p in pydoc (GH-23200) (GH-28026)
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    (cherry picked from commit c9227df)
    
    Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
    miss-islington and E-Paine committed Aug 29, 2021

Commits on Aug 27, 2021

  1. Fix typo in a comment in Modules/_ssl.c: s/validata/validate/ (GH-27993

    …) (GH-27999)
    
    (cherry picked from commit 28db1f6)
    
    Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
    miss-islington and adamtheturtle committed Aug 27, 2021
  2. bpo-44997: macOS does not support loadable SQLite extensions (GH-27979)…

    … (GH-27996)
    
    Authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
    (cherry picked from commit 2ec9428)
    
    Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
    miss-islington and erlend-aasland committed Aug 27, 2021

Commits on Aug 26, 2021

  1. bpo-45001: Make email date parsing more robust against malformed input (

    GH-27946) (GH-27974)
    
    Various date parsing utilities in the email module, such as
    email.utils.parsedate(), are supposed to gracefully handle invalid
    input, typically by raising an appropriate exception or by returning
    None.
    
    The internal email._parseaddr._parsedate_tz() helper used by some of
    these date parsing routines tries to be robust against malformed input,
    but unfortunately it can still crash ungracefully when a non-empty but
    whitespace-only input is passed. This manifests as an unexpected
    IndexError.
    
    In practice, this can happen when parsing an email with only a newline
    inside a ‘Date:’ header, which unfortunately happens occasionally in the
    real world.
    
    Here's a minimal example:
    
        $ python
        Python 3.9.6 (default, Jun 30 2021, 10:22:16)
        [GCC 11.1.0] on linux
        Type "help", "copyright", "credits" or "license" for more information.
        >>> import email.utils
        >>> email.utils.parsedate('foo')
        >>> email.utils.parsedate(' ')
        Traceback (most recent call last):
          File "<stdin>", line 1, in <module>
          File "/usr/lib/python3.9/email/_parseaddr.py", line 176, in parsedate
            t = parsedate_tz(data)
          File "/usr/lib/python3.9/email/_parseaddr.py", line 50, in parsedate_tz
            res = _parsedate_tz(data)
          File "/usr/lib/python3.9/email/_parseaddr.py", line 72, in _parsedate_tz
            if data[0].endswith(',') or data[0].lower() in _daynames:
        IndexError: list index out of range
    
    The fix is rather straight-forward: guard against empty lists, after
    splitting on whitespace, but before accessing the first element.
    (cherry picked from commit 989f6a3)
    
    Co-authored-by: wouter bolsterlee <wouter@bolsterl.ee>
    miss-islington and wbolster committed Aug 26, 2021

Commits on Aug 17, 2021

  1. [3.8] bpo-36384: Leading zeros in IPv4 addresses are no longer tolera…

    …ted (GH-25099) (GH-27801)
    
    Reverts commit e653d4d and makes
    parsing even more strict. Like socket.inet_pton() any leading zero
    is now treated as invalid input.
    
    Signed-off-by: Christian Heimes <christian@python.org>
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    achraf-mer and ambv committed Aug 17, 2021

Commits on Aug 12, 2021

  1. bpo-33930: Fix typo in the test name. (GH-27735)

    bpo-33930: Fix typo in the test name. (GH-27733)
    (cherry picked from commit f08e6d1)
    
    Co-authored-by: Benjamin Peterson <benjamin@python.org>
    
    Co-authored-by: Benjamin Peterson <benjamin@python.org>
    miss-islington and benjaminp committed Aug 12, 2021

Commits on Aug 11, 2021

  1. [3.8] bpo-33930: Fix segfault with deep recursion when cleaning metho…

    …d objects (GH-27678) (GH-27721)
    
    (cherry picked from commit bfc2d5a)
    
    Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
    ambv and pablogsal committed Aug 11, 2021

Commits on Aug 10, 2021

  1. bpo-44854: Add .editorconfig file to help enforce make patchcheck (G…

    …H-27638) (GH-27713)
    
    (cherry picked from commit c0ab59f)
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    miss-islington and ambv committed Aug 10, 2021

Commits on Aug 7, 2021

  1. bpo-44856: Possible reference leak in error paths of update_bases() a…

    …nd __build_class__ (GH-27647) (GH-27652)
    
    (cherry picked from commit a40675c)
    
    Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
    miss-islington and pablogsal committed Aug 7, 2021

Commits on Jul 28, 2021

  1. Spell out 's.pop() or s.pop(i)' (GH-27398) (GH-27414)

    (cherry picked from commit 2ff5bb4)
    
    Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
    miss-islington and sweeneyde committed Jul 28, 2021

Commits on Jul 21, 2021

  1. bpo-30511: Add note on thread safety to shutil.make_archive() (GH-26933

    …) (#27276)
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    (cherry picked from commit 64f54b7)
    
    Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
    miss-islington and akulakov committed Jul 21, 2021

Commits on Jul 12, 2021

  1. bpo-44022: Improve the regression test. (GH-26503) (#26506)

    It wasn't actually detecting the regression due to the assertion being too lenient.
    (cherry picked from commit e60ab84)
    
    Co-authored-by: Gregory P. Smith <greg@krypto.org>
    miss-islington and gpshead committed Jul 12, 2021

Commits on Jun 24, 2021

  1. bpo-44229: Ignore spurious EPROTOTYPE on macOS in test_ssl (GH-26893) (

    …GH-26895)
    
    (cherry picked from commit b5a52ee)
    
    Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
    miss-islington and erlend-aasland committed Jun 24, 2021

Commits on Jun 12, 2021

  1. bpo-38323: Skip SubprocessMultiLoopWatcherTest as they can hang the t…

    …est suite (GH-26542) (GH-26670)
    
    (cherry picked from commit f171877)
    
    Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
    miss-islington and pablogsal committed Jun 12, 2021

Commits on May 12, 2021

  1. [3.8] bpo-44061: Fix pkgutil.iter_modules regression when passed a pa…

    …thlib.Path object (GH-25964). (GH-26056)
    
    (cherry picked from commit e9d7f88)
    
    Co-authored-by: Miguel Brito <5544985+miguendes@users.noreply.github.com>
    ambv and miguendes committed May 12, 2021

Commits on May 7, 2021

  1. bpo-40297: Fix test_socket.CANTest.testSendFrame (GH-19548) (#25957)

    The address tuple for CAN_RAW no longer returns the address family
    after the introduction of CAN ISO-TP support in a30f6d4. However,
    updating test_socket.CANTest.testSendFrame was missed as part of the
    change, so the test incorrectly attempts to index past the last tuple
    item to retrieve the address family.
    
    This removes the now-redundant check for equality against socket.AF_CAN,
    as the tuple will not contain the address family.
    (cherry picked from commit 355bae8)
    
    Co-authored-by: karl ding <karlding@users.noreply.github.com>
    miss-islington and karlding committed May 7, 2021
Older