3.9
Commits on May 7, 2021
-
Simple Enhancement. Add missing return statements in ftplib documenta…
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode.
Commits on May 6, 2021
-
Fix minor grammar problems in dataclasses documentation (GH-25948) (#…
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
docs: clearly document that ":GH-X" string formatting results in "0X.…
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
bpo-43972: Set content-length to 0 for http.server.SimpleHTTPRequestH…
…andler 301s (GH-25705) * Set content-length for simple http server 301s When http.server.SimpleHTTPRequestHandler sends a 301 (Moved Permanently) due to a missing file, it does not set a Content-Length of 0. Unfortunately, certain clients can be left waiting for the connection to be closed in this circumstance, even though no body will be sent. At time of writing, both curl and Firefox demonstrate this behavior. * Test Content-Length on simple http server redirect When serving a redirect, the SimpleHTTPRequestHandler will now send `Content-Length: 0`. Several tests for http.server already cover various behaviors and checks including redirection. This change only adds one check for the expected Content-Length on the simplest case for a redirect. * Add news entry for SimpleHTTPRequestHandler fix * Clarify the specific kind of 301 Co-authored-by: Senthil Kumaran <skumaran@gatech.edu> (cherry picked from commit fb42725) Co-authored-by: Stephen Rosen <sirosen@globus.org>
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
[3.9] bpo-36515: Disable unaligned memory access in _sha3 on ARM (GH-…
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode.
Commits on May 5, 2021
-
bpo-44022: Fix http client infinite line reading (DoS) after a HTTP 1…
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
bpo-44040: Update broken link in pathlib source (GH-25905) (GH-25911)
(cherry picked from commit 96d5c70) Co-authored-by: Kevin Follstad <kfollstad@gmail.com>
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode.
Commits on May 4, 2021
-
bpo-40297: Fix test_socket.CANTest.testSendFrame (GH-19548)
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>
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Clarify rx parameter of compileall functions (GH-25857)
(cherry picked from commit 0949029) Co-authored-by: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
[3.9] bpo-44001: improve Literal documentation (GH-25877). (#25897)
(cherry picked from commit 87109f4) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
[3.9] bpo-42083: Allow NULL doc in PyStructSequence_NewType (#25896)
(cherry picked from commit 2f5baa1) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
closes bpo-43349: Fix tuning(7) manpage hyperlink. (GH-24680) (#25694)
(cherry picked from commit f4d7d46) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Fix typo in ast.py (GH-25740) (GH-25894)
parantheses -> parentheses (cherry picked from commit 9ee8448) Co-authored-by: Ikko Ashimine <eltociear@gmail.com> Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
bpo-32822: Add finally with return/break/continue to the tutorial (GH…
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
bpo-38352: Add to typing.__all__ (GH-25821) (#25885)
This adds IO, TextIO, BinaryIO, Match, and Pattern. Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit b115579) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
bpo-43666: Lib/_aix_support.py routines may fail in a WPAR environment (
GH-25095) (#25880) Since WPAR and LPAR both have a builddate for teh fileset bos.rte The name of the fileset checked is modified. To prevent a similiar situation (no builddate in ODM) a value sufficient for pep425 activity if retrieved buildate is zero or NULL Patch by M Felt. (cherry picked from commit 5017cde) Co-authored-by: Michael Felt <aixtools@users.noreply.github.com>
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
update docstring for
win_getpassto reflect code changes (GH-24967)Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode.
Commits on May 3, 2021
-
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
[3.9] bpo-43882 Remove the newline, and tab early. From query and fra…
…gments. (#25853) * Remove the newline, and tab early. From query and fragments.
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Verified
This commit was signed with the committer’s verified signature.ambv Łukasz Langa
GPG key ID: B26995E310250568 Learn about vigilant mode. -
Verified
This commit was signed with the committer’s verified signature.ambv Łukasz Langa
GPG key ID: B26995E310250568 Learn about vigilant mode. -
bpo-42800: Add audit events for f_code and tb_frame (GH-24182)
Accessing the following attributes will now fire PEP 578 style audit hooks as (object.__getattr__, obj, name): * PyTracebackObject: tb_frame * PyFrameObject: f_code * PyGenObject: gi_code, gi_frame * PyCoroObject: cr_code, cr_frame * PyAsyncGenObject: ag_code, ag_frame
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
[3.9] Doc: Fix random.uniform example comment. (GH-25784) (GH-25843)
(cherry picked from commit 440c025) Co-authored-by: Julien Palard <julien@palard.fr> Automerge-Triggered-By: GH:JulienPalard
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
bpo-41129: Fix check for macOS SDK paths when building Python (GH-25785…
…) (GH-25830) Narrow search to match contents of SDKs, namely only files in ``/System/Library``, ``/System/IOSSupport``, and ``/usr`` other than ``/usr/local``. Previously, anything under ``/System`` was assumed to be in an SDK which causes problems with the new file system layout in 10.15+ where user file systems may appear to be mounted under ``/System``. Paths in ``/Library`` were also incorrectly treated as SDK locations. Co-authored-by: Ned Deily <nad@python.org> (cherry picked from commit d52bbde) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode.
Commits on May 2, 2021
-
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
bpo-36384: Leading zeros in IPv4 addresses are no longer tolerated (G…
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
bpo-32745: Fix a regression in the handling of ctypes' c_wchar_p type (…
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
bpo-41100: Update Misc/ACKS (GH-25808) (GH-25809)
(cherry picked from commit 518f8b5) Co-authored-by: Ned Deily <nad@python.org>
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
[3.9] bpo-44009: Provide "python3.x-intel64" for Apple Silicon Macs (G…
…H-25804) (GH-25807) This allows reliably forcing macOS universal2 framework builds to run under Rosetta 2 Intel-64 emulation on Apple Silicon Macs if needed for testing or when universal2 wheels are not yet available. (cherry picked from commit 0cb33da) Co-authored-by: Ned Deily <nad@python.org> Automerge-Triggered-By: GH:ned-deily
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode.
Commits on May 1, 2021
-
Fix exceptions mentioned in os.setxattr() docs (GH-25742) (GH-25794)
(cherry picked from commit 7792324) Co-authored-by: Shreyash Sharma <shreyash.sharma@philips.com> Co-authored-by: Shreyash Sharma <shreyash.sharma@philips.com>
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Fixing doc for callback for lambda (GG-25779) (GH-25788)
Fixing callback for lambda when no return value is provided (cherry picked from commit 50c21ad) Co-authored-by: Shreyash Sharma <shreyash.sharma@philips.com> Co-authored-by: Shreyash Sharma <shreyash.sharma@philips.com>
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode. -
Verified
This commit was created on GitHub.com and signed with GitHub’s verified signature.GPG key ID: 4AEE18F83AFDEB23 Learn about vigilant mode.