Skip to content
Permalink
3.8

Commits on Mar 16, 2022

  1. Post 3.8.13, take two

    ambv committed Mar 16, 2022
  2. Python 3.8.13, take two

    This reverts commit e5f711f.
    ambv committed Mar 16, 2022
  3. bpo-31327: Update time documentation to reflect possible errors (GH-3…

    …1460) (GH-31827)
    
    As per the comments, this mirrors the [datetime documentation](https://docs.python.org/3/library/datetime.htmlGH-datetime.datetime.fromtimestamp).
    
    ```
    >>> import time
    >>> time.localtime(999999999999999999999)
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    OverflowError: timestamp out of range for platform time_t
    >>> time.localtime(-3600)
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    OSError: [Errno 22] Invalid argument
    ```
    (cherry picked from commit c83fc9c)
    
    Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
    miss-islington and slateny committed Mar 16, 2022
  4. bpo-46948: Fix launcher installer build failure due to first part of …

    …fix (GH-31920) (GH-31924)
    
    (cherry picked from commit 7088120)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
    miss-islington and zooba committed Mar 16, 2022

Commits on Mar 15, 2022

  1. Post 3.8.13

    ambv committed Mar 15, 2022
  2. Python 3.8.13

    ambv committed Mar 15, 2022
  3. [3.8] bpo-47024: Update Windows builds and macOS installer build to u…

    …se OpenSSL 1.1.1n. (GH-31912)
    
    * bpo-47024: Update Windows builds and macOS installer build to use OpenSSL 1.1.1n.
    
    * Revert inadvertent sqlite downgrade
    ned-deily committed Mar 15, 2022
  4. bpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819) (GH-31851)

    (cherry picked from commit d87f1b7)
    
    Co-authored-by: Pradyun Gedam <pgedam@bloomberg.net>
    ned-deily and pradyunsg committed Mar 15, 2022
  5. bpo-45405: Prevent internal configure error when running configure wi…

    …th recent versions of clang. (GH-28845) (GH-31889)
    
    Change the configure logic to function properly on macOS when the compiler
    outputs a platform triplet for option --print-multiarch.
    The Apple Clang included with Xcode 13.3 now supports --print-multiarch
    causing configure to fail without this change.
    
    Co-authored-by: Ned Deily <nad@python.org>
    (cherry picked from commit 9c47667)
    
    Co-authored-by: David Bohman <debohman@gmail.com>
    
    Automerge-Triggered-By: GH:ned-deily
    (cherry picked from commit 9901d15)
    
    Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
    ned-deily and miss-islington committed Mar 15, 2022

