]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
2 years ago[3.11] gh-107298: Fix some references in the C API documentation (GH-108072) (GH...
Serhiy Storchaka [Thu, 17 Aug 2023 08:30:47 +0000 (11:30 +0300)] 
[3.11] gh-107298: Fix some references in the C API documentation (GH-108072) (GH-108076)

(cherry picked from commit f51f0466c07eabc6177c2f64f70c952dada050e8)

2 years ago[3.11] gh-107298: Add standard exceptions and warnings in the nitpick_ignore list...
Miss Islington (bot) [Thu, 17 Aug 2023 06:54:53 +0000 (23:54 -0700)] 
[3.11] gh-107298: Add standard exceptions and warnings in the nitpick_ignore list (GH-108029) (GH-108071)

(cherry picked from commit c9d83f93d804b80ee14480466ebee63a6f97dac2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 years ago[3.11] GH-92584: Remove reference to Distutils in ``cx_Freeze``'s description (GH...
Adam Turner [Wed, 16 Aug 2023 21:01:27 +0000 (22:01 +0100)] 
[3.11] GH-92584: Remove reference to Distutils in ``cx_Freeze``'s description (GH-108047) (#108061)

Remove reference to Distutils in ``cx_Freeze``'s description.
(cherry picked from commit 57fcf96e4f21b8955b3ae4b4d70e4b756949712f)

2 years ago[3.11] GH-92584: Redirect macOS package installation to the PPUG (GH-108044) (#108059)
Miss Islington (bot) [Wed, 16 Aug 2023 20:50:49 +0000 (13:50 -0700)] 
[3.11] GH-92584: Redirect macOS package installation to the PPUG (GH-108044) (#108059)

GH-92584: Redirect macOS package installation to the PPUG (GH-108044)
(cherry picked from commit 902864256cb261428ae9682ca0ffddd597e1f894)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2 years ago[3.11] gh-107298: Fix C API Buffer documentation (GH-108011) (#108041)
Miss Islington (bot) [Wed, 16 Aug 2023 20:32:17 +0000 (13:32 -0700)] 
[3.11] gh-107298: Fix C API Buffer documentation (GH-108011) (#108041)

gh-107298: Fix C API Buffer documentation (GH-108011)
(cherry picked from commit c2941cba7a986e6158eebb2a0bf33906dcd78616)

Co-authored-by: Victor Stinner <vstinner@python.org>
2 years ago[3.11] Remove Sphinx problem matcher to avoid annotating unchanged files (GH-108005...
Miss Islington (bot) [Wed, 16 Aug 2023 19:02:11 +0000 (12:02 -0700)] 
[3.11] Remove Sphinx problem matcher to avoid annotating unchanged files (GH-108005) (#108050)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2 years ago[3.11] gh-106300: Improve errors testing in test_unittest.test_runner (GH-106737...
Miss Islington (bot) [Wed, 16 Aug 2023 09:59:44 +0000 (02:59 -0700)] 
[3.11] gh-106300: Improve errors testing in test_unittest.test_runner (GH-106737) (GH-108007)

Use a custom exception to prevent unintentional silence of actual errors.
(cherry picked from commit fd9d70a94de5b0756b52b9ae21e236e25545db4f)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2 years ago[3.11] bpo-18319: gettext() can retrieve a message even if a plural form exists ...
Miss Islington (bot) [Wed, 16 Aug 2023 09:15:01 +0000 (02:15 -0700)] 
[3.11] bpo-18319: gettext() can retrieve a message even if a plural form exists (GH-19869) (GH-107107)

(cherry picked from commit 54632528eeba841e4a8cc95ecbd84c9aca8eef57)

Co-authored-by: Gilles Bassière <gbassiere@gmail.com>
2 years ago[3.11] gh-100061: Proper fix of the bug in the matching of possessive quantifiers...
Serhiy Storchaka [Wed, 16 Aug 2023 08:36:36 +0000 (11:36 +0300)] 
[3.11] gh-100061: Proper fix of the bug in the matching of possessive quantifiers (GH-102612) (GH-108004)

Restore the global Input Stream pointer after trying to match a sub-pattern.

Co-authored-by: Ma Lin <animalize@users.noreply.github.com>
(cherry picked from commit abd9cc52d94b8e2835322b62c29f09bb0e6fcfe9)

Co-authored-by: SKO <41810398+uyw4687@users.noreply.github.com>
2 years ago[3.11] gh-107237: Fix test_udp_reconnection() of test_logging (GH-107238) (GH-107243)
Miss Islington (bot) [Wed, 16 Aug 2023 08:34:36 +0000 (01:34 -0700)] 
[3.11] gh-107237: Fix test_udp_reconnection() of test_logging (GH-107238) (GH-107243)

test_logging: Fix test_udp_reconnection() by increasing the timeout
from 100 ms to 5 minutes (LONG_TIMEOUT).

Replace also blocking wait() with wait(LONG_TIMEOUT) in
test_output() to prevent the test to hang.
(cherry picked from commit ed082383272c2c238e364e9cc83229234aee23cc)

Co-authored-by: Victor Stinner <vstinner@python.org>
2 years ago[3.11] gh-91795: Update build optimization part of PCbuild/readme.txt (GH-91849)...
Miss Islington (bot) [Wed, 16 Aug 2023 08:15:38 +0000 (01:15 -0700)] 
[3.11] gh-91795: Update build optimization part of PCbuild/readme.txt (GH-91849) (GH-107777)

(cherry picked from commit 906b73be5eada1995bd667a02c59f7a11998310f)

Co-authored-by: Fatih <77548106+fatihkabakk@users.noreply.github.com>
2 years ago[3.11] gh-100814: Fix exception for invalid callable value of Tkinter image option...
Miss Islington (bot) [Wed, 16 Aug 2023 08:07:02 +0000 (01:07 -0700)] 
[3.11] gh-100814: Fix exception for invalid callable value of Tkinter image option (GH-107692) (GH-107723)

Passing a callable object as an option value to a Tkinter image now raises
the expected TclError instead of an AttributeError.
(cherry picked from commit 50e3cc9748eb2103eb7ed6cc5a74d177df3cfb13)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 years ago[3.11] gh-99203: shutil.make_archive(): restore select CPython <= 3.10.5 behavior...
Serhiy Storchaka [Wed, 16 Aug 2023 07:44:21 +0000 (10:44 +0300)] 
[3.11] gh-99203: shutil.make_archive(): restore select CPython <= 3.10.5 behavior (GH-99802) (GH-107999)

Restore following CPython <= 3.10.5 behavior of shutil.make_archive()
that went away as part of gh-93160:

Do not create an empty archive if root_dir is not a directory, and, in
that case, raise FileNotFoundError or NotADirectoryError regardless
of format choice. Beyond the brought-back behavior, the function may
now also raise these exceptions in dry_run mode.
(cherry picked from commit a86df298df5b02e2d69ea6879e9ed10a7adb85d0)

Co-authored-by: 6t8k <58048945+6t8k@users.noreply.github.com>
2 years ago[3.11] More actionable error message when spawn is incorrectly used. (GH-102203)...
Miss Islington (bot) [Wed, 16 Aug 2023 01:43:28 +0000 (18:43 -0700)] 
[3.11] More actionable error message when spawn is incorrectly used. (GH-102203) (#107991)

More actionable error message when spawn is incorrectly used. (GH-102203)
(cherry picked from commit a794ebeb028f7ef287c780d3890f816db9c21c51)

Co-authored-by: Yuxin Wu <ppwwyyxxc@gmail.com>
Co-authored-by: Yuxin Wu <ppwwyyxx@users.noreply.github.com>
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
2 years ago[3.11] gh-106242: Fix path truncation in os.path.normpath (GH-106816) (#107982)
Steve Dower [Tue, 15 Aug 2023 17:07:52 +0000 (18:07 +0100)] 
[3.11] gh-106242: Fix path truncation in os.path.normpath (GH-106816) (#107982)

Co-authored-by: Finn Womack <flan313@gmail.com>
2 years ago[3.11] gh-107963: Fix set_forkserver_preload to check the type of given list (GH...
Miss Islington (bot) [Tue, 15 Aug 2023 14:53:25 +0000 (07:53 -0700)] 
[3.11] gh-107963: Fix set_forkserver_preload to check the type of given list (GH-107965) (gh-107976)

gh-107963: Fix set_forkserver_preload to check the type of given list (GH-107965)
(cherry picked from commit 6515ec3d3d5acd3d0b99c88794bdec09f0831e5b)

gh-107963: Fix set_forkserver_preload to check the type of given list

Co-authored-by: Dong-hee Na <donghee.na@python.org>
2 years ago[3.11] gh-107877: Update logging levels reference table with usage criteria. (GH...
Miss Islington (bot) [Sun, 13 Aug 2023 13:43:14 +0000 (06:43 -0700)] 
[3.11] gh-107877: Update logging levels reference table with usage criteria. (GH-107894) (GH-107921)

gh-107877: Update logging levels reference table with usage criteria. (GH-107894)
(cherry picked from commit cc2cf85d03cf29994a707aae5cc9a349a4165b84)

2 years ago[3.11] gh-107715: Escape class name in regular expression (GH-107716) (GH-107727)
Miss Islington (bot) [Sat, 12 Aug 2023 11:57:49 +0000 (04:57 -0700)] 
[3.11] gh-107715: Escape class name in regular expression (GH-107716) (GH-107727)

This patch escapes the class name before embedding it in the regular expression
for `pat` in `doctest.DocTestFinder._find_lineno`. While class names do not
ordinarily contain special characters, it is possible to encounter these when a
class is created dynamically. Escaping the name will correctly return `None` in
this scenario, rather than potentially matching a different class or raising
`re.error` depending on the symbols used.
(cherry picked from commit 85793278793708ad6b7132a54ac9fb4b2c5bcac1)

Co-authored-by: Gertjan van Zwieten <git@gjvz.nl>
2 years ago[3.11] gh-106844: Fix issues in _winapi.LCMapStringEx (GH-107832) (GH-107875)
Serhiy Storchaka [Sat, 12 Aug 2023 11:06:56 +0000 (14:06 +0300)] 
[3.11] gh-106844: Fix issues in _winapi.LCMapStringEx (GH-107832) (GH-107875)

* Strings with length from 2**31-1 to 2**32-2 always caused MemoryError,
   it doesn't matter how much memory is available.
* Strings with length exactly 2**32-1 caused OSError.
* Strings longer than 2**32-1 characters were truncated due to integer overflow bug.

Now strings longer than 2**31-1 characters caused OverflowError.
(cherry picked from commit 04cc01453db2f0af72a06440831637f8bf512daf)

2 years ago[3.11] Docs: Document PyBUF_MAX_NDIM (GH-107865) (#107872)
Miss Islington (bot) [Fri, 11 Aug 2023 16:13:53 +0000 (09:13 -0700)] 
[3.11] Docs: Document PyBUF_MAX_NDIM (GH-107865) (#107872)

(cherry picked from commit 637f7ff2c60f262659da0334f1cb672bd361f398)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
2 years ago[3.11] Fix the long64 reader in umarshal.py (GH-107828) (GH-107850)
Miss Islington (bot) [Thu, 10 Aug 2023 21:10:46 +0000 (14:10 -0700)] 
[3.11] Fix the long64 reader in umarshal.py (GH-107828) (GH-107850)

(cherry picked from commit 50bbc56009ae7303d2482f28eb62f2603664b58f)

Co-authored-by: Martin DeMello <martindemello@gmail.com>
2 years ago[3.11] [3.12] GH-106684: Close `asyncio.StreamWriter` when `asyncio.StreamWriter...
Miss Islington (bot) [Thu, 10 Aug 2023 10:44:31 +0000 (03:44 -0700)] 
[3.11] [3.12] GH-106684:  Close `asyncio.StreamWriter` when `asyncio.StreamWriter` is not closed by application (GH-107650) (GH-107656) (#107836)

[3.12] GH-106684:  Close `asyncio.StreamWriter` when `asyncio.StreamWriter` is not closed by application (GH-107650) (GH-107656)

GH-106684: raise `ResourceWarning` when `asyncio.StreamWriter` is not closed (GH-107650)
(cherry picked from commit 41178e41995992bbe417f94bce158de93f9e3188)

(cherry picked from commit 7853c769067699c79c0d4fe4967e9d8f8b8b0a5e)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2 years ago[3.11] gh-107814: Avoid output from Nuget installation in find_python.bat (GH-107815)
Miss Islington (bot) [Wed, 9 Aug 2023 23:15:43 +0000 (16:15 -0700)] 
[3.11] gh-107814: Avoid output from Nuget installation in find_python.bat (GH-107815)

gh-107814: Avoid output from Nuget installation in find_python.bat (GH-107815)
(cherry picked from commit 1e229e2c3d212accbd5fbe3a46cd42f8252b2868)

Co-authored-by: Max Bachmann <kontakt@maxbachmann.de>
2 years ago[3.11] Docs: clean up Argument Clinic howto's (#107797) (#107800)
Erlend E. Aasland [Wed, 9 Aug 2023 07:54:32 +0000 (09:54 +0200)] 
[3.11] Docs: clean up Argument Clinic howto's (#107797) (#107800)

(cherry picked from commit 34cafd35e35dcb44b4347a6478fdbf88b900240c)

- fix formatting in @text_signature howto and NEWS entry

2 years ago[3.11] gh-86457: Add docs for Argument Clinic @text_signature directive (#107747...
Erlend E. Aasland [Wed, 9 Aug 2023 07:25:25 +0000 (09:25 +0200)] 
[3.11] gh-86457: Add docs for Argument Clinic @text_signature directive (#107747) (#107799)

(cherry picked from commit a9aeb99579f24bbce1dd553d605a5a5e2f37a3a2)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2 years ago[3.11] gh-106052: Fix bug in the matching of possessive quantifiers (GH-106515) ...
Serhiy Storchaka [Wed, 9 Aug 2023 06:15:27 +0000 (09:15 +0300)] 
[3.11] gh-106052: Fix bug in the matching of possessive quantifiers (GH-106515) (GH-107795)

It did not work in the case of a subpattern containing backtracking.

Temporary implement possessive quantifiers as equivalent greedy qualifiers
in atomic groups.
(cherry picked from commit 7b6e34e5baeb4162815ffa4d943b09a58e3f6580)

2 years ago[3.11] gh-86457: Fix signature for code.replace() (GH-23199) (GH-107746)
Serhiy Storchaka [Wed, 9 Aug 2023 06:12:02 +0000 (09:12 +0300)] 
[3.11] gh-86457: Fix signature for code.replace() (GH-23199) (GH-107746)

Also add support of @text_signature in Argument Clinic.
(cherry picked from commit 0e6e32fb84b2f7cb668e0b9927637587081e38cd)

2 years ago[3.11] GH-84435: Make pyspecific directives translatable (GH-19470) (#107682)
Miss Islington (bot) [Tue, 8 Aug 2023 10:17:28 +0000 (03:17 -0700)] 
[3.11] GH-84435: Make pyspecific directives translatable (GH-19470) (#107682)

GH-84435: Make pyspecific directives translatable (GH-19470)
(cherry picked from commit ecb05e0b9842ba03b42b4dec8767b1c18a4e28b3)

Co-authored-by: cocoatomo <cocoatomo77@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2 years agoREADME: remove unmaintained sections (GH-107703)
Miss Islington (bot) [Tue, 8 Aug 2023 07:51:43 +0000 (00:51 -0700)] 
README: remove unmaintained sections (GH-107703)

(cherry picked from commit 7a250fdc16bb6f1fe0a6b0df8bb502870405b5d6)

2 years ago[3.11] gh-98154: Clarify Usage of "Reference Count" In the Docs (gh-107753)
Eric Snow [Mon, 7 Aug 2023 22:17:12 +0000 (16:17 -0600)] 
[3.11] gh-98154: Clarify Usage of "Reference Count" In the Docs (gh-107753)

PEP 683 (immortal objects) revealed some ways in which the Python documentation has been unnecessarily coupled to the implementation details of reference counts.  In the end users should focus on reference ownership, including taking references and releasing them, rather than on how many reference counts an object has.

This change updates the documentation to reflect that perspective.

2 years ago[3.11] gh-107735: Add C API tests for PySys_GetObject() and PySys_SetObject() (GH...
Serhiy Storchaka [Mon, 7 Aug 2023 20:51:00 +0000 (23:51 +0300)] 
[3.11] gh-107735: Add C API tests for PySys_GetObject() and PySys_SetObject() (GH-107736) (GH-107741)

(cherry picked from commit bea5f93196d213d6fbf4ba8984caf4c3cd1da882)

2 years ago[3.11] gh-104496: Use correct Tcl or Tk version in Tkinter tests (GH-107688) (GH...
Serhiy Storchaka [Mon, 7 Aug 2023 14:48:43 +0000 (17:48 +0300)] 
[3.11] gh-104496: Use correct Tcl or Tk version in Tkinter tests (GH-107688) (GH-107719)

In future Tcl and Tk versions can be desynchronized.
(cherry picked from commit 3c8e8f3ceeae08fc43d885f5a4c65a3ee4b1a2c8)

2 years ago[3.11] gh-107442: Document all valid types for ctypes `_as_parameter_` (GH-107443...
Tomas R [Mon, 7 Aug 2023 14:42:19 +0000 (16:42 +0200)] 
[3.11] gh-107442: Document all valid types for ctypes `_as_parameter_` (GH-107443) (#107718)

(cherry picked from commit 6925c578a0e3cbb00858e64da813a7ffe79623c4)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
2 years ago[3.11] Docs: Argument Clinic: Move the CConverter class to the reference (GH-107671...
Miss Islington (bot) [Mon, 7 Aug 2023 00:17:41 +0000 (17:17 -0700)] 
[3.11] Docs: Argument Clinic: Move the CConverter class to the reference (GH-107671) (#107702)

(cherry picked from commit a6675b1a597c67be972598ac8562883fabe48099)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
2 years ago[3.11] Improve cross-references in `runpy` docs (GH-107673) (#107699)
Miss Islington (bot) [Sun, 6 Aug 2023 21:20:24 +0000 (14:20 -0700)] 
[3.11] Improve cross-references in `runpy` docs (GH-107673) (#107699)

Improve cross-references in `runpy` docs (GH-107673)

- Add links to `__main__` and `sys.path` where appropriate
- Ensure each paragraph never has more than one link to the same thing, to avoid visual clutter from too many links
(cherry picked from commit 4e242d1ffb2d165443fe2680f7d1fef9fecbcfc0)

Co-authored-by: Kamil Turek <kamil.turek@hotmail.com>
2 years ago[3.11] Do not use deprecated ``logger.warn()`` in pyspecific (GH-107694) (#107696)
Miss Islington (bot) [Sun, 6 Aug 2023 14:06:16 +0000 (07:06 -0700)] 
[3.11] Do not use deprecated ``logger.warn()`` in pyspecific (GH-107694) (#107696)

Do not use deprecated ``logger.warn()`` in pyspecific (GH-107694)
(cherry picked from commit 9564e31cbc95a723f2414537231bc4611b56644f)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2 years ago[3.11] Docs: skip python-docs-theme 2023.7 to fix mobile menu (GH-107666) (#107691)
Miss Islington (bot) [Sun, 6 Aug 2023 11:53:25 +0000 (04:53 -0700)] 
[3.11] Docs: skip python-docs-theme 2023.7 to fix mobile menu (GH-107666) (#107691)

Docs: skip python-docs-theme 2023.7 to fix mobile menu (GH-107666)
(cherry picked from commit 9641c4d8e2bdf9b00dd9f373d4a74dfad000afd1)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2 years ago[3.11] Docs: Argument Clinic: Improve 'How to write a custom converter' (GH-107328...
Miss Islington (bot) [Sat, 5 Aug 2023 20:29:31 +0000 (13:29 -0700)] 
[3.11] Docs: Argument Clinic: Improve 'How to write a custom converter' (GH-107328) (#107670)

- Omit unneccesary wording and sentences
- Don't mention implementation details (no digression, explanation)

(cherry picked from commit 4a5b4221e381c541f3f73537b7b87580d100158b)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2 years ago[3.11] gh-107662: Switch 'any' and 'anext' in functions.rst (GH-107663) (#107665)
Miss Islington (bot) [Sat, 5 Aug 2023 17:25:21 +0000 (10:25 -0700)] 
[3.11] gh-107662: Switch 'any' and 'anext' in functions.rst (GH-107663) (#107665)

gh-107662: Switch 'any' and 'anext' in functions.rst (GH-107663)

Order was reversed in index at top, not in body.
(cherry picked from commit 9ebc6ecbc336d7b17cd158d1a4522f832df3e6e2)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2 years ago[3.11] gh-107432 Fix incorrect indentation in annotations HOWTO (GH-107445) (#107655)
Miss Islington (bot) [Sat, 5 Aug 2023 11:40:44 +0000 (04:40 -0700)] 
[3.11] gh-107432 Fix incorrect indentation in annotations HOWTO (GH-107445) (#107655)

gh-107432 Fix incorrect indentation in annotations HOWTO (GH-107445)

gh-107432 Fix incorrect indentation in annotations document

Body text in https://docs.python.org/3/howto/annotations.html was
indented throughout, and was being rendered in blockquote elements.
(cherry picked from commit 5e2746d6e2fb0da29225ead7135f078c5f087b57)

Co-authored-by: Daniele Procida <daniele@vurt.org>
2 years ago[3.11] Docs: upgrade to python-docs-theme 2023.7 (GH-107617) (#107634)
Hugo van Kemenade [Fri, 4 Aug 2023 21:14:21 +0000 (00:14 +0300)] 
[3.11] Docs: upgrade to python-docs-theme 2023.7 (GH-107617) (#107634)

(cherry picked from commit 19f32b24b2e1680ff9929bb64d681397b259c6fb)

2 years ago[3.11] Docs: Only include Plausible for html, not for epub etc (GH-107637) (#107643)
Miss Islington (bot) [Fri, 4 Aug 2023 19:11:42 +0000 (12:11 -0700)] 
[3.11] Docs: Only include Plausible for html, not for epub etc (GH-107637) (#107643)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2 years ago[3.11] gh-107077: Raise SSLCertVerificationError even if the error is set via SSL_ERR...
Miss Islington (bot) [Thu, 3 Aug 2023 14:09:27 +0000 (07:09 -0700)] 
[3.11] gh-107077: Raise SSLCertVerificationError even if the error is set via SSL_ERROR_SYSCALL (GH-107586) (#107588)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: T. Wouters <thomas@python.org>
2 years ago[3.11] Clarify `Self` interaction with subclasses (GH-107511) (#107549)
Miss Islington (bot) [Tue, 1 Aug 2023 20:31:22 +0000 (13:31 -0700)] 
[3.11] Clarify `Self` interaction with subclasses (GH-107511) (#107549)

Co-authored-by: Alexandru Mărășteanu <alexei@users.noreply.github.com>
2 years ago[3.11] gh-106092: Fix use-after-free crash in frame_dealloc (GH-106875) (#107533)
Miss Islington (bot) [Tue, 1 Aug 2023 10:21:08 +0000 (03:21 -0700)] 
[3.11] gh-106092: Fix use-after-free crash in frame_dealloc (GH-106875) (#107533)

2 years ago[3.11] gh-107507: Replace 'The goals of Argument Clinic' with a summary (GH-107508...
Miss Islington (bot) [Mon, 31 Jul 2023 21:43:16 +0000 (14:43 -0700)] 
[3.11] gh-107507: Replace 'The goals of Argument Clinic' with a summary (GH-107508) (#107517)

Summarise the goals of Argument Clinic in a single sentence.
Mention that Argument Clinic was introduced with PEP-436.
(cherry picked from commit abb71c6a8f73482c910ffdf050a86089a48e0e60)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
2 years ago[3.11] gh-105578: Add more usage examples to `typing.AnyStr` docs (GH-107045) (#107504)
Miss Islington (bot) [Mon, 31 Jul 2023 15:33:07 +0000 (08:33 -0700)] 
[3.11] gh-105578: Add more usage examples to `typing.AnyStr` docs (GH-107045) (#107504)

gh-105578: Add more usage examples to `typing.AnyStr` docs (GH-107045)

``typing.AnyStr`` has different semantics to ``str | bytes``, which often leads to user confusion
(cherry picked from commit f877b32b879f2076bb1c52826af0c28ebf1aaeed)

Co-authored-by: Michael The <michael-the1@users.noreply.github.com>
2 years ago[3.11] gh-105751: Remove obsolete `object` base class in some ctypes tests (GH-107460...
Łukasz Langa [Mon, 31 Jul 2023 14:40:47 +0000 (14:40 +0000)] 
[3.11] gh-105751: Remove obsolete `object` base class in some ctypes tests (GH-107460) (#107502)

(cherry picked from commit 520efecfc3aed34d3a44545c7cd872d1aea8c7dc)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
2 years ago[3.11] gh-106263: Fix segfault in `signaldict_repr` in `_decimal` module (#… (#107490)
Charlie Zhao [Mon, 31 Jul 2023 13:52:23 +0000 (21:52 +0800)] 
[3.11] gh-106263: Fix segfault in `signaldict_repr`  in `_decimal` module (#… (#107490)

Co-authored-by: sunmy2019 <59365878+sunmy2019@users.noreply.github.com>
(cherry picked from commit 3979150a0d406707f6d253d7c15fb32c1e005a77)

2 years ago[3.11] gh-106368: Add test for Argument Clinic misbehaving custom converter_init...
Miss Islington (bot) [Mon, 31 Jul 2023 12:32:18 +0000 (05:32 -0700)] 
[3.11] gh-106368: Add test for Argument Clinic misbehaving custom converter_init() (GH-107496) (#107500)

(cherry picked from commit 2c5d206b33e4cdcafaaaf1eeaa189c10de332dc5)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
2 years ago[3.11] gh-104280: Add test cases for DTrace probes (GH-107125) (#107492)
Łukasz Langa [Mon, 31 Jul 2023 09:40:20 +0000 (09:40 +0000)] 
[3.11] gh-104280: Add test cases for DTrace probes (GH-107125) (#107492)

(cherry picked from commit a1c737b73d3658be0e1d072a340d42e3d96373c6)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
2 years ago[3.11] gh-46376: Return existing pointer when possible in ctypes (GH-107131) (#107488)
Łukasz Langa [Mon, 31 Jul 2023 09:16:59 +0000 (09:16 +0000)] 
[3.11] gh-46376: Return existing pointer when possible in ctypes (GH-107131) (#107488)

(cherry picked from commit 08447b5deb47e2a0df87fa0a0576d300e5c909b4)

Co-authored-by: Konstantin <kpp.live+github@gmail.com>
2 years ago[3.11] gh-105751, test_ctypes: Remove disabled tests (GH-105826) (#107484)
Łukasz Langa [Mon, 31 Jul 2023 08:28:45 +0000 (08:28 +0000)] 
[3.11] gh-105751, test_ctypes: Remove disabled tests (GH-105826) (#107484)

* The following tests were disabled since the initial ctypes commit
  in 2006, commit babddfca758abe34ff12023f63b18d745fae7ca9:

  * Callbacks.test_char_p()
  * DeletePointerTestCase.test_X()
  * NumberTestCase.test_perf()
  * StructureTestCase.test_subclass_creation()
  * Tests.test_X() of test_byteswap

* NumberTestCase.test_bool_from_address() was disabled in 2007 by
  commit 5dc4fe09b7648f9801558e766b21a3d3b2dcad3b.
* Remove check_perf() and run_test() of test_numbers.
(cherry picked from commit 8f10140e74d141a0a894702044e213e6f0690d9c)

Co-authored-by: Victor Stinner <vstinner@python.org>
2 years ago[3.11] gh-99079: add What's New item (GH-107482)
Ned Deily [Mon, 31 Jul 2023 07:25:29 +0000 (03:25 -0400)] 
[3.11] gh-99079: add What's New item (GH-107482)

2 years ago[3.11] gh-99079: Update macOS installer to use OpenSSL 3.0.9. (GH-107476)
Ned Deily [Mon, 31 Jul 2023 06:16:39 +0000 (02:16 -0400)] 
[3.11] gh-99079: Update macOS installer to use OpenSSL 3.0.9. (GH-107476)

2 years ago[3.11] Update macOS installer screens for 3.11.5. (GH-107477)
Ned Deily [Mon, 31 Jul 2023 06:15:27 +0000 (02:15 -0400)] 
[3.11] Update macOS installer screens for 3.11.5. (GH-107477)

2 years ago[3.11] Fix the documentation for PyCode_New add qualname parameter (GH-107186) (...
da-woods [Sun, 30 Jul 2023 08:48:01 +0000 (09:48 +0100)] 
[3.11] Fix the documentation for PyCode_New add qualname parameter (GH-107186) (#107454)

[3.11] Fix the documentation for PyCode_New add `qualname` parameter (GH-107186).
(cherry picked from commit f2abeb590dae5918388f91b60b31f040d44218f0)

2 years ago[3.11] gh-106634: Corrected minor asyncio doc issues (GH-106671) (#106711)
Miss Islington (bot) [Sat, 29 Jul 2023 18:07:49 +0000 (11:07 -0700)] 
[3.11] gh-106634: Corrected minor asyncio doc issues (GH-106671) (#106711)

gh-106634: Corrected minor asyncio doc issues (GH-106671)
(cherry picked from commit 4b4a5b70aa8d47b1e2a0582b741c31b786da762a)

Co-authored-by: Chris Brett <chrisbrett665@gmail.com>
2 years ago[3.11] gh-107422: Remove outdated `TypedDict` example from typing docs (#107436)...
Alex Waygood [Sat, 29 Jul 2023 17:21:45 +0000 (18:21 +0100)] 
[3.11] gh-107422: Remove outdated `TypedDict` example from typing docs (#107436) (#107438)

gh-107422: Remove outdated `TypedDict` example from typing docs (#107436)

Co-authored-by: Rakesh Sabale <102187286+ghubrakesh@users.noreply.github.com>
2 years ago[3.11] gh-101100: Sphinx warnings: pick the low hanging fruits (GH-107386) (GH-107418)
Miss Islington (bot) [Sat, 29 Jul 2023 06:17:20 +0000 (23:17 -0700)] 
[3.11] gh-101100: Sphinx warnings: pick the low hanging fruits (GH-107386) (GH-107418)

(cherry picked from commit f2d07d3289947d10b065b2bb7670c8fb6b6582f2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 years ago[3.11] gh-107091: Fix some uses of :func: role (GH-107378) (GH-107417)
Serhiy Storchaka [Sat, 29 Jul 2023 05:56:26 +0000 (08:56 +0300)] 
[3.11] gh-107091: Fix some uses of :func: role (GH-107378) (GH-107417)

:c:func: or :c:macro: should be used instead.
(cherry picked from commit 413ba8943e2f1d896a0568eb571a041b88589440)

2 years ago[3.11] gh-106881: Check for linux/limits.h before including it (#107397) (#107415)
justdan6 [Fri, 28 Jul 2023 23:36:54 +0000 (17:36 -0600)] 
[3.11] gh-106881: Check for linux/limits.h before including it (#107397) (#107415)

* [3.11] gh-106881: Check for linux/limits.h before including it (#107397)

* Check for linux/limits.h before including it

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
(cherry picked from commit 11c055f5ff1a353de6d2e77f2af24aaa782878ba)

* Fix sphinx-lint error in NEWS entry

2 years ago[3.11] gh-107091: Fix some uses of :const: role (GH-107379) (GH-107385)
Miss Islington (bot) [Fri, 28 Jul 2023 10:36:19 +0000 (03:36 -0700)] 
[3.11] gh-107091: Fix some uses of :const: role (GH-107379) (GH-107385)

It is for references, not for literals.
(cherry picked from commit 0aa58fa7a62cd0ee7ec27fa87122425aeff0467d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 years ago[3.11] gh-107298: Fix yet more Sphinx warnings in the C API doc (GH-107345) (GH-107381)
Serhiy Storchaka [Fri, 28 Jul 2023 08:31:49 +0000 (11:31 +0300)] 
[3.11] gh-107298: Fix yet more Sphinx warnings in the C API doc (GH-107345) (GH-107381)

(cherry picked from commit 983305268e2291b0a7835621b81bf40cba7c27f3)

2 years ago[3.11] gh-107298: Fix more Sphinx warnings in the C API doc (GH-107329) (GH-107377)
Serhiy Storchaka [Fri, 28 Jul 2023 07:03:47 +0000 (10:03 +0300)] 
[3.11] gh-107298: Fix more Sphinx warnings in the C API doc (GH-107329) (GH-107377)

Declare the following functions as macros, since they are actually
macros. It avoids a warning on "TYPE" or "macro" argument.

* PyMem_New()
* PyMem_Resize()
* PyModule_AddIntMacro()
* PyModule_AddStringMacro()
* PyObject_GC_New()
* PyObject_GC_NewVar()
* PyObject_New()
* PyObject_NewVar()

(cherry picked from commit 8d61a71f9c81619e34d4a30b625922ebc83c561b)

Co-authored-by: Victor Stinner <vstinner@python.org>
2 years ago[3.11] gh-107298: Fix Sphinx warnings in the C API doc (GH-107302) (GH-107373)
Serhiy Storchaka [Fri, 28 Jul 2023 06:44:54 +0000 (09:44 +0300)] 
[3.11] gh-107298: Fix Sphinx warnings in the C API doc (GH-107302) (GH-107373)

(cherry picked from commit 391e03fa05b80d17a14ac88d30c974fa2fa00adb)

Co-authored-by: Victor Stinner <vstinner@python.org>
2 years ago[3.11] gh-104432: Use `memcpy()` to avoid misaligned loads (GH-104433) (#107356)
Miss Islington (bot) [Fri, 28 Jul 2023 06:36:45 +0000 (23:36 -0700)] 
[3.11] gh-104432: Use `memcpy()` to avoid misaligned loads (GH-104433) (#107356)

gh-104432: Use `memcpy()` to avoid misaligned loads (GH-104433)

Fix potential unaligned memory access on C APIs involving returned sequences
of `char *` pointers within the :mod:`grp` and :mod:`socket` modules. These
were revealed using a ``-fsaniziter=alignment`` build on ARM macOS.
(cherry picked from commit f01e4cedba1a17d321664834bb255d9d04ad16ce)

Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
2 years ago[3.11] gh-107298: Fix doc references to undocumented modules (GH-107300) (GH-107371)
Serhiy Storchaka [Fri, 28 Jul 2023 06:21:50 +0000 (09:21 +0300)] 
[3.11] gh-107298: Fix doc references to undocumented modules (GH-107300) (GH-107371)

(cherry picked from commit 87b39028e5f453a949a1675526c439f6479a04a8)

Co-authored-by: Victor Stinner <vstinner@python.org>
2 years ago[3.11] gh-106723: forward -Xfrozen_modules option to spawned process interpreters...
Miss Islington (bot) [Fri, 28 Jul 2023 05:50:56 +0000 (22:50 -0700)] 
[3.11] gh-106723: forward -Xfrozen_modules option to spawned process interpreters (GH-106724) (#107368)

gh-106723: forward -Xfrozen_modules option to spawned process interpreters (GH-106724)
(cherry picked from commit 3dcac785810df4d9db50abe90847eaf03bbdaaf4)

Co-authored-by: Felipe A. Hernandez <ergoithz@gmail.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2 years ago[3.11] gh-106368: Argument clinic tests: improve failure message when tests in `Clini...
Miss Islington (bot) [Fri, 28 Jul 2023 00:36:34 +0000 (17:36 -0700)] 
[3.11] gh-106368: Argument clinic tests: improve failure message when tests in `ClinicExternalTests` fail (GH-107364) (#107366)

gh-106368: Argument clinic tests: improve failure message when tests in `ClinicExternalTests` fail (GH-107364)
(cherry picked from commit 76c26eaca4147ba7e3e8d7379c5a828f0b512a46)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2 years ago[3.11] Bump some docs dependencies to resolve a Dependabot security alert (GH-107341...
Miss Islington (bot) [Thu, 27 Jul 2023 12:15:06 +0000 (05:15 -0700)] 
[3.11] Bump some docs dependencies to resolve a Dependabot security alert (GH-107341) (#107343)

Bump some docs dependencies to resolve a Dependabot security alert (GH-107341)
(cherry picked from commit f84d77b4e07aeb6241c1ff9932627d3ba059efa8)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2 years ago[3.11] gh-106996: Rewrite turtle explanation (GH-107244) (#107336)
Miss Islington (bot) [Thu, 27 Jul 2023 08:12:17 +0000 (01:12 -0700)] 
[3.11] gh-106996: Rewrite turtle explanation (GH-107244) (#107336)

Co-authored-by: Daniele Procida <daniele@vurt.org>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2 years ago[3.11] gh-107298: Docs: add targets for some :c:member: and :c:macro: references...
Serhiy Storchaka [Thu, 27 Jul 2023 06:27:02 +0000 (09:27 +0300)] 
[3.11] gh-107298: Docs: add targets for some :c:member: and :c:macro: references (GH-107316) (GH-107333)

Add targets for PyStructSequence_Desc and PyStructSequence_Field members
and macros like Py_EQ.
Fix target for Py_RETURN_RICHCOMPARE.
(cherry picked from commit abec9a1b20b70d8ced401d59fc4f02b331c6568b)

2 years ago[3.11] gh-107091: Fix some uses of :attr: role (GH-107318) (GH-107331)
Serhiy Storchaka [Thu, 27 Jul 2023 06:26:14 +0000 (09:26 +0300)] 
[3.11] gh-107091: Fix some uses of :attr: role (GH-107318) (GH-107331)

Fix also formatting of PyMethodDef members.
(cherry picked from commit d363eb5b0255c055e7b43f5e2c0847f555e1982e)

2 years ago[3.11] Docs: Argument Clinic: Restructure "Basic concepts and usage" (#106981) (...
Erlend E. Aasland [Wed, 26 Jul 2023 23:26:04 +0000 (01:26 +0200)] 
[3.11] Docs: Argument Clinic: Restructure "Basic concepts and usage" (#106981) (#107327)

Split "Basic concepts and usage" into:

- Reference
  - Terminology
  - CLI reference

- Background
  - Basic concepts

(cherry picked from commit 2ad699002e3ce09e9fa41e333ac72f16a32d94de)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2 years ago[3.11] gh-106368: Increase Argument Clinic CLI test coverage (#107277) (#107326)
Erlend E. Aasland [Wed, 26 Jul 2023 23:02:24 +0000 (01:02 +0200)] 
[3.11] gh-106368: Increase Argument Clinic CLI test coverage (#107277) (#107326)

(cherry picked from commit 579100f6d75a27429e7f8de74935d7bc3a3e44e6)

2 years ago[3.11] gh-106368: Increase Argument Clinic CLI test coverage (GH-107156) (#107190)
Miss Islington (bot) [Wed, 26 Jul 2023 22:37:14 +0000 (15:37 -0700)] 
[3.11] gh-106368: Increase Argument Clinic CLI test coverage (GH-107156) (#107190)

Instead of hacking into the Clinic class, use the Argument Clinic tool
to run the ClinicExternalTest test suite.

(cherry picked from commit 83a2837b328c58b243f7d97bec12c64ec66681c5)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2 years ago[3.11] gh-106368: Increase Argument Clinic CLI test coverage (GH-107156) (#107190)
Miss Islington (bot) [Wed, 26 Jul 2023 22:24:09 +0000 (15:24 -0700)] 
[3.11] gh-106368: Increase Argument Clinic CLI test coverage (GH-107156) (#107190)

Instead of hacking into the Clinic class, use the Argument Clinic tool
to run the ClinicExternalTest test suite.

(cherry picked from commit 83a2837b328c58b243f7d97bec12c64ec66681c5)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2 years ago[3.11] Docs: Remove the numbered steps from the Argument Clinic tutorial (#107203...
Erlend E. Aasland [Wed, 26 Jul 2023 21:21:28 +0000 (23:21 +0200)] 
[3.11] Docs: Remove the numbered steps from the Argument Clinic tutorial (#107203) (#107319)

Instead, order the tutorial as one body of prose, making it easier to
align the tutorial according to Diátaxis principles.

(cherry picked from commit 592395577c679543d899e68a3cff538b8b4df80d)

2 years ago[3.11] gh-107091: Fix some uses of :c:type: role (GH-107138) (GH-107313)
Miss Islington (bot) [Wed, 26 Jul 2023 21:00:36 +0000 (14:00 -0700)] 
[3.11] gh-107091: Fix some uses of :c:type: role (GH-107138) (GH-107313)

(cherry picked from commit 6d5b6e71c87fca7c5c26f5dd8f325087962215cc)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 years ago[3.11] Document that `os.link()` is not available on Emscripten (GH-104822) (GH-107309)
Miss Islington (bot) [Wed, 26 Jul 2023 20:00:13 +0000 (13:00 -0700)] 
[3.11] Document that `os.link()` is not available on Emscripten (GH-104822) (GH-107309)

Document that `os.link()` is not available on Emscripten (GH-104822)
(cherry picked from commit 737d1da0746053d515158eac5b115e8bd813f6d3)

Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2 years ago[3.11] gh-107091: Fix some uses of :c:member: role (GH-107129) (GH-107311)
Serhiy Storchaka [Wed, 26 Jul 2023 19:35:16 +0000 (22:35 +0300)] 
[3.11] gh-107091: Fix some uses of :c:member: role (GH-107129) (GH-107311)

(cherry picked from commit af61cb9c7837ff3c11da79e3ee1cab3fdd0ba4da)

2 years ago[3.11] gh-106948: Update documentation nitpick_ignore for c:identifer domain (#107295...
Victor Stinner [Wed, 26 Jul 2023 16:27:08 +0000 (18:27 +0200)] 
[3.11] gh-106948: Update documentation nitpick_ignore for c:identifer domain (#107295) (#107299)

gh-106948: Update documentation nitpick_ignore for c:identifer domain (#107295)

Update the nitpick_ignore of the documentation configuration to fix
Sphinx warnings about standard C types when declaring functions with
the "c:function" markups.

Copy standard C types declared in the "c:type" domain to the
"c:identifier" domain, since "c:function" markup looks for types in
the "c:identifier" domain.

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit b1de3807b832b72dfeb66dd5646159d08d2cc74a)

2 years ago[3.11] gh-106350: Tkinter: do not ignore return value of `mp_init()` (GH-106351)...
Miss Islington (bot) [Wed, 26 Jul 2023 07:58:07 +0000 (00:58 -0700)] 
[3.11] gh-106350: Tkinter: do not ignore return value of `mp_init()` (GH-106351) (GH-107259)

(cherry picked from commit b5ae7c498438657a6ba0bf4cc216b9c2c93a06c7)

Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
2 years ago[3.11] GH-97950: Fix old-style index directive in Doc/library/imp.rst (#107246)
Wei-Hsiang (Matt) Wang [Wed, 26 Jul 2023 05:17:44 +0000 (13:17 +0800)] 
[3.11] GH-97950: Fix old-style index directive in Doc/library/imp.rst (#107246)

Use new-style index directive ('statement') - library/imp

2 years ago[3.11] gh-106939: document ShareableList nul-strip quirk. (GH-107266) (#107270)
Miss Islington (bot) [Tue, 25 Jul 2023 21:18:23 +0000 (14:18 -0700)] 
[3.11] gh-106939: document ShareableList nul-strip quirk. (GH-107266) (#107270)

gh-106939: document ShareableList nul-strip quirk. (GH-107266)

* gh-106939: document ShareableList nul-strip quirk.
* Mention the `int` size constraint.
(cherry picked from commit 70dc00946938027d5a79bcb7b65038319040144e)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
2 years ago[3.11] gh-107226: PyModule_AddObjectRef() should only be in the limited API 3.10...
Miss Islington (bot) [Tue, 25 Jul 2023 20:02:06 +0000 (13:02 -0700)] 
[3.11] gh-107226: PyModule_AddObjectRef() should only be in the limited API 3.10 (GH-107227) (GH-107261)

(cherry picked from commit 698b01513550798886add5e06a1c3f9a89d7dfc6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 years ago[3.11] gh-62519: Make pgettext search plurals when translation is not found (GH-10711...
Miss Islington (bot) [Tue, 25 Jul 2023 18:49:28 +0000 (11:49 -0700)] 
[3.11] gh-62519: Make pgettext search plurals when translation is not found (GH-107118) (GH-107133)

(cherry picked from commit b3c34e55c053846beb35f5e4253ef237b3494bd0)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2 years ago[3.11] Remove superflous whitespaces in `layout.html`. (GH-107251) (#107252)
Miss Islington (bot) [Tue, 25 Jul 2023 16:34:56 +0000 (09:34 -0700)] 
[3.11] Remove superflous whitespaces in `layout.html`. (GH-107251) (#107252)

Remove superflous whitespaces in `layout.html`. (GH-107251)

Remove superflous whitespaces in layout.html.
(cherry picked from commit 313284aa423252ebd5d4e761220e0f4fdeac626d)

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2 years ago[3.11] gh-107237: Fix test_udp_reconnection() of test_logging (#107238) (#107245)
Victor Stinner [Tue, 25 Jul 2023 14:49:32 +0000 (16:49 +0200)] 
[3.11] gh-107237: Fix test_udp_reconnection() of test_logging (#107238) (#107245)

gh-107237: Fix test_udp_reconnection() of test_logging (#107238)

test_logging: Fix test_udp_reconnection() by increasing the timeout
from 100 ms to 5 minutes (LONG_TIMEOUT).

Replace also blocking wait() with wait(LONG_TIMEOUT) in
test_output() to prevent the test to hang.

(cherry picked from commit ed082383272c2c238e364e9cc83229234aee23cc)

2 years ago[3.11] gh-106996: Add a how-to section to the turtle documentation (GH-107153) (...
Miss Islington (bot) [Tue, 25 Jul 2023 12:17:14 +0000 (05:17 -0700)] 
[3.11] gh-106996: Add a how-to section to the turtle documentation (GH-107153) (#107234)

Co-authored-by: Daniele Procida <daniele@vurt.org>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2 years ago[3.11] gh-99612: Fix PyUnicode_DecodeUTF8Stateful() for ASCII-only data (GH-99613...
Serhiy Storchaka [Tue, 25 Jul 2023 11:15:14 +0000 (14:15 +0300)] 
[3.11] gh-99612: Fix PyUnicode_DecodeUTF8Stateful() for ASCII-only data (GH-99613) (GH-107224)

Previously *consumed was not set in this case.
(cherry picked from commit f08e52ccb027f6f703302b8c1a82db9fd3934270)

2 years ago[3.11] gh-106774: Update bundled pip version to 23.2.1 (GH-106775) (gh-107223)
Paul Moore [Tue, 25 Jul 2023 10:38:19 +0000 (11:38 +0100)] 
[3.11] gh-106774: Update bundled pip version to 23.2.1 (GH-106775) (gh-107223)

* Update bundled pip version to 23.2.1.
(cherry picked from commit f443b54a2f14e386a91fe4b09f41a265445008b8)

2 years ago[3.11] gh-107017: Change Chapter Strings to Texts in the Introduction chapter. (GH...
Miss Islington (bot) [Mon, 24 Jul 2023 16:39:43 +0000 (09:39 -0700)] 
[3.11] gh-107017: Change Chapter Strings to Texts in the Introduction chapter. (GH-107104) (#107168)

Co-authored-by: TommyUnreal <45427816+TommyUnreal@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2 years ago[3.11] Docs: Add missing markup to Argument Clinic docs (#106876) (#107182)
Erlend E. Aasland [Mon, 24 Jul 2023 15:45:13 +0000 (17:45 +0200)] 
[3.11] Docs: Add missing markup to Argument Clinic docs (#106876) (#107182)

(cherry picked from commit ff5f94b72c8aad8e45c397c263dbe7f19221735f)

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 years ago[3.11] Fix PyVectorcall_Function doc versionadded (GH-107140) (#107174)
Miss Islington (bot) [Mon, 24 Jul 2023 13:06:46 +0000 (06:06 -0700)] 
[3.11] Fix PyVectorcall_Function doc versionadded (GH-107140) (#107174)

Fix PyVectorcall_Function doc versionadded (GH-107140)

The documentation implies that PyVectorcall_Function() was available in Python 3.8.
This is half-true - it was available under a different name. I think it's clearer to set
the "version added" to 3.9.
(cherry picked from commit 0a9b339363a59be1249189c767ed6f46fd71e1c7)

Co-authored-by: da-woods <dw-git@d-woods.co.uk>
2 years ago[3.11] Docs: Remove duplicate word in Argument Clinic howto heading (GH-107169) ...
Miss Islington (bot) [Mon, 24 Jul 2023 12:06:06 +0000 (05:06 -0700)] 
[3.11] Docs: Remove duplicate word in Argument Clinic howto heading (GH-107169) (#107172)

(cherry picked from commit ebe44a5155e9abc70c4b8914ad26b27c2b84f72b)

Co-authored-by: Hakan Celik <hakancelikdev@gmail.com>
2 years ago[3.11] gh-106948: Docs: Disable links for C standard library functions, OS utility...
Erlend E. Aasland [Sun, 23 Jul 2023 21:49:48 +0000 (23:49 +0200)] 
[3.11] gh-106948: Docs: Disable links for C standard library functions, OS utility functions and system calls (#107062) (#107157)

(cherry picked from commit b447e19e720e6781025432a40eb72b1cc93ac944)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 years ago[3.11] gh-107017: Analolgy to Pascal and C replaced. (GH-107025) (#107123)
Miss Islington (bot) [Sun, 23 Jul 2023 13:59:05 +0000 (06:59 -0700)] 
[3.11] gh-107017: Analolgy to Pascal and C replaced. (GH-107025) (#107123)

Co-authored-by: TommyUnreal <45427816+TommyUnreal@users.noreply.github.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2 years ago[3.11] 🔥 Drop hypothesis job dep @ GHA (#107128)
Sviatoslav Sydorenko [Sun, 23 Jul 2023 13:33:19 +0000 (15:33 +0200)] 
[3.11] 🔥 Drop hypothesis job dep @ GHA (#107128)

This fixes an incorrect conflict resolution problem that happened
in 0cdc3a575d14d710045084a615ef7f2536423727 while backporting
PR #97533 as PR #107115 (merged prematurely). This problem caused
GitHub Actions CI/CD to crash while attempting to load the workflow
file definition, preventing the jobs that are defined in
`.github/workflows/build.yml` from actually starting.