https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
d2340ef Python 3.11.4 06 June 2023, 22:00:27 UTC
daf22ca [3.11] gh-104411: Update test_getint for Tcl 9.0 (GH-104412) (#105357) gh-104411: Update test_getint for Tcl 9.0 (GH-104412) (cherry picked from commit 2c49c759e880a32539f50c31dbd35d2bc4b4e030) Co-authored-by: Christopher Chavez <chrischavez@gmx.us> 06 June 2023, 14:04:21 UTC
c644fe4 [3.11] gh-104399: Use newer libtommath APIs when necessary (GH-104407) (#105344) gh-104399: Use newer libtommath APIs when necessary (GH-104407) (cherry picked from commit 00d73caf804c0474980e471347d6385757af975f) Co-authored-by: Christopher Chavez <chrischavez@gmx.us> 06 June 2023, 14:01:54 UTC
b8d3bb7 [3.11] gh-90005: Don't link with libbsd if not needed (#105236) (#105359) The regression was introduced with commit 5b946cada. Restore pre gh-29696 behaviour. 06 June 2023, 11:00:38 UTC
faae548 [3.11] gh-89412: Add missing attributes (added in 3.10) to traceback module docs (GH-105046) (#105328) (cherry picked from commit a4f72fa39a9d391c7b931ba1906d81da4ae01949) Co-authored-by: Jakub Kuczys <me@jacken.men> 05 June 2023, 17:02:23 UTC
93d9e99 [3.11] gh-105286: Improve typing.py docstrings (#105287) (#105322) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 05 June 2023, 16:11:35 UTC
4895788 [3.11] gh-105164: Detect annotations inside match blocks (GH-105177). (#105314) (cherry picked from commit 69d1245685cf95ddc678633e978a56673da64865) 05 June 2023, 13:46:12 UTC
aca77b5 [3.11] gh-105080: Fixed inconsistent signature on derived classes (GH… (#105274) 04 June 2023, 21:26:01 UTC
86eab08 [3.11] gh-104882: Docs: fix description of relationship between `socket.getblocking()` and `socket.gettimeout()` (GH-105026) (#105284) gh-104882: Docs: fix description of relationship between `socket.getblocking()` and `socket.gettimeout()` (GH-105026) (cherry picked from commit 5a5ed7a3e616a372f054a1dd2e9a31ba32a87a67) Co-authored-by: Joe Geisbauer <joegeisbauer@gmail.com> 04 June 2023, 16:09:13 UTC
8de607a [3.11] gh-105184: document that marshal functions can fail and need to be checked with PyErr_Occurred (GH-105185) (#105219) gh-105184: document that marshal functions can fail and need to be checked with PyErr_Occurred (GH-105185) (cherry picked from commit ee26ca13a129da8cf549409d0a1b2e892ff2b4ec) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 02 June 2023, 08:28:35 UTC
a5d2b54 [3.11] gh-103142: Upgrade binary builds and CI to OpenSSL 1.1.1u (GH-105174) (#105200) Upgrade builds to OpenSSL 1.1.1u. This OpenSSL version addresses a pile if less-urgent CVEs since 1.1.1t. The Mac/BuildScript/build-installer.py was already updated. Also updates _ssl_data_111.h from OpenSSL 1.1.1u, _ssl_data_300.h from 3.0.9. Manual edits to the _ssl_data_300.h file prevent it from removing any existing definitions in case those exist in some peoples builds and were important (avoiding regressions during backporting). (cherry picked from commit ede89af) 01 June 2023, 18:07:53 UTC
3b0747a gh-105146: Update links at end of Windows installer (uninstall/repair) (GH-105147) (cherry picked from commit ed86e14b1672f32f0a31d72070e93d361ee0e2b4) Co-authored-by: Steve Dower <steve.dower@python.org> 31 May 2023, 21:42:57 UTC
5de6ca5 [3.11] gh-105096: Reformat wave documentation (#105136) (#105138) (#105155) [3.12] gh-105096: Reformat wave documentation (#105136) (#105138) gh-105096: Reformat wave documentation (#105136) Add ".. class::" markups in the wave documentation. * Reformat also wave.py (minor PEP 8 changes). * Remove redundant "import struct": it's already imported at top level. * Remove wave.rst from .nitignore (cherry picked from commit 85e5d03163cac106ac8ec142ef03f1349a48948b) (cherry picked from commit 01b42f9559b614d729c3f055d09269db13d2433c) 31 May 2023, 16:40:25 UTC
67a8469 [3.11] gh-103142: Update macOS installer to use OpenSSL 1.1.1u. (GH-105131) (cherry picked from commit f90d3f68db720bd6d0deda8cc0030339ccd43858) Co-authored-by: Ned Deily <nad@python.org> 31 May 2023, 06:15:45 UTC
26f396a Enable the ABI check job to publish the updated ABI data file (GH-105103) 30 May 2023, 19:33:42 UTC
c39500d [3.11] GH-89455: Add missing attributes (added in 3.11) to traceback module docs (GH-105044) (#105067) GH-89455: Add missing attributes (added in 3.11) to traceback module docs (GH-105044) (cherry picked from commit 39f6a0489fcc815a578d27dfee2feea003c896f8) Co-authored-by: Jakub Kuczys <me@jacken.men> 29 May 2023, 19:37:49 UTC
d34e58a [3.11] gh-103921: Improve typing documentation (GH-104642) (#105007) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 27 May 2023, 23:30:41 UTC
dcfa816 [3.11] gh-104497: Make tkinter test pass with tk 8.7 (GH-104789) (#105029) For test_widgets.MenuTest.test_configure_type, the options in the error message change to alphabetical order. --------- (cherry picked from commit 897e716d03d559a10dd5015ecb501ceb98955f3a) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 27 May 2023, 21:52:14 UTC
d1a7d66 [3.11] CI: Precompute hash for config cache key in check_source job (GH-105008) (#105024) 27 May 2023, 18:40:43 UTC
b9e2d80 [3.11] gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation (GH-104994) (#105010) gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation (GH-104994) Document unittest.TestProgram.usageExit's pending removal in 3.13 (cherry picked from commit 7df861c23cd61e7c55943d4036ea5c6b1df5cb49) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 27 May 2023, 02:43:04 UTC
a632697 [3.11] gh-104984: remove kwargs and starargs from Call & ClassDef (GH-104986) (#104988) gh-104984: remove kwargs and starargs from Call & ClassDef (GH-104986) These fields are removed in https://github.com/python/cpython/commit/025e9ebd0a0a19f50ca83af6ada0ac65be1fa2a1 (cherry picked from commit 61c1d6760facbc172a58512cad46148f587b4da1) Co-authored-by: Shaygan Hooshyari <sh.hooshyari@gmail.com> 26 May 2023, 17:14:03 UTC
4af56ec [3.11] CI: Cache config.cache across runs to speed up build (GH-104800) (#104968) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 26 May 2023, 16:09:09 UTC
ca55247 [3.11] Remove raw asserts in test_typing.py (GH-104951) (#104979) Remove raw asserts in test_typing.py (GH-104951) (cherry picked from commit 2cb445635e99d4401949cabebd373288cfdd0138) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 26 May 2023, 14:34:37 UTC
f585ed1 [3.11] gh-104924: Fix `read()able` in `http.client` log messages (gh-104926) (gh-104971) gh-104924: Fix `read()able` in `http.client` log messages (gh-104926) (cherry picked from commit 6c81d7572edbe3a5800b1128e55a2dcef03cc13c) Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> 26 May 2023, 12:02:13 UTC
1342474 [3.11] gh-104943: Remove mentions of old Python versions (GH-104945) (#104962) (cherry picked from commit 46857d0b2a2ac6aeb6dcce2bf2c92ddf4abe7496) Co-authored-by: Tomas R <tomas.roun8@gmail.com> 26 May 2023, 07:13:45 UTC
b764347 [3.11] Fix typo in the tokenizer (GH-104950) (#104952) (cherry picked from commit 705e387dd81b971cb1ee5727da54adfb565f61d0) Co-authored-by: Stepfen Shawn <m18824909883@163.com> 26 May 2023, 06:32:04 UTC
161fc18 [3.11] gh-104479: Update outdated tutorial floating-point reference (GH-104681) (#104961) (cherry picked from commit 2cf04e455d8f087bd08cd1d43751007b5e41b3c5) Co-authored-by: Mark Dickinson <dickinsm@gmail.com> 26 May 2023, 06:30:03 UTC
76873ca [3.11] Fix test_importlib.test_side_effect_import() (GH-104840) (#104843) Fix test_importlib.test_side_effect_import() (GH-104840) Wait until the thread spawn by the import completes to avoid dangling threads. With this fix, the following command no longer fails: ./python -m test --fail-env-changed test_importlib -m test_side_effect_import -F -j20 (cherry picked from commit 426950993f6a39cdf3f6a3333ac8b518833c7e61) Co-authored-by: Victor Stinner <vstinner@python.org> 25 May 2023, 00:35:34 UTC
3b3f2e1 [3.11] gh-104874: Document NewType.__supertype__ (GH-104875) (#104907) gh-104874: Document NewType.__supertype__ (GH-104875) (cherry picked from commit 41768a2bd3a8f57e6ce4e4ae9cab083b69817ec1) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 24 May 2023, 23:35:58 UTC
5e91167 [3.11] Improve test coverage for is_typeddict (GH-104884) (#104888) In particular, it's important to test that is_typeddict(TypedDict) returns False. (cherry picked from commit 1497607a8e99f1103c40368dd5f9057f0146a520) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 24 May 2023, 19:23:35 UTC
fa7d8ce [3.11] gh-103207: The macOS 13 Ventura Installer.app permission problem is fixed by Apple in macOS 13.4. (GH-104885) 24 May 2023, 18:34:25 UTC
22618a8 [3.11] gh-104719: IDLE - test existence of all tokenize references. (GH-104767) (#104845) gh-104719: IDLE - test existence of all tokenize references. (GH-104767) Class editor.IndentSearcher contains all editor references to tokenize module. Module io tokenize reference cover those other modules. (cherry picked from commit e561c09975bf67ad8bb67c56a81e30a9165bcc84) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 24 May 2023, 12:46:33 UTC
6d00ae3 [3.11] gh-104372: Cleanup _posixsubprocess make_inheritable for async signal safety gh-104518 (#104785) Move all of the Python C API calls into the parent process up front instead of doing PyLong_AsLong and PyErr_Occurred and PyTuple_GET from the post-fork/vfork child process. Much of this was long overdue. We shouldn't have been using PyTuple and PyLong APIs within all of these low level functions anyways. This is a backport of c649df6 for #104518 and the tiny adjustment in d1732fe #104697. Backporting this allows backporting of the real bug fix that requires it. Co-authored-by: Gregory P. Smith [Google] <greg@krypto.org> 24 May 2023, 03:42:25 UTC
582aadc [3.11] gh-104271: Fix auto() fallback in case of mixed type Enum (GH-104809) [3.12] gh-104271: Fix auto() fallback in case of mixed type Enum (GH-104279) (cherry picked from commit f4e2049f14d40c1b893c68530eec5e341cf3d929) Co-authored-by: Itamar Ostricher <itamarost@gmail.com> 23 May 2023, 19:48:20 UTC
ac12a6b [3.11] gh-103726: Set up gcc-10 for ASAN (gh-103728) (#104794) Set up gcc-10 for ASAN CI as the existing config's default 9.x does not play well with `vfork()`. <!-- Thanks for your contribution! Please read this comment in its entirety. It's quite important. GH- Pull Request title It should be in the following format: ``` gh-NNNNN: Summary of the changes made ``` Where: gh-NNNNN refers to the GitHub issue number. Most PRs will require an issue number. Trivial changes, like fixing a typo, do not need an issue. GH- Backport Pull Request title If this is a backport PR (PR made against branches other than `main`), please ensure that the PR title is in the following format: ``` [X.Y] <title from the original PR> (GH-NNNN) ``` Where: [X.Y] is the branch name, e.g. [3.6]. GH-NNNN refers to the PR number from `main`. --> <!-- gh-issue-number: gh-103726 --> * Issue: gh-103726 <!-- /gh-issue-number --> (cherry picked from commit 83305808000e03cbad31ac3e9ef65454fb409282) Co-authored-by: Dong-hee Na <donghee.na@python.org> 23 May 2023, 08:10:44 UTC
be20e9c [3.11] howto/urllib2: remove link to an outdated french translation (GH-104193) (GH-104746) howto/urllib2: remove link to an outdated french translation (GH-104193) We now have our own translation and it's not outdated (cherry picked from commit 151b6bfb5d9a15b6e2682e5a3008a3f9ec3086ae) Co-authored-by: Mathieu Dupuy <deronnax@gmail.com> 22 May 2023, 17:57:05 UTC
6f94bbf [3.11] gh-104536: Improve `multiprocessing.process._cleanup` logic (GH-104537) (#104737) Fix a race condition in the internal `multiprocessing.process` cleanup logic that could manifest as an unintended `AttributeError` when calling `BaseProcess.close()`. (cherry picked from commit ef5d00a59207a63c6d5ae0d5d44054847d1bf3b5) Co-authored-by: Luccccifer <lukezhang764@gmail.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> Co-authored-by: Gregory P. Smith <greg@krypto.org> 22 May 2023, 10:49:33 UTC
e95ca78 [3.11] gh-102978: Fix mock.patch function signatures for class and staticmethod decorators (GH-103228) (#103499) Fixes unittest.mock.patch not enforcing function signatures for methods decorated with @classmethod or @staticmethod when patch is called with autospec=True. (cherry picked from commit 59e0de4903c02e72b329e505fddf1ad9794928bc) Co-authored-by: Tomas R <tomas.roun8@gmail.com> 22 May 2023, 10:47:12 UTC
1692a16 [3.11] Add IPv6 into to the docstring for socket.getsockname (GH-102961) (#103137) Add IPv6 into to the docstring for socket.getsockname (GH-102961) (cherry picked from commit ecc5441505cd7cb54f3d38409c732e2e9f102137) Signed-off-by: Brian Haley <haleyb.dev@gmail.com> Co-authored-by: Brian Haley <brianphaley@gmail.com> 22 May 2023, 10:46:45 UTC
d691de1 [3.11] gh-104683: `clinic.py`: Improve coverage for the `parse_converter` method (#104729) (#104730) 21 May 2023, 23:48:25 UTC
2ade563 [3.11] gh-103606: Improve error message from logging.config.FileConfig (GH-103628) (#104687) * gh-103606: Improve error message from logging.config.FileConfig (GH-103628) (cherry picked from commit 152227b569c3a9b87fe0483706f704762ced6d75) plus backport the followup exception change fix to that in #104701 21 May 2023, 19:17:18 UTC
e033eda [3.11] gh-104719: IDLE - delete useless monkeypatch of tokenize (GH-104726) (#104727) gh-104719: IDLE - delete useless monkeypatch of tokenize (GH-104726) (cherry picked from commit 0c5e79bcdf99a6a07c65b0ea6d7701b6e041481c) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 21 May 2023, 19:16:12 UTC
abb32de [3.11] typing docs: Move some classes out of the "Generics" section (GH-104707) (#104721) - AnyStr can be used in type annotations, contrary to the section header - Unpack can also be used in annotations, and its use is not restricted to generics. It makes more sense with other building blocks like Required. - Protocol is not necessarily generic. Also fix the indentation for two notes associated with Concatenate. (cherry picked from commit ab71acd67b5b09926498b8c7f855bdb28ac0ec2f) --------- Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 21 May 2023, 13:31:26 UTC
dc0c41b [3.11] Corrected identifier (GH-104713) (#104714) Corrected identifier (GH-104713) (cherry picked from commit 60993ba8b4a04dfcf2d3067d919bcce160f01bd5) Co-authored-by: William Sawyer <wmsawyer2609@gmail.com> 21 May 2023, 06:06:17 UTC
b2e0201 [3.11] gh-104698: Fix reference leak in mmapmodule.c (GH-104700) (#104710) (cherry picked from commit 99b641886a09252bbcf99a1d322fa8734f1ca30d) Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 21 May 2023, 01:43:18 UTC
2e457bc [3.11] gh-101857: Allow xattr detection on musl libc (GH-101858) (#101894) gh-101857: Allow xattr detection on musl libc (GH-101858) Previously, we checked exclusively for `__GLIBC__` (AND'd with some other conditions). Checking for `__linux__` instead should be fine. This fixes using e.g. `os.listxattr()` on systems using musl libc. Bug: https://bugs.gentoo.org/894130 (cherry picked from commit 8be8101bca34b60481ec3d7ecaea4a3379fb7dbb) Co-authored-by: Sam James <sam@gentoo.org> Co-authored-by: Gregory P. Smith <greg@krypto.org> 21 May 2023, 00:17:27 UTC
d45c1df [3.11] gh-49174: document that the effect of calling gc.collect() during a collection is undefined (GH-104699) (#104703) gh-49174: document that the effect of calling gc.collect() during a collection is undefined (GH-104699) (cherry picked from commit 30488fa22a8f63753192ae7f1d01665857764e45) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 20 May 2023, 20:12:52 UTC
89bd454 [3.11] gh-104679 Fixed syntax highlighting in turtle docs (GH-104682). (#104695) (cherry picked from commit 2c97878bb8a09f5aba8bf413bb794f6efd5065df) 20 May 2023, 16:36:43 UTC
795b20e [3.11] gh-56276: Add tests to test_compare (GH-3199) (#104694) gh-56276: Add tests to test_compare (GH-3199) (cherry picked from commit 68ee8b3f15b744339c156bfeb583a414061ab22d) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> 20 May 2023, 16:31:42 UTC
dbb011a [3.11] gh-103987: fix several crashes in mmap module (GH-103990) (#104677) gh-103987: fix several crashes in mmap module (GH-103990) (cherry picked from commit ceaa4c3476ac49b5b31954fec53796c7a3b40349) Co-authored-by: Prince Roshan <princekrroshan01@gmail.com> Co-authored-by: sunmy2019 <59365878+sunmy2019@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 20 May 2023, 03:59:54 UTC
2801b3f [3.11] gh-104472: Skip `test_subprocess.ProcessTestCase.test_empty_env` if ASAN is enabled (GH-104667) (#104673) gh-104472: Skip `test_subprocess.ProcessTestCase.test_empty_env` if ASAN is enabled (GH-104667) Skip test_subprocess.ProcessTestCase.test_empty_env if ASAN is enabled. (cherry picked from commit c3f43bfb4bec39ff8f2c36d861a3c3a243bcb3af) Co-authored-by: chgnrdv <52372310+chgnrdv@users.noreply.github.com> 19 May 2023, 21:48:07 UTC
e5b6f38 [3.11] docs: fix wrong indentation causing rendering error in dis page (GH-104661) (#104670) docs: fix wrong indentation causing rendering error in dis page (GH-104661) (cherry picked from commit 3bc94e678f2961eafc9d665898d73afc6204d314) Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com> 19 May 2023, 20:25:43 UTC
cd13f73 [3.11] gh-104659: Consolidate python examples in enum documentation (#104665) (#104666) gh-104659: Consolidate python examples in enum documentation (#104665) (cherry picked from commit 3ac856e69734491ff8423020c700c9ae86ac9a08) Co-authored-by: Thomas Hisch <t.hisch@gmail.com> 19 May 2023, 20:12:57 UTC
7b3bc95 [3.11] GH-102818: Do not call PyTraceBack_Here in sys.settrace trampoline (GH-104650) Backport of GH-104579 19 May 2023, 18:08:43 UTC
667e4ec [3.11] gh-104615: don't make unsafe swaps in apply_static_swaps (GH-104620). (#104636) (cherry picked from commit 0589c6a4d3d822cace42050198cb9a5e99c879ad) 19 May 2023, 18:04:04 UTC
d78c3bc [3.11] gh-104645: fix error handling in marshal tests (GH-104646) (#104663) gh-104645: fix error handling in marshal tests (GH-104646) (cherry picked from commit ac56a854b418d35ad3838f3072604227dc718fca) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 19 May 2023, 16:46:37 UTC
702ce87 [3.11] gh-96522: Fix deadlock in pty.spawn (GH-96639) (#104655) (cherry picked from commit 9c5aa8967bd7c1b02fb1da055c6b3afcccbbb251) Co-authored-by: Youfu Zhang <1315097+zhangyoufu@users.noreply.github.com> 19 May 2023, 14:54:50 UTC
aaeaf01 [3.11] gh-85984: Utilize new "winsize" functions from termios in pty tests. (GH-101831) (#104652) Utilize new functions termios.tcgetwinsize() and termios.tcsetwinsize in test_pty.py. (cherry picked from commit da2fb9264315dc30ac3012b4dbf5ba76d3f34433) Co-authored-by: Soumendra Ganguly <67527439+8vasu@users.noreply.github.com> Co-authored-by: Gregory P. Smith <greg@krypto.org> 19 May 2023, 13:57:52 UTC
d1bfefd [3.11] gh-104623: Update macOS installer to SQLite 3.42.0 (GH-104643) (cherry picked from commit fd04bfeaf7a4531120ad450dbd1afc121a2523ee) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 19 May 2023, 07:16:43 UTC
ba39ea4 [3.11] gh-104623: Update Windows installer to use SQLite 3.42.0 (#104625) (#104633) 18 May 2023, 23:33:58 UTC
3d52f7e [3.11] gh-104629: Don't skip test_clinic if _testclinic is missing (GH-104630) (#104632) gh-104629: Don't skip test_clinic if _testclinic is missing (GH-104630) Just skip the tests that depend on the _testclinic extension module; we can still run the Python tests. (cherry picked from commit 86ee49f469b84e4b746526a00d8191d0e374a268) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 18 May 2023, 23:20:35 UTC
99a162a [3.11] gh-104499: Fix typo. (GH-104598) (#104599) gh-104499: Fix typo. (GH-104598) (cherry picked from commit c5b670efd1e6dabc94b6308734d63f762480b80f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 18 May 2023, 17:54:45 UTC
e96fb39 [3.11] gh-104499: IDLE - fix completions for tk aqua 8.7 (GH-104591) (#104596) gh-104499: IDLE - fix completions for tk aqua 8.7 (GH-104591) (cherry picked from commit 678bf57ed04b8c250f0bc031ebd264bece76e731) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 18 May 2023, 02:02:53 UTC
a8fc8b7 [3.11] gh-104340: Suppress warning about unawaited exception for closed pipe stdin (GH-104586) (#104594) (cherry picked from commit 7fc8e2d4627cdba5cb0075c9052ed6f4b6ecd36d) Co-authored-by: Guido van Rossum <guido@python.org> 18 May 2023, 00:09:12 UTC
610cc0a [3.11] gh-102153: Start stripping C0 control and space chars in `urlsplit` (GH-102508) (#104575) * gh-102153: Start stripping C0 control and space chars in `urlsplit` (GH-102508) `urllib.parse.urlsplit` has already been respecting the WHATWG spec a bit GH-25595. This adds more sanitizing to respect the "Remove any leading C0 control or space from input" [rule](https://url.spec.whatwg.org/GH-url-parsing:~:text=Remove%20any%20leading%20and%20trailing%20C0%20control%20or%20space%20from%20input.) in response to [CVE-2023-24329](https://nvd.nist.gov/vuln/detail/CVE-2023-24329). --------- (cherry picked from commit 2f630e1ce18ad2e07428296532a68b11dc66ad10) Co-authored-by: Illia Volochii <illia.volochii@gmail.com> Co-authored-by: Gregory P. Smith [Google] <greg@krypto.org> 17 May 2023, 21:41:25 UTC
0560fd3 [3.11] gh-104496: IDLE - fix About for mixed tcl/tk versions (GH-104585) (#104587) gh-104496: IDLE - fix About for mixed tcl/tk versions (GH-104585) Print both if they are different, as may happen in the future. (cherry picked from commit aed643baa968b4959b830d37750080cac546fba7) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 17 May 2023, 20:31:22 UTC
f106aef [3.11] typing: Add more tests for TypeVar (GH-104571) (#104577) During the PEP 695 implementation at one point I made TypeVar.__name__ return garbage, and all of test_typing passed. So I decided to add a few more tests. (cherry picked from commit 26931944dd8abd6554249239344fa62b789b9028) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 17 May 2023, 13:40:34 UTC
133bf09 [3.11] gh-103861: Fix Zip64 extensions not being properly applied in some cases (GH-103863) (#104534) Fix Zip64 extensions not being properly applied in some cases: Fixes an issue where adding a small file to a `ZipFile` object while forcing zip64 extensions causes an extra Zip64 record to be added to the zip, but doesn't update the `min_version` or file sizes in the primary central directory header. Also fixed an edge case in checking if zip64 extensions are required: This fixes an issue where if data requiring zip64 extensions was added to an unseekable stream without specifying `force_zip64=True`, zip64 extensions would not be used and a RuntimeError would not be raised when closing the file (even though the size would be known at that point). This would result in successfully writing corrupt zip files. Deciding if zip64 extensions are required outside of the `FileHeader` function means that both `FileHeader` and `_ZipWriteFile` will always be in sync. Previously, the `FileHeader` function could enable zip64 extensions without propagating that decision to the `_ZipWriteFile` class, which would then not correctly write the data descriptor record or check for errors on close. If anyone is actually using `ZipInfo.FileHeader` as a public API without explicitly passing True or False in for zip64, their own code may still be susceptible to that kind of bug unless they make a similar change to where the zip64 decision happens. Fixes GH-103861 --------- . (cherry picked from commit 798bcaa1eb01de7db9ff1881a3088603ad09b096) Co-authored-by: Carey Metcalfe <carey@cmetcalfe.ca> 17 May 2023, 08:07:10 UTC
3ce7d57 [3.11] gh-87474: Fix file descriptor leaks in subprocess.Popen (GH-96351) (#104563) gh-87474: Fix file descriptor leaks in subprocess.Popen (GH-96351) This fixes several ways file descriptors could be leaked from `subprocess.Popen` constructor during error conditions by opening them later and using a context manager "fds to close" registration scheme to ensure they get closed before returning. --------- (cherry picked from commit 3a4c44bb1e92802db64deec59cf8a68ad3973219) Co-authored-by: cptpcrd <31829097+cptpcrd@users.noreply.github.com> Co-authored-by: Gregory P. Smith [Google] <greg@krypto.org> 17 May 2023, 07:48:10 UTC
dece9c0 [3.11] gh-104494: Update certain Tkinter pack/place tests for Tk 8.7 errors (GH-104495) (#104569) gh-104494: Update certain Tkinter pack/place tests for Tk 8.7 errors (GH-104495) (cherry picked from commit 3cba61f111db9b5e8ef35632915309f81fff8c6c) Co-authored-by: Christopher Chavez <chrischavez@gmx.us> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 17 May 2023, 00:03:51 UTC
f748fc9 [3.11] gh-75367: Fix data descriptor detection in inspect.getattr_static (GH-104517) (#104557) gh-75367: Fix data descriptor detection in inspect.getattr_static (GH-104517) (cherry picked from commit 5e9f471e7db30893fb3f42681f17fdcdb70069ee) Co-authored-by: Furkan Onder <furkanonder@protonmail.com> Co-authored-by: Carl Meyer <carl@oddbird.net> 16 May 2023, 17:57:34 UTC
9cac6c4 [3.11] gh-104539: Fix indentation error in logging.config.rst (GH-104545) (#104546) gh-104539: Fix indentation error in logging.config.rst (GH-104545) Fix indentation error in logging.config.rst (cherry picked from commit 0bb61dd5b0ffc248e18f1b33cddd18788f28e60a) Co-authored-by: Jesper Noordsij <45041769+jnoordsij@users.noreply.github.com> 16 May 2023, 12:53:18 UTC
52a18fe [3.11] gh-104482: Fix error handling bugs in ast.c (#104514) 16 May 2023, 09:14:36 UTC
7779027 [3.11] gh-104461: Run tkinter test_configure_screen on X11 only (GH-104526) Co-authored-by: Christopher Chavez <chrischavez@gmx.us> 16 May 2023, 02:47:51 UTC
a712c5f [3.11] gh-67056: document that registering/unregistering an atexit func from within an atexit func is undefined (GH-104473) (#104500) 15 May 2023, 09:15:07 UTC
1afc0a9 [3.11] gh-98539: Make _SSLTransportProtocol.abort() safe to call when closed (GH-104474) (#104485) (cherry picked from commit fb8739f0b6291fb048a94d6312f59ba4d10a20ca) Co-authored-by: Sam Bull <git@sambull.org> 14 May 2023, 21:24:07 UTC
8e79414 [3.11] gh-104337: Clarify random.gammavariate doc entry (GH-104410) (#104481) (cherry picked from commit 88c5c586708dcff369c49edae947d487a80f0346) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 14 May 2023, 20:25:25 UTC
f5f9975 [3.11] Minor improvements to typing docs (GH-104465) (#104475) Minor improvements to typing docs (GH-104465) (cherry picked from commit 2f7b5e458e9189fa1ffd44339848aa1e52add3fa) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 14 May 2023, 12:00:57 UTC
03f0d75 [3.11] GH-71383: IDLE - Document testing subsets of modules (GH-104463) (#104464) GH-71383: IDLE - Document testing subsets of modules (GH-104463) (cherry picked from commit 080a5961527473af182b025bb29e0c52d43fd49e) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 14 May 2023, 04:18:30 UTC
b87ccc3 [3.11] gh-75710: IDLE - add docstrings and comments to editor module (GH-104446) (#104450) gh-75710: IDLE - add docstrings and comments to editor module (GH-104446) Commit extracted from PR GH-3669. Will edit more later. (cherry picked from commit 46f1c78eebe08e96ed29d364b1804dd37364831d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 13 May 2023, 16:04:37 UTC
e794d46 [3.11] Add a mention of PYTHONBREAKPOINT to breakpoint() docs (GH-104430) (#104447) Add a mention of PYTHONBREAKPOINT to breakpoint() docs (GH-104430) (cherry picked from commit 1be80ed107deb15b926f2794b8e6a7a527b8b84c) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> 13 May 2023, 07:16:28 UTC
328b5dd [3.11] gh-99836: IDLE - update news.txt for 3.11+ (#104445) * gh-99836: IDLE 3.11 News.txt * gh-99836: IDLE - update news.txt for 3.11+ 13 May 2023, 04:47:21 UTC
fbb6def [3.11] GH-104405: Add missing PEP 523 checks (GH-104441) 12 May 2023, 23:03:47 UTC
4ade7c3 [3.11] Fix refleak in super_descr_get (GH-104440) (cherry picked from commit a781484c8e9834538e5ee7b9e2e6bec7b679e033) 12 May 2023, 22:29:02 UTC
b90c922 [3.11] GH-94841: Fix usage of Py_ALWAYS_INLINE (GH-104439) 12 May 2023, 22:06:29 UTC
b4c1ca2 [3.11] gh-103204: `http.server` - Enforce that HTTP version numbers must consist only of digits (GH-103205) (#104438) gh-103204: `http.server` - Enforce that HTTP version numbers must consist only of digits (GH-103205) Reject HTTP requests with invalid http/x.y version numbers: x or y being non-digits or too-long. --------- (cherry picked from commit cf720acfcbd8c9c25a706a4b6df136465a803992) Co-authored-by: Ben Kallus <49924171+kenballus@users.noreply.github.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> Co-authored-by: Gregory P. Smith <greg@krypto.org> 12 May 2023, 20:54:12 UTC
7055088 [3.11] gh-101117: Improve accuracy of sqlite3.Cursor.rowcount docs (#104287) (#104381) The SQLite C API sqlite3_changes() can only be relied upon when the current active statement has been run to completion. 11 May 2023, 09:09:46 UTC
846a23d [3.11] GH-87695: Fix OSError from `pathlib.Path.glob()` (GH-104292) (GH-104362) Fix issue where `pathlib.Path.glob()` raised `OSError` when it encountered a symlink to an overly long path. (cherry picked from commit a33ce66dca57d4c36b1022fdf3b7e322f3203468) Co-authored-by: Barney Gale <barney.gale@gmail.com> 10 May 2023, 23:19:49 UTC
1cbf844 [3.11] gh-103247: clear the module cache in a test in test_importlib/extensions/test_loader.py (GH-104226) (#104345) gh-103247: clear the module cache in a test in test_importlib/extensions/test_loader.py (GH-104226) (cherry picked from commit 22f3425c3d3d896be0917d80d55e8abb08d99b18) Co-authored-by: sunmy2019 <59365878+sunmy2019@users.noreply.github.com> 10 May 2023, 14:53:19 UTC
a8e902d [3.11] gh-104010: Separate and improve docs for `typing.get_origin` and `typing.get_args` (GH-104013) (#104359) * separate documentation and examples for both functions * add examples demonstrating behaviour with unsupported types * document return value of `get_origin` for `ParamSpecArgs` and `ParamSpecKwargs` instances (cherry picked from commit a7a2dbbf72aceef61bfb50901bfa39bfb8d6d229) Co-authored-by: chgnrdv <52372310+chgnrdv@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 10 May 2023, 14:49:49 UTC
03abac2 [3.11] gh-103960: Dark mode: invert image brightness (GH-103983) (#104358) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 10 May 2023, 14:19:38 UTC
b2171a2 [3.11] gh-103848: Adds checks to ensure that bracketed hosts found by urlsplit are of IPv6 or IPvFuture format (GH-103849) (#104349) gh-103848: Adds checks to ensure that bracketed hosts found by urlsplit are of IPv6 or IPvFuture format (GH-103849) * Adds checks to ensure that bracketed hosts found by urlsplit are of IPv6 or IPvFuture format --------- (cherry picked from commit 29f348e232e82938ba2165843c448c2b291504c5) Co-authored-by: JohnJamesUtley <81572567+JohnJamesUtley@users.noreply.github.com> Co-authored-by: Gregory P. Smith <greg@krypto.org> 10 May 2023, 06:35:24 UTC
2fa14d4 [3.11] gh-48241: Clarify URL needs to be encoded when provided to urlopen and Request (GH-103855) (#103891) (cherry picked from commit 44010d0f1203134cd8f885ca574caaef373e80f6) Co-authored-by: Michael Blahay <mblahay@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> 09 May 2023, 22:22:06 UTC
fffdbf4 [3.11] gh-102327: Extend docs for "url" and "headers" parameters to HTTPConnection.request() gh-102327: Extend docs for "url" and "headers" parameters to HTTPConnection.request() Added example on how to use the HTTPConnection object for making GET request. Original issue: https://github.com/python/cpython/issues/102327 --------- (cherry picked from commit 7ba6288feb961fcd60a29415c6371d2d3eb80bec) Co-authored-by: David Foster <david@dafoster.net> Co-authored-by: Éric <earaujo@caravan.coop> 09 May 2023, 20:00:58 UTC
663b321 [3.11] gh-104328: Fix typo in ``typing.Generic`` multiple inheritance error message (GH-104335) (#104338) gh-104328: Fix typo in ``typing.Generic`` multiple inheritance error message (GH-104335) (cherry picked from commit 01c321ca34d99f35f174768c6f8c500801d4ef4c) Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> 09 May 2023, 19:42:57 UTC
4ed59b1 [3.11] gh-99889: Fix directory traversal security flaw in uu.decode() (GH-104096) (#104329) gh-99889: Fix directory traversal security flaw in uu.decode() (GH-104096) * Fix directory traversal security flaw in uu.decode() * also check absolute paths and os.altsep * Add a regression test. --------- (cherry picked from commit 0aeda297931820436a50b78f4f7f0597274b5df4) [Google] Co-authored-by: Sam Carroll <70000253+samcarroll42@users.noreply.github.com> 09 May 2023, 16:46:25 UTC
97e1e43 [3.11] [doc] logging.rst - Change link to point directly to the Google Group. (GH-93390) (GH-104318) (cherry picked from commit e6e81602f49a9bff51e2049c7bad60d1acb18d3f) 09 May 2023, 14:31:00 UTC
15624b4 [3.11] gh-102500: collections.abc.Buffer doesn't exist in 3.11 (#104317) 09 May 2023, 09:27:15 UTC
b7622e7 [3.11] GH-104308: socket.getnameinfo should release the GIL (GH-104307) (#104313) GH-104308: socket.getnameinfo should release the GIL (GH-104307) * socket.getnameinfo should release the GIL * 📜🤖 Added by blurb_it. --------- (cherry picked from commit faf196213e60d8a90773e9e5680d3252bd294643) Co-authored-by: Nathaniel J. Smith <njs@pobox.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> 08 May 2023, 23:49:45 UTC
2ee2503 [3.11] GH-104284: Fix documentation gettext build (GH-104296) (#104299) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 08 May 2023, 19:17:42 UTC
back to top