Skip to content
Permalink
3.8
Loading

Commits on Nov 16, 2021

  1. bpo-45792: Fix contextvar.Token's intersphinx FQN (GH-29533) (GH-29537)

    Since `.. module:: contextvars` sets the module using `.. class:: contextvars.Token`, intersphinx records it as `contextvars.contextvars.Token`.
    (cherry picked from commit e501d70)
    
    Co-authored-by: Hynek Schlawack <hs@ox.cx>
    miss-islington and hynek committed Nov 16, 2021

Commits on Nov 4, 2021

  1. bpo-44828: Avoid leaving a zombie Save panel (GH-29372)

    Patch by Marc Culler of the Tk project.
    ned-deily committed Nov 4, 2021

Commits on Oct 28, 2021

  1. bpo-45583: Correct datamodel documentation of int() (GH-29182) (GH-29287

    )
    
    It should be noted that this part of the documentation is redundant with
    function.rst's documentation of int. This one was correctly updated with Python 3.8.
    (cherry picked from commit d9c1868)
    
    Co-authored-by: Arthur Milchior <arthur@milchior.fr>
    miss-islington and Arthur-Milchior committed Oct 28, 2021
  2. bpo-44828: Avoid tkinter file dialog failure on macOS 12 Monterey (GH…

    …-29276) (GH-29279)
    
    when using the Tk 8.6.11 provided by python.org macOS installers.
    Patch by Marc Culler of the Tk project.
    (cherry picked from commit be8318b)
    
    Co-authored-by: Ned Deily <nad@python.org>
    miss-islington and ned-deily committed Oct 28, 2021
  3. [3.9] bpo-45618: Fix documentation build by pinning Docutils version …

    …to 0.17.1 (GH-29230) (GH-29241) (GH-29245)
    
    Co-authored-by: Maciej Olko <maciej.olko@yougov.com>
    Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
    3 people committed Oct 28, 2021

Commits on Oct 20, 2021

  1. bpo-45436: Fix tkinter tests with Tcl/Tk 8.6.11+ (GH-29077) (GH-29093)

    Since v8.6.11, a few configuration options seem to accept an empty value
    where they did not previously; particularly the `type` of a `Menu`
    widget, and the `compound` of any ttk widget with a label.  Providing an
    explicit expected error message to `checkEnumParam` bypasses the check
    of an empty value, which no longer raises `TclError`.
    (cherry picked from commit 4fe454c)
    
    Co-authored-by: Zachary Ware <zach@python.org>
    miss-islington and zware committed Oct 20, 2021

Commits on Oct 19, 2021

  1. bpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623

    …) (GH-28978)
    
    Fix the os.set_inheritable() function on FreeBSD 14 for file
    descriptor opened with the O_PATH flag: ignore the EBADF error on
    ioctl(), fallback on the fcntl() implementation.
    (cherry picked from commit c24896c)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    miss-islington and vstinner committed Oct 19, 2021
  2. bpo-45310: Fix parrallel shared memory tests (GH-28661) (GH-28979)

    Add a PID to names of POSIX shared memory objects to allow
    running multiprocessing tests (test_multiprocessing_fork,
    test_multiprocessing_spawn, etc) in parallel.
    
    (cherry picked from commit eb4495e)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    vstinner and serhiy-storchaka committed Oct 19, 2021
  3. bpo-45195: Fix test_readline.test_nonascii() (GH-28329) (GH-28984)

    Fix test_readline.test_nonascii(): sometimes, the newline character
    is not written at the end, so don't expect it in the output.
    (cherry picked from commit 797c8eb)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    miss-islington and vstinner committed Oct 19, 2021

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
Older