Skip to content
Permalink
3.8
Switch branches/tags

Commits on Jun 6, 2022

  1. gh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-9…

    …3547)
    
    (cherry picked from commit 56b5daf)
    
    Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
    miss-islington and slateny committed Jun 6, 2022
  2. bpo-46114: Fix OpenSSL version check for 3.0.1 (GH-30170) (GH-92954)

    (cherry picked from commit 2985fea)
    
    Co-authored-by: Christian Heimes <christian@python.org>
    vstinner and tiran committed Jun 6, 2022

Commits on May 24, 2022

  1. [3.8] gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (

    …GH-93066) (#93148)
    
    Also while there, clarify a few things about why we reduce the hash to 32 bits.
    
    Co-authored-by: Eli Libman <eli@hyro.ai>
    Co-authored-by: Yury Selivanov <yury@edgedb.com>
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    
    (cherry picked from commit c1f5c90)
    ambv committed May 24, 2022

Commits on May 16, 2022

  1. [3.8] gh-80254: Disallow recursive usage of cursors in sqlite3 conver…

    …ters (#92333)
    
    (cherry picked from commit c908dc5)
    
    Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    3 people committed May 16, 2022
  2. bpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-25032 (

    GH-32241) (GH-32250)
    
    (cherry picked from commit 6066739)
    
    Co-authored-by: Zachary Ware <zach@python.org>
    miss-islington and zware committed May 16, 2022

Commits on May 12, 2022

  1. [3.8] gh-92448: Update the documentation builder to render the GitHub… (

    GH-92605)
    
    (cherry picked from commit 45e1721)
    
    Co-authored-by: Dong-hee Na <donghee.na@python.org>
    corona10 committed May 12, 2022

Commits on May 10, 2022

  1. [3.8] Update Sphinx bpo role to use redirect URI. (#91892)

    * Update Sphinx bpo role to use redirect URI. (GH-32342)
    
    * [3.8] Update Sphinx bpo role to use redirect URI. (GH-32342).
    (cherry picked from commit 08cfe07)
    
    Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
    ezio-melotti committed May 10, 2022
  2. Add redirects to Misc/NEWS bpo links (GH-91454) (#91895)

    (cherry picked from commit 17dbb6b)
    
    Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
    
    Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
    miss-islington and ezio-melotti committed May 10, 2022
  3. [3.8] gh-91888: add a :gh: role to the documentation (GH-91889) (#9…

    …1936)
    
    * gh-91888: Add a :gh: role to the documentation (GH-91889).
    
    * [3.8] gh-91888: add a `:gh:` role to the documentation (GH-91889)
    
    * Add a new :gh:`...` role for GitHub issues.
    
    * Fix a GitHub id to use the :gh: role.
    
    * Add Misc/NEWS entry.
    
    * Refactoring and rephrasing.
    
    Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>.
    (cherry picked from commit f7641a2)
    
    Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
    
    * Fix use of the default role in NEWS entry
    ezio-melotti committed May 10, 2022

Commits on May 9, 2022

  1. bpo-47138: Ensure Windows docs build uses the same pinned version as …

    …other platforms (GH-32161) (#32183)
    
    Co-authored-by: Ned Deily <nad@python.org>
    zooba and ned-deily committed May 9, 2022

Commits on Apr 8, 2022

  1. [3.8] bpo-47138: Fix documentation build by pinning Jinja version to …

    …3.0.3 (GH-32109)
    
    Co-authored-by: Ned Deily <nad@python.org>
    m-aciek and ned-deily committed Apr 8, 2022

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-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
  4. 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
Older