https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
f377153 Python 3.10.5 06 June 2022, 11:53:30 UTC
fd247db gh-93247: Fix assert function in asyncio locks test (GH-93248) (cherry picked from commit 9081bbd036934ab435291db9d32d02fd42282951) Co-authored-by: Cyker Way <cykerway@gmail.com> 06 June 2022, 01:42:21 UTC
2f8aae3 gh-89973: Fix re.error in the fnmatch module. (GH-93072) Character ranges with upper bound less that lower bound (e.g. [c-a]) are now interpreted as empty ranges, for compatibility with other glob pattern implementations. Previously it was re.error. (cherry picked from commit 0902c3d8edf7ef67972dd95f6a21670f5d1a4251) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 05 June 2022, 09:39:03 UTC
60adc4b Fix missing word in sys.float_info docstring (GH-93489) (GH-93496) (cherry picked from commit e12f34b6d8200508bd50cdc9c6c5637732ff56e7) Co-authored-by: Mark Dickinson <dickinsm@gmail.com> Co-authored-by: Mark Dickinson <dickinsm@gmail.com> 04 June 2022, 19:23:22 UTC
7b3cf3a gh-92886: Fix test that fails when running with `-O` in `test_imaplib.py` (GH-93237) (cherry picked from commit 8150b8cf7fe09d601246f5bdc6456a0e31f31bca) Co-authored-by: jackh-ncl <1750152+jackh-ncl@users.noreply.github.com> 04 June 2022, 03:38:54 UTC
b382bf5 gh-93156 - fix negative indexing into absolute `pathlib.PurePath().parents` (GH-93273) When a `_PathParents` object has a drive or a root, the length of the object is *one less* than than the length of `self._parts`, which resulted in an off-by-one error when `path.parents[-n]` was fed through to `self._parts[:-n - 1]`. In particular, `path.parents[-1]` was a malformed path object with spooky properties. This is addressed by adding `len(self)` to negative indices. (cherry picked from commit f32e6b48d12834ba3bde01ec21c14da33abd26d6) Co-authored-by: Barney Gale <barney.gale@gmail.com> 03 June 2022, 21:53:00 UTC
9cdfd1b test.pythoninfo: Fix typo, Py_REF_DEBUG => Py_TRACE_REFS (GH-93467) (cherry picked from commit d8f40ead92b5a973cff3a30482a7659d3b46b1ba) Co-authored-by: Victor Stinner <vstinner@python.org> 03 June 2022, 14:08:21 UTC
855be47 gh-93418: Fix an assert when an f-string expression is followed by an '=', but no closing brace. (gh-93419) (gh-93423) (cherry picked from commit ee70c70aa93d7a41cbe47a0b361b17f9d7ec8acd) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com> Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com> 02 June 2022, 01:04:43 UTC
0b7aae8 Remove the execution bit to some socket-related files. (GH-93368) (cherry picked from commit 5247389369ac3da35c44f7c0d8f4facc0300883a) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> 01 June 2022, 07:31:31 UTC
694455d Remove VOC reference (93333) VOC has been archived by the BeeWare project, and they are instead embedding CPython, rather than transpiling to Java bytecode. (cherry picked from commit bb900712a5511ba82ef64105fe28d2a6886a8fed) Co-authored-by: Carl Bordum Hansen <carl@bordum.dk> 31 May 2022, 17:49:14 UTC
372afb7 Fix typo in Lib/idlelib/idle_test/test_parenmatch.py (GH-93332) (#93340) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 4f195f9db168bfe3360607eb45ba8d9ac98506ec) Co-authored-by: luzpaz <luzpaz@users.noreply.github.com> 30 May 2022, 03:03:11 UTC
aa06a84 bpo-42272: fix misleading warning filter message/module docs (GH-23172) * bpo-42272: improve message/module warning filter docs "The Warnings Filter" section of the warnings module documentation describes the message and module filters as "a string containing a regular expression". While that is true when they are arguments to the filterwarnings function, it is not true when they appear in -W or $PYTHONWARNINGS where they are matched literally (after stripping any starting/ending whitespace). Update the documentation to note when they are matched literally. Also clarify that module matches the "fully-qualified module name", rather than "module name" which is ambiguous. skip news (since this is a doc fix) Signed-off-by: Kevin Locke <kevin@kevinlocke.name> * bpo-42272: remove bad submodule warning filter doc The `error:::mymodule[.*]` example in the "Describing Warning Filters" section of the warnings module documentation does not behave as the comment describes. Since the module portion of the filter string is interpreted literally, it would match a module with a fully-qualified name that is literally `mymodule[.*]`. Unfortunately, there is not a way to match '"module" and any subpackages of "mymodule"' as documented, since the module part of a filter string is matched literally. Instead, update the filter and comment to match only "mymodule". skip news (since this is a doc fix) Signed-off-by: Kevin Locke <kevin@kevinlocke.name> * bpo-42272: add warning filter doc changes to NEWS Signed-off-by: Kevin Locke <kevin@kevinlocke.name> (cherry picked from commit 8136606769661c103c46d142e52ecbbbb88803f6) Co-authored-by: Kevin Locke <kevin@kevinlocke.name> 30 May 2022, 02:03:15 UTC
c649526 [3.10] gh-93217: fix some issues in man page and --help (GH-93219) (#93261) 29 May 2022, 18:04:23 UTC
561c709 test.pythoninfo logs more build info (GH-93225) (#93256) Log also test.support.check_sanitizer() values. (cherry picked from commit 06dd26f89f35b6d6ef4b68c169cb6c675af7e4a4) Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 29 May 2022, 08:22:35 UTC
738c730 gh-92240 : Include release dates for "What's New In Python 3.X" (GH-92937) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> (cherry picked from commit 877ad7b3b2778a305d3989d58ebd68cb01baf26e) Co-authored-by: georgically <40323509+georgically@users.noreply.github.com> 29 May 2022, 03:41:40 UTC
550c44b gh-92839: fixed typo in _bisectmodule.c (line 131) (GH-92849) (#93321) 28 May 2022, 18:48:25 UTC
9912b3d gh-77024: test.support: Improve documentation (GH-92513) This is a rework of GH-5774 on current main. I was a bit more conservative in making changes than the original PR. See @csabella's comments on issue GH-77024 and the discussion on GH-5774 for explanations of several of the changes. Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> (cherry picked from commit 8995177030c8b41885ad92b260279b7e622ecaea) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 27 May 2022, 19:25:21 UTC
9369942 [3.10] gh-91924: Fix __ltrace__ for non-UTF-8 stdout encoding (#93214) Fix __ltrace__ debug feature if the stdout encoding is not UTF-8. If the stdout encoding is not UTF-8, the first call to lltrace_resume_frame() indirectly sets lltrace to 0 when calling unicode_check_encoding_errors() which calls encodings.search_function(). Add test_lltrace.test_lltrace() test. 25 May 2022, 22:16:32 UTC
02d35fc test_threaded_import: Fix unittest.main spelling (GH-93114) (cherry picked from commit 19710145b496b5e5341630d80be9c400aa792bd1) Co-authored-by: Florian Bruhin <me@the-compiler.org> 25 May 2022, 08:17:57 UTC
132ea29 [3.10] gh-83245: Raise BadZipFile instead of ValueError when reading a corrupt ZIP file (GH-32291) (GH-93140) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit 202ed2506c84cd98e9e35621b5b2929ceb717864) Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com> Automerge-Triggered-By: GH:serhiy-storchaka 25 May 2022, 07:57:56 UTC
2d5d01f test.pythoninfo no longer requires socket (GH-93191) test.pythoninfo no longer fails if "import socket" fails: the socket module is now optional. (cherry picked from commit 4a31ed8a32699973ae1f779022794fdab9fa08ee) Co-authored-by: Victor Stinner <vstinner@python.org> 25 May 2022, 00:42:06 UTC
502dba0 GH-89369: test_contextlib_async finalizes event loop after each test (GH-93074) Use asyncio.run(). (cherry picked from commit d2ef66a10be1250b13c32fbf3c0f9a9d2d98b124) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 24 May 2022, 14:25:50 UTC
db2b1e1 GH-93112: Fix missing ResourceDenied import in test_urllib2net (GH-93113) The code was moved out of test.support in 311110abcd8ab648dbf1803e36a8ba5d93fa019b (GH-20812), thus making ResourceDenied undefined. (cherry picked from commit 37c9a351b15c3fc4fcdca5dcb9ce19e51d7d2dd7) Co-authored-by: Florian Bruhin <me@the-compiler.org> 24 May 2022, 12:32:19 UTC
a4bea26 gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-93066) (GH-93146) Also while there, clarify a few things about why we reduce the hash to 32 bits. Co-authored-by: Eli Libman <eli@hyro.ai> Co-authored-by: Yury Selivanov <yury@edgedb.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit c1f5c903a7e4ed27190488f4e33b00d3c3d952e5) 24 May 2022, 08:52:29 UTC
c1b1249 gh-93061: Mark as artificial: backwards jump after async for (GH-93120) 23 May 2022, 23:53:38 UTC
251104f [3.10] gh-92859: Doc: add info about logging.debug() calling basicConfig() (GH-93063) (GH-93150) 23 May 2022, 19:45:44 UTC
b15b94d gh-93010: InvalidHeaderError used but nonexistent (GH-93015) * fix issue 93010 Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit 71abeb0895f7563dc5ac4b4f077a8f87dab57e7a) Co-authored-by: oda-gitso <105083118+oda-gitso@users.noreply.github.com> 23 May 2022, 17:02:15 UTC
c8f1095 gh-89158: Add some REPL secondary prompt markers (GH-93073) This fixes an issue on tutorial/classes.rst section 9.4 where the example "class Warehouse" was truncated when pressing the >>> button to hide the prompts and output. (cherry picked from commit 88f0d0c1e8fdda036f3f64b0048911ba28ce7f06) Co-authored-by: Nicolas Haller <nicolas@haller.im> 23 May 2022, 05:17:15 UTC
936eefc gh-92994: Clarify importlib "check" example (GH-92995) Fixes GH-92994 (cherry picked from commit e39cd765610c9099da3b5595186ad16223b670b0) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> 23 May 2022, 02:11:58 UTC
619a67c gh-73137: Added sub-subsection headers for flags in re (GH-93000) Fixes GH-73137 (cherry picked from commit b7a6610bc88dfecdd943e8d2817f7cd6b85fb740) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> 23 May 2022, 02:06:54 UTC
54b5e4d gh-91362: reword pickle docs to account for nested classes (GH-92429) Fixes GH-91362 (cherry picked from commit f9d6c59917435980fbe1b58c57257c45bfed2244) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> 21 May 2022, 15:10:56 UTC
3c2a1e7 [3.10] gh-72073: Add Windows case in pathlib.rename (GH-93002) (GH-93029) GH-72073 https://docs.python.org/3.12/library/pathlib.htmlGH-pathlib.Path.rename (cherry picked from commit f51ed04c663417f88e10eeb21dad23250358bafa) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> Automerge-Triggered-By: GH:brettcannon 20 May 2022, 22:44:07 UTC
4d363d8 Doc: add missing manpage and title references in tkinter docs (GH-29008) - add bind(3tk) manpage markup - add Tcl/Tk book reference markup (cherry picked from commit 0e12781ad9dec6e46ccb85969c0eb7be1ecad81d) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com> 20 May 2022, 09:21:29 UTC
4952608 gh-92984: Explicitly disable incremental linking for Windows Release and PGO builds (GH-92985) (cherry picked from commit 38feffa09c74d9a853745908b7813903bae33b96) Co-authored-by: David Machaj <46852402+dmachaj@users.noreply.github.com> 19 May 2022, 22:48:42 UTC
c146525 [3.10] bpo-28249: fix `lineno` location for empty `DocTest` instances (GH-30498) (#92981) (cherry picked from commit 8db2b3b6878aba9f12844526bce966b7eed81aee) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 19 May 2022, 19:16:57 UTC
5d7f3dc bpo-46879: Fix incorrect sphinx object names in doc (GH-31615) (GH-92975) (cherry picked from commit 2cdd57f119e3b85f1bfd28c7ff040e0d9bcaf115) Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Martin Fischer <martin@push-f.com> 19 May 2022, 15:57:46 UTC
3d47035 gh-92417: `subprocess` docs: remove note on compatibility with Python <3.5 (GH-92538) (GH-92973) (cherry picked from commit 84b86000e2bc32b0fbb6dfb6445a7ffc882067d2) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 19 May 2022, 15:49:13 UTC
93ebac7 gh-92417: `fractions`, `decimal`: Improve docs for alternative constructor methods (GH-92421) (GH-92971) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 090df844ea16af3a5df79aba2b9c89ac6a31ba06) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 19 May 2022, 15:45:30 UTC
ebf3f12 gh-92417: `socket` docs: remove references to Python <3.3 (GH-92544) (GH-92969) (cherry picked from commit 639b62c9c479e38a6f91a80b261097574a1e7ac7) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 19 May 2022, 15:44:31 UTC
fb566ca bpo-45393: help() on operator precedence has misleading entries (GH-31246) (GH-92966) (cherry picked from commit fb082c2fc5a925085b179e63ca10b7f60b356d2f) Co-authored-by: Zackery Spytz <zspytz@gmail.com> 19 May 2022, 15:32:54 UTC
4e289e2 gh-92417: Update docs and examples of doctest.IGNORE_EXCEPTION_DETAIL for Py>=3 (GH-92502) (GH-92963) (cherry picked from commit 97b9c1096feff77a564787ef520cc7d4e1d1c45f) 19 May 2022, 15:19:53 UTC
56c8d7c gh-92670: Skip test_shutil.TestCopy.test_copyfile_nonexistent_dir on AIX (GH-92718) (cherry picked from commit 654032ac5f6982b36d45e024037f37fb65166aed) Co-authored-by: Ayappan Perumal <ayappap2@in.ibm.com> 19 May 2022, 09:52:41 UTC
3e534b4 Doc: amend ssl.PROTOCOL_SSLv2 and ssl.PROTOCOL_SSLv3 wording (GH-92634) (cherry picked from commit 41638967a0e0bf1114c9bba9454d081605b49009) Co-authored-by: Jan Brasna <1784648+janbrasna@users.noreply.github.com> 19 May 2022, 09:40:39 UTC
17524b0 gh-92812: Align ArgumentParser.add_subparsers() docs with argument spec (GH-92814) (cherry picked from commit f2d994da104eed38f9e110e7d8f37fa6d845b207) Co-authored-by: 180909 <734461790@qq.com> 18 May 2022, 21:30:00 UTC
ed75d21 bpo-40838: document `getdoc`, `getmodule`, `getsourcefile` in `inspect` returns `None` (GH-30575) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit b86d783a4eff96306f315acf9a6f1aca85d47fc3) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 18 May 2022, 12:49:15 UTC
94e21cf gh-92780: Improve sqlite3.Connection.create_collation docs (GH-92790) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> (cherry picked from commit 7ee19e27150a72eec9e6a076792e3c3ae8bcffbd) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> 18 May 2022, 12:05:24 UTC
1815d8e gh-91755: Document Py_IncRef and Py_DecRef as C functions (GH-91805) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 58a3d28039863b014f57a1ac93b51e20920ebe7b) Co-authored-by: Charlie Zhao <zhaoyu_hit@qq.com> 18 May 2022, 09:00:00 UTC
009aeb6 bpo-39829: Fix `__len__()` is called twice in list() constructor (GH-31816) (cherry picked from commit 2153daf0a02a598ed5df93f2f224c1ab2a2cca0d) This patch fixes gh-87740 too. Co-authored-by: Crowthebird <78076854+thatbirdguythatuknownot@users.noreply.github.com> 18 May 2022, 04:16:58 UTC
add8820 Fix NULL test in _testinternalcapi (GH-92861) (cherry picked from commit 702e0da000bf28aa20cb7f3893b575d977506495) Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com> 17 May 2022, 01:54:47 UTC
006b302 gh-80143: Add clarification for escape characters (GH-92292) (GH-92629) (cherry picked from commit 549567c6e70da4846c105a18a1a89e7dd09680d7) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com> 16 May 2022, 16:54:40 UTC
e29ce9a gh-92530: Fix an issue that occurred after interrupting threading.Condition.notify (GH-92534) (GH-92830) If Condition.notify() was interrupted just after it released the waiter lock, but before removing it from the queue, the following calls of notify() failed with RuntimeError: cannot release un-acquired lock. (cherry picked from commit 70af994fee7c0850ae859727d9468a5f29375a38) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 16 May 2022, 16:54:01 UTC
cfb9248 Speedup: build docs in parallel (GH-92733) (GH-92850) (cherry picked from commit a487623c6b784847a8a1e47b4597b0ae2b8def87) 16 May 2022, 16:53:38 UTC
93d9b78 gh-87670: Add web.archive redirects from effbot (GH-92816) (cherry picked from commit 3ed1cae9ed9d1f0dd9d68da4b30b731fdf6be768) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> 16 May 2022, 06:27:54 UTC
36d42e7 Check result of utc_to_seconds and skip fold probe in pure Python (GH-91582) The `utc_to_seconds` call can fail, here's a minimal reproducer on Linux: TZ=UTC python -c "from datetime import *; datetime.fromtimestamp(253402300799 + 1)" The old behavior still raised an error in a similar way, but only because subsequent calculations happened to fail as well. Better to fail fast. This also refactors the tests to split out the `fromtimestamp` and `utcfromtimestamp` tests, and to get us closer to the actual desired limits of the functions. As part of this, we also changed the way we detect platforms where the same limits don't necessarily apply (e.g. Windows). As part of refactoring the tests to hit this condition explicitly (even though the user-facing behvior doesn't change in any way we plan to guarantee), I noticed that there was a difference in the places that `datetime.utcfromtimestamp` fails in the C and pure Python versions, which was fixed by skipping the "probe for fold" logic for UTC specifically — since UTC doesn't have any folds or gaps, we were never going to find a fold value anyway. This should prevent some failures in the pure python `utcfromtimestamp` method on timestamps close to 0001-01-01. There are two separate news entries for this because one is a potentially user-facing change, the other is an internal code correctness change that, if anything, changes some error messages. The two happen to be coupled because of the test refactoring, but they are probably best thought of as independent changes. Fixes GH-91581 (cherry picked from commit 83c0247d47b99f4571e35ea95361436e1d2a61cd) Co-authored-by: Paul Ganssle <1377457+pganssle@users.noreply.github.com> 14 May 2022, 15:01:53 UTC
56e9fb3 Fix typo in argparse docs. (GH-92691) (#92729) 13 May 2022, 21:09:06 UTC
597ff24 gh-92611: Link to PEP 594 sections & add key detail in doc deprecation notices (GH-92612) (cherry picked from commit 9f68dab3d327335b938046c50b4f09944e993cc8) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> 13 May 2022, 20:11:05 UTC
48f2d8d Document Py_ssize_t. (GH-92512) It fixes 252 errors from a Sphinx nitpicky run (sphinx-build -n). But there's 8182 errors left. Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 664aa94b570a4a8f3535efb2e3d638a4ab655943) Co-authored-by: Julien Palard <julien@palard.fr> 13 May 2022, 13:32:39 UTC
a24e676 [3.10] gh-92311: Let frame_setlineno jump over listcomps (GH-92717) 12 May 2022, 15:31:43 UTC
5d62759 gh-92436: __future__ docs: add note on expectations for "from __future__ import annotations" (GH-92568) (cherry picked from commit 6582c96454ddb731eb412c2a473300172225fdb9) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 12 May 2022, 14:42:57 UTC
9743524 bpo-42627: Fix incorrect parsing of Windows registry proxy settings (GH-26307) (cherry picked from commit b69297ea23c0ab9866ae8bd26a347a9b5df567a6) Co-authored-by: 狂男风 <CrazyBoyFeng@Live.com> 12 May 2022, 00:21:39 UTC
9f29bdd Fix minor documentation error in bisect docs (GH-92697) (cherry picked from commit b3f99b69d03cf0ea72a567a81e8bc4bc074ab303) Co-authored-by: Steve Dower <steve.dower@python.org> 11 May 2022, 23:12:17 UTC
4730b0d [3.10] gh-91810: ElementTree: Use text file's encoding by default in XML declaration (GH-91903) (GH-92664) ElementTree method write() and function tostring() now use the text file's encoding ("UTF-8" if not available) instead of locale encoding in XML declaration when encoding="unicode" is specified. (cherry picked from commit 707839b0fe02ba2c891a40f40e7a869d84c2c9c5) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Automerge-Triggered-By: GH:serhiy-storchaka 11 May 2022, 17:39:21 UTC
7a84ea4 [3.10] Fix typo in unittest.rst: addCleanupModule -> addModuleCleanup (GH-92631) (GH-92660) (cherry picked from commit 38486ca212c0827d54e7b0d0b1e2c1ccc2bdad33) Co-authored-by: Mikhail Terekhov <termim@gmail.com> Automerge-Triggered-By: GH:serhiy-storchaka 11 May 2022, 10:50:00 UTC
d435ebd gh-91966 Document where key functions are applied in the bisect module (GH-92602) (#92666) 11 May 2022, 07:06:42 UTC
9be9b58 bpo-46785: Fix race condition between os.stat() and unlink on Windows (GH-31858) * [3.10] bpo-46785: Fix race condition between os.stat() and unlink on Windows (GH-31858). (cherry picked from commit 39e6b8ae6a5b49bb23746fdcc354d148ff2d98e3) Co-authored-by: Itai Steinherz <itaisteinherz@gmail.com> 10 May 2022, 22:52:39 UTC
dd0e8a6 [3.10] gh-76773: Update docs mentioning no-longer-supported Windows versions & features (GH-92529) (GH-92609) (cherry picked from commit f1bbcba74f77eff2a4c0881f3d529f3bf0664d40) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Automerge-Triggered-By: GH:serhiy-storchaka 10 May 2022, 09:28:22 UTC
7954b66 gh-92256: Improve Argument Clinic parser error messages (GH-92268) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org> (cherry picked from commit 4bd07d1dbd493fc9b2c2a77e9e905c517682052e) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> 10 May 2022, 07:43:26 UTC
5ed2f11 bpo-13553: Document tkinter.Tk args (GH-4786) (cherry picked from commit c56e2bb9949c95ec8911cd5554b07044a564796f) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 10 May 2022, 04:27:37 UTC
826ceab Doc: Update py2app link. (GH-91585) See: https://mail.python.org/archives/list/docs@python.org/thread/KDVFGNGGUGGPVRZT7WZYHHWXCRS2GEN7/ (cherry picked from commit b77a95f44a024d1afab28e380252aa6d9c4efb1c) Co-authored-by: Julien Palard <julien@palard.fr> 09 May 2022, 21:28:40 UTC
eded103 CODEOWNERS: Add Erlend Aasland as sqlite3 code owner (GH-92535) Signed-off-by: Erlend E. Aasland <erlend.aasland@protonmail.com> (cherry picked from commit 3edda031e4abcdc8a2974f2708db99eeb109de32) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> 09 May 2022, 08:27:00 UTC
cd11068 bpo-38056: overhaul Error Handlers section in codecs documentation (GH-15732) * Some handlers were wrongly described as text-encoding only, but actually they can also be used in text-decoding. * Add more description to each handler. * Add two REPL examples. * Add indexes for Error Handler's name. Co-authored-by: Kyle Stanley <aeros167@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 5bc2390229bbcb4f13359e867fd8a140a1d5496b) Co-authored-by: Ma Lin <animalize@users.noreply.github.com> 09 May 2022, 03:16:26 UTC
1585796 bpo-39229: fix formatting in library/functions.rst (GH-17857) Missing reference of auditing event presents error when building translated documentation (cherry picked from commit f298ba1f2712ad10530a30bb225548a6889820b5) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com> 08 May 2022, 23:39:09 UTC
6679fdf pdb docs: workaround for double semicolon in strings (GH-17011) see https://github.com/gotcha/ipdb/issues/172 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 2888b1107fd0b43cc800987a00155bdbeacdb23a) Co-authored-by: Godefroid Chapelle <gotcha@bubblenet.be> 08 May 2022, 23:38:47 UTC
ca425ac gh-77521: Add link to builtin module names in modules tutorial (GH-92438) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 859250cc55711f4d62b65922d3f7537826c3801e) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com> 08 May 2022, 19:46:18 UTC
8883172 Fix use of the default role in a news entry. (#92500) 08 May 2022, 17:32:54 UTC
b795376 [3.10] gh-90622: Do not spawn ProcessPool workers on demand via fork method. (GH-91598) (#92497) Do not spawn ProcessPool workers on demand when they spawn via fork. This avoids potential deadlocks in the child processes due to forking from a multithreaded process.. (cherry picked from commit ebb37fc3fdcb03db4e206db017eeef7aaffbae84) Co-authored-by: Gregory P. Smith <greg@krypto.org> 08 May 2022, 17:12:46 UTC
1dbf699 gh-80856: doc: reveal doctest directives (GH-92318) * Doc: Reveal doctest directives. * Fix whitespace. Co-authored-by: Julien Palard <julien@palard.fr> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 7b024e3a3f77027f747da7580ed0a3ed2dec276a) Co-authored-by: Davide Rizzo <sorcio@gmail.com> 08 May 2022, 16:32:20 UTC
15cb6e8 gh-92417: `logging` docs: Remove warning that only applies to Python <3.2 (GH-92425) (cherry picked from commit 318c4e91ef166bcd5d513bb42b9156d54d423d4a) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 08 May 2022, 16:03:09 UTC
e363034 [3.10] gh-92417: `asyncio` docs: `asyncio.run()` is available on all supported Python versions (GH-92419) (GH-92463) (cherry picked from commit f4e317b304c7f86e48885b4b74c7a8826648922c) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Automerge-Triggered-By: GH:serhiy-storchaka 08 May 2022, 15:30:43 UTC
2164b5b [3.10] gh-92417: `json` docs: `dict` is ordered on all supported Python versions (GH-92422) (GH-92465) (cherry picked from commit bc098cfdb756f207d8fa84793e8ad91a2f263efb) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Automerge-Triggered-By: GH:serhiy-storchaka 08 May 2022, 15:30:18 UTC
45ed69b [3.10] gh-92417: `doctest` docs: remove references to Python <3.6 (GH-92420) (GH-92468) (cherry picked from commit 5639ea1ef9ba8452f81b61ad73152bd1bf1fd3a6) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Automerge-Triggered-By: GH:serhiy-storchaka 08 May 2022, 15:29:50 UTC
f40731f [3.10] GH-92431: Fix footnotes in Doc/c-api/exceptions.rst (GH-92432) (GH-92470) * Remove redundant footnote ref: the footnote has been removed * Fix footnote ref to match footnote * Convert footnotes into reST footnotes: will error if missing (cherry picked from commit 788ef54bc94b0a7aa2a93f626e4067ab8561424c) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Automerge-Triggered-By: GH:serhiy-storchaka 08 May 2022, 15:28:47 UTC
a7d869a [3.10] gh-77630: Change Charset to charset (GH-92439) (GH-92476) (cherry picked from commit 8f293180791f2836570bdfc29aadba04a538d435) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com> Automerge-Triggered-By: GH:serhiy-storchaka 08 May 2022, 15:28:06 UTC
8c42fef [3.10] gh-92417: `stdtypes` docs: delete discussion of Python 2 differences (GH-92423) (GH-92473) Given that 2.7 has now been end-of-life for two and a half years, I don't think we need such a detailed explanation here anymore of the differences between Python 2 and Python 3. (cherry picked from commit 8efda1e7c6343b1671d93837bf2c146e4cf77bbf) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Automerge-Triggered-By: GH:serhiy-storchaka 08 May 2022, 15:26:06 UTC
80ce701 gh-92417: `typing` docs: `from __future__ import annotations` can be used in all supported Python versions (GH-92418) (cherry picked from commit e5b4bd4d60aaf0292c5b9d628512145b8987b3c6) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 08 May 2022, 15:04:18 UTC
731d893 [3.10] gh-92448: Update the documentation builder to render the GitHub issue (GH-92449). (GH-92457) 08 May 2022, 13:31:40 UTC
4674b31 [3.10] gh-92112: Fix crash triggered by an evil custom `mro()` (GH-92113) (#92370) (cherry picked from commit 85354ed78c0edb6d81a2bd53cabc85e547b8b26e) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru> 07 May 2022, 04:01:23 UTC
17f3b5c gh-92368: Fix missing possessive apostrophe (GH-92397) * Fix missing possessive apostrophe (cherry picked from commit a79001ee16b3ea8b5d0fad595c969d9e1b7627f3) Co-authored-by: gophra <105054704+gophra@users.noreply.github.com> 06 May 2022, 14:12:59 UTC
229dc17 gh-92047: Py_GetVersion multi-digit minor version (GH-92047) (GH-92048) (#92330) (cherry picked from commit 43b135f94ebf3e6e84ddb0f75ed8510b96a610e4) Co-authored-by: Robert Howlett <robert@howletts.org.uk> Co-authored-by: Robert Howlett <robert@howletts.org.uk> 06 May 2022, 12:47:09 UTC
b5f5993 Add source for character mappings (GH-92014) (#92389) (cherry picked from commit d707d073be5ecacb7ad341a1c1716f4998907d6b) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com> Co-authored-by: slateny <46876382+slateny@users.noreply.github.com> 06 May 2022, 10:58:16 UTC
367faf7 Document the lifetime of `PyUnicode_AsUTF8String` (GH-92325) The current wording implied this, but didn't state it explicitly. (cherry picked from commit 740da8d37a84638f4a8893bee3648f36fc6beb0f) Co-authored-by: Matt Wozniski <godlygeek@gmail.com> 06 May 2022, 09:55:01 UTC
3db0e0b NEWS: Reorder items by section (GH-92373) They caused duplicated sections. (cherry picked from commit 9b491ae04c900579ec82776aacdf71b2fd1e9d6a) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 06 May 2022, 05:15:53 UTC
0eef443 Issues/88027: A potential double free in list_sort_impl (GH-92367) merge_freemem(): set keys to NULL do it's harmless to call this again. (cherry picked from commit 9652900969df77b1ac245595419431df19296af9) Co-authored-by: Tim Peters <tim.peters@gmail.com> 06 May 2022, 04:38:14 UTC
2a2421e [3.10] gh-80254: Disallow recursive usage of cursors in `sqlite3` converters (#92274) * [3.10] gh-80254: Disallow recursive usage of cursors in `sqlite3` converters (#29054) (cherry picked from commit f629dcfe835e349433e4c5099381d668e8fe69c8) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> * Fix ref leak in pysqlite_cursor_iternext 05 May 2022, 19:46:21 UTC
9b47252 [3.10] gh-92118: Add test for traceback when exception is modified by (Async)ExitStack.__exit__ (GH-92339) (GH-92343) 05 May 2022, 17:47:59 UTC
bb2dcf1 gh-92223: Remove pre-Python 3.7 alternative in asyncio docs (GH-92224) (cherry picked from commit d1b2e989be2bc5128d6602e4f370d0ee6f5ac476) Co-authored-by: Sebastian Rittau <srittau@rittau.biz> 05 May 2022, 00:30:54 UTC
178a238 gh-92036: Fix gc_fini_untrack() (GH-92037) Fix a crash in subinterpreters related to the garbage collector. When a subinterpreter is deleted, untrack all objects tracked by its GC. To prevent a crash in deallocator functions expecting objects to be tracked by the GC, leak a strong reference to these objects on purpose, so they are never deleted and their deallocator functions are not called. (cherry picked from commit 14243369b5f80613628a565c224bba7fb3fcacd8) Co-authored-by: Victor Stinner <vstinner@python.org> 04 May 2022, 10:23:29 UTC
28eea73 bpo-47029: Fix BrokenPipeError in multiprocessing.Queue at garbage collection and explicit close (GH-31913) (cherry picked from commit dfb1b9da8a4becaeaed3d9cffcaac41bcaf746f4) Co-authored-by: Géry Ogam <gery.ogam@gmail.com> 04 May 2022, 00:16:21 UTC
31d9a88 [3.10] Improve the typing docs (GH-92264) (#92270) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>. (cherry picked from commit 27e366571590e9e98f61dccf69dbeaa88ee66737) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> 03 May 2022, 22:41:39 UTC
666820c gh-87304: Improve comments in language reference for imports (GH-92164) (cherry picked from commit ee2205b208389611e8a278ac1bc74b34f4994fd2) Co-authored-by: Robert Yang <35813883+robert861212@users.noreply.github.com> 03 May 2022, 22:24:03 UTC
back to top