https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
fa7a6f2 Python 3.11.7 04 December 2023, 17:56:29 UTC
8dbda1c [3.11] gh-108927: Fix removing testing modules from sys.modules (GH-108952) (ПР-112712) It breaks import machinery if the test module has submodules used in other tests. (cherry picked from commit e08b70fab1fbc45fa498020aac522ae1d5da6136) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 04 December 2023, 16:16:03 UTC
76c9c9c [3.11] GH-112160: Pin to manifest of quay.io/tiran/cpython_autoconf (#112161) 04 December 2023, 16:02:45 UTC
798d437 [3.11] gh-101100: Fix Sphinx nitpicks in `library/abc.rst` (GH-112703) (#112704) gh-101100: Fix Sphinx nitpicks in `library/abc.rst` (GH-112703) (cherry picked from commit 9560e0d6d7a316341939b4016e47e03bd5bf17c3) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 04 December 2023, 12:48:58 UTC
e3d380d [3.11] gh-109786: Fix leaks and crash when re-enter itertools.pairwise.__next__() (GH-109788) (GH-112700) (cherry picked from commit 6ca9d3e0173c38e2eac50367b187d4c1d43f9892) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 04 December 2023, 12:20:19 UTC
28afd8d [3.11] gh-101100: Fix sphinx warnings in `Doc/library/__future__.rst` (GH-109814) (#112701) gh-101100: Fix sphinx warnings in `Doc/library/__future__.rst` (GH-109814) (cherry picked from commit f2eaa92b0cc5a37a9e6010c7c6f5ad1a230ea49b) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 04 December 2023, 11:54:39 UTC
f600878 [3.11] gh-101100: Fix Sphinx nitpicks in `library/functions.rst` (GH-112669) (#112698) gh-101100: Fix Sphinx nitpicks in `library/functions.rst` (GH-112669) (cherry picked from commit cda737924fd616c4e08027888258f97e81f34447) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 04 December 2023, 11:11:24 UTC
7e89dd9 [3.11] gh-112625: Protect bytearray from being freed by misbehaving iterator inside bytearray.join (GH-112626) (GH-112694) (cherry picked from commit 0e732d0997cff08855d98c17af4dd5527f10e419) Co-authored-by: chilaxan <chilaxan@gmail.com> 04 December 2023, 08:37:25 UTC
3eea835 [3.11] gh-112678: Declare `Tkapp_CallDeallocArgs()` as `static` (GH-112679) (GH-112691) (cherry picked from commit 23e001fa9f1897ba3384c02bbbe634313358a549) Co-authored-by: Christopher Chavez <chrischavez@gmx.us> 04 December 2023, 08:18:03 UTC
5ada3e5 [3.11] gh-66819: More IDLE htest updates(4) (GH-112686) (#112689) Mostly double spacing before 'if __name__...'. (cherry picked from commit e5b0db0315941b968ebcc2414bfcdd2da44fd3c2) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 04 December 2023, 06:59:19 UTC
e347a8e [3.11] gh-66819: More IDLE htest updates(3) (GH-112683) (#112685) Revise spec-callable pairs from percolator to end. (cherry picked from commit 5a1b5316af648ae79bb91f28253b6272bbbd2886) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 04 December 2023, 05:10:22 UTC
73411ea [3.11] gh-101100: Fix Sphinx warning in `library/gettext.rst` (GH-112668) (#112673) gh-101100: Fix Sphinx warning in `library/gettext.rst` (GH-112668) (cherry picked from commit 489aeac3a2d3b347ff033334688e2f44eec7944a) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 03 December 2023, 20:30:31 UTC
05ea7e5 [3.11] gh-101100: Fix most Sphinx nitpicks in `inspect.rst` (GH-112662) (#112667) gh-101100: Fix most Sphinx nitpicks in `inspect.rst` (GH-112662) (cherry picked from commit 45650d1c479a8b0370f126d821718dd3c502f333) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 03 December 2023, 17:39:10 UTC
36ad8e6 [3.11] gh-66819: More IDLE htest updates(2) (GH-112642) (#112644) Examine and update spec -- callable pairs. Revise run method. (cherry picked from commit 3855b45874d5f8eb92a4957fb9de6fdce63eb760) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 03 December 2023, 16:34:37 UTC
3d87a98 [3.11] Fix link to 'The Perils of Floating Point', on the tutorial (GH-112499) (GH-112663) Use author link to 'The Perils of Floating Point'. (cherry picked from commit c27b09c81368bc3b756e94a79a39307ce44a4a2c) Co-authored-by: Marco Aurélio A. Barbosa <aureliobarbosa@gmail.com> 03 December 2023, 15:20:51 UTC
999ff4f [3.11] Run more `inspect.rst` code snippets in CI (#112654) (#112656) (cherry-picked from commit 4ed46d224401243399b41c7ceef4532bd249da27) 03 December 2023, 12:01:33 UTC
6ab6c85 [3.11] [3.12] gh-112316: improve docs for `inspect.signature` and `inspect.Signature` (GH-112631) (GH-112649) (#112652) [3.12] gh-112316: improve docs for `inspect.signature` and `inspect.Signature` (GH-112631) (GH-112649) (cherry-picked from commit fc9e24b01fb7da4160b82cef26981d72bb678c13) (cherry picked from commit 6221482f0c459c2e7dbd946265069246a400072a) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 03 December 2023, 11:35:21 UTC
db53770 [3.11] [3.12] gh-112618: Make Annotated cache typed (GH-112619) (GH-112628) (#112633) [3.12] gh-112618: Make Annotated cache typed (GH-112619) (GH-112628) (cherry picked from commit 2a378ca2efcb91db4b04fb4e052424fd610ffbc9) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 03 December 2023, 00:58:13 UTC
8d8efe7 [3.11] gh-112316: Improve docs of `inspect.signature` and `Signature.from_callable` (#112317) (#112630) (cherry-picked from commit a74daba7ca) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 02 December 2023, 22:50:16 UTC
720f5bf [3.11] [3.12] gh-109413: libregrtest: Backport `.py`-file changes from GH-112558 (GH-112605) (#112607) [3.12] gh-109413: libregrtest: Backport `.py`-file changes from GH-112558 (GH-112605) (cherry picked from commit acc62db8af4e472a4922c10b91c60c36c49a5f79) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 01 December 2023, 19:09:00 UTC
da33204 [3.11] [3.12] gh-109413: libregrtest: enable mypy's `--strict-optional` check on most files (GH-112586) (GH-112602) (#112603) [3.12] gh-109413: libregrtest: enable mypy's `--strict-optional` check on most files (GH-112586) (GH-112602) gh-109413: libregrtest: enable mypy's `--strict-optional` check on most files (GH-112586) (cherry picked from commit 36dbebed44785579034ffb1a59f0a1a5b987c9bf) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org> 01 December 2023, 17:28:09 UTC
0443f92 [3.11] bpo-35191: Fix unexpected integer truncation in socket.setblocking() (GH-10415) On platforms with 64-bit long, socket.setblocking(x) treated all x which lower 32 bits are zero as False due to integer truncation. Reported by ubsan. 01 December 2023, 15:44:03 UTC
eb3c0dc [3.11] gh-109413: regrtest: add WorkerRunTests class (GH-112588) (#112594) gh-109413: regrtest: add WorkerRunTests class (GH-112588) (cherry picked from commit f8ff80f63536e96b004d29112452a8f1738fde37) Co-authored-by: Victor Stinner <vstinner@python.org> 01 December 2023, 14:43:09 UTC
d838c7a [3.11] gh-82565: Add tests for pickle and unpickle with bad files (GH-16606) (GH-112592) (cherry picked from commit 058444308abee79bb1b3358883adfa8c97bd043a) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 01 December 2023, 14:18:09 UTC
fc11280 [3.11] gh-104231: Add more tests for str(), repr(), ascii(), and bytes() (GH-112551) (GH-112556) (cherry picked from commit 2223899adce858a09ebeaaf82111e6cda9b42415) 01 December 2023, 08:17:20 UTC
ddf6cfd [3.11] gh-66819: More IDLE htest updates (GH-112574) (#112576) Revise htest.py docstring and move 2 specs to alphabetical position. (cherry picked from commit e44f1940bd6d2ba4a3f8ac4585b3cf4f9cb93e49) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 01 December 2023, 07:22:07 UTC
03ac9e6 [3.11] IDLE: fix config_key htest (GH-112545) (#112547) Change 'Dialog' to 'Window' in two places to match the name of the config_key class being tested. (cherry picked from commit 81261fa67ff82b03c255733b0d1abbbb8a228187) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 30 November 2023, 08:29:23 UTC
f6edb83 [3.11] gh-112509: Fix keys being present in both required_keys and optional_keys in TypedDict (GH-112512) (#112531) (cherry picked from commit 403886942376210662610627b01fea6acd77d331) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 29 November 2023, 17:51:00 UTC
0a0cf45 [3.11] gh-110930: Correct book title by Alan D. Moore (GH-112490) (#112524) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 29 November 2023, 15:56:20 UTC
3c0d963 [3.11] gh-112431: Unconditionally call `hash -r` (GH-112432) (GH-112492) gh-112431: Unconditionally call `hash -r` (GH-112432) The `activate` script calls `hash -r` in two places to make sure the shell picks up the environment changes the script makes. Before that, it checks to see if the shell running the script is bash or zsh. `hash -r` is specified by POSIX and is not exclusive to bash and zsh. This guard prevents the script from calling `hash -r` in other `GH-!/bin/sh`-compatible shells like dash. (cherry picked from commit a194938f33a71e727e53490815bae874eece1460) Co-authored-by: James Morris <6653392+J-M0@users.noreply.github.com> 28 November 2023, 09:43:38 UTC
42dd261 [3.11] gh-112105: Make completer delims work on libedit (gh-112106) (gh-112488) gh-112105: Make completer delims work on libedit (gh-112106) (cherry picked from commit 2df26d83486b8f9ac6b7df2a9a4669508aa61983) Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com> 28 November 2023, 06:39:47 UTC
b85070c [3.11] Docs: fix markup for `importlib.machinery.NamespaceLoader` (GH-112479) (#112482) Docs: fix markup for `importlib.machinery.NamespaceLoader` (GH-112479) (cherry picked from commit 2e632fa07d13a58be62f59be4e656ad58b378f9b) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 28 November 2023, 00:21:18 UTC
03b522d [3.11] Backport PR #112477: correct socket AF_PACKET docs (#112478) Backport PR #112477: correct socket AF_PACKET docs Network byte order is not involved in the `int` on the Python side. That happens under the hood. Correctly use the term addresses instead of packets. 27 November 2023, 23:54:21 UTC
c3e5d0d [3.11] gh-68166: Tkinter: Add tests and examples for element_create() (GH-111453) (GH-111858) * Remove mention of "vsapi" element type from the documentation. * Add tests for element_create() and other ttk.Style methods. * Add examples for element_create() in the documentation. (cherry picked from commit 005d1e8fc81539c60c6b21ebba34de3edd5bb232) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 27 November 2023, 20:14:30 UTC
390a5b8 [3.11] gh-112387: Fix error positions for decoded strings with backwards tokenize errors (GH-112409) (#112469) gh-112387: Fix error positions for decoded strings with backwards tokenize errors (GH-112409) (cherry picked from commit 45d648597b1146431bf3d91041e60d7f040e70bf) Signed-off-by: Pablo Galindo <pablogsal@gmail.com> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> 27 November 2023, 19:05:20 UTC
43b081b [3.11] gh-112388: Fix an error that was causing the parser to try to overwrite tokenizer errors (GH-112410) (#112467) gh-112388: Fix an error that was causing the parser to try to overwrite tokenizer errors (GH-112410) (cherry picked from commit 2c8b19174274c183eb652932871f60570123fe99) Signed-off-by: Pablo Galindo <pablogsal@gmail.com> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> 27 November 2023, 18:56:27 UTC
054d18e [3.11] bpo-41422: Visit the Pickler's and Unpickler's memo in tp_traverse (GH-21664) (GH-112465) (cherry picked from commit 967f2a3052c2d22e31564b428a9aa8cc63dc2a9f) Co-authored-by: kale-smoothie <34165060+kale-smoothie@users.noreply.github.com> 27 November 2023, 18:46:34 UTC
581b244 [3.11] gh-112438: Fix support of format units with the "e" prefix in nested tuples in PyArg_Parse (gh-112439) (GH-112461) (cherry picked from commit 4eea1e82369fbf7a795d1956e7a8212a1b58009f) 27 November 2023, 18:11:09 UTC
6d9b181 [3.11] gh-84443: SSLSocket.recv_into() now support buffer protocol with itemsize != 1 (GH-20310) (GH-112459) It is also no longer use __len__(). (cherry picked from commit 812360fddda86d7aff5823f529ab720f57ddc411) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 27 November 2023, 17:41:05 UTC
62e430a [3.11] GH-101100: Fix reference warnings for ``socket`` methods (GH-110114) (#112456) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 27 November 2023, 15:03:45 UTC
faa1ef4 [3.11] Docs: fix typo in doc for sqlite3.Cursor.execute (GH-112442) (#112445) Docs: fix typo in doc for sqlite3.Cursor.execute (GH-112442) (cherry picked from commit fb79e1ed4a985a487a02bb8585cc1bd2933dfa7c) Co-authored-by: Tom Levy <tomlevy93@gmail.com> 27 November 2023, 09:34:35 UTC
fc657d0 [3.11] gh-101100: Fix Sphinx reference warnings (GH-112416) (#112422) 26 November 2023, 12:22:17 UTC
49005e4 [3.11] gh-112331: Fix reference manual description of attribute lookup mechanics (gh-112375) (gh-112413) 25 November 2023, 22:26:22 UTC
d9254f9 [3.11] gh-101100 : Fix Sphinx warnings in `library/doctest.rst` (GH-112399) (#112404) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 25 November 2023, 19:26:05 UTC
8c9f273 [3.11] gh-94722: fix DocTest.__eq__ for case of no line number on one side (GH-112385) (#112401) gh-94722: fix DocTest.__eq__ for case of no line number on one side (GH-112385) (cherry picked from commit fbb9027a037ff1bfaf3f596df033ca45743ee980) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 25 November 2023, 17:39:16 UTC
68db0ed [3.11] gh-101100: Define `_tkinter` module to fix references (GH-112382) (#112393) gh-101100: Define `_tkinter` module to fix references (GH-112382) Define _tkinter module to fix references (cherry picked from commit 6b961b8ceaba372b78d03feaceb4837bf7236694) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 25 November 2023, 08:00:44 UTC
8b6068e [3.11] gh-101100: Define `test.regrtest` module to fix references (GH-112381) (#112391) gh-101100: Define `test.regrtest` module to fix references (GH-112381) Define test.regrtest module to fix references (cherry picked from commit d525d01e2794e7e736527eaa7ee309ca1252f5bd) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 25 November 2023, 07:59:28 UTC
669b8fa [3.11] gh-59254: mention in open() doc that line buffering is for writing (GH-112318) (#112379) gh-59254: mention in open() doc that line buffering is for writing (GH-112318) (cherry picked from commit fafae08cc7caa25f2bd6b29106b50ef76c3e296f) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> 24 November 2023, 18:15:42 UTC
d3c1214 [3.11] Remove bogus annotations from the descriptor howto guide (gh-112349) (gh-112350) 23 November 2023, 21:21:49 UTC
640454f [3.11] Fix docstring and var name of itertools recipe (GH-112113) (#112311) Fix docstring and var name of itertools recipe (GH-112113) `prepend()` works with arbitrary iterables, not only iterators. In fact, the example given uses a `list`, which is iterable, but not an iterator. (cherry picked from commit 6c47eaccfa2550c140a24bc6e520d968731d9689) Co-authored-by: Sebastian Rittau <srittau@rittau.biz> 22 November 2023, 05:41:51 UTC
253ad78 [3.11] gh-110950: add upstream Tk fixes to macOS installer. (GH-111041) (#112293) Add upstream Tk patches for three problems affecting tkinter users: - Update macOS installer to include a fix accepted by upstream Tcl/Tk for a crash encountered after the first :meth:`tkinter.Tk` instance is destroyed. (gh-92603) - Update macOS installer to include an upstream Tcl/Tk fix for the ``ttk::ThemeChanged`` error encountered in Tkinter. (gh-71383) - Update macOS installer to include an upstream Tcl/Tk fix for the ``Secure coding is not enabled for restorable state!`` warning encountered in Tkinter on macOS 14 Sonoma. (gh-110950) (cherry picked from commit d67f947c72af8a215db2fd285e5de9b1e671fde1) Co-authored-by: Christopher Chavez <chrischavez@gmx.us> Co-authored-by: Ned Deily <nad@python.org> 21 November 2023, 08:29:34 UTC
1397505 [3.11] gh-109538: Catch closed loop runtime error and issue warning (GH-111983) (#112141) Issue a ResourceWarning instead. Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> (cherry picked from commit e0f512797596282bff63260f8102592aad37cdf1) 20 November 2023, 23:12:17 UTC
6c51c84 [3.11] gh-112266: Remove `(if defined)` part from `__dict__` and `__weakref__` docstrings (GH-112268) (#112276) 20 November 2023, 09:04:38 UTC
f6e11ea [3.11] gh-73561: Omit interface scope from IPv6 when used as Host header (GH-93324) (#112273) gh-73561: Omit interface scope from IPv6 when used as Host header (GH-93324) Omit the `@interface_scope` from an IPv6 address when used as Host header by `http.client`. --------- (cherry picked from commit ce1096f974d3158a92e050f9226700775b8db398) [Google LLC] Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com> 19 November 2023, 23:25:40 UTC
11b91be [3.11] gh-110383: Explained which error message is generated when there is an unhandled exception (GH-111574) (#112265) Co-authored-by: Unique-Usman <86585626+Unique-Usman@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 19 November 2023, 12:29:28 UTC
e9a97c3 [3.11] gh-110383: Fix documentation profile cumtime fix (GH-112221) (#112263) Co-authored-by: Alex Ptakhin <me@aptakhin.name> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 19 November 2023, 10:02:49 UTC
d065e30 [3.11] IDLE: Fix test_debugger bug and buildbot failures (GH-112258) (#112260) IDLE: Fix test_debugger bug and buildbot failures (GH-112258) Missing "requires('gui')" causes Tk() to fail when no gui. This caused CI Hypothesis test to fail, but I did not understand the its error message. Then buildbots failed. IdbTest failed on draft Bdb replacement because so different. Simplified version works on old and new. (cherry picked from commit 14fd86a59d0d91fe72641efeb14a59d99127dec3) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 19 November 2023, 06:59:56 UTC
e19d75d [3.11] gh-79871: IDLE - Fix and test debugger module (GH-11451) (#112257) Add docstrings to the debugger module. Fix two bugs: initialize Idb.botframe (should be in Bdb); In Idb.in_rpc_code, check whether prev_frame is None before trying to use it. Make other code changes. Expand test_debugger coverage from 19% to 66%. --------- (cherry picked from commit adedcfa06b553242d8033f6d9bebbcb3bc0dbb4d) Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 19 November 2023, 04:34:54 UTC
93fbcd6 [3.11] gh-112155: Run `typing.py` doctests during tests (GH-112156) (#112231) 18 November 2023, 11:13:55 UTC
e7aa40a [3.11] gh-112194: Convert more examples to doctests in `typing.py` (GH-112195) (#112209) gh-112194: Convert more examples to doctests in `typing.py` (GH-112195) (cherry picked from commit 949b2cc6eae6ef4f3312dfd4e2650a138446fe77) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 17 November 2023, 18:14:20 UTC
7e4b66b [3.11] gh-112165: Fix typo in `__main__.py` (GH-112183) (#112185) gh-112165: Fix typo in `__main__.py` (GH-112183) Change '[2]' to '[1]' to get second argument. (cherry picked from commit 8cd70eefc7f3363cfa0d43f34522c3072fa9e160) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 17 November 2023, 01:11:39 UTC
533da5e [3.11] gh-111811: Fix test_recursive_repr for WASI (GH-112130) (#112132) gh-111811: Fix test_recursive_repr for WASI (GH-112130) (cherry picked from commit 7218bac8c84115a8e9a18a4a8f3146235068facb) Co-authored-by: Kushal Das <mail@kushaldas.in> 16 November 2023, 17:10:02 UTC
b4f3a62 [3.11] gh-110812: Isolating Extension Modules HOWTO: List GC-related gotchas (GH-111504) (GH-112147) gh-110812: Isolating Extension Modules HOWTO: List GC-related gotchas (GH-111504) (cherry picked from commit 985679f05d1b72965bfbed99d1499c22815375e4) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com> 16 November 2023, 12:34:21 UTC
132a749 [3.11] gh-102837: more tests for the math module (GH-111930)(GH-102523) (GH-112030) (GH-112041) [3.12] gh-102837: more tests for the math module (GH-111930)(GH-102523) (GH-112030) * gh-102837: improve test coverage for math module (GH-102523) (Only the test changes from GH-102523 are cherry-picked) - input checks for math_1(L989), math_1a(L1023), math_2(L1064,L1071), hypot(L2682), log(L2307), ldexp(L2168), ceil(L1165), floor(L1236,L1239) and dist(L2587,L2588,L2628). - improve fsum coverage for exceptional cases (L1433,L1438,L1451,L1497), ditto fmod(L2378) (all line numbers are wrt the main branch at 5e6661bce9) * gh-102837: more tests for the math module (GH-111930) Add tests to improve coverage: * fsum: L1369, L1379, L1383, L1412 * trunc: L2081 * log: L2267 * dist: L2577, L2579 * hypot: L2632 * (not cherry-picked for 3.11: sumprod) * pow: L2982 * prod: L3294, L3308, L3318-3330 // line numbers wrt to 9dc4fb8204 (cherry picked from commit c61de456db0186b65d479d41e84127832205d30d) --------- Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> (cherry picked from commit c6aea46a71d158f993cc723c14b4bf7982b73a2a) 16 November 2023, 12:07:53 UTC
cdfef0c [3.11] gh-111062: CI: Move OS test jobs to reusable workflows (gh-111570) CI: Move OS test jobs to reusable workflows Co-authored-by: Donghee Na <donghee.na@python.org> 16 November 2023, 00:39:30 UTC
e2421a3 [3.11] gh-111942: Fix crashes in TextIOWrapper.reconfigure() (GH-111976) (GH-112059) * Fix crash when encoding is not string or None. * Fix crash when both line_buffering and write_through raise exception when converted ti int. * Add a number of tests for constructor and reconfigure() method with invalid arguments. (cherry picked from commit ee06fffd38cb51ce1c045da9d8336d9ce13c318a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 15 November 2023, 14:20:18 UTC
a92b9e5 [3.11] Docs: Add the time to the HTML last updated format (GH-110091) (#112103) Docs: Add the time to the HTML last updated format (GH-110091) (cherry picked from commit 6c214dea7c503eb42bd130d43e8880f39bff0350) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 15 November 2023, 05:20:17 UTC
e73216d [3.11] gh-110944: Move pty helper to test.support and add basic pdb completion test (GH-111826) (GH-112025) gh-110944: Move pty helper to test.support and add basic pdb completion test (GH-111826) (cherry picked from commit 1c7ed7e9ebc53290c831d7b610219fa737153a1b) Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com> 14 November 2023, 12:25:38 UTC
46081fe [3.11] gh-112007: Re-organize help utility intro message (GH-112017) (#112048) gh-112007: Re-organize help utility intro message (GH-112017) Most important: move how-to-quit sentence to the end and mention 'q'. Re-group the other sentences and improve some wording. --------- (cherry picked from commit b28bb130bbc2ad956828819967d83e06d30a65c5) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 13 November 2023, 19:50:56 UTC
4baf633 [3.11] gh-111681: minor fix to a typing doctest (#111682) (#112037) 13 November 2023, 14:01:17 UTC
d4217e5 [3.11] Docs: Add `make htmllive` to rebuild and reload HTML files in your browser (GH-111900) (#112023) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 13 November 2023, 08:58:43 UTC
b64afbc [3.11] gh-111944: Add assignment expression parentheses requirements (GH-111977) (#112011) Augment the list of places where parentheses are required around assignnment statements. In particular, 'a := 0' and 'a = b := 1' are syntax errors. (cherry picked from commit 9a2f25d374f027f6509484d66e1c7bba03977b99) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 13 November 2023, 00:14:03 UTC
aa3232d [3.11] gh-111929: Fix regrtest clear_caches() (#111949) gh-111929: Fix regrtest clear_caches() Python 3.11 doesn't have the fractions._hash_algorithm.cache_clear() function. 12 November 2023, 23:00:38 UTC
9536fe1 [3.11] gh-112001: Fix test_builtins_have_signatures in test_inspect (GH-112002) (GH-112004) (cherry picked from commit 40752c1c1e8cec80e99a2c9796f4fde2f8b5d3e2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 12 November 2023, 12:49:59 UTC
5a6d1db [3.11] Fix undefined behaviour in datetime.time.fromisoformat() (GH-111982) (#111991) Fix undefined behaviour in datetime.time.fromisoformat() (GH-111982) Fix undefined behaviour in datetime.time.fromisoformat() when parsing a string without a timezone. 'tzoffset' is not assigned to by parse_isoformat_time if it returns 0, but time_fromisoformat then passes tzoffset to another function, which is undefined behaviour (even if the function in question does not use the value). (cherry picked from commit 21615f77b5a580e83589abae618dbe7c298700e2) Co-authored-by: T. Wouters <thomas@python.org> 12 November 2023, 00:24:02 UTC
cd3e2d3 [3.11] gh-111841: Fix os.putenv() and os.unsetenv() with embedded NUL on Windows (GH-111842) (GH-111967) (cherry picked from commit 0b06d2482d77e02c5d40e221f6046c9c355458b2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 11 November 2023, 09:17:29 UTC
7b55a95 [3.11] gh-111251: Fix error checking in _blake2 module init (GH-111252) (#111298) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 10 November 2023, 14:43:51 UTC
e433785 [3.11] gh-111912: Run test_posix on Windows (GH-111913) (GH-111954) (cherry picked from commit 64fea3211d08082236d05c38ee728f922eb7d8ed) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 10 November 2023, 14:12:24 UTC
8222ad0 [3.11] [3.12] gh-109181: Fix refleak in tb_get_lineno() (GH-111948) (#111951) [3.12] gh-109181: Fix refleak in tb_get_lineno() (GH-111948) PyFrame_GetCode() returns a strong reference. (cherry picked from commit 4b0c875d91727440251a8427a80d8515e39d18cd) Co-authored-by: Victor Stinner <vstinner@python.org> 10 November 2023, 13:32:02 UTC
7b84451 [3.11] gh-108303: Install `Lib/test/configdata` (GH-111899) (#111945) gh-108303: Install `Lib/test/configdata` (GH-111899) (cherry picked from commit 65d6dc27156112ac6a9f722b7b62529c94e0344b) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 10 November 2023, 12:23:57 UTC
ecc8df2 [3.11] gh-111929: Fix regrtest --pgo: test_str => test_unicode (GH-111938) (#111940) gh-111929: Fix regrtest --pgo: test_str => test_unicode (GH-111938) test_unicode was renamed to test_str in Python 3.13, but Python 3.12 still uses test_unicode name. (cherry picked from commit 5f42a2bc4017f2ed023f9cf19fdbffabd57527f5) Co-authored-by: Victor Stinner <vstinner@python.org> 10 November 2023, 09:54:38 UTC
0e45786 gh-111356: io: Add missing documented objects to io.__all__ (GH-111370) Add DEFAULT_BUFFER_SIZE, text_encoding, and IncrementalNewlineDecoder. (cherry picked from commit baeb7718f8981319c5cb1fbdd46d162ded7964ea) Co-authored-by: Nicolas Tessore <n.tessore@ucl.ac.uk> 10 November 2023, 07:32:41 UTC
226f4bc [3.11] GH-111804: Drop posix.fallocate() under WASI (GH-111869) (GH-111920) GH-111804: Drop posix.fallocate() under WASI (GH-111869) Drop posix.fallocate() under WASI. The underlying POSIX function, posix_fallocate(), was found to vary too much between implementations to remain in WASI. As such, while it was available in WASI preview1, it's been dropped in preview2. 09 November 2023, 23:36:15 UTC
078cdcc [3.11] gh-110875: Handle '.' properties in logging formatter configuration correctly. (GH-110943) (GH-111914) Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk> 09 November 2023, 19:51:43 UTC
316221c [3.11] gh-111895: Convert definition list to bullet list for readability on mobile (GH-111898) (#111909) gh-111895: Convert definition list to bullet list for readability on mobile (GH-111898) Convert definition list to bullet list for readability on mobile (cherry picked from commit 7d21e3d5ee9858aee570aa6c5b6a6e87d776f4b5) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 09 November 2023, 19:13:43 UTC
f108976 [3.11] gh-111881: Use lazy import in test.support (#111885) (#111890) (#111902) [3.12] gh-111881: Use lazy import in test.support (#111885) (#111890) gh-111881: Use lazy import in test.support (#111885) * Import lazily getpass in test.support Backport to 3.11: test.support.os_helper is unchanged. (cherry picked from commit 0372e3b02a7e3dc1c564dba94dcd817c5472b04f) (cherry picked from commit e983ca859de279682631dbb13b959f14a7d89a7b) 09 November 2023, 16:46:27 UTC
63205e5 [3.11] gh-111881: Import doctest lazily in libregrtest (GH-111884) (#111894) gh-111881: Import doctest lazily in libregrtest (GH-111884) In most cases, doctest is not needed. So don't always import it at startup. The change reduces the number of modules already imported when a test is run. (cherry picked from commit 6f09f69b7f85962f66d10637c3325bbb2b2d9853) Co-authored-by: Victor Stinner <vstinner@python.org> 09 November 2023, 15:37:04 UTC
3e7e39c [3.11] gh-108303: Move more files to `Lib/test/test_module` (GH-111880) (#111892) gh-108303: Move more files to `Lib/test/test_module` (GH-111880) (cherry picked from commit 0c42f7304a2757fe0f78bc6c6fbb33225cd9da15) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 09 November 2023, 15:10:26 UTC
409a0ac [3.11] gh-108303: Move config parser data to `Lib/test/configparserdata/` (gh-111879) (gh-111883) gh-108303: Move config parser data to `Lib/test/configparserdata/` (gh-111879) (cherry picked from commit cc18b886a51672c59622837a2b8e83bf6be28c58) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 09 November 2023, 14:43:28 UTC
a60bbde [3.11] gh-108303: Move more typing related files to Lib/test/typinganndata (GH-111825) (#111860) 08 November 2023, 17:19:47 UTC
45f17a1 [3.11] Glossary: Add "static type checker" (GH-111837) (#111855) Glossary: Add "static type checker" (GH-111837) (cherry picked from commit 8ab7ad63086b1793c24b1c5aaa19b60fc0e6540e) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 08 November 2023, 14:47:54 UTC
942ef7b [3.11] gh-111806: Fix `test_recursion` in `test_richcmp` on WASI builds (GH-111830) (GH-111832) gh-111806: Fix `test_recursion` in `test_richcmp` on WASI builds (GH-111830) (cherry picked from commit f115a55f0e455a4b43a1da9fd838a60a101f182a) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 07 November 2023, 22:04:18 UTC
4edf255 [3.11] gh-111797: fix enum how-to (GH-111805) remove extra error line in how-to 07 November 2023, 02:57:10 UTC
bd4cc47 [3.11] gh-101180: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 co… (gh-111771) [3.11] gh-101180: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 codecs read out of bounds (gh-111695) (cherry picked from commit c8faa3568afd255708096f6aa8df0afa80cf7697) Co-authored-by: Masayuki Moriyama <masayuki.moriyama@miraclelinux.com> 06 November 2023, 11:29:59 UTC
9fe9eae [3.11] gh-111747: DOC: fix moved link to Documentation Translations (GH-111748) (#111750) Update old link in bugs.rst to the table of doc translators and translation repositories at Github. (cherry picked from commit 72e27a67b97993f277e69c9dafb063007ba79adf) Co-authored-by: partev <petrosyan@gmail.com> 05 November 2023, 04:28:48 UTC
cebf2d2 [3.11] gh-111724: Fix doctest `ResourceWarning` in `howto/descriptor.rst` (GH-111725) (#111728) gh-111724: Fix doctest `ResourceWarning` in `howto/descriptor.rst` (GH-111725) Close database connection explicitly in test cleanup. (cherry picked from commit f48e669504ce53040a04e0181064c11741a87817) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 04 November 2023, 19:56:08 UTC
425efc1 [3.11] gh-111159: Fix `SyntaxError` doctests for non-builtin exception classes (GH-111541) (#111733) gh-111159: Fix `SyntaxError` doctests for non-builtin exception classes (GH-111541) (cherry picked from commit 18c954849bcdd5acb6ef91cd90d92f3b5c685134) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 04 November 2023, 10:12:15 UTC
f7ffe4a [3.11] [3.12] GH-110894: Call loop exception handler for exceptions in client_connected_cb (GH-111601) (GH-111632) (#111634) * [3.12] GH-110894: Call loop exception handler for exceptions in client_connected_cb (GH-111601) (GH-111632) (cherry picked from commit 9aa88290d82e2808eed84e7a63d0bf9623f84f53) Co-authored-by: Kumar Aditya <kumaraditya@python.org> Call loop exception handler for exceptions in `client_connected_cb` of `asyncio.start_server` so that applications can handle it.. (cherry picked from commit 229f44d353c71185414a072017f46f125676bdd6) * gh-111644: Fix asyncio test_unhandled_exceptions() (#111713) Fix test_unhandled_exceptions() of test_asyncio.test_streams: break explicitly a reference cycle. Fix also StreamTests.tearDown(): the loop must not be closed explicitly, but using set_event_loop() which takes care of shutting down the executor with executor.shutdown(wait=True). BaseEventLoop.close() calls executor.shutdown(wait=False). (cherry picked from commit ac01e2243a1104b2154c0d1bdbc9f8d5b3ada778) --------- Co-authored-by: Kumar Aditya <kumaraditya@python.org> Co-authored-by: Victor Stinner <vstinner@python.org> 04 November 2023, 01:23:01 UTC
89264a3 [3.11] gh-111644: Fix support threading_cleanup() (GH-111714) (#111717) gh-111644: Fix support threading_cleanup() (GH-111714) Copy the list of dangling threads to make sure that the list of "Dangling thread" is complete. Previously, the list was incomplete if threads completed just before the list was displayed. Changes: * Rewrite the warning to make it easier to understand. * Use support.sleeping_retry(). * threading_cleanup() no longer copies threading._dangling, but only counts the number of dangling thread. * Remove support.gc_support() call. (cherry picked from commit f62c7ccf9abf6e0493978da9cf9ca43adcd403f9) Co-authored-by: Victor Stinner <vstinner@python.org> 04 November 2023, 00:43:53 UTC
4a61169 [3.11] gh-111181: Fix enum doctests (GH-111180) (GH-111617) gh-111181: Fix enum doctests (GH-111180) Co-authored-by: Ethan Furman <ethan@stoneleaf.us> (cherry picked from commit c4dc5a6ae8aa13abb743182df088f1a3526d1bcd) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 03 November 2023, 23:51:56 UTC
back to top