Commits on Mar 8, 2022

  1. bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397

    …) (GH-31419)
    
    The libexpat 2.4.1 upgrade from  introduced the following new exported symbols:
    
    * `testingAccountingGetCountBytesDirect`
    * `testingAccountingGetCountBytesIndirect`
    * `unsignedCharToPrintable`
    * `XML_SetBillionLaughsAttackProtectionActivationThreshold`
    * `XML_SetBillionLaughsAttackProtectionMaximumAmplification`
    
    We need to adjust [Modules/expat/pyexpatns.h](https://github.com/python/cpython/blob/master/Modules/expat/pyexpatns.h)
    
    (The newer libexpat upgrade  has no new symbols).
    
    Automerge-Triggered-By: GH:gpshead
    (cherry picked from commit 6312c10)
    
    Co-authored-by: Yilei "Dolee" Yang <yileiyang@google.com>
    miss-islington and yilei committed Mar 8, 2022
  2. Update copyright year to 2022. (GH-30335) (GH-31478)

    Automerge-Triggered-By: GH:benjaminp
    (cherry picked from commit ba00f0d)
    
    Co-authored-by: Benjamin Peterson <benjamin@python.org>
    miss-islington and benjaminp committed Mar 8, 2022
  3. bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-20…

    …16-3189 and CVE-2019-12900 (GH-31732) (GH-31734)
    zooba committed Mar 8, 2022
  4. bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer corre…

    …ctly uses the install path during repair (GH-31729)
    zooba committed Mar 8, 2022
  5. bpo-46932: Update bundled libexpat to 2.4.7 (GH-31736) (GH-31740)

    (cherry picked from commit 176835c)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
    miss-islington and zooba committed Mar 8, 2022

Commits on Mar 2, 2022

  1. bpo-46756: Fix authorization check in urllib.request (GH-31353) (GH-3…

    …1572)
    
    Fix a bug in urllib.request.HTTPPasswordMgr.find_user_password() and
    urllib.request.HTTPPasswordMgrWithPriorAuth.is_authenticated() which
    allowed to bypass authorization. For example, access to URI "example.org/foobar"
    was allowed if the user was authorized for URI "example.org/foo".
    (cherry picked from commit e2e7256)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    miss-islington and serhiy-storchaka committed Mar 2, 2022
  2. bpo-46794: Bump up the libexpat version into 2.4.6 (GH-31487) (GH-31520)

    (cherry picked from commit 1935e1c)
    
    Co-authored-by: Dong-hee Na <donghee.na@python.org>
    miss-islington and corona10 committed Mar 2, 2022

Commits on Feb 22, 2022

  1. bpo-46811: Make test suite support Expat >=2.4.5 (GH-31453)

    Curly brackets were never allowed in namespace URIs
    according to RFC 3986, and so-called namespace-validating
    XML parsers have the right to reject them a invalid URIs.
    
    libexpat >=2.4.5 has become strcter in that regard due to
    related security issues; with ET.XML instantiating a
    namespace-aware parser under the hood, this test has no
    future in CPython.
    
    References:
    - https://datatracker.ietf.org/doc/html/rfc3968
    - https://www.w3.org/TR/xml-names/
    
    Also, test_minidom.py: Support Expat >=2.4.5
    (cherry picked from commit 2cae938)
    
    Co-authored-by: Sebastian Pipping <sebastian@pipping.org>
    hartwork authored and ambv committed Feb 22, 2022

Commits on Feb 21, 2022

  1. bpo-46400: Update libexpat from 2.4.1 to 2.4.4 (GH-31022) (GH-31297)

    Co-authored-by: Cyril Jouve <jv.cyril@gmail.com>
    corona10 and jouve committed Feb 21, 2022

Commits on Feb 17, 2022

  1. bpo-41028: Doc: Move switchers to docsbuild-scripts. (GH-20969) (GH-3…

    …0344)
    
    (cherry picked from commit ee2549c)
    
    Co-authored-by: Julien Palard <julien@palard.fr>
    miss-islington and JulienPalard committed Feb 17, 2022
  2. bpo-44949: Fix test_readline auto history tests (GH-27813) (GH-31118)

    (cherry picked from commit 6fb62b4)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    miss-islington and vstinner committed Feb 17, 2022

Commits on Feb 14, 2022

  1. [3.8] bpo-46474: Avoid REDoS in EntryPoint.pattern (sync with importl…

    …ib_metadata 4.10.1) (GH-30803). (#30829)
    
    (cherry picked from commit 51c3e28)
    
    Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
    jaraco committed Feb 14, 2022

Commits on Feb 8, 2022

  1. bpo-46648: Skip test_urllib2.test_issue16464() (GH-31161) (GH-31173)

    POST requests to http://www.example.com/ fail randomly.
    (cherry picked from commit 1578de2)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    miss-islington and vstinner committed Feb 8, 2022

Commits on Dec 11, 2021

  1. bpo-45859: Mark test_field_descriptor in test_collections as CPython-…

    …only (GH-29691) (GH-29710)
    
    (cherry picked from commit 4fad314)
    
    Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
    miss-islington and cfbolz committed Dec 11, 2021

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
Older