https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
deaf509 Python 3.11.0 24 October 2022, 17:35:39 UTC
981b509 GH-90985: Revert "Deprecate passing a message into cancel()" (GH-97999) Reason: we were too hasty in deprecating this. We shouldn't deprecate it before we have a replacement. (cherry picked from commit 09de8d7aafece264720afbca3052a63eee413b73) Co-authored-by: Guido van Rossum <guido@python.org> 24 October 2022, 16:09:41 UTC
f008392 gh-90908: Document asyncio.Task.cancelling() and asyncio.Task.uncancel() (GH-95253) Co-authored-by: Thomas Grainger <tagrain@gmail.com> (cherry picked from commit f00645d5dbf4cfa0b8f382c8977724578dff191d) Co-authored-by: Łukasz Langa <lukasz@langa.pl> 24 October 2022, 16:09:37 UTC
c184c67 gh-95913: Edit, link and sort 3.11 WhatsNew Build section (GH-98588) (cherry picked from commit e81fad6b8a2334903fac5799b43997623a2ed904) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 24 October 2022, 15:45:46 UTC
cde4cf9 gh-95913: Edit, sort & expand 3.11 WhatsNew Porting section (GH-98585) (cherry picked from commit 43bef54a32feef1eb6a4d63f00f89e2c5a39abd1) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 24 October 2022, 15:45:45 UTC
7cdea80 gh-95913: Edit, xref & sort 3.11 WhatsNew Removed section (GH-98584) (cherry picked from commit 8dbec4dbe57df30ec930c3035f86f8896764bc99) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 24 October 2022, 15:45:44 UTC
c2cb04e gh-95913 Add string section to Whatsnew with new Template methods (GH-98311) (cherry picked from commit e2dc223004a4230a9f820d2ff617770719a42cc6) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 24 October 2022, 15:45:43 UTC
965ce0d gh-95027: Fix regrtest stdout encoding on Windows (GH-98492) On Windows, when the Python test suite is run with the -jN option, the ANSI code page is now used as the encoding for the stdout temporary file, rather than using UTF-8 which can lead to decoding errors. (cherry picked from commit ec1f6f5f139868dc2c1116a7c7c878c38c668d53) Co-authored-by: Victor Stinner <vstinner@python.org> 24 October 2022, 15:45:42 UTC
a1f4e42 gh-90989: Clarify some installer text (GH-97668) 24 October 2022, 15:45:41 UTC
38ade0d gh-97616: list_resize() checks for integer overflow (GH-97617) Fix multiplying a list by an integer (list *= int): detect the integer overflow when the new allocated length is close to the maximum size. Issue reported by Jordan Limor. list_resize() now checks for integer overflow before multiplying the new allocated length by the list item size (sizeof(PyObject*)). (cherry picked from commit a5f092f3c469b674b8d9ccbd4e4377230c9ac7cf) Co-authored-by: Victor Stinner <vstinner@python.org> 24 October 2022, 15:45:40 UTC
9c80b55 gh-97545: Make Semaphore run faster. (GH-97549) (cherry picked from commit 68c46ae68b6e0c36a12e37285fff9ce0782ed01e) Co-authored-by: Cyker Way <cykerway@gmail.com> 24 October 2022, 15:45:39 UTC
56145c6 gh-90155: Fix bug in asyncio.Semaphore and strengthen FIFO guarantee (GH-93222) The main problem was that an unluckily timed task cancellation could cause the semaphore to be stuck. There were also doubts about strict FIFO ordering of tasks allowed to pass. The Semaphore implementation was rewritten to be more similar to Lock. Many tests for edge cases (including cancellation) were added. (cherry picked from commit 24e03796248ab8c7f62d715c28156abe2f1c0d20) Co-authored-by: Cyker Way <cykerway@gmail.com> 24 October 2022, 15:45:38 UTC
67f5d24 gh-96848: Fix -X int_max_str_digits option parsing (GH-96988) Fix command line parsing: reject "-X int_max_str_digits" option with no value (invalid) when the PYTHONINTMAXSTRDIGITS environment variable is set to a valid limit. (cherry picked from commit 41351662bcd21672d8ccfa62fe44d72027e6bcf8) Co-authored-by: Victor Stinner <vstinner@python.org> 22 October 2022, 19:55:26 UTC
9e008fe gh-96821: Fix undefined behaviour in `_testcapimodule.c` (GH-96915) (GH-96927) * gh-96821: Assert for demonstrating undefined behaviour * Fix UB (cherry picked from commit cbdeda8ce7a3543cb3376d70e4cd46fcf24f42a7) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Matthias Görgens <matthias.goergens@gmail.com> 22 October 2022, 19:54:47 UTC
bac61bc gh-95778: Mention sys.set_int_max_str_digits() in error message (GH-96874) When ValueError is raised if an integer is larger than the limit, mention sys.set_int_max_str_digits() in the error message. (cherry picked from commit e841ffc915e82e5ea6e3b473205417d63494808d) Co-authored-by: Victor Stinner <vstinner@python.org> 22 October 2022, 19:54:35 UTC
3ce43a2 gh-96729: Ensure installers built with Tools/msi/buildrelease.bat have matching UUIDs with official releases (GH-96755) (cherry picked from commit 662782e95f97d26bd57b3edc6aaf674e30899f44) Co-authored-by: adang1345 <adang1345@gmail.com> 22 October 2022, 19:54:18 UTC
9cb7324 [3.11] gh-96587: Raise `SyntaxError` for PEP654 on older `feature_version` (GH-96588) (#96591) (cherry picked from commit 2c7d2e8d46164efb6e27a64081d8e949f6876515) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 22 October 2022, 19:53:46 UTC
84fd4a5 [3.11] gh-97897: Prevent os.mkfifo and os.mknod segfaults with macOS 13 SDK (GH-97944) (#97969) The macOS 13 SDK includes support for the `mkfifoat` and `mknodat` system calls. Using the `dir_fd` option with either `os.mkfifo` or `os.mknod` could result in a segfault if cpython is built with the macOS 13 SDK but run on an earlier version of macOS. Prevent this by adding runtime support for detection of these system calls ("weaklinking") as is done for other newer syscalls on macOS. (cherry picked from commit 6d0a0191a4e5477bd843e62c24d7f3bcad4fd5fc) Co-authored-by: Ned Deily <nad@python.org> 22 October 2022, 19:49:42 UTC
1a78891 gh-96865: [Enum] fix Flag to use CONFORM boundary (GH-97528) (cherry picked from commit b44372e03c5461b6ad3d89763a9eb6cb82df07a4) Co-authored-by: Ethan Furman <ethan@stoneleaf.us> 22 October 2022, 19:48:32 UTC
a969af4 Sync What's new for the current 3.11.0rc2+ branch with the 3.11.0 release branch 22 October 2022, 19:45:19 UTC
1f192c3 gh-95913: Copyedit, xref and organize enum section (GH-98295) * Whatsnew: Convert literals in enum section to actual x-references * Whatsnew: Rewrite enum section for clear and consistant phrasing * Whatsnew: Combine directly related enum items instead of seperating them * gh-98250: Describe __str__/__format__ changes more clearly/accurately * Tweak enum section language per feedback from Ethan (cherry picked from commit 73e5180faf37e2d362e13f4ef12955a8b8535d7b) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:44:11 UTC
425bec3 gh-95913: Edit zipfile Whatsnew section & add new APIs (GH-98314) * Link ZipFile in What's New entry discussing it * Add entry for new ZipFile.mkdir method * Add entry for new zipfile.Path.stem/suffix/suffixes methods * Add missing line breaks between zipfile bullet list items (cherry picked from commit ed827d560831b054d262818b1777f7879e8fbd3e) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:39:24 UTC
b0e3eaa gh-95913: Add WhatsNew section for new logging APIs (GH-98320) * Add entry for new logging.getLevelNamesMapping function * Add entry for SysLogHandler.createSocket to whatsnew * Add missing line break between logging bullet list items (cherry picked from commit 251b8ccd2a4354840ed2d3aeb9b643a999ba792f) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:39:05 UTC
f1ca2f6 [3.11] Docs: Fix backtick errors found by sphinx-lint (GH-97998) (#98371) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>. (cherry picked from commit fa2d43e5184f5eaf3391844ec2400342a1b2ead4) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 22 October 2022, 19:38:26 UTC
f8f0386 gh-95913: Copyedit & xref FrameInfo in Whatsnew inspect section (GH-98304) (cherry picked from commit 8f30267ab49e1ef3ac3165a102b2196336547c8a) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:29:11 UTC
a1e59b7 gh-95913: Copyedit, link & format Typing Features section in 3.11 What's New (GH-96097) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> (cherry picked from commit 558768ff22e47582ae95ad7c3f8955407934916e) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:28:00 UTC
98eef50 gh-95913: Prepare remaining Whatsnew sections for editing (#98342) * Add line breaks & ref targets to Whatsnew to prepare for future changes * Use standard heading underbar symbols for H4 sections * Flatten Porting subsection; clarify scope of/link Python->CAPI sections * Move C API pending deprecations to C API section, to match the others 22 October 2022, 19:20:51 UTC
25ebe35 gh-95914: Add links to 3.11 WhatsNew Summary items (GH-98416) Add links to Summary items to where readers can learn more (cherry picked from commit fcae1954a2ad009d23fc4170b40dcfb2d0e1a153) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:20:06 UTC
92dc6ab [3.11] gh-95913: Edit & expand Optimizations in 3.11 WhatsNew (GH-98426) (#98554) gh-95913: Edit & expand Optimizations in 3.11 WhatsNew (GH-98426) (cherry picked from commit f58631be1148ee5436bb71d175d3993e3e6b4e1e) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:19:36 UTC
c954335 [3.11] gh-98331: Update bundled pip to 22.3 (GH-98332) (gh-98400) 22 October 2022, 19:18:22 UTC
715b677 gh-95914: Add What's New item describing PEP 670 changes (GH-98315) (cherry picked from commit aafc53c0a6d1450dcfbc3f994318025ffb49ce73) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:18:03 UTC
fc12762 gh-98414: py.exe launcher does not use defaults for -V:company/ option (GH-98460) (cherry picked from commit 4bd63f66cd4f6e8d549f88ae0f4b0106d522b6bb) Co-authored-by: Steve Dower <steve.dower@python.org> 22 October 2022, 19:15:49 UTC
585c95d [3.11] GH-97752: Clear the previous member of newly-created generator/coroutine frames (GH-97812) (cherry picked from commit 93fcc1f4133e177882850177c2c047d46019b812) 22 October 2022, 19:10:18 UTC
4e0fda5 gh-98360: multiprocessing now spawns children on Windows with correct argv[0] in virtual environments (GH-98462) (cherry picked from commit e48f9b2b7e73f4a89a9b9c287f3b93dc13a60460) Co-authored-by: Steve Dower <steve.dower@python.org> 22 October 2022, 19:10:11 UTC
4c0c1e2 [3.11] gh-97514: Don't use Linux abstract sockets for multiprocessing (GH-98501) (GH-98502) Linux abstract sockets are insecure as they lack any form of filesystem permissions so their use allows anyone on the system to inject code into the process. This removes the default preference for abstract sockets in multiprocessing introduced in Python 3.9+ via https://github.com/python/cpython/pull/18866 while fixing https://github.com/python/cpython/issues/84031. Explicit use of an abstract socket by a user now generates a RuntimeWarning. If we choose to keep this warning, it should be backported to the 3.7 and 3.8 branches. (cherry picked from commit 49f61068f49747164988ffc5a442d2a63874fc17) Co-authored-by: Gregory P. Smith <greg@krypto.org> Automerge-Triggered-By: GH:gpshead 22 October 2022, 19:10:01 UTC
d0ab10f [3.11] GH-97002: Prevent _PyInterpreterFrames from backing more than one PyFrameObject (GH-98002) (cherry picked from commit 21a2d9ff550977f2668e2cf1cc15793bf27fa109) 22 October 2022, 19:09:08 UTC
154b3cd GH-96975: Skip incomplete frames in PyEval_GetFrame (GH-97018) (cherry picked from commit 8fd2c3b75b90c4ee391894aa5094615bbdb6242f) Co-authored-by: Brandt Bucher <brandtbucher@microsoft.com> 22 October 2022, 19:09:00 UTC
886fd39 gh-96706: [doc] Don't recomment deprecated use of get_event_loop() in examples (GH-96707) (cherry picked from commit 53a54b781d1f05f2d0b40ce88b3da92d5d23e9d2) Co-authored-by: zhanpon <pon.zhan@gmail.com> 22 October 2022, 19:06:17 UTC
040bbd2 gh-95778: Fix `sys.set_int_max_str_digits()` parameter name (GH-96798) Discovered in https://github.com/python/typeshed/pull/8733 (cherry picked from commit bf5fd492524f1b630a60c98eff8fe5fa66603b54) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> 22 October 2022, 19:06:16 UTC
3e6f19b Add dataclass field default change to 3.11 what's new (GH-96790) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> (cherry picked from commit 4995f5f9a07921c5b90066a22285a538551b36d8) Co-authored-by: Laurie O <laurie_opperman@hotmail.com> 22 October 2022, 19:06:15 UTC
6cce942 Itertools sieve() recipe (GH-96813) (GH-96814) 22 October 2022, 19:06:14 UTC
99f5568 gh-96702: Order methods before attrs in sqlite3.Connection docs (GH-96703) (#96788) (cherry picked from commit 49cceeb5c998a51bb12b7dbde17b53647bb52113) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 22 October 2022, 19:06:13 UTC
746dad4 gh-96810: Clarify for which statements sqlite3 implicitly opens transactions (GH-96832) (cherry picked from commit 16c33a9676e2f3ef330d09f2ab515c56636fa09f) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 22 October 2022, 19:06:12 UTC
a955ccc Clarify that the expression is regular math notation, not Python. (GH-96903) (GH-96908) 22 October 2022, 19:06:11 UTC
122a07c Simplify sieve() recipe. Add edge case tests. (GH-96892) (cherry picked from commit 78359b1d45608439f8e03b8e86174fe7b04d3e08) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 22 October 2022, 19:06:10 UTC
1c345fa GH-96851: Add link to FAQ entry for caching method calls. (GH-96902) (cherry picked from commit bbc24b2bd569108b957ed24c5a95ffeaf8cde0db) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> 22 October 2022, 19:06:09 UTC
365f9b7 gh-95913: Fix and copyedit New Features section of 3.11 What's New (GH-95915) (cherry picked from commit 8ee27e33182e6d9040e79f6ccc9219afa049d40e) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:06:08 UTC
837c120 gh-95913: Copyedit, link & format Typing Features section in 3.11 What's New (GH-96097) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> (cherry picked from commit 558768ff22e47582ae95ad7c3f8955407934916e) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:06:07 UTC
2a1e9b0 gh-96917: link to typing.readthedocs.io from typing.rst (GH-96921) See the discussion at https://github.com/python/cpython/issues/91533 (cherry picked from commit 5b3a2569f4b4dfb58a8f90a241f9dac1a7ea4bf6) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> 22 October 2022, 19:06:06 UTC
6464096 [3.11] gh-96727: Document restrictions on Handler.emit() with respect to locking. (GH-96948) (GH-96950) (cherry picked from commit 6ad47b41a650a13b4a9214309c10239726331eb8) 22 October 2022, 19:06:05 UTC
a592f84 gh-81039: Add small example of f-string's "=}" to tutorial (gh-92291) (gh-96989) (cherry picked from commit 4b81139aac3fa11779f6eedb6e621bde29e64b30) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> 22 October 2022, 19:06:04 UTC
50c0a22 gh-96397: Document that keywords in calls need not be identifiers (GH-96393) This represents the official SC stance, see https://github.com/python/steering-council/issues/142GH-issuecomment-1252172695 (cherry picked from commit 9d432b4a181cd42017699de4354e7b36c5b87d88) Co-authored-by: Jeff Allen <ja.py@farowl.co.uk> 22 October 2022, 19:06:03 UTC
c10f8c8 gh-75608: Add Windows FAQ entry for missing UCRT (GH-92765) (cherry picked from commit 80bc7d7c0a3f777da244ec79429baf382523b8da) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> 22 October 2022, 19:06:02 UTC
00e8a27 gh-77171: Document that wave only supports simple PCM files (GH-97510) 22 October 2022, 19:06:02 UTC
1281d35 gh-82530: Create blank function instead of invalid import for email example (GH-97529) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 2b428a1faed88f148ede131e3b86ab6227c6c3f0) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> 22 October 2022, 19:06:01 UTC
e65e6de GH-65046: Fix docs about logging in `asyncio` (GH-97559) Explain that logging should not use network I/O. (cherry picked from commit d68c37c0d08542a346a13b150a204208bb0408f5) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 22 October 2022, 19:06:00 UTC
50da78a gh-96959: Update more HTTP links (GH-97536) Use HTTPS for documents which are available by both HTTP and HTTPS links, but there is no redirection from HTTP to HTTPS or vice versa. (cherry picked from commit dd53b79de0ea98af6a11481217a961daef4e9774) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 22 October 2022, 19:05:59 UTC
2b0b017 gh-96377: Update asyncio policy doc intro paras to be clear and accurate (GH-97603) Also fix up some cross-references in the asyncio docs. (cherry picked from commit cc0f3a10f0ee507d9044ef9036cf3e711c5338a9) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:05:58 UTC
8de3533 [3.11] gh-65046: Add note about logging from async code. (GH-97602) (GH-97608) 22 October 2022, 19:05:57 UTC
edc3356 Fix docs on conditional expression grouping (GH-96447) (GH-97606) 22 October 2022, 19:05:56 UTC
f0cbc6c fixup policy docs (GH-97618) (cherry picked from commit 9a404b173e57ce171a867cfc3776cdf88d6c553f) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 22 October 2022, 19:05:55 UTC
68b7a6a gh-52597: Add position-only markers for os functions (GH-94735) (cherry picked from commit c759944f16ed9887a77d5ebd738f17f3892c2476) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> 22 October 2022, 19:05:54 UTC
807d14b closes gh-97650: correct sphinx executable (gh-97651) (cherry picked from commit 0179a82caa05a322d1dbab05155be6f919c281ff) Co-authored-by: NoSuck <NoSuck@users.noreply.github.com> 22 October 2022, 19:05:53 UTC
f20ad5e gh-96397: Document that attributes need not be identifiers (GH-96454) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit 9a11ed8e50492d327e4de0a8f3a473e788b14a6f) Co-authored-by: Jeff Allen <ja.py@farowl.co.uk> 22 October 2022, 19:05:52 UTC
815ad02 [3.11] Use SyntaxError invalid range in tutorial introduction example (GH-93031) (GH-97666) Use SyntaxError invalid range in tutorial introduction example (GH-93031) Use output from a 3.10+ REPL, showing invalid range, for the SyntaxError examples in the tutorial introduction page. Co-authored-by: Eddie Hebert <eddie@eddiehebert.com> 22 October 2022, 19:05:51 UTC
c12c993 gh-87597: Document TimeoutExpired.stdout & .stderr types (GH-97685) This documents the behavior that has always been the case since timeout support was introduced in Python 3.3. (cherry picked from commit b05dd796492160c37c9e15e3882f699f411b3461) Co-authored-by: Gregory P. Smith <greg@krypto.org> 22 October 2022, 19:05:50 UTC
b8afd5f Fix capitalization of Unix in documentation (GH-96913) (cherry picked from commit bd7d0e875e6955dd69cde18a034e59a75b8b4d00) Co-authored-by: Will Hawkins <8715530+hawkinsw@users.noreply.github.com> 22 October 2022, 19:05:49 UTC
d79a412 gh-95975: Move except/*/finally ref labels to more precise locations (GH-95976) * gh-95975: Move except/*/finally ref labels to more precise locations * Add section headers to fix :keyword: role and aid navigation * Move see also to the introduction rather than a particular subsection * Fix other minor Sphinx syntax issues with except Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> * Suppress redundant link to same section for except too * Don't link try/except/else/finally keywords if in the same section * Format try/except/finally as keywords in modified sections Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit dcc82331c8f05a6a149ac15c519d4fbae72692b2) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:05:48 UTC
eb5cdf6 gh-97607: Fix content parsing in the impl-detail reST directive (GH-97652) * Don't parse content as arg in the impl-detail directive This does not change the (untranslated) output, but ensures that the doctree node metadata is correct. which fixes gh-97607 with the text not being translated. It also simplifies the code and logic and makes it consistant with the docutils built-in directives. * Remove unused branch from impl-detail directive handling no-content case This is not used anywhere in the docs and lacks a clear use case, and is more likely a mistake which is now flagged at build time. This simplifies the logic from two code paths to one, and makes the behavior consistant with similar built-in directives (e.g. the various admonition types). * Further simplify impl-detail reST directive code (cherry picked from commit e8165d47b852e933c176209ddc0b5836a9b0d5f4) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:05:47 UTC
1067baf [3.11] [docs] Update logging cookbook with recipe for using a logger like an output… (GH-97730) (GH-97735) 22 October 2022, 19:05:46 UTC
c8bdf33 GH-85447: Clarify docs about awaiting future multiple times (GH-97738) (cherry picked from commit 9151bbefea3fb932eb6aa6ddb22d64b83f8149c7) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 22 October 2022, 19:05:45 UTC
10818aa gh-97740: Fix bang in Sphinx C domain ref target syntax (GH-97741) * gh-97740: Fix bang in Sphinx C domain ref target syntax Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> * Add NEWS entry for C domain bang fix Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> (cherry picked from commit 9148c0d893c7807331fd7be0997261e289074bc5) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:05:44 UTC
5e99363 gh-95913: Copyedit/improve New Modules What's New section (GH-97721) * Link TOML & WSGI in New Modules section, refine text & add ref label * Further reformat new modules & add PEP link to tomllib (cherry picked from commit bd00112a99af44c6ef82ee45b4072ec3bbc82fef) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:05:43 UTC
1729bec gh-95913: Fix PEP number in PEP 678 What's New ref label (GH-97739) What's New: Fix PEP number in PEP 678 ref target label (cherry picked from commit e738b5190bfa63086b5e8169189e9b05302873c8) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:05:42 UTC
ce01c59 Fix typo in unittest docs (GH-97742) (cherry picked from commit e6f9ec5c031bd996fcd5f463c407beef0b743b49) Co-authored-by: annonm <annonm@gmail.com> 22 October 2022, 19:05:41 UTC
208701e multiprocessing docs: Remove extra option ELLIPSIS from section with code (GH-96625) (cherry picked from commit d78aa4e11a80653588229cc97119afae693d1c06) Co-authored-by: Ivan Kapeykin <5349983@gmail.com> 22 October 2022, 19:05:40 UTC
4f254f6 Minor grammar changes to http.client docs (GH-96221) Minor grammar changes (cherry picked from commit d053c47bfde1b3d8779546b980849708662f2660) Co-authored-by: Rohan Shah <57906961+rshah713@users.noreply.github.com> 22 October 2022, 19:05:39 UTC
fb0d931 Update http.client.rst (GH-24803) * Update http.client.rst * Apply suggestions from code review Co-authored-by: Éric <merwok@netwok.org> * Update http.client.rst Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Senthil Kumaran <senthil@python.org> (cherry picked from commit 0c91a125116b21e91d0d1cca457da830348f0806) Co-authored-by: Géry Ogam <gery.ogam@gmail.com> 22 October 2022, 19:05:38 UTC
d21bef5 gh-93738: Documentation C syntax (:c:data:`0` -> ``0``) (GH-97771) :c:data:`0` -> ``0`` (cherry picked from commit 5e997cff3e1dea24241726338457611beb8882ec) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 22 October 2022, 19:05:37 UTC
4dda0c8 gh-97709: Included newline separator in Mandelbrot set (GH-97737) Included newline separator in Mandelbrot set Now the Mandelbrot set one-liner example on separates the lines with a '\n' character. (cherry picked from commit 49802605f8e47c5c7ddc8a6cecdf4afe44765586) Co-authored-by: matheusja <matheusjahnke@hotmail.com> 22 October 2022, 19:05:36 UTC
746fb3c Adjust stable ABI internal documentation (GH-96896) I was perusing this file, and noticed that this part of the documentation is slightly out of date: the `struct` items in this TOML file currently contain `struct_abi_kind` members, which distinguish between the different types of ABI compatibility described in the comment. I've updated the comment to reflect this. (cherry picked from commit 6e533088290b909df324615df24286489603989f) Co-authored-by: William Woodruff <william@yossarian.net> 22 October 2022, 19:05:35 UTC
e232e49 gh-97754: Update doc for default location of per-user installs on Windows (GH-97756) (cherry picked from commit a120b9f25d037a1c794df731f8cc6a2898a9165e) Co-authored-by: Ben Faulhaber <111227622+faulhaberben@users.noreply.github.com> 22 October 2022, 19:05:35 UTC
c6bf822 GH-82604: fix docs about configuring selector (GH-97755) (cherry picked from commit 53503ff60e9a4727af0d9a1096418675e72a0fae) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 22 October 2022, 19:05:34 UTC
9d49bd4 GH-95913: Update what's new in 3.11 for asyncio (GH-97806) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 9fbfa42ece3e0256657ce2594c7c3eb8b3ac8ff3) Co-authored-by: Guido van Rossum <guido@python.org> 22 October 2022, 19:05:33 UTC
7ddd0d3 gh-90301: Doc: Add references to PEP 686 (GH-96816) Doc: Add references to PEP 686. (cherry picked from commit 87679a6e607eec1134d77222a3a92d0d11f768ad) Co-authored-by: Inada Naoki <songofacandy@gmail.com> 22 October 2022, 19:05:32 UTC
ed772a8 [3.11] gh-96448: fix documentation for _thread.lock.acquire (GH-96449) (#97851) gh-96448: fix documentation for _thread.lock.acquire (GH-96449) * fix documentation for _thread.lock.acquire * update formatting of _thread.lock.acquire() doc (cherry picked from commit 7acb93f0d44c6fb971fdb09b86f68896e3b1e2f8) Co-authored-by: Daniel Giger <danielg3432@gmail.com> Co-authored-by: Daniel Giger <danielg3432@gmail.com> 22 October 2022, 19:05:31 UTC
95f7ed8 [3.11] gh-88355: Fix backslashes in AF_PIPE (GH-96543) (#97854) gh-88355: Fix backslashes in AF_PIPE (GH-96543) Fix backslashes in AF_PIPE (GH-88355) The correct syntax for AF_PIPE addresses is `\\.\pipe\blahblah`, not `\.\pipe{blahblah}`, but the syntax markup messed up the backslashes. (cherry picked from commit ff28d8926de92d809e3b7f71d3e44672178ed11e) Co-authored-by: cousteau <cousteaulecommandant@users.noreply.github.com> Co-authored-by: cousteau <cousteaulecommandant@users.noreply.github.com> 22 October 2022, 19:05:30 UTC
028e7d4 gh-95913: Move py.exe to appropriate What's New section & refine text (GH-97718) * Move Windows py.exe improvements from Typing section to New Features * Add ref target label and use literal for py.exe * Be clearer/explict about what legacy version arg components reprisent * Apply other minor clarity and textual fixes to py.exe launcher text * Refine phrasing of legacy sentence of py.exe desc Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 985958187d578cfa311e404588950b29fda95db7) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:05:29 UTC
52709b2 gh-95913: Copyedit/improve Other Language Changes What's New section (GH-97719) * Add/refine cross references to items in other lang changes section * Unify context manager exception changes into single non-repetitive item * More clearly describe the intent and consequences of the -P option * Apply minor clarifications & copyedits to rest of section * Tweak the formatting of module references Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit a77d9dedcd0d52c2663e9de4417dec9d1c5199f4) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:05:28 UTC
232a402 [3.11] gh-93738: Documentation C syntax (:c:type:`Py_UNICODE*` -> :c:expr:`Py_UNICODE*`) (GH-97784) (#97857) :c:type:`Py_UNICODE*` -> :c:expr:`Py_UNICODE*` (cherry picked from commit a081cae2a2cd1248ad067c3f7dc218ea7e3d203a) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 22 October 2022, 19:05:27 UTC
264b615 [3.11] gh-93738: Documentation C syntax (:c:type:`PyUnicodeObject*` -> :c:expr:`PyUnicodeObject*`) (GH-97783) (#97859) :c:type:`PyUnicodeObject*` -> :c:expr:`PyUnicodeObject*` (cherry picked from commit 898834e27b82bd1f3532b6448a862a7a9cdeff66) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 22 October 2022, 19:05:26 UTC
0679066 [3.11] gh-93738: Documentation C syntax (:c:type:`PyBytesObject*` -> :c:expr:`PyBytesObject*`) (GH-97782) (#97861) :c:type:`PyBytesObject*` -> :c:expr:`PyBytesObject*` (cherry picked from commit 9ebc50866b58a0ee2985c6540a67fee8a4a49e4d) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 22 October 2022, 19:05:25 UTC
ab665d9 [3.11] gh-93738: Documentation C syntax (:c:type:`PyTupleObject*` -> :c:expr:`PyTupleObject*`) (GH-97780) (#97863) :c:type:`PyTupleObject*` -> :c:expr:`PyTupleObject*` (cherry picked from commit 510baa429affb832d7b4ed68182e59daa2815d2e) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 22 October 2022, 19:05:24 UTC
9b73bd4 [3.11] gh-93738: Documentation C syntax (:c:type:`FILE` -> :c:expr:`FILE`) (GH-97769) (#97871) :c:type:`FILE` -> :c:expr:`FILE` (cherry picked from commit 192d401ba53224020f5f9ca6e1ff2c9f89511ac4) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 22 October 2022, 19:05:23 UTC
56aaff4 [3.11] gh-93738: Documentation C syntax (:c:type:`TYPE` -> :c:expr:`TYPE`) (GH-97770) (#97874) :c:type:`TYPE` -> :c:expr:`TYPE` (cherry picked from commit 8b211b4cdbcddecfcc4d1682864795b5f1438c59) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 22 October 2022, 19:05:22 UTC
aa7893b [3.11] gh-93738: Documentation C syntax (:c:type:`PyInterpreterState *` -> :c:expr:`PyInterpreterState *`) (GH-97777) (#97865) :c:type:`PyInterpreterState *` -> :c:expr:`PyInterpreterState *` (cherry picked from commit 4ebb0250314b57637d213cd5bc5f5ce5dd911d94) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 22 October 2022, 19:05:21 UTC
5137002 [3.11] gh-93738: Documentation C syntax (:c:data:`view->obj` -> :c:expr:`view->obj`) (GH-97773) (#97867) :c:data:`view->obj` -> :c:expr:`view->obj` (cherry picked from commit fa59bda8d30ea0b6c19007205b57c800c944304c) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 22 October 2022, 19:05:20 UTC
65b2591 gh-95913: Copyedit/improve Implementation Changes What's New section (GH-97720) * Add and refine reST/Sphinx syntax for implementation changes section * Clarify and refine wording in the Implementation Changes section * Elide unnecessary comma Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 4e731814d781dae3419e981c0acc3ef833e26e8a) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 22 October 2022, 19:05:19 UTC
12bd7e9 Add re.VERBOSE flag documentation example (GH-97678) The current re.VERBOSE documentation example leaves space for ambiguous interpretation. One may read that spaces within the `(?:` token are spaces inside the non-capturing group (such as `(?: )`). This patch removes the ambiguity by including examples after the statement. (cherry picked from commit 0ceafa7fa408b64377ea31dd5386152da19ef38a) Co-authored-by: Athos Ribeiro <athoscribeiro@gmail.com> 22 October 2022, 19:05:18 UTC
5f43097 gh-97661: Improve accuracy of sqlite3.Cursor.fetchone docs (GH-97662) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit 4b83cd0b22428fbfccf1f0e85c0fc36be6ab7edf) Co-authored-by: Jia Junjie <62194633+jiajunjie@users.noreply.github.com> 22 October 2022, 19:05:17 UTC
back to top