3.8
Commits on Mar 16, 2022
-
-
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>
-
bpo-46948: Fix launcher installer build failure due to first part of …
Commits on Mar 15, 2022
-
-
-
[3.8] bpo-47024: Update Windows builds and macOS installer build to u…
-
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>
Commits on Mar 8, 2022
-
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>
-
bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer corre…
…ctly uses the install path during repair (GH-31729)
Commits on Mar 2, 2022
-
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>
Commits on Feb 22, 2022
-
-
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>
Commits on Feb 17, 2022
Commits on Feb 8, 2022
-
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>
Commits on Dec 11, 2021
Commits on Nov 16, 2021
Commits on Oct 28, 2021
-
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>
Commits on Oct 20, 2021
-
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>
Commits on Oct 19, 2021
-
bpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623…
-
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>