]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
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.

2 years ago[3.11] Introduce a gate/check GHA job (GH-97533) (#107115)
Sviatoslav Sydorenko [Sun, 23 Jul 2023 12:58:41 +0000 (14:58 +0200)] 
[3.11] Introduce a gate/check GHA job (GH-97533) (#107115)

(cherry picked from commit e7cd557)

2 years ago[3.11] gh-106186: Don't report MultipartInvariantViolationDefect for valid multipart...
Miss Islington (bot) [Sun, 23 Jul 2023 12:28:35 +0000 (05:28 -0700)] 
[3.11] gh-106186: Don't report MultipartInvariantViolationDefect for valid multipart emails when parsing header only (GH-107016) (#107112)

(cherry picked from commit c65592c4d6d7552fb6284442906a96a6874cb266)

Co-authored-by: htsedebenham <31847376+htsedebenham@users.noreply.github.com>
2 years ago[3.11] gh-107091: Fix the use of some C domain roles (GH-107092) (GH-107121)
Serhiy Storchaka [Sun, 23 Jul 2023 12:06:32 +0000 (15:06 +0300)] 
[3.11] gh-107091: Fix the use of some C domain roles (GH-107092) (GH-107121)

(cherry picked from commit 08a228da05a7aec937b65eea21f4091fa3c6b5cf)

2 years ago[3.11] gh-101100: Fix some broken sphinx references (GH-107095). (#107120)
wulmer [Sun, 23 Jul 2023 11:56:09 +0000 (13:56 +0200)] 
[3.11] gh-101100: Fix some broken sphinx references (GH-107095). (#107120)

2 years ago[3.11] gh-106969: Indicate no modules were added in 3.10 (GH-106988) (#107093)
Moritz Neeb [Sun, 23 Jul 2023 10:26:12 +0000 (12:26 +0200)] 
[3.11] gh-106969: Indicate no modules were added in 3.10 (GH-106988) (#107093)

[3.11] gh-106969: Indicate no modules were added in 3.10 & 3.12 (GH-106988)

The "New Modules" section was left in place to ensure that the anchor
link for new modules will still exist:

/whatsnew/3.12.htmlGH-new-modules
/whatsnew/3.10.htmlGH-new-modules

This means that existing links to this section don't break..
(cherry picked from commit 6dbffaed17d59079d6a2788d686009f762a3278f)

Co-authored-by: Sebastiaan Zeeff <33516116+SebastiaanZ@users.noreply.github.com>
2 years ago[3.11] gh-106996: Add the basics of a turtle graphics tutorial (GH-107072) (#107110)
Daniele Procida [Sun, 23 Jul 2023 10:25:23 +0000 (12:25 +0200)] 
[3.11] gh-106996: Add the basics of a turtle graphics tutorial (GH-107072) (#107110)

2 years ago[3.11] Convert `doc.yml` workflow to be reusable (GH-103914 + GH-105151) (#107043)
Sviatoslav Sydorenko [Sun, 23 Jul 2023 09:34:56 +0000 (11:34 +0200)] 
[3.11] Convert `doc.yml` workflow to be reusable (GH-103914 + GH-105151) (#107043)

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>.
(cherry picked from commit 88d14da76f579fe014cbd7c15e42be4234135fe9)
(cherry picked from commit eaa670228066220f08c8d73f80365c50058d40b8)

2 years ago[3.11] gh-75371: reformat Makefile.pre.in to accommodate for empty FRAMEWORKALTINSTAL...
Łukasz Langa [Sun, 23 Jul 2023 09:29:13 +0000 (09:29 +0000)] 
[3.11] gh-75371: reformat Makefile.pre.in to accommodate for empty FRAMEWORKALTINSTALLLAST (GH-107035) (#107050)

in the case of an empty FRAMEWORKALTINSTALLLAST, this patch prevents leaving
an astray linebreak and two tabs in the resulting Makefile.

Before change:
```
.PHONY: commoninstall
commoninstall:  check-clean-src  \
altbininstall libinstall inclinstall libainstall \
sharedinstall altmaninstall \

```

After change (with empty FRAMEWORKALTINSTALLLAST):
```
.PHONY: commoninstall
commoninstall:  check-clean-src  \
altbininstall libinstall inclinstall libainstall \
sharedinstall altmaninstall
```
(cherry picked from commit 9c38206925246ab919cf558ac069ae9458720ba7)

Co-authored-by: Moritz Neeb <nt4u@kpvn.de>
2 years ago[3.11] gh-106948: Add standard external names to nitpick_ignore (GH-106949) (#107061)
Serhiy Storchaka [Sun, 23 Jul 2023 09:24:37 +0000 (12:24 +0300)] 
[3.11] gh-106948: Add standard external names to nitpick_ignore (GH-106949) (#107061)

It includes standard C types, macros and variables like "size_t",
"LONG_MAX" and "errno", and standard environment variables like "PATH"..
(cherry picked from commit f8b7fe2f2647813ae8249675a80e59c117d30fe1)

2 years ago[3.11] gh-54738: Add argparse i18n howto (GH-104562) (#107101)
Miss Islington (bot) [Sun, 23 Jul 2023 09:23:51 +0000 (02:23 -0700)] 
[3.11] gh-54738: Add argparse i18n howto (GH-104562) (#107101)

(cherry picked from commit dcd7acb04a719d8d30c8d03b80d3d48b6c035e14)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
2 years ago[3.11] gh-71261: Add paragraph on shadowing submodules with star imports (GH-107004...
Miss Islington (bot) [Sun, 23 Jul 2023 09:12:52 +0000 (02:12 -0700)] 
[3.11] gh-71261: Add paragraph on shadowing submodules with star imports (GH-107004) (#107099)

Co-authored-by: wulmer <wulmer@users.noreply.github.com>
2 years ago[3.11] gh-107017: removed mention that C does it the same way (GH-107020) (#107098)
Miss Islington (bot) [Sun, 23 Jul 2023 09:11:35 +0000 (02:11 -0700)] 
[3.11] gh-107017: removed mention that C does it the same way (GH-107020) (#107098)

Co-authored-by: Jakub Červinka <cervinka.jakub.1989@gmail.com>
2 years ago[3.11] gh-107028: tiny textual changes in logging docs and docstrings (GH-107029...
Miss Islington (bot) [Sat, 22 Jul 2023 21:12:06 +0000 (14:12 -0700)] 
[3.11] gh-107028: tiny textual changes in logging docs and docstrings (GH-107029) (GH-107066)

(cherry picked from commit 5e5a34ac3a827e040cd89426b1774fec2123336a)

2 years ago[3.11] gh-83006: Document behavior of `shutil.disk_usage` for non-mounted filesystems...
Miss Islington (bot) [Sat, 22 Jul 2023 18:25:15 +0000 (11:25 -0700)] 
[3.11] gh-83006: Document behavior of `shutil.disk_usage` for non-mounted filesystems on Unix (GH-107031) (#107048)

(cherry picked from commit 6e5f2235f3754307292c7d8d3698958136b5e311)

Co-authored-by: Matthieu Caneill <matthieucan@users.noreply.github.com>
2 years ago[3.11] gh-107008: Document the curses module variables LINES and COLS (GH-107011...
Miss Islington (bot) [Sat, 22 Jul 2023 18:13:38 +0000 (11:13 -0700)] 
[3.11] gh-107008: Document the curses module variables LINES and COLS (GH-107011) (GH-107058)

LINES and COLS referred in curses.update_lines_cols() documentations are
the module variables, not the environment variables.
(cherry picked from commit 26e08dfdd7ac1b3d567d30cd35e4898121580390)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 years ago[3.11] gh-106970: Fix Argument Clinic 'destination <name> clear' command (#106972...
Erlend E. Aasland [Sat, 22 Jul 2023 17:44:11 +0000 (19:44 +0200)] 
[3.11] gh-106970: Fix Argument Clinic 'destination <name> clear' command (#106972) (#107059)

Add test for the 'destination <name> clear' command,
and the 'destination' directive in general.

Fix two bugs in 'destination <name> clear' command:

1. The text attribute of the allocator is called 'text', not '_text'
2. Return after processing the 'clear' command,
   instead of proceeding directly to the fail().

(cherry picked from commit 3372bcba9893030e4063a9264ec0b4d1b6166883)

2 years ago[3.11] Fix Sphinx warnings in `re` module docs (GH-107044). (#107055)
wulmer [Sat, 22 Jul 2023 16:39:46 +0000 (18:39 +0200)] 
[3.11] Fix Sphinx warnings in `re` module docs (GH-107044). (#107055)

(cherry picked from commit 149748ea4f552e6fe43a1d6d69bd65910a7c4813)

2 years agogh-106847: Add -X warn_default_encoding in sys.flags Doc (GH-106854)
Miss Islington (bot) [Sat, 22 Jul 2023 16:23:31 +0000 (09:23 -0700)] 
gh-106847: Add -X warn_default_encoding in sys.flags Doc (GH-106854)

gh-106847: Add -X warn_default_encoding in sys.flags Doc (GH-106854)
(cherry picked from commit fd84ac0ee0a8d5e34e0a106eed7e50539b61c5f8)

Co-authored-by: qqwqqw689 <114795525+qqwqqw689@users.noreply.github.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2 years ago[3.11] gh-105090: Replace incorrect TLSv1.2 with TLSv1.3 (GH-105404) (#107038)
Miss Islington (bot) [Sat, 22 Jul 2023 14:29:54 +0000 (07:29 -0700)] 
[3.11] gh-105090: Replace incorrect TLSv1.2 with TLSv1.3 (GH-105404) (#107038)

Co-authored-by: Jocelyn Castellano <admin@malwarefight.gq>
2 years ago[3.11] Reformat code block to make it easier to read (GH-106965) (#107022)
Łukasz Langa [Sat, 22 Jul 2023 14:14:24 +0000 (14:14 +0000)] 
[3.11] Reformat code block to make it easier to read (GH-106965) (#107022)

(cherry picked from commit ed491d9f782480fb00535abcf667027e0e323287)

Co-authored-by: Joe Kaufeld <opensource@joekaufeld.com>
2 years ago[3.11] gh-100700 Remove Date and Release fields in past whatsnews (GH-100728) (#106999)
Oliver Rew [Sat, 22 Jul 2023 12:43:43 +0000 (14:43 +0200)] 
[3.11] gh-100700 Remove Date and Release fields in past whatsnews (GH-100728) (#106999)

Co-authored-by: Zachary Ware <zach@python.org>
2 years ago[3.11] gh-106368: Increase coverage for Argument Clinic output directive (GH-106979...
Łukasz Langa [Sat, 22 Jul 2023 12:15:18 +0000 (12:15 +0000)] 
[3.11] gh-106368: Increase coverage for Argument Clinic output directive (GH-106979) (#107002)

(cherry picked from commit ee5c01b473eeadb007b9f330db3143e34e46038b)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
2 years ago[3.11] Change non-integral to non-integer in random docs (GH-106975) (#106985)
Sebastiaan Zeeff [Sat, 22 Jul 2023 08:37:16 +0000 (10:37 +0200)] 
[3.11] Change non-integral to non-integer in random docs (GH-106975) (#106985)

2 years ago[3.11] gh-106909: Use role :const: for referencing module constants (GH-106910) ...
Serhiy Storchaka [Fri, 21 Jul 2023 11:49:57 +0000 (14:49 +0300)] 
[3.11] gh-106909: Use role :const: for referencing module constants (GH-106910) (GH-106957)

(cherry picked from commit 4b9948617f91175783609769aa6160e5b49b9ccc)

2 years ago[3.11] gh-106892: Use roles :data: and :const: for referencing module variables ...
Serhiy Storchaka [Fri, 21 Jul 2023 11:49:21 +0000 (14:49 +0300)] 
[3.11] gh-106892: Use roles :data: and :const: for referencing module variables (GH-106894) (GH-106955)

(cherry picked from commit d036db728ea3d54509cbad06df74e2d9a31fbec8)

2 years ago[3.11] gh-106919: Use role :c:macro: for referencing the C "constants" (GH-106920...
Serhiy Storchaka [Fri, 21 Jul 2023 11:48:30 +0000 (14:48 +0300)] 
[3.11] gh-106919: Use role :c:macro: for referencing the C "constants" (GH-106920) (GH-106952)

(cherry picked from commit fcc816dbff7ca66c26f57a506e4d2330fe41d0ff)

2 years ago[3.11] Docs: Argument Clinic: Add Background and Tutorial top-level sections (GH...
Miss Islington (bot) [Fri, 21 Jul 2023 06:32:56 +0000 (23:32 -0700)] 
[3.11] Docs: Argument Clinic: Add Background and Tutorial top-level sections (GH-106904) (#106946)

Add Background as a toplevel section with the following subsections:

- Background
  - The goals of Argument Clinic
  - Basic concepts and usage

Rename "Converting your first function" to Tutorial.

Add anchors for Background, Tutorial, and How-to Guides:

- :ref:`clinic-background`
- :ref:`clinic-tutorial`
- :ref:`clinic-howtos`

Link to these from within the Abstract.

Break the compatibility paragraph out of Abstract and make it a note.
(cherry picked from commit 81861fd90b4ae981e7881cd03a3c370713063525)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2 years ago[3.11] gh-106368: Increase Argument Clinic test coverage for IndentStack (GH-106933...
Miss Islington (bot) [Fri, 21 Jul 2023 06:31:00 +0000 (23:31 -0700)] 
[3.11] gh-106368: Increase Argument Clinic test coverage for IndentStack (GH-106933) (#106944)

(cherry picked from commit 8d228cf66f316803e95685d6553084f3d60cd9c5)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
2 years ago[3.11] Fix typo in tkinter docs (GH-106936) (#106938)
Miss Islington (bot) [Thu, 20 Jul 2023 23:12:00 +0000 (16:12 -0700)] 
[3.11] Fix typo in tkinter docs (GH-106936) (#106938)

Fix typo in tkinter docs (GH-106936)
(cherry picked from commit 60e83968d555d53b97de04a0a00b2cdeb3187d39)

Signed-off-by: Makonede <61922615+Makonede@users.noreply.github.com>
Co-authored-by: Makonede <61922615+Makonede@users.noreply.github.com>
2 years ago[3.11] gh-106882: Note that `asyncio.Server` is only publicly exposed on 3.11+ (GH...
Miss Islington (bot) [Wed, 19 Jul 2023 20:03:44 +0000 (13:03 -0700)] 
[3.11] gh-106882: Note that `asyncio.Server` is only publicly exposed on 3.11+ (GH-106901) (#106903)

gh-106882: Note that `asyncio.Server` is only publicly exposed on 3.11+ (GH-106901)

And later versions of 3.10, 3.9
(cherry picked from commit 1e1f4e91a905bab3103250a3ceadac0693b926d9)

Co-authored-by: Jack Nelson <jack@jacknelson.xyz>
2 years ago[3.11] gh-86493: Fix possible leaks in some modules initialization (GH-106768) (GH...
Serhiy Storchaka [Wed, 19 Jul 2023 06:40:38 +0000 (09:40 +0300)] 
[3.11] gh-86493: Fix possible leaks in some modules initialization (GH-106768) (GH-106855) (GH-106863)

[3.11] [3.12] gh-86493: Fix possible leaks in some modules initialization (GH-106768) (GH-106855)

Fix _ssl, _stat, _testinternalcapi, _threadmodule, cmath, math, posix, time.
(cherry picked from commit 3e65baee72131b49f4ce8ca2da568a6f2001ce93).
(cherry picked from commit a423ddbdeada8a2fd8657453b9e9f58ba0dd921d)

2 years ago[3.11] Docs: Argument Clinic: Group guides about default values (GH-106872) (#106873)
Miss Islington (bot) [Tue, 18 Jul 2023 23:16:04 +0000 (16:16 -0700)] 
[3.11] Docs: Argument Clinic: Group guides about default values (GH-106872) (#106873)

Docs: Argument Clinic: Group guides about default values (GH-106872)

Previous ToC layout (excerpt):

    - How to use symbolic default values
    ...
    - How to assign default values to parameter
      - How to use the ``NULL`` default value
      - How to use expressions as default values

New layout:

    - How to assign default values to parameter
      - The ``NULL`` default value
      - Symbolic default values
      - Expressions as default values

(cherry picked from commit 505eede38d141d43e40e246319b157e3c77211d3)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
2 years ago[3.11] Docs: Normalise Argument Clinic advanced topics headings (GH-106842) (#106852)
Miss Islington (bot) [Tue, 18 Jul 2023 10:25:25 +0000 (03:25 -0700)] 
[3.11] Docs: Normalise Argument Clinic advanced topics headings (GH-106842) (#106852)

(cherry picked from commit 4cb0b9c0a9f6a4154238c98013d2679229b1f794)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2 years ago[3.11] gh-86493: Fix possible leaks in modules initialization: _curses_panel, _decima...
Serhiy Storchaka [Tue, 18 Jul 2023 09:53:17 +0000 (12:53 +0300)] 
[3.11] gh-86493: Fix possible leaks in modules initialization: _curses_panel, _decimal, posix, xxsubtype (GH-106767) (GH-106849) (GH-106851)

(cherry picked from commit 745492355b94d109e47827e5865846f25ae42d26)
(cherry picked from commit 970cb8eabaaf5a8311f1aba4ca4968ef7385fce8)

2 years ago[3.11] gh-106719: Fix __annotations__ getter and setter in the type and module types...
Serhiy Storchaka [Tue, 18 Jul 2023 07:19:45 +0000 (10:19 +0300)] 
[3.11] gh-106719: Fix __annotations__ getter and setter in the type and module types (GH-106720) (GH-106850)

No longer suppress arbitrary errors. Simplify the code.
(cherry picked from commit e1c295e3da9ff5a3eb6b009a1f821d80e564ac87)

2 years ago[3.11] gh-106368: Increase Argument Clinic test coverage for cpp.Monitor (GH-106833...
Miss Islington (bot) [Mon, 17 Jul 2023 21:22:43 +0000 (14:22 -0700)] 
[3.11] gh-106368: Increase Argument Clinic test coverage for cpp.Monitor (GH-106833) (#106839)

(cherry picked from commit 22379c60ab8f8b49e75da9bd032a8722af50b409)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
2 years ago[3.11] gh-106831: Fix NULL check of d2i_SSL_SESSION() result in _ssl.c (GH-106832...
Miss Islington (bot) [Mon, 17 Jul 2023 20:31:10 +0000 (13:31 -0700)] 
[3.11] gh-106831: Fix NULL check of d2i_SSL_SESSION() result in _ssl.c (GH-106832) (#106836)

gh-106831: Fix NULL check of d2i_SSL_SESSION() result in _ssl.c (GH-106832)
(cherry picked from commit ebf2c56b33553a448da8f60fcd89a622f071b5f4)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2 years ago[3.11] gh-99079: Update Windows build to use OpenSSL 3.0.9 (GH-106649) (GH-106761)
Zachary Ware [Mon, 17 Jul 2023 17:07:52 +0000 (12:07 -0500)] 
[3.11] gh-99079: Update Windows build to use OpenSSL 3.0.9 (GH-106649) (GH-106761)

Co-authored-by: Steve Dower <steve.dower@python.org>
2 years ago[3.11] gh-106780: Add __match_args__ to tutorial example (GH-106784) (#106820)
Miss Islington (bot) [Mon, 17 Jul 2023 08:15:52 +0000 (01:15 -0700)] 
[3.11] gh-106780: Add __match_args__ to tutorial example (GH-106784) (#106820)

Add Point definition with this attribute before example
that needs it.
(cherry picked from commit 7aa89e505d893cd5e6f33b84d66e5fa769089931)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2 years agoDoc: fix section levels of devmode doc (GH-106801)
Miss Islington (bot) [Sun, 16 Jul 2023 12:27:51 +0000 (05:27 -0700)] 
Doc: fix section levels of devmode doc (GH-106801)

Doc: fix section levels of devmode doc (GH-106801)
(cherry picked from commit e58960160fcb4fce63177fcd9ef605f887377767)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2 years agoDoc: devmode: add -Xdev option to example (GH-106253)
Inada Naoki [Sun, 16 Jul 2023 11:43:56 +0000 (20:43 +0900)] 
Doc: devmode: add -Xdev option to example (GH-106253)

(cherry picked from commit 83bd568d2b57337a91ef046c1f52f9ebb03a7803)

Co-authored-by: Simone Rubino <daemo00@gmail.com>
2 years ago[3.11] Docs search: Replace jQuery with vanilla JavaScript (GH-106743) (#106803)
Miss Islington (bot) [Sun, 16 Jul 2023 08:38:46 +0000 (01:38 -0700)] 
[3.11] Docs search: Replace jQuery with vanilla JavaScript (GH-106743) (#106803)

Docs search: Replace jQuery with vanilla JavaScript (GH-106743)

* Replace jQuery with vanilla JavaScript
* Switch 'var' to 'const' or 'let'
(cherry picked from commit c02ee4503151105dc892018ebc7f633e7f3f62f8)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2 years agowasm: do not use inline comment in .editorconfig (GH-106610)
Miss Islington (bot) [Sun, 16 Jul 2023 07:03:24 +0000 (00:03 -0700)] 
wasm: do not use inline comment in .editorconfig (GH-106610)

It is no longer valid since 0.15.0
https://github.com/editorconfig/specification/blob/v0.15/index.rstGH-no-inline-comments
(cherry picked from commit 64c0890b697783db9b3f67e3bb4dcee1165a0b9b)

Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
2 years ago[3.11] Docs: Normalize Argument Clinic How-To section capitalization (GH-106788)...
Miss Islington (bot) [Sat, 15 Jul 2023 22:50:43 +0000 (15:50 -0700)] 
[3.11] Docs: Normalize Argument Clinic How-To section capitalization (GH-106788) (#106792)

(cherry picked from commit 8c177294899b621fe04ae755abd41b4d319dd4b5)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
2 years ago[3.11] gh-106752: Sync with zipp 3.16.2 (GH-106757) (#106778)
Jason R. Coombs [Sat, 15 Jul 2023 14:15:38 +0000 (10:15 -0400)] 
[3.11] gh-106752: Sync with zipp 3.16.2 (GH-106757) (#106778)

* gh-106752: Sync with zipp 3.16.2 (#106757)

* gh-106752: Sync with zipp 3.16.2

* Add blurb

(cherry picked from commit 22980dc7c9dcec4b74fea815542601ef582c230e)

* [3.11] gh-106752: Sync with zipp 3.16.2 (GH-106757)

* gh-106752: Sync with zipp 3.16.2

* Add blurb.
(cherry picked from commit 22980dc7c9dcec4b74fea815542601ef582c230e)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* Remove Python 3.12 concerns from changelog.

2 years ago[3.11] gh-106745: typing docs: Clarify that removal of PEP-585 aliases is not current...
Alex Waygood [Sat, 15 Jul 2023 10:34:29 +0000 (11:34 +0100)] 
[3.11] gh-106745: typing docs: Clarify that removal of PEP-585 aliases is not currently planned (#106748) (#106773)

2 years ago[3.11] gh-106368: Increase Argument Clinic BlockParser test coverage (GH-106759)...
Miss Islington (bot) [Sat, 15 Jul 2023 09:48:01 +0000 (02:48 -0700)] 
[3.11] gh-106368: Increase Argument Clinic BlockParser test coverage (GH-106759) (#106770)

(cherry picked from commit 2d7d1aa4bcd5da0177458b22b1b856db76aa20d4)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
2 years ago[3.11] gh-105235: Prevent reading outside buffer during mmap.find() (… (#106710)
Dennis Sweeney [Sat, 15 Jul 2023 02:17:09 +0000 (22:17 -0400)] 
[3.11] gh-105235: Prevent reading outside buffer during mmap.find() (… (#106710)

[3.11] gh-105235: Prevent reading outside buffer during mmap.find() (GH-105252)

* Add a special case for s[-m:] == p in _PyBytes_Find

* Add tests for _PyBytes_Find

* Make sure that start <= end in mmap.find.
(cherry picked from commit ab86426a3472ab68747815299d390b213793c3d1)

2 years ago[3.11] gh-106446: Fix failed doctest in stdtypes (GH-106447) (#106742)
Terry Jan Reedy [Fri, 14 Jul 2023 08:02:25 +0000 (04:02 -0400)] 
[3.11] gh-106446: Fix failed doctest in stdtypes (GH-106447) (#106742)

(cherry picked from commit 89867d2491c0c3ef77bc237899b2f0762f43c03c)

Co-authored-by: Charlie Zhao <zhaoyu_hit@qq.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2 years ago[3.11] gh-106368: Increase Argument Clinic test coverage (#106728) (#106731)
Erlend E. Aasland [Thu, 13 Jul 2023 23:13:43 +0000 (01:13 +0200)] 
[3.11] gh-106368: Increase Argument Clinic test coverage (#106728) (#106731)

- improve output_parameter() coverage
- improve coverage for Function.kind

(cherry picked from commit ec45c513d389510930a62631a21a1dbb3f3aabb7)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
* Fix merge

2 years ago[3.11] gh-106602: [Enum] Add __copy__ and __deepcopy__ (GH-106694)
Miss Islington (bot) [Wed, 12 Jul 2023 22:48:16 +0000 (15:48 -0700)] 
[3.11] gh-106602: [Enum] Add __copy__ and __deepcopy__ (GH-106694)

gh-106602: [Enum] Add __copy__ and __deepcopy__ (GH-106666)
(cherry picked from commit 357e9e9da3929cb9d55ea31896e66f488e44e8f2)

Co-authored-by: Prince Roshan <princekrroshan01@gmail.com>
2 years ago[3.11] [3.12] gh-96747: Mention the PyPI `passlib` package in the `crypt` deprecation...
Miss Islington (bot) [Wed, 12 Jul 2023 21:59:54 +0000 (14:59 -0700)] 
[3.11] [3.12] gh-96747: Mention the PyPI `passlib` package in the `crypt` deprecation doc (GH-106660) (GH-106660) (#106697)

[3.12] gh-96747: Mention the PyPI `passlib` package in the `crypt` deprecation doc (GH-106660) (GH-106660)

* Added mention to passlib package as alternative to the deprecated crypt module.
(cherry picked from commit ec7b05a0bebb2cc2ec42bf00cde2b66145880459)

Co-authored-by: Yonatan Bitton <bityob@gmail.com>
2 years ago[3.11] Add Plausible for docs metrics (GH-106644) (#106662)
Miss Islington (bot) [Wed, 12 Jul 2023 02:45:23 +0000 (19:45 -0700)] 
[3.11] Add Plausible for docs metrics (GH-106644) (#106662)

Add Plausible for docs metrics (GH-106644)
(cherry picked from commit e8ab0096a583184fe24dfbc39eff70d270c8e6f4)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2 years ago[3.11] gh-96165: Clarify passing ":memory:" in sqlite3.connect() (GH-106451) (#106648)
Miss Islington (bot) [Tue, 11 Jul 2023 20:32:08 +0000 (13:32 -0700)] 
[3.11] gh-96165: Clarify passing ":memory:" in sqlite3.connect() (GH-106451) (#106648)

cherry picked from commit f520804b039df0d87fb9df6f1fed2a9bc9df8d61)

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2 years ago[3.11] gh-96165: Clarify omitting the FROM clause in SQLite queries (GH-106513) ...
Miss Islington (bot) [Tue, 11 Jul 2023 20:30:52 +0000 (13:30 -0700)] 
[3.11] gh-96165: Clarify omitting the FROM clause in SQLite queries (GH-106513) (#106646)

(cherry picked from commit fc7ff1af457e27b7d9752600b3436641be90f598)

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2 years ago[3.11] gh-102541: Add test case for help() for non_existent_module (GH-106340) (...
Miss Islington (bot) [Tue, 11 Jul 2023 18:28:28 +0000 (11:28 -0700)] 
[3.11] gh-102541: Add test case for help() for non_existent_module (GH-106340) (#106640)

gh-102541: Add test case for help() for non_existent_module (GH-106340)

Test fix for when one enters, for instance, 'abd' at the 'help>' prompt.
---------

(cherry picked from commit 292ac4bfe92768140c2d383fd329cfa1949869b2)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2 years ago[3.11] gh-106625 : Add missing code to tutorial 4.6 example (GH-106623) (#106637)
Miss Islington (bot) [Tue, 11 Jul 2023 17:40:17 +0000 (10:40 -0700)] 
[3.11] gh-106625 : Add missing code to tutorial 4.6 example (GH-106623) (#106637)

(cherry picked from commit d0b7e18262e69dd4b8252e804e4f98fc9533bcd6)

Co-authored-by: RustyNail <takonoyawarakaage@yahoo.co.jp>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2 years ago[3.11] gh-106498: Revert incorrect colorsys.rgb_to_hls change (GH-106627) (#106633)
Miss Islington (bot) [Tue, 11 Jul 2023 15:48:00 +0000 (08:48 -0700)] 
[3.11] gh-106498: Revert incorrect colorsys.rgb_to_hls change (GH-106627) (#106633)

gh-106498: Revert incorrect colorsys.rgb_to_hls change (GH-106627)

gh-86618 assumed a-b-c = a-(b+c) = a-d where d = b+d.
For floats 2.0, 1.0, and 0.9999999999999999, this assumption
is false.  The net change of 1.1102230246251565e-16 to 0.0
results in division by 0.  Revert the replacement.  Add test.
(cherry picked from commit a2d54d4e8ab12f967a220be88bde8ac8227c5ab3)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2 years ago[3.11] gh-105497: [Enum] Fix flag mask inversion when unnamed flags exist (GH-106468...
Miss Islington (bot) [Tue, 11 Jul 2023 12:10:02 +0000 (05:10 -0700)] 
[3.11] gh-105497: [Enum] Fix flag mask inversion when unnamed flags exist (GH-106468) (#106621)

gh-105497: [Enum] Fix flag mask inversion when unnamed flags exist (GH-106468)

For example:

    class Flag(enum.Flag):
        A = 0x01
        B = 0x02
        MASK = 0xff

    ~Flag.MASK is Flag(0)
(cherry picked from commit 95b7426f45edb570869a5513c142f29ed9f851a1)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2 years ago[3.11] gh-94777: Fix deadlock in ProcessPoolExecutor (GH-94784) (#106607)
Miss Islington (bot) [Mon, 10 Jul 2023 22:21:04 +0000 (15:21 -0700)] 
[3.11] gh-94777: Fix deadlock in ProcessPoolExecutor (GH-94784) (#106607)

gh-94777: Fix deadlock in ProcessPoolExecutor (GH-94784)

Fixes a hang in multiprocessing process pool executor when a child process crashes and code could otherwise block on writing to the pipe.  See GH-94777 for more details.
(cherry picked from commit 6782fc050281205734700a1c3e13b123961ed15b)

Co-authored-by: Louis Paulot <55740424+lpaulot@users.noreply.github.com>
2 years ago[3.11] gh-103186: Fix or catch 'extra' stderr output from unittests (#103196) (#106606)
Terry Jan Reedy [Mon, 10 Jul 2023 21:13:26 +0000 (17:13 -0400)] 
[3.11] gh-103186: Fix or catch 'extra' stderr output from unittests (#103196) (#106606)

Reduce test noise by fixing or catching and testing stderr messages from individual tests.

test_cmd_line_script.test_script_as_dev_fd calls spawn_python and hence subprocess.Popen with incompatible arguments. On POSIX, pass_fds forces close_fds to be True (subprocess.py line 848). Correct the call.

test_uuid.test_cli_namespace_required_for_uuid3: when the namespace is omitted, uuid.main calls argparse.Argument_Parser.error, which prints to stderr before calling sys.exit, which raises SystemExit. Unittest assertRaises catches the exception but not the previous output. Catch the output and test it.

test_warnings.test_catchwarnings_with_simplefilter_error similarly prints before raising. Catch the output and test it.
---------

Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
(cherry picked from commit 9d582250d8fde240b8e7299b74ba888c574f74a3)

2 years ago[3.11] gh-106461: typing: Consolidate docs on `Callable` (GH-106462) (#106575)
Miss Islington (bot) [Sun, 9 Jul 2023 21:22:46 +0000 (14:22 -0700)] 
[3.11] gh-106461: typing: Consolidate docs on `Callable` (GH-106462) (#106575)

gh-106461: typing: Consolidate docs on `Callable` (GH-106462)
(cherry picked from commit ca8b55c7f54b38e264056148075a8061a7082013)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2 years ago[3.11] Move implementation specific RE tests to separate class (GH-106563) (GH-106565)
Miss Islington (bot) [Sun, 9 Jul 2023 12:23:27 +0000 (05:23 -0700)] 
[3.11] Move implementation specific RE tests to separate class (GH-106563) (GH-106565)

(cherry picked from commit 8cb6f9761e3c1cff3210697e3670b57591bf2e7a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 years ago[3.11] gh-106510: Fix DEBUG output for atomic group (GH-106511) (GH-106549)
Miss Islington (bot) [Sat, 8 Jul 2023 12:15:22 +0000 (05:15 -0700)] 
[3.11] gh-106510: Fix DEBUG output for atomic group (GH-106511) (GH-106549)

(cherry picked from commit 74ec02e9490d8aa086aa9ad9d1d34d2ad999b5af)

2 years ago[3.11] gh-101880: add link to object.__hash__() in hash() builtin documentation ...
Miss Islington (bot) [Sat, 8 Jul 2023 08:53:00 +0000 (01:53 -0700)] 
[3.11] gh-101880: add link to object.__hash__() in hash() builtin documentation (GH-101883) (#106547)

gh-101880: add link to object.__hash__() in hash() builtin documentation (GH-101883)
(cherry picked from commit ec7180bd1b3c156d4484e8e6babc5ecb707420e3)

Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
2 years ago[3.11] gh-106300: Improve `assertRaises(Exception)` usages in tests (GH-106302)....
Serhiy Storchaka [Sat, 8 Jul 2023 08:22:33 +0000 (11:22 +0300)] 
[3.11] gh-106300: Improve `assertRaises(Exception)` usages in tests (GH-106302). (GH-106545)

(cherry picked from commit 6e6a4cd52332017b10c8d88fbbbfe015948093f4)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2 years ago[3.11] gh-90876: Restore the ability to import multiprocessing when `sys.executable...
Miss Islington (bot) [Thu, 6 Jul 2023 23:25:20 +0000 (16:25 -0700)] 
[3.11] gh-90876: Restore the ability to import multiprocessing when `sys.executable` is `None` (GH-106464) (#106495)

gh-90876: Restore the ability to import multiprocessing when `sys.executable` is `None` (GH-106464)

Prevent `multiprocessing.spawn` from failing to *import* in environments
where `sys.executable` is `None`.  This regressed in 3.11 with the addition
of support for path-like objects in multiprocessing.

Adds a test decorator to have tests only run when part of test_multiprocessing_spawn to `_test_multiprocessing.py` so we can start to avoid re-running the same not-global-state specific test in all 3 modes when there is no need.
(cherry picked from commit c60df361ce2d734148d503f4a711e67c110fe223)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
2 years ago[3.11] Doc: Add missing ref labels to exception groups/notes sections (GH-106465...
Miss Islington (bot) [Thu, 6 Jul 2023 06:05:04 +0000 (23:05 -0700)] 
[3.11] Doc: Add missing ref labels to exception groups/notes sections (GH-106465) (#106474)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2 years ago[3.11] Clarify state of CancelledError in doc (GH-106453) (#106456)
Miss Islington (bot) [Wed, 5 Jul 2023 18:16:56 +0000 (11:16 -0700)] 
[3.11] Clarify state of CancelledError in doc (GH-106453) (#106456)

Clarify state of CancelledError in doc (GH-106453)

This change makes it explicit that asyncio.CancelledError is not a subclass of Exception.
(cherry picked from commit 12a98138083589314d3da14bc97f2d8517947437)

Co-authored-by: Kristján Valur Jónsson <sweskman@gmail.com>
2 years ago[3.11] gh-105497: [Enum] Fix Flag inversion when alias/mask members exist. (GH-105542...
Miss Islington (bot) [Wed, 5 Jul 2023 11:59:18 +0000 (04:59 -0700)] 
[3.11] gh-105497: [Enum] Fix Flag inversion when alias/mask members exist. (GH-105542) (#105571)

When inverting a Flag member (or boundary STRICT), only consider other canonical flags; when inverting an IntFlag member (or boundary KEEP), also consider aliases.
(cherry picked from commit 59f009e5898a006cdc8f5249be589de6edfe5cd0)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
2 years ago[3.11] Document PYTHONSAFEPATH along side -P (GH-106122) (#106353)
Miss Islington (bot) [Wed, 5 Jul 2023 11:21:45 +0000 (04:21 -0700)] 
[3.11] Document PYTHONSAFEPATH along side -P (GH-106122) (#106353)

(cherry picked from commit 0355625d94a50f4b816770bad946420d005900b8)

Co-authored-by: Jeremy Paige <ucodery@gmail.com>
2 years ago[3.11] GH-104554: Add RTSPS support to `urllib/parse.py` (GH-104605) (#105760)
Miss Islington (bot) [Wed, 5 Jul 2023 11:02:36 +0000 (04:02 -0700)] 
[3.11] GH-104554: Add RTSPS support to `urllib/parse.py` (GH-104605) (#105760)

RTSPS is the permanent scheme defined in
https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml
alongside RTSP and RTSPU schemes.

---------

(cherry picked from commit f3266c05b6186ab6d1db0799c06b8f76aefe7cf1)

Co-authored-by: zentarim <33746047+zentarim@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
2 years ago[3.11] gh-89392: Make test_decimal discoverable (GH-106209) (#106229)
Miss Islington (bot) [Wed, 5 Jul 2023 11:00:56 +0000 (04:00 -0700)] 
[3.11] gh-89392: Make test_decimal discoverable (GH-106209) (#106229)

(cherry picked from commit 0e24499129f3917b199a6d46fa33eeedd2c447fc)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 years ago[3.11] gh-104692: Include commoninstall as a prerequisite for bininstall (GH-104693...
Jeffery To [Wed, 5 Jul 2023 10:51:26 +0000 (18:51 +0800)] 
[3.11] gh-104692: Include commoninstall as a prerequisite for bininstall (GH-104693) (#105429)

This ensures that `commoninstall` is completed before `bininstall` is
started when parallel builds are used (`make -j install`), and so the
`python3` symlink is only installed after all standard library modules
are installed.

.
(cherry picked from commit 990cb3676c2edb7e5787372d6cbe360a73367f4c)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2 years ago[3.11] gh-104683: Rename Lib/test/clinic.test as Lib/test/clinic.test.c (GH-106443...
Miss Islington (bot) [Wed, 5 Jul 2023 09:03:25 +0000 (02:03 -0700)] 
[3.11] gh-104683: Rename Lib/test/clinic.test as Lib/test/clinic.test.c (GH-106443) (#106445)

gh-104683: Rename Lib/test/clinic.test as Lib/test/clinic.test.c (GH-106443)
(cherry picked from commit a941bd6c53ac4646926292557a7bb2a86f8025c3)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
2 years ago[3.11] gh-106368: Add tests for permutation helpers in Argument Clinic (GH-106407...
Miss Islington (bot) [Tue, 4 Jul 2023 12:17:26 +0000 (05:17 -0700)] 
[3.11] gh-106368: Add tests for permutation helpers in Argument Clinic (GH-106407) (#106410)

Added new test class PermutationTests()
(cherry picked from commit 8f6df5e9cbc3a1689601714192aa6ecbb23e1927)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
2 years ago[3.11] gh-106368: Increase Argument Clinic test coverage (GH-106389) (#106391)
Miss Islington (bot) [Tue, 4 Jul 2023 00:22:32 +0000 (17:22 -0700)] 
[3.11] gh-106368: Increase Argument Clinic test coverage (GH-106389) (#106391)

Add:

- test_disallowed_gropuing__no_matching_bracket
- test_double_slash
(cherry picked from commit 3406f8cce542ea4edf4153c0fac5216df283a9b1)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
2 years ago[3.11] gh-106368: Harden Argument Clinic parser tests (GH-106384) (#106388)
Miss Islington (bot) [Mon, 3 Jul 2023 23:35:42 +0000 (16:35 -0700)] 
[3.11] gh-106368: Harden Argument Clinic parser tests (GH-106384) (#106388)

(cherry picked from commit 648688c137744a623a71dc2413d2879b80c99eae)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
2 years ago[3.11] gh-106368: Clean up Argument Clinic tests (#106373) (#106381)
Erlend E. Aasland [Mon, 3 Jul 2023 22:33:45 +0000 (00:33 +0200)] 
[3.11] gh-106368: Clean up Argument Clinic tests (#106373) (#106381)

(cherry picked from commit 3ee8dac7a1b3882aa3aac7703bdae2de7b6402ad)

2 years ago[3.11] gh-106368: Increase Argument Clinic test coverage (#106369) (#106374)
Erlend E. Aasland [Mon, 3 Jul 2023 22:07:05 +0000 (00:07 +0200)] 
[3.11] gh-106368: Increase Argument Clinic test coverage (#106369) (#106374)

Add tests for 'self' and 'defining_class' converter requirements.
(cherry picked from commit 7f4c8121db62a9f72f00f2d9f73381e82f289581)

2 years ago[3.11] Replace the esoteric term 'datum' when describing dict comprehensions (GH...
Miss Islington (bot) [Mon, 3 Jul 2023 03:25:12 +0000 (20:25 -0700)] 
[3.11] Replace the esoteric term 'datum' when describing dict comprehensions (GH-106119) (#106349)

Replace the esoteric term 'datum' when describing dict comprehensions (GH-106119)
(cherry picked from commit 987b712b4aeeece336eed24fcc87a950a756c3e2)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
2 years ago[3.11] gh-102541: Fix Helper.help("mod") for non-existent mod (GH-105934) (#106323)
Miss Islington (bot) [Sat, 1 Jul 2023 23:15:44 +0000 (16:15 -0700)] 
[3.11] gh-102541: Fix Helper.help("mod") for non-existent mod (GH-105934) (#106323)

gh-102541: Fix Helper.help("mod") for non-existent mod (GH-105934)

If the output arg to Helper() is a stream rather than the default None, which means 'page to stdout', the ImportError from pydoc.resolve is currently not caught in pydoc.doc. The same error is caught when output is None.
---------

(cherry picked from commit 0530f4f64629ff97f3feb7524da0833b9535e8b6)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2 years ago[3.11] gh-101100: Docs: Fix references to several numeric dunders (GH-106278) (#106282)
Miss Islington (bot) [Fri, 30 Jun 2023 14:40:13 +0000 (07:40 -0700)] 
[3.11] gh-101100: Docs: Fix references to several numeric dunders (GH-106278) (#106282)

gh-101100: Docs: Fix references to several numeric dunders (GH-106278)
(cherry picked from commit a8ae73965b02302b7661ea07a6e4f955a961aca9)

Co-authored-by: F3eQnxN3RriK <drsuaimqjgar@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2 years ago[3.11] Fix possible refleak in CodeType.replace() (GH-106243) (GH-106245)
Miss Islington (bot) [Thu, 29 Jun 2023 18:41:18 +0000 (11:41 -0700)] 
[3.11] Fix possible refleak in CodeType.replace() (GH-106243) (GH-106245)

Fix possible refleak in CodeType.replace() (GH-106243)

A reference to c_code was leaked if PySys_Audit() failed.
(cherry picked from commit 3c70d467c148875f2ce17bacab8909ecc3e9fc1d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 years ago[3.11] gh-100408: Fix a traceback in multiprocessing example (GH-100409) (GH-106231)
Miss Islington (bot) [Thu, 29 Jun 2023 11:29:22 +0000 (04:29 -0700)] 
[3.11] gh-100408: Fix a traceback in multiprocessing example (GH-100409) (GH-106231)

(cherry picked from commit a28d4edb23b7150942f1eceb9e97c6f53aa4de42)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 years ago[3.11] gh-101006: Improve error handling when read marshal data (GH-101007) (GH-106227)
Miss Islington (bot) [Thu, 29 Jun 2023 10:47:30 +0000 (03:47 -0700)] 
[3.11] gh-101006: Improve error handling when read marshal data (GH-101007) (GH-106227)

* EOFError no longer overrides other errors such as MemoryError or OSError at
  the start of the object.
* Raise more relevant error when the NULL object occurs as a code object
  component.
* Minimize an overhead of calling PyErr_Occurred().
(cherry picked from commit 8bf6904b229583033035d91a3800da5604dcaad4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2 years ago[3.11] gh-101100: Fix reference to `parse_args` in `optparse.rst` (GH-105265) (#106205)
Miss Islington (bot) [Wed, 28 Jun 2023 12:41:18 +0000 (05:41 -0700)] 
[3.11] gh-101100: Fix reference to `parse_args` in `optparse.rst` (GH-105265) (#106205)

Co-authored-by: F3eQnxN3RriK <drsuaimqjgar@gmail.com>
2 years ago[3.11] gh-105993: Add possible `None` return type to `asyncio.EventLoop.start_tls...
Miss Islington (bot) [Wed, 28 Jun 2023 11:06:25 +0000 (04:06 -0700)] 
[3.11] gh-105993: Add possible `None` return type to `asyncio.EventLoop.start_tls` docs (GH-105995) (#106189)

gh-105993: Add possible `None` return type to `asyncio.EventLoop.start_tls` docs (GH-105995)
(cherry picked from commit 6b52a581c151914e59c8c367a03bc7309713a73b)

Co-authored-by: Sam Bull <git@sambull.org>
2 years ago[3.11] gh-101100: Fix reference to asynchronous methods (GH-106172) (#106192)
Miss Islington (bot) [Wed, 28 Jun 2023 11:05:51 +0000 (04:05 -0700)] 
[3.11] gh-101100: Fix reference to asynchronous methods (GH-106172) (#106192)

gh-101100: Fix reference to asynchronous methods (GH-106172)
(cherry picked from commit bbf722dcd39c66418e45991dcf1cdf140c2ce20e)

Co-authored-by: F3eQnxN3RriK <drsuaimqjgar@gmail.com>
2 years ago[3.11] gh-100340: Allows -Wno-int-conversion for wasm (GH-100341) (#106066)
Miss Islington (bot) [Wed, 28 Jun 2023 07:27:59 +0000 (00:27 -0700)] 
[3.11] gh-100340: Allows -Wno-int-conversion for wasm (GH-100341) (#106066)

(cherry picked from commit 75c8133efec035ec1083ebd8e7d43ef340c2e581)

Co-authored-by: Kushal Das <mail@kushaldas.in>
2 years ago[3.11] Refer to `TimeoutError` instead of `asyncio.TimeoutError` in `asyncio-task...
Miss Islington (bot) [Wed, 28 Jun 2023 05:38:26 +0000 (22:38 -0700)] 
[3.11] Refer to `TimeoutError` instead of `asyncio.TimeoutError` in `asyncio-task.rst` (GH-106136) (#106180)

Co-authored-by: lightdrk <108566237+lightdrk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>