https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
3d8993a Python 3.8.10 03 May 2021, 09:47:56 UTC
10665ac bpo-43434: Move sqlite3.connect audit events to sqlite3.Connection.__init__ (GH-25818) (cherry picked from commit c96cc089f60d2bf7e003c27413c3239ee9de2990) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> 02 May 2021, 22:55:33 UTC
db3ce79 bpo-32745: Fix a regression in the handling of ctypes' c_wchar_p type (GH-8721) (#25811) Embedded nulls would cause a ValueError to be raised. Thanks go to Eryk Sun for their analysis. Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 73766b0341674f3920f4ea86a6f8288b801960f9) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 02 May 2021, 11:03:23 UTC
78e5588 bpo-44009: Provide "python3.x-intel64" for Apple Silicon Macs (GH-25810) 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 0cb33da1cc9cebb9b2d67d446feb1cfd36fe7f55) Co-authored-by: Ned Deily <nad@python.org> Automerge-Triggered-By: GH:ned-deily Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> 02 May 2021, 10:55:04 UTC
b29d0a5 [3.8] bpo-41100: Support macOS 11 Big Sur and Apple Silicon Macs (#25806) * bpo-41100: Support macOS 11 and Apple Silicon on Python 3.8 This is a partial backport of bpo-41100 changes `e8b1c038b14b5fc8120aab62c9bf5fb840274cb6` and `96d906b144e6e6aa96c5ffebecbcc5d38034bbda` for Python 3.8. We introduce the ability to build Python from source for `arm64` on macOS, but we do not make a promise of support. This allows us to omit support for Universal2 binaries as well as weak-linking of symbols from the macOS SDK based on the deployment target, which are larger changes much more difficult to merge. This also includes a backport of subsequent bpo-42688 change `7e729978fa08a360cbf936dc215ba7dd25a06a08` to fix build errors with external `libffi`. * bpo-41116: Ensure system supplied libraries are found on macOS 11 (GH-23301) (GH-23455) On macOS system provided libraries are in a shared library cache and not at their usual location. This PR teaches distutils to search in the SDK, even if there was no "-sysroot" argument in the compiler flags. (cherry picked from commit 404a719b5127602c1a948f8e189ab61cd3f147d8) * bpo-42504: fix for MACOSX_DEPLOYMENT_TARGET=11 (GH-23556) macOS releases numbering has changed as of macOS 11 Big Sur. Previously, major releases were of the form 10.x, 10.x+1, 10.x+2, etc; as of Big Sur, they are now x, x+1, etc, so, for example, 10.15, 10.15.1, ..., 10.15.7, 11, 11.0.1, 11.1, ..., 12, 12.1, etc. Allow Python to build with single-digit deployment target values. Patch provided by FX Coudert. (cherry picked from commit 5291639e611dc3f55a34666036f2c3424648ba50) * bpo-42504: Ensure that get_config_var('MACOSX_DEPLOYMENT_TARGET') is a string (GH-24341) (GH-24410) * bpo-42504: Ensure that get_config_var('MACOSX_DEPLOYMENT_TARGET') is a string (cherry picked from commit 49926cf2bcc8b44d9b8f148d81979ada191dd9d5) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com> Co-authored-by: FX Coudert <fxcoudert@gmail.com> Co-authored-by: Max Bélanger <aeromax@gmail.com> 02 May 2021, 09:18:58 UTC
d8ec61f Fix broken name in build.yml (GH-25759) (GH-25797) (cherry picked from commit 29282b2825545e2823bde94290a80f7c0fd7068e) 02 May 2021, 02:31:06 UTC
ce081fb Fix exceptions mentioned in os.setxattr() docs (GH-25742) (GH-25795) (cherry picked from commit 779232413a367cd3357482e675a5518de102a90e) Co-authored-by: Shreyash Sharma <shreyash.sharma@philips.com> Co-authored-by: Shreyash Sharma <shreyash.sharma@philips.com> 01 May 2021, 20:56:53 UTC
3519ac4 Fixing doc for callback for lambda (GH-25779) (GH-25789) Fixing callback for lambda when no return value is provided (cherry picked from commit 50c21ad35372983680b44130be560d856c5f27ca) Co-authored-by: Shreyash Sharma <shreyash.sharma@philips.com> Co-authored-by: Shreyash Sharma <shreyash.sharma@philips.com> 01 May 2021, 18:26:46 UTC
6034c4a [3.8] bpo-43993: Update vendored pip to 21.1.1 (GH-25761). (GH-25783) 01 May 2021, 15:50:07 UTC
606bb1c bpo-43971: Add spaces around annotated arg default '=' (GH-25702) Result: "quantity_on_hand: int = 0". (cherry picked from commit e726a902b7c73a7056b7421d801e47ffff255873) Co-authored-by: Mohamed Moselhy <look4d@gmail.com> Co-authored-by: Mohamed Moselhy <look4d@gmail.com> 01 May 2021, 00:31:00 UTC
e377ecf bpo-43935: Fix typo in Turtle.back() docstring (GH-25581) 'e ,' to 'e, '. (cherry picked from commit 0048c60f01deec4435748e851f9ec21b504d2d2f) Co-authored-by: Tarjei Bærland <tarjeibaerland@gmail.com> 30 April 2021, 22:35:45 UTC
ea6ec96 [3.8] bpo-42589: Change URL for 'from' link when used in a raised exc… (GH-25755) …eption (GH-23872) Links for 'raise Exception from x' target to 'The raise statement' (7.8) section instead of 'The import statement' (7.11) section. There are more modified links than in the bug report because I searched some other ones which can get the same improvement.. (cherry picked from commit 2fd928c8c1328424130cb9c51fc02ad5f9a66328) This PR is a cherry pick to python 3.8 from https://github.com/python/cpython/pull/23872. The fix was the removal of the change in the other file because the fixed section was introduced in 3.9. So the file does not need to be fixed in 3.8. Co-authored-by: sblondon <sblondon@users.noreply.github.com> Automerge-Triggered-By: GH:Mariatta 30 April 2021, 16:25:51 UTC
e010031 [doc] Be more clear on super() regarding multiple base classes methods (GH-21789) (GH-25707) (cherry picked from commit 69a733bda34d413d3ad545ef3132240e5d2a7c0c) Co-authored-by: Andre Delfino <adelfino@gmail.com> Co-authored-by: Andre Delfino <adelfino@gmail.com> 29 April 2021, 01:13:20 UTC
cc1dcb6 [doc] Do some polishing in IDEs section (GH-22070) (GH-25704) (cherry picked from commit 08a4803863856db47a1dde830e56f83e5c6811a2) Co-authored-by: Andre Delfino <adelfino@gmail.com> Co-authored-by: Andre Delfino <adelfino@gmail.com> 29 April 2021, 01:09:14 UTC
b52cc7c bpo-43960: test_pdb resets breakpoints to make tests deterministic (GH-25691) (GH-25692) (cherry picked from commit 2dc6b1789ec86dc80ea290fe33edd61140e47f6f) Co-authored-by: Irit Katriel <iritkatriel@yahoo.com> Co-authored-by: Irit Katriel <iritkatriel@yahoo.com> 28 April 2021, 15:43:01 UTC
ff7266e bpo-43959: clarify the documentation of the PyContextVar C-API (GH-25671) (GH-25690) (cherry picked from commit 4c49be766897968e509c41397e0e624c25b1675d) 28 April 2021, 15:11:53 UTC
77db337 bpo-43962: Fix _PyInterpreterState_IDIncref() (GH-25683) (GH-25686) _PyInterpreterState_IDIncref() now calls _PyInterpreterState_IDInitref() and always increments id_refcount. (cherry picked from commit 32c5a174445ec93747240cd8472012276ed27acf) 28 April 2021, 13:46:57 UTC
7f7cfc4 [3.8] bpo-43492: Upgrade Windows installer to use SQLite 3.35.5 (GH-25641) (cherry picked from commit bf0c7c0147b73738cac63eb27ef48430284ff121) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> 27 April 2021, 19:57:24 UTC
e013d8d bpo-43492: Update macOS installer to use SQLite 3.35.5 (GH-25640) (cherry picked from commit ce827816442613f982c356aa2f434c3c8a0c8917) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> 27 April 2021, 17:36:58 UTC
1d7a537 [doc] Remove duplicated operator.itemgetter example (GH-24178) (#25647) * Remove duplicated itemgetter example * Add spaces (cherry picked from commit 743e2bae10d2010fd1e29b772c9da64efc7c9c47) Co-authored-by: Andre Delfino <adelfino@gmail.com> 27 April 2021, 04:16:33 UTC
a808aab Use the zero argument form of super() in examples for Python3 docs. (GH-22314) (GH-25639) (cherry picked from commit 52cd6d5e1b2bece0d8efb58b1af41071c914ebe6) Co-authored-by: Andre Delfino <adelfino@gmail.com> 26 April 2021, 22:16:08 UTC
10ad7eb [3.8] bpo-28577: Special case added to IP v4 and v6 hosts for /32 and /128 networks (GH-18757) (#25536) The `.hosts()` method now returns the single address present in a /32 or /128 network.. (cherry picked from commit 8e9c47a947954c997d4b725f4551d50a1d896722) Co-authored-by: Pete Wicken <2273100+JamoBox@users.noreply.github.com> 26 April 2021, 19:57:04 UTC
196b8f3 Fix thread locks in zlib module may go wrong in rare case (#22132) Setting `next_in` before acquiring the thread lock may mix up compress/decompress state in other threads. 26 April 2021, 19:48:20 UTC
b570fea bpo-41661: Document os.path.relpath() exception on Windows with different drives (GH-25346) (#25367) (cherry picked from commit 67c0b3d89c4da9750fdb43fc66d3924681b22d2e) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 26 April 2021, 19:46:14 UTC
2760a67 bpo-17305: Link to the third-party idna package. (GH-25208) (#25211) So long as we don't have idna2008 in the standard library, we should at least point people to the third-party solution. (cherry picked from commit 1d023e374cf96d143b065242131ddc9b889f9a1e) Co-authored-by: Gregory P. Smith <greg@krypto.org> 26 April 2021, 19:45:45 UTC
727bed6 [3.8] bpo-34463: Make python tracebacks identical to C tracebacks for (#23899) * [3.8] bpo-34463: Make python tracebacks identical to C tracebacks for SyntaxErrors without a lineno (GH-23427) (cherry picked from commit 069560b1171eb6385121ff3b6331e8814a4e7454) Co-authored-by: Irit Katriel <iritkatriel@yahoo.com> * 📜🤖 Added by blurb_it. * added missing newline in test Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> 26 April 2021, 19:42:40 UTC
e1203e8 bpo-42924: Fix incorrect copy in bytearray_repeat (GH-24208) (#24212) Before, using the * operator to repeat a bytearray would copy data from the start of the internal buffer (ob_bytes) and not from the start of the actual data (ob_start). (cherry picked from commit 61d8c54f43a7871d016f98b38f86858817d927d5) Co-authored-by: Tobias Holl <TobiasHoll@users.noreply.github.com> 26 April 2021, 19:40:38 UTC
081bfe4 bpo-43938: improve dataclasses.FrozenInstanceError documentation (GH-25603) (GH-25636) (cherry picked from commit 8a307e488d596914a7a5df6b2fdd945f8ce81e69) Co-authored-by: Llandy Riveron Del Risco <llandy3d@gmail.com> Co-authored-by: Llandy Riveron Del Risco <llandy3d@gmail.com> 26 April 2021, 19:36:13 UTC
9b5f30e Doc: Fix the array.fromfile method doc (GH-22037) (GH-25631) The check about the f argument type was removed in this commit: https://github.com/python/cpython/commit/2c94aa567e525c82041ad68a3174d8c3acbf37e2 Thanks for Pedro Arthur Duarte (pedroarthur.jedi at gmail.com) by the help with this bug. (cherry picked from commit bd25bcd37a3a41a0e08208e969f0c02287850c61) Co-authored-by: Adorilson Bezerra <adorilson@gmail.com> Co-authored-by: Adorilson Bezerra <adorilson@gmail.com> 26 April 2021, 14:24:07 UTC
10ee266 [3.8] bpo-38820: Old OpenSSL 3.0.0 releases are in /old/3.0/ (GH-25624) (GH-25627) Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 3c586ca500854476e6eff06713236faff233d035) Co-authored-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: GH:tiran 26 April 2021, 09:35:32 UTC
7b30348 Update asyncio-subprocess.rst (GH-21680) (GH-25622) (cherry picked from commit 3c4850e222388889426e250ff43308e4802dc582) Co-authored-by: Gabriel R F <github@gabrf.com> 26 April 2021, 04:46:55 UTC
c5ce186 documentation: clarification about the function remove in os library (GH-19024) (GH-25618) (cherry picked from commit b6daab2f676de1773d8f35fb362fe4c57449301d) Co-authored-by: Etienne Gautier <etienne.gautier@outlook.com> 26 April 2021, 04:24:03 UTC
6d4556f Quick pydoc update to smtplib.py (GH-22292) (GH-25616) Fixing minor mistake in the quotes around a couple of arguments for the constructor of the class `SMTP`, in smtplib.py. (cherry picked from commit b3dec6f9ede35fc3bf7ae1baf0aa5f2ce1b6bf9d) Co-authored-by: uy-rrodriguez <5296200+uy-rrodriguez@users.noreply.github.com> 26 April 2021, 04:03:43 UTC
9ca20fd bpo-43534: Fix the turtle module working with multiple root windows GH-25594 (cherry picked from commit 8af929fc76f21fb123f6a47cb3ebcf4e5b758dea) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 26 April 2021, 01:54:25 UTC
f28a59c Fix broken links and improve stand-alone tools list in FAQ GH-25610 (cherry picked from commit d28b34695301ec99a9334ad8d69b6092f4f703d5) Co-authored-by: Andre Delfino <adelfino@gmail.com> 26 April 2021, 01:43:28 UTC
28d3f7a Fix id of 'Internet Message Format' RFC in email doc GH-25614 Previous ID (5233) refers to "Sieve Email Filtering: Subaddress Extension". It seems that the actual reference should be "Internet Message Format" RFC 5322 (https://tools.ietf.org/html/rfc5322). (The typo probably comes from commit 29d1bc0842 in which the ID of this RFC got updated from the obsolete 2822.) Co-authored-by: Ambrose Chua <ambrose@hey.com> (cherry picked from commit cb5c802dcf8851663c4eac5d73f968f626a3a1dc) Co-authored-by: Denis Laxalde <denis@laxalde.org> 26 April 2021, 01:42:27 UTC
62e7646 Fix copy.Error casing in documentation GH-22004 (#25612) (cherry picked from commit 0d930f108cb8ba66f54197175c1fba0c38253e4a) Co-authored-by: Andre Delfino <adelfino@gmail.com> 26 April 2021, 01:39:47 UTC
ff22c1b Remove mention of dst parameter from description of os.lstat() (GH-24704) It looks like it was accidentally copy-pasted in 6fa7aada9bd3616e0beeb266e818497b2ec1c859. (cherry picked from commit 7f8e072c6dc88d6973d81f8fd572c04c88e7e3d7) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> 25 April 2021, 21:35:55 UTC
c3b63a5 Fix a typo in datamodel reference document (GH-24930) (cherry picked from commit a1a5e3c4c83c3e3fe24c96ae22dfdedc7e23a1bb) Co-authored-by: Géry Ogam <gery.ogam@gmail.com> 25 April 2021, 21:22:36 UTC
d6322c9 BaseHTTPRequestHandler, that path includes query (GH-25597) * Clarify, for BaseHTTPRequestHandler, that path includes query Co-authored-by: David Jones <drj@pobox.com> (cherry picked from commit a89d8a94a0dd0bd45349efad6d5ad68641f4ff9a) Co-authored-by: Senthil Kumaran <senthil@uthcode.com> 25 April 2021, 17:17:05 UTC
6077efa [3.9] bpo-43655: Tkinter and IDLE dialog windows are now recognized as dialogs by window managers on macOS and X Window (GH-25187). (GH-25588) (GH-25592) (cherry picked from commit 3bb3fb3be09d472a43cdc3d9d9578bd49f3dfb8c) (cherry picked from commit 9a165399aec930f27639dd173426ccc33586662b) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 25 April 2021, 11:19:52 UTC
c70f268 bpo-43534: Make dialogs in turtle.textinput() and turtle.numinput() transitient again (GH-24923) (cherry picked from commit b5adc8a7e5c13d175b4d3e53b37bc61de35b1457) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 25 April 2021, 10:45:20 UTC
fc82f3f [3.8] bpo-43930: Update bundled pip to 21.1 and setuptools to 56.0.0 (GH-25576) (GH-25579) Update bundled pip to 21.1 and setuptools to 56.0.0. (cherry picked from commit 196983563d05e32d2dcf217e955a919f9e0c25e1) Co-authored-by: Stéphane Bidoul <stephane.bidoul@acsone.eu> 24 April 2021, 22:28:55 UTC
e92d110 bpo-43607: Fix urllib handling of Windows paths with \\?\ prefix (GH-25539) (cherry picked from commit 3513d55a617012002c3f82dbf3cec7ec1abd7090) Co-authored-by: Steve Dower <steve.dower@python.org> 23 April 2021, 18:21:45 UTC
82b6c09 [3.8] bpo-43920: Make load_verify_locations(cadata) error message consistent (GH-25554) (GH-25556) Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit b9ad88be0304136c3fe5959c65a5d2c75490cd80) Co-authored-by: Christian Heimes <christian@python.org> 23 April 2021, 14:37:09 UTC
faad2bd bpo-43856: Add a versionadded directive to the importlib.metadata docs (GH-25445) Use a versionadded directive to generate the text "New in version 3.8." (to match with the documentation of other modules). Automerge-Triggered-By: GH:jaraco (cherry picked from commit adf24bd835) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 23 April 2021, 06:47:00 UTC
c6b50ab Reformat idlelib colorizer (GH-25479) Also replace if-then and and-or with conditional expressions. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 702a0885ba3636959d4c176797814937c497b986) Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com> 23 April 2021, 01:38:59 UTC
9f0b3a9 bpo-38822: Check specifically for a drive, not just a colon (GH-25540) (cherry picked from commit e07d8098892e85ecc56969d2c9a5afb3ea33ce8f) Co-authored-by: Steve Dower <steve.dower@python.org> 22 April 2021, 23:48:42 UTC
1575ea0 bpo-35306: Avoid raising OSError from pathlib.Path.exists when passed an invalid filename (GH-25529) (cherry picked from commit 4696f1285d83dd7b69f459c63e14080b1f87f797) Co-authored-by: Steve Dower <steve.dower@python.org> 22 April 2021, 20:25:08 UTC
400bd9a bpo-38822: Fixed os.stat failing on inaccessible directories. (GH-25527) It would just fail if the path was inaccessible and had a trailing slash. It should fall back to the parent directory's metadata. (cherry picked from commit fe63a401a9b3ca1751b81b5d6ddb2beb7f3675c1) Co-authored-by: Steve Dower <steve.dower@python.org> 22 April 2021, 20:07:02 UTC
ef63328 bpo-43284: Update platform.win32_ver to use _syscmd_ver instead of sys.getwindowsversion() (GH-25500) The sys module uses the kernel32.dll version number, which can vary from the "actual" Windows version. Since the best option for getting the version is WMI (which is expensive), we switch back to launching cmd.exe (which is also expensive, but a lot less code on our part). sys.getwindowsversion() is not updated to avoid launching executables from that module. (cherry picked from commit 2a3f4899c63806439e5bcea0c30f7e6a6295a763) Co-authored-by: Shreyan Avigyan <shreyan.avigyan@gmail.com> 22 April 2021, 17:03:36 UTC
f7bc441 bpo-26227: Fixes decoding of host names on Windows from ANSI instead of UTF-8 (GH-25510) (cherry picked from commit dc516ef8395d15da0ab225eb0dceb2e0581f51ca) Co-authored-by: Steve Dower <steve.dower@python.org> 21 April 2021, 23:36:36 UTC
602eefe bpo-43472: Ensure PyInterpreterState_New audit events are raised when called through _xxsubinterpreters module (GH-25506) (cherry picked from commit 7b86e47617d81a4b14d929743425f448971e8c86) Co-authored-by: Steve Dower <steve.dower@python.org> 21 April 2021, 22:53:31 UTC
303ffb7 Fix typo in a dataclasses comment. (GH-25454) (cherry picked from commit 76beadb8ff86eb2bb248bf918bfb20c4069932f4) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com> 17 April 2021, 14:11:16 UTC
f77ca86 [3.8] bpo-43522: Fix SSLContext.hostname_checks_common_name (GH-24899) (GH-25452) Fix problem with ssl.SSLContext.hostname_checks_common_name. OpenSSL does not copy hostflags from *struct SSL_CTX* to *struct SSL*. (cherry picked from commit 330b49e397168df789fd0dd20cfe7e81b8e47258) 17 April 2021, 09:35:56 UTC
d5b80eb bpo-42967: coerce bytes separator to string in urllib.parse_qs(l) (GH-24818) (#25345) * coerce bytes separator to string * Add news * Update Misc/NEWS.d/next/Library/2021-03-11-00-31-41.bpo-42967.2PeQRw.rst (cherry picked from commit b38601d49675d90e1ee6faa47f7adaeca992d02d) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> 16 April 2021, 17:07:31 UTC
816da33 bpo-43842: Fix race condition in test_logging SMTP test (GH-25436) (GH-25437) (GH-25440) Fix a race condition in the SMTP test of test_logging. Don't close a file descriptor (socket) from a different thread while asyncore.loop() is polling the file descriptor. (cherry picked from commit 75ec103b3adbb7c619a0e22fa60f3d34c5a9e603) (cherry picked from commit e1903e11a3d42512effe336026e0c67f602e5848) 16 April 2021, 14:37:09 UTC
582917f [3.9] bpo-43723: Revert IDLE doc change (GH-25174) Change threading.activeCount to synonym threading.active_count. (cherry picked from commit 56c76df6e861322bdff77bfb21e5cd55fbacfad2) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 16 April 2021, 09:47:44 UTC
b405647 [3.8] bpo-43723: Backport IDLE doc change (GH-25174) Cherry-picked from 9825bdfbd5c966abf1f1b7264992d722a94c9613 16 April 2021, 07:01:00 UTC
a746fce bpo-37741: make importlib.metadata docs discoverable through a module directive. (GH-25415) Automerge-Triggered-By: GH:jaraco (cherry picked from commit 23acadcc1c75eb74b2459304af70d97a35001b34) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> 15 April 2021, 01:08:17 UTC
6ac1ea2 bpo-43777: Drop description of "pip search" command from tutorial (GH-25287) (cherry picked from commit 133705b85cc25d1e6684d32f8943ca288fadfda0) Co-authored-by: Bob Kline <bkline@users.noreply.github.com> 14 April 2021, 05:19:49 UTC
a607815 [3.8] bpo-43811: Test multiple OpenSSL versions on GHA (GH-25360) (GH-25392) The new checks are only executed when one or more OpenSSL-related files are modified. The checks run a handful of networking and hashing test suites. All SSL checks are optional. This PR also introduces ccache to speed up compilation. In common cases it speeds up configure and compile time from about 90 seconds to less than 30 seconds. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 8fa1489365e7af8b90286c97db55a2dc60a05cde) Co-authored-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: GH:tiran 13 April 2021, 19:27:02 UTC
47a894d bpo-43816: Add extern "C" to Include/cpython/pyctype.h (GH-25365) Signed-off-by: Andrew V. Jones <andrew.jones@vector.com> (cherry picked from commit 54db51c9114ac49030832f5134979ca866ffd21c) Co-authored-by: Andrew V. Jones <andrewvaughanj@gmail.com> 13 April 2021, 11:45:20 UTC
b71aaa0 [3.8] bpo-43799: OpenSSL 3.0.0: declare OPENSSL_API_COMPAT 1.1.1 (GH-25329) (GH-25383) Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit a4833883c9b81b6b272cc7c5b67fa1658b65304c) 13 April 2021, 07:09:22 UTC
f396a1a [3.8] bpo-42248: [Enum] ensure exceptions raised in ``_missing_`` are released (GH-25350). (GH-25369) (cherry picked from commit 8c14f5a787b21d5a1eae5d5ee981431d1c0e055f) Co-authored-by: Ethan Furman <ethan@stoneleaf.us> 12 April 2021, 19:16:46 UTC
04425a9 bpo-41561: Fix testing with OpenSSL 1.0.2 (GH-25355) Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 3447750073aff229b049e4ccd6217db2811dcfd1) Co-authored-by: Christian Heimes <christian@python.org> 12 April 2021, 10:21:25 UTC
328d66c Fix description of behaviour of an exception class in 'from' clause (GH-24303) (GH-25342) (cherry picked from commit 79650d0118b0a8861428b9dd063089de405cf137) Co-authored-by: Mark Dickinson <mdickinson@enthought.com> Co-authored-by: Mark Dickinson <mdickinson@enthought.com> 11 April 2021, 08:53:16 UTC
3a3c046 bpo-43739: Add type declaration Doc/extending/extending.rst example (GH-25332) 10 April 2021, 16:19:11 UTC
291d38d Add ignore file for the abidump check (GH-25322) 09 April 2021, 22:11:58 UTC
eed7686 bpo-43105: Importlib now resolves relative paths when creating module spec objects from file locations (GH-25121) 09 April 2021, 22:06:17 UTC
ffb05bb bpo-38820: OpenSSL 3.0.0: Use supported hashing algos in doc test (GH-25319) ripemd160 is not available in OpenSSL 3.0.0's default crypto provider. It's only present in legacy provider. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 2d7fdc90731e132f9d6b43852ee112f25831394b) Co-authored-by: Christian Heimes <christian@python.org> 09 April 2021, 20:33:29 UTC
70f2ca7 [3.8] bpo-43788: Generate version specific _ssl_data.h (GH-25300) (GH-25311) (cherry picked from commit 150af7543214e1541fa582374502ac1cd70e8eb4) Co-authored-by: Christian Heimes <christian@python.org> 09 April 2021, 16:34:54 UTC
e18ebd9 bpo-43794: OpenSSL 3.0.0: set OP_IGNORE_UNEXPECTED_EOF by default (GH-25309) Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 6f37ebc61e9e0d13bcb1a2ddb7fc9723c04b6372) Co-authored-by: Christian Heimes <christian@python.org> 09 April 2021, 16:21:06 UTC
a28398e [3.8] bpo-43789: OpenSSL 3.0.0 Don't call passwd callback again in error case (GH-25303) (GH-25306) (cherry picked from commit d3b73f32ef7c693a6ae8c54eb0e62df3b5315caf) Co-authored-by: Christian Heimes <christian@python.org> 09 April 2021, 14:51:25 UTC
4e710d1 [3.8] bpo-43791: Skip TLS 1.0/1.1 tests under OpenSSL 3.0.0 (GH-25304) (GH-25308) Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 5151d642004c59cce58d669be85d9a5e987f51d3) Co-authored-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: GH:tiran 09 April 2021, 14:02:03 UTC
49b7ab1 Add CI step to check changes in the exported ABI (GH-25232) 09 April 2021, 00:33:48 UTC
20d56bd bpo-39674: Fix collections ABC deprecation notice (GH-25281) The deprecation originally slated for 3.9 was deferred to 3.10 (bpo-39674, GH-18545) and the documentation on the 3.8 release was updated accordingly (GH-18748). However the deprecation notice in the code was left as is, and still indicates deprecation with 3.9. 08 April 2021, 23:29:19 UTC
754dc35 [3.8] bpo-43087: Fix error in ctypes "Incomplete Types" doc (GH-24404) The previous "Fundamental data types" section says a c_char_p must be bytes (or None). (cherry picked from commit 14829b09eb652f457cf837836909169746a810f0) Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Zackery Spytz <zspytz@gmail.com> 08 April 2021, 08:22:00 UTC
05d0fcd Fix broken test for MutableSet.pop() (GH-25209) (GH-25270) 07 April 2021, 23:57:39 UTC
4554ab4 [3.8] bpo-36540: Improve doc of function definition regarding positional-only arguments (GH-25235) (GH-25260) (cherry picked from commit 58d72cab89cf9652acc0bf0007aa20b2bcc98499) Co-authored-by: Saiyang Gou <gousaiyang@163.com> 07 April 2021, 19:32:24 UTC
9f57873 bpo-42999: Expand and clarify pathlib.Path.link_to() documentation. (GH-24294) Co-authored-by: Barney Gale <barney.gale@gmail.com> 07 April 2021, 18:23:30 UTC
d0e858d Improve CDN purge script (GH-25251) (cherry picked from commit e35dd556e1adb4fc8b83e5b75ac59e428a8b5460) Co-authored-by: Steve Dower <steve.dower@python.org> 07 April 2021, 12:32:50 UTC
e7654b6 bpo-43075: Fix ReDoS in urllib AbstractBasicAuthHandler (GH-24391) Fix Regular Expression Denial of Service (ReDoS) vulnerability in urllib.request.AbstractBasicAuthHandler. The ReDoS-vulnerable regex has quadratic worst-case complexity and it allows cause a denial of service when identifying crafted invalid RFCs. This ReDoS issue is on the client side and needs remote attackers to control the HTTP server. (cherry picked from commit 7215d1ae25525c92b026166f9d5cac85fb1defe1) Co-authored-by: Yeting Li <liyt@ios.ac.cn> 07 April 2021, 11:45:05 UTC
9a988b8 bpo-43745: Actually updates Windows release to OpenSSL 1.1.1k. (GH-25213) Earlier releases were mislabelled and included 1.1.1i again. The tag/directory name is updated to ensure that builds get the fresh bits. However, the openssl-bin-1.1.1k tag in the repository has been forcibly updated, so fresh builds will be fine even without this change. (cherry picked from commit 611aa39142f156508945ac312724474c493a6691) Co-authored-by: Steve Dower <steve.dower@python.org> 06 April 2021, 15:22:39 UTC
76c4a9f [3.8] Fix blurb for bpo-43176. (GH-25215) (GH-25218) (cherry picked from commit 1744c96ebc98b240f2564f75191097704b37244f) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com> Automerge-Triggered-By: GH:ericvsmith 06 April 2021, 14:18:57 UTC
b132be8 bpo-43176: Fix processing of empty dataclasses (GH-24484) When a dataclass inherits from an empty base, all immutability checks are omitted. This PR fixes this and adds tests for it. Automerge-Triggered-By: GH:ericvsmith (cherry picked from commit 376ffc6ac491da74920aed1b8e35bc371cb766ac) Co-authored-by: Iurii Kemaev <6885137+hbq1@users.noreply.github.com> 06 April 2021, 05:31:54 UTC
bdee2a3 bpo-36470: Allow dataclasses.replace() to handle InitVars with default values (GH-20867) (GH-25201) Co-Authored-By: Claudiu Popa <pcmanticore@gmail.com> Automerge-Triggered-By: GH:ericvsmith (cherry picked from commit 75220674c07abfc90c2cd7862d04cfa2e2354450) Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Zackery Spytz <zspytz@gmail.com> 05 April 2021, 20:07:29 UTC
0f7c77e Fix typo in turtledemo.two_canvases. (GH-25194) (cherry picked from commit 4e2ef7084185d2220003b4b5538e3d8190b2dcd6) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 05 April 2021, 17:37:24 UTC
06653f8 bpo-43705: Document that SyntaxError's offsets are 1-indexed (GH-25153) Changed the inline mentions of the attributes into a proper attribute list like `SystemExit` has. Automerge-Triggered-By: GH:gvanrossum (cherry picked from commit b2a91e0c9ee18b50cc86b21211c2258520a9f5d0) Co-authored-by: Ammar Askar <ammar@ammaraskar.com> 02 April 2021, 22:26:17 UTC
a44771f Post 3.8.9 02 April 2021, 17:37:42 UTC
ff7dc7f Merge tag 'v3.8.9' into 3.8 Python 3.8.9 02 April 2021, 17:35:44 UTC
2049bb2 [3.9] bpo-26053: Fix args echoed by pdb run command (GH-25149) * bpo-26053: Fix args echoed by pdb run command (GH-22033) (cherry picked from commit 652bfdee9495dca241d48278742fe035b7a82bdb) * bpo-26053: Fix test_pdb.test_issue26053() (GH-25139) (cherry picked from commit bd4ab8e73906a4f12d5353f567228b7c7497baf7) (cherry picked from commit 7ad56e254519047aeb9c669b9ea2f2bf0acfd401) Co-authored-by: Irit Katriel <iritkatriel@yahoo.com> 02 April 2021, 11:33:31 UTC
a743f81 Python 3.8.9 02 April 2021, 10:32:10 UTC
154f86f bpo-43700: Replace Zulip badge with Discourse badge (GH-25141) Automerge-Triggered-By: GH:zware (cherry picked from commit bef7b26f7229f8b7cde843118a7bc7e2b00f0372) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> 02 April 2021, 03:58:28 UTC
4ea8b24 Doc: io: Remove "In-memory streams" section (GH-24927) (cherry picked from commit b045cdaf341f80b7d1e4804b932b6e415600c2e1) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 01 April 2021, 06:10:38 UTC
a2fb286 Fix grammar in enum documentation. (GH-24689) There is an extra `s` in the singular word `method`. Reported in docs mailing list by Steven Nguyen. Automerge-Triggered-By: GH:Mariatta (cherry picked from commit f193874056fb185305084b79b32d2745ce9be7cf) Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com> 01 April 2021, 00:10:37 UTC
e143eea bpo-37945: Fix test_locale.test_getsetlocale_issue1813() (GH-25110) (GH-25113) Skip the test if setlocale() fails. (cherry picked from commit f3ab670fea75ebe177e3412a5ebe39263cd428e3) Co-authored-by: Victor Stinner <vstinner@python.org> 31 March 2021, 11:52:31 UTC
e92923b bpo-42225: IDLE - document two unix-related problems. (GH-25078) 1. Bad IP masquerade rules can prevent startup. 2. X cannot handle some complex colored chars. (cherry picked from commit 1b4a9c7956d5dc64f8002f62bf0faae2d1892f90) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 31 March 2021, 05:40:09 UTC
c1079cd bpo-43399: Fix ElementTree.extend not working on iterators (GH-24751) (cherry picked from commit 51a85ddce8b336addcb61b96f04c9c5edef07296) Co-authored-by: Alex Prengère <2138730+alexprengere@users.noreply.github.com> 30 March 2021, 21:32:55 UTC
9ac2630 [3.8] bpo-43631: Update to OpenSSL 1.1.1k (GH-25024) (GH-25089) Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: GH:tiran. (cherry picked from commit a54fc683f237d8f0b6e999a63aa9b8c0a45b7fef) Co-authored-by: Christian Heimes <christian@python.org> 30 March 2021, 08:58:12 UTC
back to top