8e8a4ba | Thomas Wouters | 06 June 2024, 18:20:06 UTC | Python 3.12.4 | 06 June 2024, 18:26:44 UTC |
b03d71d | Miss Islington (bot) | 06 June 2024, 17:31:36 UTC | [3.12] Restore decimal context after decimal doctests (GH-120149) (GH-120168) The modified context caused tests failures in several other tests. (cherry picked from commit 2d7ff6e0e7d4c08ba84079a5c19a4a485626e1de) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 06 June 2024, 17:31:36 UTC |
94eee78 | Łukasz Langa | 06 June 2024, 12:30:20 UTC | [3.12] gh-120111: Don't use cirrus M1 macOS runners on fork (GH-120116) (GH-120153) (cherry picked from commit fd104dfcb838d735ef8128e3539d7a730d403422) Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | 06 June 2024, 12:30:20 UTC |
c5d1fbd | Alex Waygood | 05 June 2024, 17:37:24 UTC | [3.12] typing docs: fix indentation of TypedDict deprecation notice (#120124) | 05 June 2024, 17:37:24 UTC |
376c734 | Miss Islington (bot) | 05 June 2024, 12:02:52 UTC | [3.12] gh-119287: clarify doc on BaseExceptionGroup.derive and link to it from contextlib.suppress (GH-119657) (#120106) gh-119287: clarify doc on BaseExceptionGroup.derive and link to it from contextlib.suppress (GH-119657) (cherry picked from commit 5c02ea8bae2287a828840f5734966da23dc573dc) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 05 June 2024, 12:02:52 UTC |
8d19977 | Miss Islington (bot) | 05 June 2024, 06:59:15 UTC | [3.12] gh-119819: Update logging configuration to support joinable multiproc… (GH-120090) (GH-120092) (cherry picked from commit 983efcf15b2503fe0c05d5e03762385967962b33) | 05 June 2024, 06:59:15 UTC |
c46621b | Miss Islington (bot) | 05 June 2024, 00:29:28 UTC | [3.12] gh-120078: Fix struct_time attr typo tm_day -> tm_mday in Doc/library/time.rst (GH-120084) (cherry picked from commit b6b0dcbfc054f581b6f78602e4c2e9474e3efe21) Co-authored-by: shurj0 <60540027+shurj0@users.noreply.github.com> | 05 June 2024, 00:29:28 UTC |
dc40226 | Jelle Zijlstra | 04 June 2024, 19:55:45 UTC | [3.12] gh-119311: Fix name mangling with PEP 695 generic classes (#119464) (#119644) * [3.12] gh-119311: Fix name mangling with PEP 695 generic classes (#119464) Fixes #119311. Fixes #119395. (cherry picked from commit a9a74da4a0ca0645f049e67b6434a95e30592c32) | 04 June 2024, 19:55:45 UTC |
008f9dd | Miss Islington (bot) | 04 June 2024, 19:43:52 UTC | [3.12] gh-119819: Update test to skip if _multiprocessing is unavailable. (GH-120067) (GH-120071) (cherry picked from commit 109e1082ea92f89d42cd70f2cc7ca6fba6be9bab) | 04 June 2024, 19:43:52 UTC |
210cd98 | Miss Islington (bot) | 04 June 2024, 19:25:17 UTC | [3.12] gh-120048: Make `test_imaplib` faster (GH-120050) (#120070) The `test_imaplib` was taking 40+ minutes in the refleak build bots because the tests waiting on a client `self._setup()` was creating a client that prevented progress until its connection timed out, which scaled with the global timeout. We should set `connect=False` for the tests that don't want `_setup()` to create a client. (cherry picked from commit 710cbea6604d27c7d59ae4953bf522b997a82cc7) Co-authored-by: Sam Gross <colesbury@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 04 June 2024, 19:25:17 UTC |
c8c23aa | Miss Islington (bot) | 04 June 2024, 18:10:41 UTC | [3.12] gh-120039: Reduce expected timeout in test_siginterrupt_off (GH-120047) (#120061) The process is expected to time out. In the refleak builds, `support.SHORT_TIMEOUT` is often five minutes and we run the tests six times, so test_signal was taking >30 minutes. (cherry picked from commit d419d468ff4aaf6bc673354d0ee41b273d09dd3f) Co-authored-by: Sam Gross <colesbury@gmail.com> | 04 June 2024, 18:10:41 UTC |
f98ec75 | Serhiy Storchaka | 04 June 2024, 17:12:13 UTC | [3.12] gh-89928: Fix integer conversion of device numbers (GH-31794) (GH-120054) Fix os.major(), os.minor() and os.makedev(). Support device numbers larger than 2**63-1. Support non-existent device number (NODEV). (cherry picked from commit 7111d9605f9db7aa0b095bb8ece7ccc0b8115c3f) | 04 June 2024, 17:12:13 UTC |
0e150c3 | Miss Islington (bot) | 04 June 2024, 12:41:02 UTC | [3.12] gh-119819: Fix regression to allow logging configuration with multipr… (GH-120030) (GH-120034) (cherry picked from commit 99d945c0c006e3246ac00338e37c443c6e08fc5c) | 04 June 2024, 12:41:02 UTC |
fe68908 | Miss Islington (bot) | 04 June 2024, 12:17:46 UTC | [3.12] gh-118868: logging QueueHandler fix passing of kwargs (GH-118869) (GH-120031) (cherry picked from commit dce14bb2dce7887df40ae5c13b0d13e0dafceff7) | 04 June 2024, 12:17:46 UTC |
b5c3394 | Miss Islington (bot) | 04 June 2024, 11:27:58 UTC | [3.12] gh-119070: Update test_shebang_executable_extension to always use non-installed version (GH-119846) (GH-120016) gh-119070: Update test_shebang_executable_extension to always use non-installed version (GH-119846) (cherry picked from commit 5c48eb0cc6c3e84aafda0a734a05ecec14fc0ccf) | 04 June 2024, 11:27:58 UTC |
e3e7607 | Victor Stinner | 04 June 2024, 09:58:49 UTC | [3.12] gh-111499: Fix PYTHONMALLOCSTATS at Python exit (#120021) (#120023) gh-111499: Fix PYTHONMALLOCSTATS at Python exit (#120021) Call _PyObject_DebugMallocStats() earlier in Py_FinalizeEx(), before the interpreter is deleted. (cherry picked from commit 5a1205b641df133932ed4c65b9a4ff5724e89963) | 04 June 2024, 09:58:49 UTC |
3bf7a50 | Jelle Zijlstra | 03 June 2024, 19:26:25 UTC | [3.12] gh-119821: Fix refleak in LOAD_FROM_DICT_OR_GLOBALS (#119975) | 03 June 2024, 19:26:25 UTC |
0480fd6 | Łukasz Langa | 03 June 2024, 16:15:54 UTC | [3.12] Use Cirrus M1 macOS runners for CI (GH-119979) (GH-119987) (cherry picked from commit 6acb32fac3511c1d5500cac66f1d6397dcdab835) Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Ee Durbin <ee@python.org> | 03 June 2024, 16:15:54 UTC |
059be67 | Barney Gale | 02 June 2024, 20:14:29 UTC | [3.12] GH-119054: Add "Reading and writing files" section to pathlib docs (GH-119524) (#119955) Add a dedicated subsection for `open()`, `read_text()`, `read_bytes()`, `write_text()` and `write_bytes()`. (cherry picked from commit bd6d4ed6454378e48dab06f50a9be0bae6baa3a2) | 02 June 2024, 20:14:29 UTC |
8502064 | Barney Gale | 02 June 2024, 19:38:00 UTC | [3.12] GH-119054: Add "Querying file type and status" section to pathlib docs (GH-119055) (#119952) Add a dedicated subsection for `Path.stat()`-related methods, specifically `stat()`, `lstat()`, `exists()`, `is_*()`, and `samefile()`. (cherry picked from commit 81d63362302187e5cb838c9a7cd857181142e530) | 02 June 2024, 19:38:00 UTC |
c8de0ec | Miss Islington (bot) | 02 June 2024, 15:21:47 UTC | [3.12] Improve documentation for typing.get_type_hints (GH-119928) (#119944) - Explicit list of what it does that is different from "just return __annotations__" - Remove reference to PEP 563; adding the future import doesn't do anything to type aliases, and in general it will never make get_type_hints() less likely to fail. - Remove example, as the Annotated docs already have a similar example, and it's unbalanced to have one example about this one edge case but not about other behaviors of the function. (cherry picked from commit aa9fe98e0649f0a151942914ef4e2810ca6126c2) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | 02 June 2024, 15:21:47 UTC |
e57a4a1 | Miss Islington (bot) | 01 June 2024, 21:26:07 UTC | [3.12] gh-119016: Remove outdated sentences from the "classes" tutorial (GH-119130) (#119926) Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | 01 June 2024, 21:26:07 UTC |
46545d3 | Miss Islington (bot) | 01 June 2024, 20:23:05 UTC | [3.12] gh-116145: Update macOS installer to Tcl/Tk 8.6.14 (GH-116151) (GH-119922) (cherry picked from commit 4fa95c6ec392b9fc80ad720cc4a8bd2786fc2835) Co-authored-by: Christopher Chavez <chrischavez@gmx.us> | 01 June 2024, 20:23:05 UTC |
feb7870 | Barney Gale | 01 June 2024, 19:39:35 UTC | [3.12] GH-89727: Fix `shutil.rmtree()` recursion error on deep trees (GH-119808) (#119919) Implement `shutil._rmtree_safe_fd()` using a list as a stack to avoid emitting recursion errors on deeply nested trees. `shutil._rmtree_unsafe()` was fixed in a150679f90. (cherry picked from commit 53b1981fb0cda6c656069e992f172fc6aad7c99c) | 01 June 2024, 19:39:35 UTC |
60393f5 | Miss Islington (bot) | 01 June 2024, 17:06:18 UTC | [3.12] Add unique() recipe to itertools docs (gh-119911) (gh-119917) | 01 June 2024, 17:06:18 UTC |
55f6515 | Miss Islington (bot) | 01 June 2024, 16:29:34 UTC | [3.12] gh-113892: Add a extra check to `ProactorEventLoop.sock_connect` to ensure that the given socket is in non-blocking mode (GH-119519) (#119913) (cherry picked from commit cf3bba3f0671d2c9fee099e3ab0f78b98b176131) Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> | 01 June 2024, 16:29:34 UTC |
34a0e7a | Victor Stinner | 01 June 2024, 15:08:07 UTC | [3.12] Revert "[3.12] gh-69214: Fix fcntl.ioctl() request type (#119498) (#1… (#119905) Revert "[3.12] gh-69214: Fix fcntl.ioctl() request type (#119498) (#119505)" This reverts commit 078da88ad19e8f7474b6943edd39b7e61511bd20. The change modified how negative values, like termios.TIOCSWINSZ, was treated and is actually backward incompatible. | 01 June 2024, 15:08:07 UTC |
6d9677d | Jelle Zijlstra | 01 June 2024, 04:56:38 UTC | [3.12] gh-119821: Support non-dict globals in LOAD_FROM_DICT_OR_GLOBALS (#119822) (#119890) The implementation basically copies LOAD_GLOBAL. Possibly it could be deduplicated, but that seems like it may get hairy since the two operations have different operands. This is important to fix in 3.14 for PEP 649, but it's a bug in earlier versions too, and we should backport to 3.13 and 3.12 if possible. (cherry picked from commit 80a4e3899420faaa012c82b4e82cdb6675a6a944) | 01 June 2024, 04:56:38 UTC |
2f7fada | Miss Islington (bot) | 31 May 2024, 17:27:57 UTC | [3.12] contextlib docs: Clean up redundant 'up' after 'cleanup' (GH-119873) Reported by Michael Kass on docs@ (cherry picked from commit f3fc800d5f17b144a752a262102b750bedcdaa14) | 31 May 2024, 17:27:57 UTC |
045be77 | Miss Islington (bot) | 31 May 2024, 17:24:11 UTC | [3.12] gh-100117: Fix inaccuracy in documentation of the CodeObject's co_positions field. (GH-119364) (#119870) gh-100117: Fix inaccuracy in documentation of the CodeObject's co_positions field. (GH-119364) (cherry picked from commit 015b1fdd0ae03f94a5dfda051b020810d1c952dd) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 31 May 2024, 17:24:11 UTC |
738cf21 | Sam Gross | 31 May 2024, 15:42:09 UTC | [3.12] gh-119585: Fix crash involving `PyGILState_Release()` and `PyThreadState_Clear()` (GH-119753) (#119861) Make sure that `gilstate_counter` is not zero in when calling `PyThreadState_Clear()`. A destructor called from `PyThreadState_Clear()` may call back into `PyGILState_Ensure()` and `PyGILState_Release()`. If `gilstate_counter` is zero, it will try to create a new thread state before the current active thread state is destroyed, leading to an assertion failure or crash. (cherry picked from commit bcc1be39cb1d04ad9fc0bd1b9193d3972835a57c) | 31 May 2024, 15:42:09 UTC |
d4680b9 | Serhiy Storchaka | 31 May 2024, 09:15:53 UTC | [3.12] gh-103194: Fix Tkinter’s Tcl value type handling for Tcl 8.7/9.0 (GH-103846) (GH-119831) Some of standard Tcl types were renamed, removed, or no longer registered in Tcl 8.7/9.0. This change fixes automatic conversion of Tcl values to Python values to avoid returning a Tcl_Obj where the primary Python types (int, bool, str, bytes) were returned in older Tcl. (cherry picked from commit 94e9585e99abc2d060cedc77b3c03e06b4a0a9c4) Co-authored-by: Christopher Chavez <chrischavez@gmx.us> | 31 May 2024, 09:15:53 UTC |
bd0d97c | Miss Islington (bot) | 30 May 2024, 21:23:38 UTC | [3.12] gh-107262: Update Tkinter tests for Tcl/Tk 8.6.14 (GH-119322) (GH-119807) (cherry picked from commit 9732ed5ca94cd8fe9ca2fc7ba5a42dfa2b7791ea) Co-authored-by: James De Bias <81095953+DBJim@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 30 May 2024, 21:23:38 UTC |
207d1b0 | Serhiy Storchaka | 30 May 2024, 20:52:44 UTC | [3.12] gh-109218: Improve documentation for the complex() constructor (GH-119687) (ПР-119805) * Remove the equivalence with real+imag*1j which can be incorrect in corner cases (non-finite numbers, the sign of zeroes). * Separately document the three roles of the constructor: parsing a string, converting a number, and constructing a complex from components. * Document positional-only parameters of complex(), float(), int() and bool() as positional-only. * Add examples for complex() and int(). * Specify the grammar of the string for complex(). * Improve the grammar of the string for float(). * Describe more explicitly the behavior when real and/or imag arguments are complex numbers. (This will be deprecated in future.) (cherry picked from commit ec1ba264607b2b7b98d2602f5536a1d02981efc6) | 30 May 2024, 20:52:44 UTC |
2e31e56 | Miss Islington (bot) | 30 May 2024, 18:05:38 UTC | [3.12] gh-109218: Refactor tests for the complex() constructor (GH-119635) (GH-119796) * Share common classes. * Use exactly representable floats and exact tests. * Check the sign of zero components. * Remove duplicated tests (mostly left after merging int and long). * Reorder tests in more consistent way. * Test more error messages. * Add tests for missed cases. (cherry picked from commit bf098d4157158e1e4b2ea78aba4ac82d72e24cff) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 30 May 2024, 18:05:38 UTC |
863da72 | Miss Islington (bot) | 30 May 2024, 15:57:36 UTC | [3.12] gh-119779: Fix pyporting howto docs (GH-119785) (#119789) gh-119779: Fix pyporting howto docs (GH-119785) (cherry picked from commit 6fb191be15fd49da10506de29b6393ffdf59b894) Co-authored-by: Awbert <119314310+SweetyAngel@users.noreply.github.com> | 30 May 2024, 15:57:36 UTC |
e85e813 | Steve Dower | 30 May 2024, 14:40:23 UTC | gh-119690: Adds Unicode support for named pipes in _winapi (GH-119717) Also backports a minor improvement to test_audit. | 30 May 2024, 14:40:23 UTC |
fae9c92 | Miss Islington (bot) | 30 May 2024, 08:57:36 UTC | [3.12] gh-118055: Update the finder glossary entry (GH-118278) (GH-119774) gh-118055: Update the finder glossary entry (GH-118278) (cherry picked from commit db009348b4b7a4b0aec39472ea074c1b5feeba9b) Co-authored-by: Lincoln <71312724+Lincoln-developer@users.noreply.github.com> | 30 May 2024, 08:57:36 UTC |
e408059 | Miss Islington (bot) | 30 May 2024, 07:50:23 UTC | [3.12] subprocess docs: Fix semantically important typo (GH-119752) (#119758) subprocess docs: Fix semantically important typo (GH-119752) GH-25416 accidentally replaced a reference to the *stderr* argument of `subprocess.run` with a reference to the *stdin* argument. *stdin* is not affected by the `check_output` option. (cherry picked from commit 2cc3502f98bb9aea386ab55443fc077ddcdde91d) Co-authored-by: Zachary Ware <zach@python.org> | 30 May 2024, 07:50:23 UTC |
d4a146d | Miss Islington (bot) | 30 May 2024, 04:30:37 UTC | [3.12] GH-89727: Fix FD leak on `os.fwalk()` generator finalization. (GH-119766) (#119768) GH-89727: Fix FD leak on `os.fwalk()` generator finalization. (GH-119766) Follow-up to 3c890b50. Ensure we `os.close()` open file descriptors when the `os.fwalk()` generator is finalized. (cherry picked from commit a5fef800d31648d19cecc240a2fa0dc71371753e) Co-authored-by: Barney Gale <barney.gale@gmail.com> | 30 May 2024, 04:30:37 UTC |
aae371b | Miss Islington (bot) | 30 May 2024, 03:32:14 UTC | [3.12] GH-89727: Fix `os.fwalk()` recursion error on deep trees (GH-119638) (#119765) GH-89727: Fix `os.fwalk()` recursion error on deep trees (GH-119638) Implement `os.fwalk()` using a list as a stack to avoid emitting recursion errors on deeply nested trees. (cherry picked from commit 3c890b503c740767d0eb9a0e74b47f17a1e69452) Co-authored-by: Barney Gale <barney.gale@gmail.com> | 30 May 2024, 03:32:14 UTC |
681d7da | Miss Islington (bot) | 30 May 2024, 03:24:50 UTC | [3.12] gh-119260: Clarify is_dataclass Behavior for Subclasses in Documentation and Tests (GH-119480) (#119761) gh-119260: Clarify is_dataclass Behavior for Subclasses in Documentation and Tests (GH-119480) (cherry picked from commit bf4ff3ad2e362801e87c85fffd9e140b774cef26) Co-authored-by: Aditya Borikar <adityaborikar2@gmail.com> Co-authored-by: Carl Meyer <carl@oddbird.net> | 30 May 2024, 03:24:50 UTC |
45587df | Barney Gale | 29 May 2024, 20:53:08 UTC | [3.12] GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees (GH-119634) (#119749) * GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees (#119634) Make `shutil._rmtree_unsafe()` call `os.walk()`, which is implemented without recursion. `shutil._rmtree_safe_fd()` is not affected and can still raise a recursion error. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit a150679f90c6e3f017bd75cac3b8f727063cc4aa) | 29 May 2024, 20:53:08 UTC |
e902503 | Steve Dower | 29 May 2024, 20:51:30 UTC | gh-119070: Avoid test crash due to Unicode in stderr output (GH-119747) | 29 May 2024, 20:51:30 UTC |
bc01c5d | Steve Dower | 29 May 2024, 19:12:55 UTC | gh-119070: Fix py.exe handling of /usr/bin/env commands missing extension (GH-119426) | 29 May 2024, 19:12:55 UTC |
a62681c | Miss Islington (bot) | 29 May 2024, 07:18:04 UTC | [3.12] gh-119704: Fix reference leak in the ``Python/Python-tokenize.c`` (GH-119705) (#119708) | 29 May 2024, 07:18:04 UTC |
46a37a1 | Miss Islington (bot) | 28 May 2024, 22:10:49 UTC | [3.12] gh-119538: Add missing expat build dependencies (GH-119647) (#119686) xmltok_impl.c and xmltok_ns.c are _included_ in xmltok.c by the C pre-processor. (cherry picked from commit 606be663622c6784aed4ffa55b877adbd6fe8e54) Co-authored-by: Erlend E. Aasland <erlend@python.org> | 28 May 2024, 22:10:49 UTC |
4a0af0c | Miss Islington (bot) | 28 May 2024, 20:49:02 UTC | [3.12] gh-119118: Fix performance regression in tokenize module (GH-119615) (#119683) - Cache line object to avoid creating a Unicode object for all of the tokens in the same line. - Speed up byte offset to column offset conversion by using the smallest buffer possible to measure the difference. (cherry picked from commit d87b0151062e36e67f9e42e1595fba5bf23a485c) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> Co-authored-by: Pablo Galindo <pablogsal@gmail.com> | 28 May 2024, 20:49:02 UTC |
7f06cd3 | Jelle Zijlstra | 28 May 2024, 19:54:47 UTC | [3.12] gh-119011: `type.__type_params__` now return an empty tuple (GH-119296) (#119681) (cherry picked from commit 6b240c2308a044e38623900ccb8fa58c3549d4ae) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> | 28 May 2024, 19:54:47 UTC |
08636c1 | Miss Islington (bot) | 28 May 2024, 17:42:01 UTC | [3.12] gh-119581: Add a test of InitVar with name shadowing (GH-119582) (#119673) gh-119581: Add a test of InitVar with name shadowing (GH-119582) (cherry picked from commit 6ec371223dff4da7719039e271f35a16a5b861c6) Co-authored-by: Steven Troxler <steven.troxler@gmail.com> | 28 May 2024, 17:42:01 UTC |
3af9b75 | Miss Islington (bot) | 28 May 2024, 14:55:43 UTC | [3.12] Clarify base64.a85encode docs: *wrapcols* doesn't count the newline (GH-119409) (GH-119482) Clarify base64.a85encode docs: *wrapcols* doesn't count the newline (GH-119409) (cherry picked from commit ffa24aab107b5bc3c6ad31a6a245c226bf24b208) Co-authored-by: Petr Viktorin <encukou@gmail.com> | 28 May 2024, 14:55:43 UTC |
5cca041 | Miss Islington (bot) | 28 May 2024, 14:04:19 UTC | [3.12] [doc] Clarify the nature of the root logger in the `logging` documentation (GH-119440) (GH-119652) (cherry picked from commit b407ad38fb93585332c370b8fa56905fb238cdfd) | 28 May 2024, 14:04:19 UTC |
6ffbd93 | Miss Islington (bot) | 28 May 2024, 12:49:38 UTC | [3.12] Re-order imports to align with zipp 3.18.2 (GH-119587) (#119590) Re-order imports to align with zipp 3.18.2 (GH-119587) (cherry picked from commit 5482a939ac18f4cd861d212c759960af8fa2b19d) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> | 28 May 2024, 12:49:38 UTC |
09a85ea | Nice Zombies | 28 May 2024, 10:13:01 UTC | gh-118263: Add additional arguments to path_t (Argument Clinic type) in posixmodule (GH-119608) | 28 May 2024, 10:13:01 UTC |
ab9b605 | Miss Islington (bot) | 28 May 2024, 09:50:26 UTC | [3.12] gh-116860: Remove outdated `test_parserhack` from `test_future` (GH-116861) (#119648) gh-116860: Remove outdated `test_parserhack` from `test_future` (GH-116861) (cherry picked from commit 669175bf8edc2c02d48401bac0e4c7d99a33f15b) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> | 28 May 2024, 09:50:26 UTC |
8fb4854 | Raymond Hettinger | 27 May 2024, 18:43:08 UTC | [3.12] Misc cleanups and wording improvements for the itertools docs (gh-119631) | 27 May 2024, 18:43:08 UTC |
823c66a | Miss Islington (bot) | 27 May 2024, 18:04:01 UTC | [3.12] gh-119580: Improve version added section for convenience variable (GH-119583) (#119625) Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com> | 27 May 2024, 18:04:01 UTC |
e658d87 | Miss Islington (bot) | 27 May 2024, 17:35:57 UTC | [3.12] Docs: Only install sphinx-autobuild for `make htmllive` (GH-119607) (#119622) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | 27 May 2024, 17:35:57 UTC |
8d7e54a | Miss Islington (bot) | 27 May 2024, 12:22:23 UTC | [3.12] gh-119467: Fix Py_buffer.format type and correct documentation typo (GH-119475) (#119603) gh-119467: Fix Py_buffer.format type and correct documentation typo (GH-119475) (cherry picked from commit 3b26cd8ca0e6c65e4b61effea9aa44d06e926797) Co-authored-by: Aditya Borikar <adityaborikar2@gmail.com> | 27 May 2024, 12:22:23 UTC |
53843c2 | Miss Islington (bot) | 27 May 2024, 08:04:05 UTC | [3.12] Fix typos in HISTORY documentation (GH-119453) (#119598) Co-authored-by: Xie Yanbo <xieyanbo@gmail.com> | 27 May 2024, 08:04:05 UTC |
7f86c76 | Hugo van Kemenade | 26 May 2024, 08:15:57 UTC | [3.12] docs: fix a few typos identified by codespell (GH-119516) (#119571) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> | 26 May 2024, 08:15:57 UTC |
d4e382b | Miss Islington (bot) | 25 May 2024, 14:19:35 UTC | [3.12] FAQ: Add reference to Python version numbering scheme (GH-119225) (#119545) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | 25 May 2024, 14:19:35 UTC |
2d70067 | Raymond Hettinger | 24 May 2024, 22:35:38 UTC | [3.12] Misc improvements to the docs for itertools (gh-119532) | 24 May 2024, 22:35:38 UTC |
30679a6 | Miss Islington (bot) | 24 May 2024, 20:01:53 UTC | [3.12] Regen ``Doc/requirements-oldest-sphinx.txt`` (GH-119520) (#119523) Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> | 24 May 2024, 20:01:53 UTC |
4c0bc69 | Miss Islington (bot) | 24 May 2024, 14:52:09 UTC | [3.12] GH-119496: accept UTF-8 BOM in .pth files (GH-119509) `Out-File -Encoding utf8` and similar commands in Windows Powershell 5.1 emit UTF-8 with a BOM marker, which the regular `utf-8` codec decodes incorrectly. `utf-8-sig` accepts a BOM, but also works correctly without one. This change also makes .pth files match the way Python source files are handled. (cherry picked from commit bf5b6467f8cc06759f3396ab1a8ad64fe7d1db2e) Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com> Co-authored-by: Inada Naoki <songofacandy@gmail.com> | 24 May 2024, 14:52:09 UTC |
078da88 | Victor Stinner | 24 May 2024, 12:53:41 UTC | [3.12] gh-69214: Fix fcntl.ioctl() request type (#119498) (#119505) gh-69214: Fix fcntl.ioctl() request type (#119498) Use an 'unsigned long' instead of an 'unsigned int' for the request parameter of fcntl.ioctl() to support requests larger than UINT_MAX. (cherry picked from commit 92fab3356f4c61d4c73606e4fae705c6d8f6213b) | 24 May 2024, 12:53:41 UTC |
2b091b9 | Miss Islington (bot) | 24 May 2024, 02:12:23 UTC | [3.12] gh-119317: findall instead of traverse for docutils nodes (GH-119319) (#119487) gh-119317: findall instead of traverse for docutils nodes (GH-119319) (cherry picked from commit 0867bce45768454ee31bee95ca33fdc2c9d8b0fa) Co-authored-by: Carlos Meza <hire@carlosmeza.com> | 24 May 2024, 02:12:23 UTC |
122dd4f | Miss Islington (bot) | 23 May 2024, 23:23:55 UTC | [3.12] [3.13] gh-119461: Fix ThreadedVSOCKSocketStreamTest (GH-119465) (GH-119479) (#119484) [3.13] gh-119461: Fix ThreadedVSOCKSocketStreamTest (GH-119465) (GH-119479) gh-119461: Fix ThreadedVSOCKSocketStreamTest (GH-119465) Fix ThreadedVSOCKSocketStreamTest: if get_cid() returns the host address or the "any" address, use the local communication address (loopback): VMADDR_CID_LOCAL. On Linux 6.9, apparently, the /dev/vsock device is now available but get_cid() returns VMADDR_CID_ANY (-1). (cherry picked from commit c750061047ee520d8299334df4b112fd983d7e48) Co-authored-by: Victor Stinner <vstinner@python.org> (cherry picked from commit e94dbe4ed83460f18bd72563c5f09f6cdc71f604) Co-authored-by: Victor Stinner <vstinner@python.org> | 23 May 2024, 23:23:55 UTC |
ddaed62 | Miss Islington (bot) | 23 May 2024, 06:16:23 UTC | [3.12] gh-90562: Mention slots pitfall in dataclass docs (GH-107391) (#119351) Co-authored-by: Josh Cannon <joshdcannon@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | 23 May 2024, 06:16:23 UTC |
0d5fe2c | Eric Snow | 22 May 2024, 22:26:58 UTC | [3.12] gh-119213: Be More Careful About _PyArg_Parser.kwtuple Across Interpreters (gh-119331) (gh-119425) _PyArg_Parser holds static global data generated for modules by Argument Clinic. The _PyArg_Parser.kwtuple field is a tuple object, even though it's stored within a static global. In some cases the tuple is statically allocated and thus it's okay that it gets shared by multiple interpreters. However, in other cases the tuple is set lazily, allocated from the heap using the active interprepreter at the point the tuple is needed. This is a problem once that interpreter is destroyed since _PyArg_Parser.kwtuple becomes at dangling pointer, leading to crashes. It isn't a problem if the tuple is allocated under the main interpreter, since its lifetime is bound to the lifetime of the runtime. The solution here is to temporarily switch to the main interpreter. The alternative would be to always statically allocate the tuple. This change also fixes a bug where only the most recent parser was added to the global linked list. (cherry picked from commit 81865002aee8eaaeb3c7e402f86183afa6de77bf) | 22 May 2024, 22:26:58 UTC |
7eb59cd | Miss Islington (bot) | 22 May 2024, 20:21:42 UTC | [3.12] gh-70795: Rework RLock documentation (GH-103853) (#119437) gh-70795: Rework RLock documentation (GH-103853) Attempted to simultaneously reduce verbosity, while more descriptively describing behavior. Fix links (RLock acquire/release previously linking to Lock acquire/release, seems like bad copy pasta). Add a seealso for with-locks. Switch section to use bullet points. --------- (cherry picked from commit 2fbea81d646688cf438be1dc0be82112a9ae4325) Co-authored-by: uıɐɾ ʞ ʇɐɯɐs <_@skj.io> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | 22 May 2024, 20:21:42 UTC |
874a4f7 | Nice Zombies | 22 May 2024, 14:49:26 UTC | gh-118507 : Refactor ntpath native functions (gh-119381) This refactoring will make future backports easier without changing behaviours, apart from correcting a bug when passing a pipe to `ntpath.isfile`. | 22 May 2024, 14:49:26 UTC |
8c96850 | Miss Islington (bot) | 22 May 2024, 11:08:05 UTC | [3.12] gh-118643: Fix AttributeError in the email module (GH-119099) (GH-119390) Fix regression introduced in gh-100884: AttributeError when re-fold a long address list. Also fix more cases of incorrect encoding of the address separator in the address list missed in gh-100884. (cherry picked from commit 858b9e85fcdd495947c9e892ce6e3734652c48f2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 22 May 2024, 11:08:05 UTC |
2c7e9de | Miss Islington (bot) | 22 May 2024, 09:49:41 UTC | [3.12] Fix version number in use_load_tests deprecation reference (GH-119151) (GH-119387) Deprecation took place in d78742a260ba09e53c844de7b1fd11a11c674945 (3.5) (cherry picked from commit aee8f03abbebfb76357f459dfb297026862e3c0b) Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | 22 May 2024, 09:49:41 UTC |
9bd9879 | Miss Islington (bot) | 22 May 2024, 08:58:03 UTC | [3.12] Clarify that dklen is expected in bytes for the hashlib functions (GH-106624) (GH-119384) (cherry picked from commit 5adf78f546a5dc3f5b8eeaa209a2e8437ae96ac8) Co-authored-by: Mathijs Mortimer <thiezn@users.noreply.github.com> | 22 May 2024, 08:58:03 UTC |
9801fba | Miss Islington (bot) | 22 May 2024, 01:22:05 UTC | [3.12] gh-110383: Align dict.get(), .fromkeys(), and .setdefault() docs with docstrings (GH-119330) (#119371) (cherry picked from commit 0e3c8cda1f04c983994e76aea93600dbb4714832) Co-authored-by: Landon Wood <landon@elkrange.com> | 22 May 2024, 01:22:05 UTC |
47b09d2 | Miss Islington (bot) | 21 May 2024, 22:49:16 UTC | [3.12] gh-119189: Add yet more tests for mixed Fraction arithmetic (GH-119298) (GH-119347) (cherry picked from commit 10b1bd926a5546e0f5cbd1a47d00dc5ff84f1979) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 21 May 2024, 22:49:16 UTC |
f31ce5e | Miss Islington (bot) | 21 May 2024, 22:33:32 UTC | [3.12] Fix typos in documentation (GH-119295) (#119338) Co-authored-by: Xie Yanbo <xieyanbo@gmail.com> | 21 May 2024, 22:33:32 UTC |
a1c2052 | Miss Islington (bot) | 21 May 2024, 18:52:56 UTC | [3.12] gh-110383: Document `socket.makefile()` accepts combined modes (GH-119150) (#119325) The supported mode values are 'r', 'w', and 'b', or a combination of those. (cherry picked from commit 62a29be5bb01c2d0f72d8f9b1b5539816e65310c) Co-authored-by: Daniel Williams <dann0a@gmail.com> | 21 May 2024, 18:52:56 UTC |
4dfba85 | Miss Islington (bot) | 21 May 2024, 17:54:20 UTC | [3.12] GH-110383: Improve Tutorial for Input Ouput (GH-119230) (GH-119327) GH-110383: Improve Tutorial for Input Ouput (GH-119230) (cherry picked from commit 9db2fd7edaa9d03e8c649c3bb0e8d963233cde22) Co-authored-by: Blaise Pabon <blaise@gmail.com> Co-authored-by: edson duarte <eduarte.uatach@gmail.com> | 21 May 2024, 17:54:20 UTC |
22bef96 | Hugo van Kemenade | 21 May 2024, 14:40:16 UTC | [3.12] Docs: Ensure no warnings are found in the NEWS file before a given line number (GH-119221) (#119266) | 21 May 2024, 14:40:16 UTC |
8b6175c | Miss Islington (bot) | 21 May 2024, 04:09:30 UTC | [3.12] gh-119174: Fix high DPI causes turtledemo(turtle-graphics examples) windows blurry (GH-119175) (#119290) gh-119174: Fix high DPI causes turtledemo(turtle-graphics examples) windows blurry (GH-119175) ------ (cherry picked from commit 538ed5e4818aa0d0aa759634e8bfa23e317434a1) Co-authored-by: Wulian233 <71213467+Wulian233@users.noreply.github.com> | 21 May 2024, 04:09:30 UTC |
d8981ab | Miss Islington (bot) | 20 May 2024, 23:40:17 UTC | [3.12] gh-118912: Remove description of issue fixed in 3.5 from autospeccing guide (GH-119232) (#119283) gh-118912: Remove description of issue fixed in 3.5 from autospeccing guide (GH-119232) * Remove description of issue fixed in 3.5 from autospeccing guide * Make autospeccing note text more succint and lint whitespace * Add linting changes (missed in last commit) --------- (cherry picked from commit 7e57640c7ec6b7b5ce9b5eac465f6b771fd6ae69) Co-authored-by: Shauna <shaunagm@gmail.com> Co-authored-by: Carol Willing <carolcode@willingconsulting.com> | 20 May 2024, 23:40:17 UTC |
ec5743b | Victor Stinner | 20 May 2024, 22:56:34 UTC | [3.12] gh-119050: Add XML support to libregrtest refleak checker (#119148) (#119272) gh-119050: Add XML support to libregrtest refleak checker (#119148) regrtest test runner: Add XML support to the refleak checker (-R option). * run_unittest() now stores XML elements as string, rather than objects, in support.junit_xml_list. * runtest_refleak() now saves/restores XML strings before/after checking for reference leaks. Save XML into a temporary file. (cherry picked from commit 9257731f5d3e9d4f99e314b23a14506563e167d7) | 20 May 2024, 22:56:34 UTC |
cdccafb | Miss Islington (bot) | 20 May 2024, 22:48:54 UTC | [3.12] gh-108267 Fix another dataclasses docs typo (GH-119277) (#119280) gh-108267 Fix another dataclasses docs typo (GH-119277) (cherry picked from commit 423bbcbbc43cacfb6a217c04f890a47d3cf7c3a9) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | 20 May 2024, 22:48:54 UTC |
f489911 | Miss Islington (bot) | 20 May 2024, 20:58:40 UTC | [3.12] gh-119189: Add more tests for mixed Fraction arithmetic (GH-119236) (GH-119256) (cherry picked from commit fe67af19638d208239549ccac8b4f4fb6480e801) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 20 May 2024, 20:58:40 UTC |
1738944 | Miss Islington (bot) | 20 May 2024, 20:12:29 UTC | [3.12] Use correct markup in unittest.mock.reset_mock documentation (GH-119207) (GH-119249) Use correct markup in unittest.mock.reset_mock documentation (GH-119207) (cherry picked from commit 6b80a5b20f31a067bd1c374295608df5f1210f49) Co-authored-by: Tialo <65392801+Tialo@users.noreply.github.com> | 20 May 2024, 20:12:29 UTC |
ffe9ba0 | Miss Islington (bot) | 20 May 2024, 20:10:49 UTC | [3.12] gh-92081: Fix for email.generator.Generator with whitespace between encoded words. (GH-92281) (#119246) * Fix for email.generator.Generator with whitespace between encoded words. email.generator.Generator currently does not handle whitespace between encoded words correctly when the encoded words span multiple lines. The current generator will create an encoded word for each line. If the end of the line happens to correspond with the end real word in the plaintext, the generator will place an unencoded space at the start of the subsequent lines to represent the whitespace between the plaintext words. A compliant decoder will strip all the whitespace from between two encoded words which leads to missing spaces in the round-tripped output. The fix for this is to make sure that whitespace between two encoded words ends up inside of one or the other of the encoded words. This fix places the space inside of the second encoded word. A second problem happens with continuation lines. A continuation line that starts with whitespace and is followed by a non-encoded word is fine because the newline between such continuation lines is defined as condensing to a single space character. When the continuation line starts with whitespace followed by an encoded word, however, the RFCs specify that the word is run together with the encoded word on the previous line. This is because normal words are filded on syntactic breaks by encoded words are not. The solution to this is to add the whitespace to the start of the encoded word on the continuation line. Test cases are from GH-92081 * Rename a variable so it's not confused with the final variable. (cherry picked from commit a6fdb31b6714c9f3c65fefbb3fe388b2b139a75f) Co-authored-by: Toshio Kuratomi <a.badger@gmail.com> | 20 May 2024, 20:10:49 UTC |
386e492 | Miss Islington (bot) | 20 May 2024, 19:32:51 UTC | [3.12] gh-112844: Update CPE references for external dependencies (GH-118521) (#119238) Co-authored-by: Seth Michael Larson <seth@python.org> | 20 May 2024, 19:32:51 UTC |
a50f065 | Miss Islington (bot) | 20 May 2024, 18:11:36 UTC | [3.12] DOCS: Suggest always calling exec with a globals argument and no locals argument (GH-119235) (#119240) DOCS: Suggest always calling exec with a globals argument and no locals argument (GH-119235) Many users think they want a locals argument for various reasons but they do not understand that it makes code be treated as a class definition. They do not want their code treated as a class definition and get surprised. The reason not to pass locals specifically is that the following code raises a `NameError`: ```py exec(""" def f(): print("hi") f() def g(): f() g() """, {}, {}) ``` The reason not to leave out globals is as follows: ```py def t(): exec(""" def f(): print("hi") f() def g(): f() g() """) ``` (cherry picked from commit 7e1a130b8ff1ed8b3a5f00fe0f06d3916b852216) Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com> | 20 May 2024, 18:11:36 UTC |
541b89e | Miss Islington (bot) | 20 May 2024, 06:29:42 UTC | [3.12] IDLE: fix url in config.py comment (GH-119198) (#119200) IDLE: fix url in config.py comment (GH-119198) (cherry picked from commit 357f5a1f73684d0c126a5e8f79d76ff3641c4d52) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | 20 May 2024, 06:29:42 UTC |
30c687c | Miss Islington (bot) | 19 May 2024, 02:22:10 UTC | [3.12] marshal docs: Remove reference to "Sun" (GH-119161) (#119168) Nobody has been using a Sun machine for a long time. When I saw this sentence in a lightning talk just now, I thought it was talking about sending Python code on a spacecraft. (cherry picked from commit 697465ff88e49d98443025474e5b534adfba2cb0) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | 19 May 2024, 02:22:10 UTC |
d76d95e | Miss Islington (bot) | 18 May 2024, 21:06:41 UTC | [3.12] gh-119050: Add type hints to libregrtest/results.py (GH-119144) (#119157) gh-119050: Add type hints to libregrtest/results.py (GH-119144) Sort also 'omitted' in TestResults.display_result(). (cherry picked from commit 30b4e9f9c42493136c58c56fee5553128bb32428) Co-authored-by: Victor Stinner <vstinner@python.org> | 18 May 2024, 21:06:41 UTC |
bd1e950 | Victor Stinner | 18 May 2024, 20:56:27 UTC | [3.12] gh-118997: Fix _Py_ClearImmortal() assertion (#119001) Fix _Py_ClearImmortal() assertion: use _Py_IsImmortal() to tolerate reference count lower than _Py_IMMORTAL_REFCNT. Fix the assertion for the stable ABI, when a C extension is built with Python 3.11 or lower. | 18 May 2024, 20:56:27 UTC |
bb44a82 | Miss Islington (bot) | 18 May 2024, 11:54:40 UTC | [3.12] gh-119078: Clarify venv tutorial (GH-119129) (GH-119141) (cherry picked from commit 0f5e8bed636c2f29701e5a1965d1b088d33abbf0) | 18 May 2024, 11:54:40 UTC |
a370eeb | Miss Islington (bot) | 18 May 2024, 06:51:20 UTC | [3.12] Minor improvements to the docs for itertools.tee() (gh-119135) (gh-119137) | 18 May 2024, 06:51:20 UTC |
fa359df | Miss Islington (bot) | 17 May 2024, 10:57:34 UTC | [3.12] Fix typos in documentation (GH-119092) (#119117) Fix typos in documentation (GH-119092) (cherry picked from commit 65de194dd80bbc8cb7098d21cfd6aefd11d0d0ce) Co-authored-by: Xie Yanbo <xieyanbo@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | 17 May 2024, 10:57:34 UTC |
a3db4e8 | Miss Islington (bot) | 16 May 2024, 13:46:20 UTC | [3.12] gh-108267: Fix object.__setattr__ regression in dataclasses docs (GH-119082) (#119098) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> | 16 May 2024, 13:46:20 UTC |
0a761ca | Serhiy Storchaka | 16 May 2024, 10:43:02 UTC | [3.12] Add Tkinter tests for different events (GH-118778) (GH-119095) (cherry picked from commit b6839942a8906fccdd64e749abeefe8a61ce7e03) | 16 May 2024, 10:43:02 UTC |
33a9f0c | Serhiy Storchaka | 16 May 2024, 08:04:37 UTC | [3.12] gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) (GH-119088) (cherry picked from commit 0152dc4ff5534fa2948b95262e70ff6b202b9b99) | 16 May 2024, 08:04:37 UTC |