]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
3 years agogh-99124: use concrete exception types in `test_builtin` (GH-99125)
Miss Islington (bot) [Tue, 8 Nov 2022 02:12:48 +0000 (18:12 -0800)] 
gh-99124: use concrete exception types in `test_builtin` (GH-99125)

(cherry picked from commit c32bc1bffd9d63ede0d0505abab983247a3ad0c6)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
3 years agogh-94280: Require Python 3.9 or higher to compile CPython on Windows (GH-94281)
Miss Islington (bot) [Mon, 7 Nov 2022 21:12:56 +0000 (13:12 -0800)] 
gh-94280: Require Python 3.9 or higher to compile CPython on Windows (GH-94281)

(cherry picked from commit acc6468f7ee0d1f22633f0b84df28f69e75f1260)

Co-authored-by: Shixian Li <34830785+znsoooo@users.noreply.github.com>
3 years ago[3.11] gh-96746: Docs: Clear up Py_TPFLAGS_DISALLOW_INSTANTIATION inheritance (GH...
Miss Islington (bot) [Mon, 7 Nov 2022 18:55:58 +0000 (10:55 -0800)] 
[3.11] gh-96746: Docs: Clear up Py_TPFLAGS_DISALLOW_INSTANTIATION inheritance (GH-99002) (GH-99212)

gh-96746: Docs: Clear up Py_TPFLAGS_DISALLOW_INSTANTIATION inheritance (GH-99002)

The flag is not inherited, but its effect -- a NULL tp_new -- is.

Drop hints for people who come here wanting to “disallow instantiation”.
(cherry picked from commit 1438b779971605e516bd0a4051a704d6ffbbd58d)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
3 years agodoc: Formatting and typo fixes (GH-98974)
Miss Islington (bot) [Mon, 7 Nov 2022 17:14:52 +0000 (09:14 -0800)] 
doc: Formatting and typo fixes (GH-98974)

(cherry picked from commit 728e42fcf51cbb2108caf1382df224c13b53d024)

Co-authored-by: jmcb <joelsgp@protonmail.com>
3 years agobpo-38523: ignore_dangling_symlinks does not apply recursively (GH-22937)
Miss Islington (bot) [Mon, 7 Nov 2022 12:11:11 +0000 (04:11 -0800)] 
bpo-38523: ignore_dangling_symlinks does not apply recursively (GH-22937)

(cherry picked from commit 5ff81da6d3a8eb01fc5500fd1c9eaa6543286301)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
3 years ago[3.11] gh-99153: set location on SyntaxError for try with both except and except...
Irit Katriel [Mon, 7 Nov 2022 09:41:20 +0000 (09:41 +0000)] 
[3.11] gh-99153: set location on SyntaxError for try with both except and except* (GH-99160) (#99168)

3 years ago[3.11] GH-99155: Fix `NormalDist` pickle with `0` and `1` protocols (GH-99156). ...
Nikita Sobolev [Mon, 7 Nov 2022 09:41:08 +0000 (12:41 +0300)] 
[3.11] GH-99155: Fix `NormalDist` pickle with `0` and `1` protocols (GH-99156). (GH-99188)

(cherry picked from commit d7a00f1e8eee05fc5ae97ea1ef0615feefce887b)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Automerge-Triggered-By: GH:rhettinger
3 years agogh-96055: Update faulthandler to emit proper unexpect signal number (gh-99162)
Miss Islington (bot) [Mon, 7 Nov 2022 02:45:54 +0000 (18:45 -0800)] 
gh-96055: Update faulthandler to emit proper unexpect signal number (gh-99162)

(cherry picked from commit f626b7b504df454d289527a4f922b09deeae9e21)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
3 years agogh-94286 Fix documentation of print default param (GH-94297)
Miss Islington (bot) [Sun, 6 Nov 2022 20:24:02 +0000 (12:24 -0800)] 
gh-94286 Fix documentation of print default param (GH-94297)

(cherry picked from commit 2db55e0c0069a928775fa819973a76f840c5ab5a)

Co-authored-by: Nouran Ali <nouranalimohammed@gmail.com>
3 years agogh-99051: remove duplicated test from `test_weakref` (GH-99052)
Miss Islington (bot) [Sun, 6 Nov 2022 20:03:15 +0000 (12:03 -0800)] 
gh-99051: remove duplicated test from `test_weakref` (GH-99052)

(cherry picked from commit 8463cb55dabb78571e32d8c8c7de8679ab421c2c)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
3 years agogh-83004: Clean up refleak in _pickle initialisation (GH-98841)
Miss Islington (bot) [Sun, 6 Nov 2022 14:41:24 +0000 (06:41 -0800)] 
gh-83004: Clean up refleak in _pickle initialisation (GH-98841)

(cherry picked from commit d3b82b4463c4eb51954c0afd98342f0c5e479baa)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
3 years agogh-83004: Clean up refleak in _zoneinfo initialisation (GH-98842)
Miss Islington (bot) [Sun, 6 Nov 2022 14:30:41 +0000 (06:30 -0800)] 
gh-83004: Clean up refleak in _zoneinfo initialisation (GH-98842)

(cherry picked from commit 31f2f6568d89564cc1d686cd6b75ba5578aaa748)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
3 years agogh-93464: [Enum] fix auto() failure during multiple assignment (GH-99148)
Miss Islington (bot) [Sun, 6 Nov 2022 14:30:32 +0000 (06:30 -0800)] 
gh-93464: [Enum] fix auto() failure during multiple assignment (GH-99148)

* fix auto() failure during multiple assignment

i.e. `ONE = auto(), 'text'` will now have `ONE' with the value of `(1,
'text')`.  Before it would have been `(<an auto instance>, 'text')`
(cherry picked from commit 8feb7ab77c80968a6de6079299a39b0494b1701b)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
3 years agogh-83004: Clean up refleak in _io initialisation (GH-98840)
Miss Islington (bot) [Sun, 6 Nov 2022 14:03:52 +0000 (06:03 -0800)] 
gh-83004: Clean up refleak in _io initialisation (GH-98840)

(cherry picked from commit 1208037246eeab4c5c003f1651edfefb045e6fb7)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
3 years ago`test_typing`: use all pickle protocols (GH-99154)
Miss Islington (bot) [Sun, 6 Nov 2022 12:15:45 +0000 (04:15 -0800)] 
`test_typing`: use all pickle protocols (GH-99154)

(cherry picked from commit a0bc75e2fdd53680cb147881bcb3754bd56aa2fa)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
3 years ago[doc] fix typo (GH-99143)
Miss Islington (bot) [Sat, 5 Nov 2022 21:12:22 +0000 (14:12 -0700)] 
[doc] fix typo (GH-99143)

(cherry picked from commit 586b07e1f9f15825e6564df031744fe812b28655)

Co-authored-by: Doj <34577424+visualdoj@users.noreply.github.com>
3 years agogh-99134: Update bundled pip to 22.3.1 (gh-99135)
Miss Islington (bot) [Sat, 5 Nov 2022 19:27:23 +0000 (12:27 -0700)] 
gh-99134: Update bundled pip to 22.3.1 (gh-99135)

Update bundled pip to 22.3.1
(cherry picked from commit 47ab8480e71ab3949a336a94c7fd146b1fce595d)

Co-authored-by: Paul Moore <p.f.moore@gmail.com>
3 years agogh-94808: add tests covering `PySequence_{Set,Del}Slice` (GH-99123)
Miss Islington (bot) [Sat, 5 Nov 2022 17:32:46 +0000 (10:32 -0700)] 
gh-94808: add tests covering `PySequence_{Set,Del}Slice` (GH-99123)

(cherry picked from commit c5c40773cbadc8c35212877ea315a375f3bfaa4b)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
3 years ago[3.11] gh-98706: Sync with importlib_metadata 4.13.0. (GH-98875)
Jason R. Coombs [Sat, 5 Nov 2022 13:55:04 +0000 (09:55 -0400)] 
[3.11] gh-98706: Sync with importlib_metadata 4.13.0. (GH-98875)

These changes are already applied to main but have been selected from importlib_metadata 4.x for their bug fixes.

3 years agogh-94808: add tests covering `PyEval_GetFuncDesc` function (GH-98300)
Miss Islington (bot) [Sat, 5 Nov 2022 13:32:46 +0000 (06:32 -0700)] 
gh-94808: add tests covering `PyEval_GetFuncDesc` function (GH-98300)

(cherry picked from commit b5f711185bd11819566068ddf2a74a1402340e2d)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
3 years ago[3.11] gh-99086: Fix implicit int compiler warning in configure check for PTHREAD_SCO...
Erlend E. Aasland [Sat, 5 Nov 2022 09:27:47 +0000 (10:27 +0100)] 
[3.11] gh-99086: Fix implicit int compiler warning in configure check for PTHREAD_SCOPE_SYSTEM (GH-99085) (#99118)

(cherry picked from commit 12078e78f6e4a21f344e4eaff529e1ff3b97734f)

Co-authored-by: Sam James <sam@cmpct.info>
3 years ago[3.11] gh-90867: test.support.wait_process() uses LONG_TIMEOUT (#99071) (#99098)
Victor Stinner [Fri, 4 Nov 2022 14:50:51 +0000 (15:50 +0100)] 
[3.11] gh-90867: test.support.wait_process() uses LONG_TIMEOUT (#99071) (#99098)

The test.support.wait_process() function now uses a timeout of
LONG_TIMEOUT seconds by default, instead of SHORT_TIMEOUT.  It
doesn't matter if a Python buildbot is slower, it only matters that
the process completes. The timeout should just be shorter than
"forever".

(cherry picked from commit f09da28768b77713566e932e912f107b6b57e8fd)

3 years agominor edits to locale doc (GH-98537)
Miss Islington (bot) [Fri, 4 Nov 2022 13:12:01 +0000 (06:12 -0700)] 
minor edits to locale doc (GH-98537)

(cherry picked from commit c0bf7607a1c215cd92f2976c9e915b913fc149d1)

Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
3 years ago[3.11] gh-94808: Cover `LOAD_GLOBAL` for custom dict subtypes (GH-96767) (GH-99091)
Miss Islington (bot) [Fri, 4 Nov 2022 11:12:42 +0000 (04:12 -0700)] 
[3.11] gh-94808: Cover `LOAD_GLOBAL` for custom dict subtypes (GH-96767) (GH-99091)

3 years agoDocs: add `named` to the list of styles in the sqlite3.paramstyle attr docs (GH-99078)
Miss Islington (bot) [Thu, 3 Nov 2022 23:27:53 +0000 (16:27 -0700)] 
Docs: add `named` to the list of styles in the sqlite3.paramstyle attr docs (GH-99078)

(cherry picked from commit 016c7d37b6acfe2203542a2655080c6402b3be1f)

Co-authored-by: Nick Pope <nick@nickpope.me.uk>
3 years agogh-98978: Fix Py_SetPythonHome(NULL) (GH-99066)
Miss Islington (bot) [Thu, 3 Nov 2022 18:09:15 +0000 (11:09 -0700)] 
gh-98978: Fix Py_SetPythonHome(NULL) (GH-99066)

Fix use-after-free in Py_SetPythonHome(NULL), Py_SetProgramName(NULL)
and _Py_SetProgramFullPath(NULL) function calls.

Issue reported by Benedikt Reinartz.
(cherry picked from commit b07f546ea3a574bc3016fb023c157c65a47f4849)

Co-authored-by: Victor Stinner <vstinner@python.org>
3 years agogh-98740: Fix validation of conditional expressions in RE (GH-98764)
Miss Islington (bot) [Thu, 3 Nov 2022 07:47:39 +0000 (00:47 -0700)] 
gh-98740: Fix validation of conditional expressions in RE (GH-98764)

In very rare circumstances the JUMP opcode could be confused with the
argument of the opcode in the "then" part which doesn't end with the
JUMP opcode. This led to incorrect detection of the final JUMP opcode
and incorrect calculation of the size of the subexpression.

NOTE: Changed return value of functions _validate_inner() and
_validate_charset() in Modules/_sre/sre.c.  Now they return 0 on success,
-1 on failure, and 1 if the last op is JUMP (which usually is a failure).
Previously they returned 1 on success and 0 on failure.
(cherry picked from commit e9ac890c0273aee413aa528cc202c3efa29f1d7a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agogh-98512: Add more tests for `ValuesView` (GH-98515)
Miss Islington (bot) [Thu, 3 Nov 2022 02:35:39 +0000 (19:35 -0700)] 
gh-98512: Add more tests for `ValuesView` (GH-98515)

(cherry picked from commit 29e027c3e6535aa1c0eacc2fb2002c53405e1f6f)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
3 years agogh-65002: Make note that null bytes are used to pad bytes (GH-98635)
Miss Islington (bot) [Thu, 3 Nov 2022 02:24:24 +0000 (19:24 -0700)] 
gh-65002: Make note that null bytes are used to pad bytes (GH-98635)

(cherry picked from commit 8cd21c2c5d34a5c5e857782da58d773f29ff8821)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
3 years agoDocs: Add 'as, match statement' to the index (GH-99001)
Miss Islington (bot) [Thu, 3 Nov 2022 02:22:41 +0000 (19:22 -0700)] 
Docs: Add 'as, match statement' to the index (GH-99001)

(cherry picked from commit 26720fffd090929fd2058b73e5970cc520b30aef)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
3 years agoargparse howto: Use f-string in preference to "...".format() (GH-98883)
Miss Islington (bot) [Thu, 3 Nov 2022 02:17:33 +0000 (19:17 -0700)] 
argparse howto: Use f-string in preference to "...".format() (GH-98883)

(cherry picked from commit 1fd20d0b57478d8b0d8d58718fa773135348bf98)

Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
3 years agogh-96997: Clarify the contract of PyMem_SetAllocator() (GH-98977)
Miss Islington (bot) [Wed, 2 Nov 2022 21:57:26 +0000 (14:57 -0700)] 
gh-96997: Clarify the contract of PyMem_SetAllocator() (GH-98977)

(cherry picked from commit c053284e3930027847d5adf99efcb1aa5ccbacd1)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 years agogh-98790: When DLLs directory is missing on Windows, assume executable_dir contains...
Steve Dower [Wed, 2 Nov 2022 20:04:06 +0000 (20:04 +0000)] 
gh-98790: When DLLs directory is missing on Windows, assume executable_dir contains PYD files instead (GH-98936)

3 years agogh-97731: Specify the full path to the docs for `make docclean` (GH-98982)
Miss Islington (bot) [Wed, 2 Nov 2022 19:58:48 +0000 (12:58 -0700)] 
gh-97731: Specify the full path to the docs for `make docclean` (GH-98982)

Specify the full path to the docs for `make docclean`
This is to have `make clean` not error out on cross-builds.
(cherry picked from commit 22bab74c8f5fa6d53ddb7e40baa4334d09331c0f)

Co-authored-by: Brett Cannon <brett@python.org>
3 years agogh-98415: Fix uuid.getnode() ifconfig implementation (GH-98423)
Miss Islington (bot) [Wed, 2 Nov 2022 19:12:31 +0000 (12:12 -0700)] 
gh-98415: Fix uuid.getnode() ifconfig implementation (GH-98423)

The uuid.getnode() function has multiple implementations, tested sequentially.
The ifconfig implementation was incorrect and always failed: fix it.

In practice, functions of libuuid library are preferred, if available:
uuid_generate_time_safe(), uuid_create() or uuid_generate_time().

(cherry picked from commit e3ec272f57c3948834a6159cf2604978d3db67a0)

Co-authored-by: Chaim Sanders <csanders-git@users.noreply.github.com>
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
3 years agogh-92679: Clarify asyncio.loop.start_tls parameters (GH-92682)
Miss Islington (bot) [Wed, 2 Nov 2022 05:12:52 +0000 (22:12 -0700)] 
gh-92679: Clarify asyncio.loop.start_tls parameters (GH-92682)

(cherry picked from commit 898d0d9ad8328326ba5f7df9952e9dc287766ca3)

Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
3 years agogh-96265: Formatting changes for faq/programming (GH-98242)
Miss Islington (bot) [Wed, 2 Nov 2022 05:06:26 +0000 (22:06 -0700)] 
gh-96265: Formatting changes for faq/programming (GH-98242)

* Formatting changes for faq/programming

* Add missing method formatting, use non-literal formatting

* Fix sphinx warnings

* Some extra formatting missed earlier

* More formatting suggestions from review

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* Add missing colon, avoid referening external module

(cherry picked from commit 0689b99bb8c4f6058af43a52effaa8a25609dbed)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
3 years agogh-92871: Postpone the removal of typing.{io,re} to 3.13 (GH-98958)
Miss Islington (bot) [Wed, 2 Nov 2022 04:00:13 +0000 (21:00 -0700)] 
gh-92871: Postpone the removal of typing.{io,re} to 3.13 (GH-98958)

(cherry picked from commit 65d1407737befc3e9430eda8ae14ab1c7f9d8c7a)

Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
3 years ago[3.11] [doc] Update cookbook example for socket-based logging in a production sett...
Miss Islington (bot) [Tue, 1 Nov 2022 23:34:32 +0000 (16:34 -0700)] 
[3.11] [doc] Update cookbook example for socket-based logging in a production sett… (GH-98922) (GH-98980)

Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
3 years ago[3.11] gh-98925: Lower marshal recursion depth for WASI (GH-98938) (GH-98979)
Miss Islington (bot) [Tue, 1 Nov 2022 23:18:55 +0000 (16:18 -0700)] 
[3.11] gh-98925: Lower marshal recursion depth for WASI (GH-98938) (GH-98979)

* gh-98925: Lower marshal recursion depth for WASI (GH-98938)

For wasmtime 2.0, the stack depth cost is 6% higher. This causes the default max `marshal` recursion depth to blow the stack.

As the default marshal depth is 2000 and Windows is set to 1000, split the difference and choose 1500 for WASI to be safe.
(cherry picked from commit 9711265182f163ba381e7800e3748ac28710f9ef)

Co-authored-by: Brett Cannon <brett@python.org>
3 years agogh-98689: Update Windows builds to zlib v1.2.13 (GH-98968)
Miss Islington (bot) [Tue, 1 Nov 2022 18:30:54 +0000 (11:30 -0700)] 
gh-98689: Update Windows builds to zlib v1.2.13 (GH-98968)

(cherry picked from commit c0859743d9ad3bbd4c021200f4162cfeadc0c17a)

Co-authored-by: Zachary Ware <zach@python.org>
3 years agoDoc: use "unnumbered" footnotes (GH-98954)
Miss Islington (bot) [Tue, 1 Nov 2022 13:35:34 +0000 (06:35 -0700)] 
Doc: use "unnumbered" footnotes (GH-98954)

Use unnumbered footnote in this file to avoid reseting the footnotes numbering.

Example: when building the tutorial into a PDF and using `latex_show_urls = "footnotes"`; this footnote become the number 8. However, without this change, the footnote shows the number 1.
(cherry picked from commit f042646595d1cdd2ecdc15222b1766f746d010f0)

Co-authored-by: Manuel Kaufmann <humitos@gmail.com>
3 years ago[3.11] Missing PS1 prompt in tutorial example (GH-98921) (GH-98944)
Miss Islington (bot) [Tue, 1 Nov 2022 11:08:26 +0000 (04:08 -0700)] 
[3.11] Missing PS1 prompt in tutorial example (GH-98921) (GH-98944)

(cherry picked from commit d22bde983e58eaff9773f32a8324ddf9074e95e1)

Co-authored-by: Manuel Kaufmann <humitos@gmail.com>
Automerge-Triggered-By: GH:rhettinger
3 years agogh-98852: Fix subscription of type aliases (GH-98920)
Miss Islington (bot) [Tue, 1 Nov 2022 08:01:28 +0000 (01:01 -0700)] 
gh-98852: Fix subscription of type aliases (GH-98920)

Fix subscription of type aliases containing bare generic types or types
like TypeVar: for example tuple[A, T][int] and tuple[TypeVar, T][int],
where A is a generic type, and T is a type variable.
(cherry picked from commit 0e15c31c7e9907fdbe38a3f419b669fed5bb3b33)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agoFix wording in Functional Programming HOWTO (GH-98939)
Miss Islington (bot) [Tue, 1 Nov 2022 02:57:42 +0000 (19:57 -0700)] 
Fix wording in Functional Programming HOWTO (GH-98939)

(cherry picked from commit f4d56292e943e822abf68f3c210ccf6b88c587ac)

Co-authored-by: partev <petrosyan@gmail.com>
3 years agoGH-98897: fix memory leak if `math.dist` raises exception (GH-98898)
Miss Islington (bot) [Tue, 1 Nov 2022 02:40:30 +0000 (19:40 -0700)] 
GH-98897: fix memory leak if `math.dist` raises exception (GH-98898)

(cherry picked from commit ab575050709e2b313ca9a9585f09b6f4b0560318)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
3 years agogh-98692: Enable treating shebang lines as executables in py.exe launcher (GH-98732)
Miss Islington (bot) [Mon, 31 Oct 2022 21:31:26 +0000 (14:31 -0700)] 
gh-98692: Enable treating shebang lines as executables in py.exe launcher (GH-98732)

(cherry picked from commit 88297e2a8a75898228360ee369628a4a6111e2ee)

Co-authored-by: Steve Dower <steve.dower@python.org>
3 years ago[3.11] gh-98793: Fix typecheck in `overlapped.c` (GH-98835) (#98889)
Charlie Zhao [Mon, 31 Oct 2022 18:21:01 +0000 (02:21 +0800)] 
[3.11] gh-98793: Fix typecheck in `overlapped.c` (GH-98835) (#98889)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
(cherry picked from commit 3ac8c0ab6ee819a14b1c8e0992acbaf376a46058)

3 years agoFix typo in sorting HOWTO (GH-98888)
Miss Islington (bot) [Mon, 31 Oct 2022 18:07:14 +0000 (11:07 -0700)] 
Fix typo in sorting HOWTO (GH-98888)

(cherry picked from commit 3b86538661038ee23d0be80bb7593e2e7856f059)

Co-authored-by: partev <petrosyan@gmail.com>
3 years agoDoc: Fix sphinx-lint issues (GH-98911)
Miss Islington (bot) [Mon, 31 Oct 2022 17:29:30 +0000 (10:29 -0700)] 
Doc: Fix sphinx-lint issues (GH-98911)

They were introduced right between GH-98441 and GH-98408.
(cherry picked from commit c1c3be0f9dc414bfae9a5718451ca217751ac687)

Co-authored-by: Julien Palard <julien@palard.fr>
3 years agogh-98576: Fix types in dataclass.InitVar example (gh-98577)
Miss Islington (bot) [Mon, 31 Oct 2022 15:14:04 +0000 (08:14 -0700)] 
gh-98576: Fix types in dataclass.InitVar example (gh-98577)

(cherry picked from commit 880bafc574bcd811dd7244f9a82056430b489996)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
3 years ago[3.11] gh-96151: Use a private name for passing builtins to dataclass. This now allow...
Miss Islington (bot) [Mon, 31 Oct 2022 14:59:00 +0000 (07:59 -0700)] 
[3.11] gh-96151: Use a private name for passing builtins to dataclass. This now allows for a field named BUILTIN (gh-98143) (gh-98900)

gh-96151: Use a private name for passing builtins to dataclass. This now allows for a field named BUILTIN (gh-98143)
(cherry picked from commit 29f98b46b77ee528477b9a7b335974b9682f7f14)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
3 years ago[3.11] gh-96853: Restore test coverage for Py_Initialize(Ex) (GH-98874)
Miss Islington (bot) [Sun, 30 Oct 2022 23:15:12 +0000 (16:15 -0700)] 
[3.11] gh-96853: Restore test coverage for Py_Initialize(Ex) (GH-98874)

* As most of `test_embed` now uses `Py_InitializeFromConfig`, add
  a specific test case to cover `Py_Initialize` (and `Py_InitializeEx`)
* Rename `_testembed` init helper to clarify the API used
* Add a `PyConfig_Clear` call in `Py_InitializeEx` to make
  the code more obviously correct (it already didn't leak as
  none of the dynamically allocated config fields were being
  populated, but it's clearer if the wrappers follow the
  documented API usage guidelines)
(cherry picked from commit 05e48865be69e1e5824f6915b588ff054717bb42)

Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
3 years ago[3.11] gh-98783: Fix crashes when `str` subclasses are used in `_PyUnicode_Equal...
Dennis Sweeney [Sun, 30 Oct 2022 18:30:08 +0000 (14:30 -0400)] 
[3.11] gh-98783: Fix crashes when `str` subclasses are used in `_PyUnicode_Equal` (GH-98806) (#98871)

* gh-98783: Fix crashes when `str` subclasses are used in `_PyUnicode_Equal` (GH-98806)
(cherry picked from commit 76f989dc3e668d15b3ec9a90bf6530276530acac)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
3 years agoglossary.rst: Fix typo in package definition (GH-98865)
Miss Islington (bot) [Sat, 29 Oct 2022 22:50:31 +0000 (15:50 -0700)] 
glossary.rst: Fix typo in package definition (GH-98865)

This is a tiny typo fix of package definition in glossary.
According to https://devguide.python.org/documentation/help-documenting/ simple typos don’t require issues of their own, but, instead, a pull request can by submitted directly.

Automerge-Triggered-By: GH:AlexWaygood
(cherry picked from commit fc94d55ff453a3101e4c00a394d4e38ae2fece13)

Co-authored-by: ab <abousselmi@users.noreply.github.com>
3 years agoFix typo in docs (GH-98863)
Miss Islington (bot) [Sat, 29 Oct 2022 20:56:27 +0000 (13:56 -0700)] 
Fix typo in docs (GH-98863)

(cherry picked from commit bfecff5f73741f095bb9ec2329467bf16cbbdf5a)

Co-authored-by: Yuvi Panda <yuvipanda@gmail.com>
3 years agogh-93358: Fix python-config docs for how to embed Python (GH-98649)
Miss Islington (bot) [Sat, 29 Oct 2022 18:55:01 +0000 (11:55 -0700)] 
gh-93358: Fix python-config docs for how to embed Python (GH-98649)

(cherry picked from commit e063c23c65143a3afae3e201459dc0d52cb6fc96)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
3 years agodataclasses docs: consistent indentation (4 spaces) in examples (GH-98855)
Miss Islington (bot) [Sat, 29 Oct 2022 17:15:16 +0000 (10:15 -0700)] 
dataclasses docs: consistent indentation (4 spaces) in examples (GH-98855)

(cherry picked from commit d10c2b97428bd07827f7bac4515d41ac08be7481)

Co-authored-by: FC Stegerman <flx@obfusk.net>
3 years ago[3.11] gh-98744: Prevent column-level decoding crashes on traceback module (#98850)
Batuhan Taskaya [Sat, 29 Oct 2022 14:12:15 +0000 (17:12 +0300)] 
[3.11] gh-98744: Prevent column-level decoding crashes on traceback module (#98850)

Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
3 years agoFix typo in contextvars docs (GH-98823)
Miss Islington (bot) [Fri, 28 Oct 2022 21:23:26 +0000 (14:23 -0700)] 
Fix typo in contextvars docs (GH-98823)

(cherry picked from commit 72fa57a8fe2e9df637170dc97f994ac70931e8e9)

Co-authored-by: cburroughs <chris.burroughs@gmail.com>
3 years ago`argparse` docs: normalize constant references (GH-98765)
Miss Islington (bot) [Fri, 28 Oct 2022 12:25:58 +0000 (05:25 -0700)] 
`argparse` docs: normalize constant references (GH-98765)

(cherry picked from commit b27b57c6e44a276c8a9843fd37d4cf65b2827d5c)

Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
3 years ago[3.11] gh-98624 Add mutex to unittest.mock.NonCallableMock (GH-98688) (#98797)
Miss Islington (bot) [Fri, 28 Oct 2022 10:17:19 +0000 (03:17 -0700)] 
[3.11] gh-98624 Add mutex to unittest.mock.NonCallableMock (GH-98688) (#98797)

(cherry picked from commit 0346eddbe933b5f1f56151bdebf5bd49392bc275)

Co-authored-by: noah-weingarden <33741795+noah-weingarden@users.noreply.github.com>
3 years ago[3.11] Python documents state elsewhere that a comma is not an operator (GH-98736...
Miss Islington (bot) [Fri, 28 Oct 2022 10:15:34 +0000 (03:15 -0700)] 
[3.11] Python documents state elsewhere that a comma is not an operator (GH-98736) (#98757)

Python documents state elsewhere that a comma is not an operator, so calling it an operator here is confusing. See https://docs.python.org/3/reference/lexical_analysis.htmlGH-operators and https://docs.python.org/3/faq/programming.htmlGH-id22.
(cherry picked from commit d578aaea6257458c199328100cbb5af64c6a043e)

Co-authored-by: Gerardwx <Gerardwx@users.noreply.github.com>
3 years ago[3.11] gh-98548: Fix `-ne` shell operator spelling (#98556)
sterliakov [Fri, 28 Oct 2022 10:12:31 +0000 (13:12 +0300)] 
[3.11] gh-98548: Fix `-ne` shell operator spelling (#98556)

3 years agogh-98745: Allow py.exe launcher to install 3.11 by default and 3.12 on request (GH...
Miss Islington (bot) [Fri, 28 Oct 2022 09:40:00 +0000 (02:40 -0700)] 
gh-98745: Allow py.exe launcher to install 3.11 by default and 3.12 on request (GH-98780)

(cherry picked from commit 25811d9010510d24bbe35acca9da86b064f239c0)

Co-authored-by: Steve Dower <steve.dower@python.org>
3 years agogh-98739: Update libexpat from 2.4.9 to 2.5.0 (GH-98742)
Miss Islington (bot) [Thu, 27 Oct 2022 21:21:35 +0000 (14:21 -0700)] 
gh-98739: Update libexpat from 2.4.9 to 2.5.0 (GH-98742)

* Update libexpat from 2.4.9 to 2.5.0 to address CVE-2022-43680.

Co-authored-by: Shaun Walbridge <shaun.walbridge@gmail.com>
(cherry picked from commit 3e07f827b359617664ad0880f218f17ae4483299)

Co-authored-by: Shaun Walbridge <46331011+scdub@users.noreply.github.com>
3 years agoobmalloc: Remove unused variable. (GH-98770)
Miss Islington (bot) [Thu, 27 Oct 2022 16:30:46 +0000 (09:30 -0700)] 
obmalloc: Remove unused variable. (GH-98770)

(cherry picked from commit bded5edd9abf7ae6b2874916d70ec29ad209217c)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
3 years agogh-98703: Add tests for closing `_ProactorSocketTransport` with proactor event loop...
Miss Islington (bot) [Thu, 27 Oct 2022 03:33:19 +0000 (20:33 -0700)] 
gh-98703: Add tests for closing `_ProactorSocketTransport` with proactor event loop (GH-98730)

(cherry picked from commit 96ae80f1d004f2df4a707919853f0745c9c352d1)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
3 years agogh-98703: Fix asyncio proactor_events calling _call_connection_lost multiple times...
Miss Islington (bot) [Thu, 27 Oct 2022 03:04:43 +0000 (20:04 -0700)] 
gh-98703: Fix asyncio proactor_events calling _call_connection_lost multiple times (GH-98704)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
(cherry picked from commit 8a755423eba8e19704d96905730cf7f50083eb23)

Co-authored-by: Ken Jin <kenjin@python.org>
3 years agoFix readline.c compiler warning. (GH-98738)
Miss Islington (bot) [Wed, 26 Oct 2022 23:16:09 +0000 (16:16 -0700)] 
Fix readline.c compiler warning. (GH-98738)

```
Modules/readline.c:1260:37: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    completer_word_break_characters =
                                    ^
```
(cherry picked from commit 29b391b1378577825a658b14764a8ff3e0b5c958)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
3 years ago[3.11] gh-98741: Remove useless check_home usage from is_python_build usage (GH-98743...
Miss Islington (bot) [Wed, 26 Oct 2022 22:35:54 +0000 (15:35 -0700)] 
[3.11] gh-98741: Remove useless check_home usage from is_python_build usage (GH-98743) (GH-98746)

Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
3 years ago[3.11] Change links to label refs (GH-98454) (#98725)
Stanley [Wed, 26 Oct 2022 20:18:50 +0000 (13:18 -0700)] 
[3.11] Change links to label refs (GH-98454) (#98725)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 268129a74f01adb7bb14cd71d1f38378e39d304d)

3 years agogh-98716: Revert gh-96081: Escape lone stars in sqlite3 docs (GH-98720)
Miss Islington (bot) [Wed, 26 Oct 2022 15:01:54 +0000 (08:01 -0700)] 
gh-98716: Revert gh-96081: Escape lone stars in sqlite3 docs (GH-98720)

(cherry picked from commit 365852a03a0c934ccd9b6c2b8e24c71181c41f03)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
3 years agogh-98644: point people to tomllib from configparser’s docs (GH-98645)
Miss Islington (bot) [Wed, 26 Oct 2022 14:14:44 +0000 (07:14 -0700)] 
gh-98644: point people to tomllib from configparser’s docs (GH-98645)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 5e74bad93ccc681f0d407aaa3a6830a2d54a20a2)

Co-authored-by: Philipp A <flying-sheep@web.de>
3 years agogh-98713: Use `@cpython_only` for a test that fails on PyPy (GH-98714)
Miss Islington (bot) [Wed, 26 Oct 2022 13:41:42 +0000 (06:41 -0700)] 
gh-98713: Use `@cpython_only` for a test that fails on PyPy (GH-98714)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
(cherry picked from commit 9495360c7256938a6185838561cf416599b7e94f)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
3 years agogh-94808: cover `PyMapping_HasKeyString` and `PyMapping_HasKey` (GH-98486)
Miss Islington (bot) [Wed, 26 Oct 2022 04:57:49 +0000 (21:57 -0700)] 
gh-94808: cover `PyMapping_HasKeyString` and `PyMapping_HasKey` (GH-98486)

(cherry picked from commit 5d30544485dc56ab999ad7656ef6559306fd013f)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
3 years agogh-98348: Mention ReferenceError in weakref.proxy documentation (GH-98355)
Miss Islington (bot) [Wed, 26 Oct 2022 03:55:29 +0000 (20:55 -0700)] 
gh-98348: Mention ReferenceError in weakref.proxy documentation (GH-98355)

(cherry picked from commit 216f45e4fec42407ff744b915523a226a0070ff1)

Co-authored-by: fancidev <fancidev@gmail.com>
3 years agogh-77753: Add example for values that compare equal in stdtypes (GH-98497)
Miss Islington (bot) [Wed, 26 Oct 2022 03:02:44 +0000 (20:02 -0700)] 
gh-77753: Add example for values that compare equal in stdtypes (GH-98497)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 0ca6a4d64086055a8a3aa4b4c024fc080de148ab)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
3 years agogh-84747: Add `async for` comment for StreamReader (GH-98633)
Miss Islington (bot) [Wed, 26 Oct 2022 02:23:08 +0000 (19:23 -0700)] 
gh-84747: Add `async for` comment for StreamReader (GH-98633)

(cherry picked from commit 4196ee5c8b489f457874759ee22c9237e08f85c4)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
3 years ago[3.11] GH-87390: Add remaining tests for PEP 646 (GH-98267) (#98667)
Jelle Zijlstra [Wed, 26 Oct 2022 01:46:57 +0000 (18:46 -0700)] 
[3.11] GH-87390: Add remaining tests for PEP 646 (GH-98267) (#98667)

Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>.
Co-authored-by: Matthew Rahtz <matthew.rahtz@gmail.com>
(cherry picked from commit cb95cc24efecf32ad035318867b065a2b042d25a)

3 years agogh-94808: Improve coverage of `unicode_find` and `unicode_rfind` (GH-98648)
Miss Islington (bot) [Wed, 26 Oct 2022 00:04:01 +0000 (17:04 -0700)] 
gh-94808: Improve coverage of `unicode_find` and `unicode_rfind` (GH-98648)

(cherry picked from commit b1783bc124712fa03fea9621a0eb4119d29b14fe)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
3 years agofix a typo in whatsnew/3.11 (GH-98603)
Miss Islington (bot) [Tue, 25 Oct 2022 23:50:09 +0000 (16:50 -0700)] 
fix a typo in whatsnew/3.11 (GH-98603)

(cherry picked from commit 45644905ea1352b79a0d5ab4f02e00a258206116)

Co-authored-by: July Tikhonov <july.tikh@gmail.com>
3 years agoFix typos in deprecation section of 3.11 What's New (GH-98628)
Miss Islington (bot) [Tue, 25 Oct 2022 23:44:18 +0000 (16:44 -0700)] 
Fix typos in deprecation section of 3.11 What's New (GH-98628)

(cherry picked from commit faea6a131a9d06208e9043b499a90e11bdfbb479)

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
3 years agogh-95913: Fix, sort & expand pending removal sect in 3.11 WhatsNew (GH-98583)
Miss Islington (bot) [Tue, 25 Oct 2022 23:41:51 +0000 (16:41 -0700)] 
gh-95913: Fix, sort & expand pending removal sect in 3.11 WhatsNew (GH-98583)

* Fix names/references of pending removal APIs

* Sort list of APIs pending removal alphabetically

* Add missing modules/submodules pending removal in 3.12

* Add table of unittest deprecated aliases to 3.11 What's New

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
(cherry picked from commit e19c2b979fab3483dc6c04774053dbbe83e769fb)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
3 years agogh-97937: dis docs: add adaptive=False (GH-97939)
Miss Islington (bot) [Tue, 25 Oct 2022 23:06:08 +0000 (16:06 -0700)] 
gh-97937: dis docs: add adaptive=False (GH-97939)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
(cherry picked from commit 5d8bf2b106e694423bafaa3e1ea1edf20037573c)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years agogh-94328: Update Windows installer to use SQLite 3.39.4 (GH-98640)
Miss Islington (bot) [Tue, 25 Oct 2022 21:51:32 +0000 (14:51 -0700)] 
gh-94328: Update Windows installer to use SQLite 3.39.4 (GH-98640)

(cherry picked from commit 0c84593275969d9b8f42e75abb2638b69d5b5f4a)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
3 years agogh-98602: [typing docs] Use quotes for forward reference in TypeVarTuple example...
Miss Islington (bot) [Tue, 25 Oct 2022 15:42:12 +0000 (08:42 -0700)] 
gh-98602: [typing docs] Use quotes for forward reference in TypeVarTuple example (GH-98605)

(cherry picked from commit be0cf82ae4e49891dcd5e37012d6f6ce08bc4726)

Co-authored-by: Eclips4 <80244920+Eclips4@users.noreply.github.com>
3 years agoUse more precise exception types in `assertRaises` in typing tests (GH-98650)
Miss Islington (bot) [Tue, 25 Oct 2022 14:19:37 +0000 (07:19 -0700)] 
Use more precise exception types in `assertRaises` in typing tests (GH-98650)

(cherry picked from commit 45c89358b71e4638455e75ba6e60b42c511bbc2a)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
3 years agogh-98623: Fix base classes in `typing.rst` (GH-98626)
Miss Islington (bot) [Tue, 25 Oct 2022 14:13:16 +0000 (07:13 -0700)] 
gh-98623: Fix base classes in `typing.rst` (GH-98626)

(cherry picked from commit 5076108872df07592931cd27efac4a4496aba2e8)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
3 years agogh-93696: Locate frozen module source with __file__ (GH-93697)
Miss Islington (bot) [Tue, 25 Oct 2022 13:49:34 +0000 (06:49 -0700)] 
gh-93696: Locate frozen module source with __file__ (GH-93697)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
(cherry picked from commit d91de288e73c67805e4c838b5f770ab7ec3661f9)

Co-authored-by: James Gerity <snoopjedi@gmail.com>
3 years agogh-95913: Prepare Improved Modules in 3.11 WhatsNew for final edits (GH-98631)
Miss Islington (bot) [Tue, 25 Oct 2022 13:29:53 +0000 (06:29 -0700)] 
gh-95913: Prepare Improved Modules in 3.11 WhatsNew for final edits (GH-98631)

* Add two line breaks and ref target labels to remaining subsections

* Fix a few out of order Improved Modules

* Fix a few minor textual formatting issues in sections

* Fix remaining Sphinx warnings in the Improved Modules section
(cherry picked from commit dd13b23e49b8c49bc751fe5ed470773a2d60b7d1)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
3 years agogh-94328: Update macOS installer to use SQLite 3.39.4. (GH-98639)
Miss Islington (bot) [Tue, 25 Oct 2022 11:18:01 +0000 (04:18 -0700)] 
gh-94328: Update macOS installer to use SQLite 3.39.4. (GH-98639)

(cherry picked from commit 8aa1e994a530e538a5433c8ada6500ffc1214467)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
3 years ago[3.11] GH-89237: fix hang in proactor `subprocess.wait_closed()` (GH-98572) (#98620)
Miss Islington (bot) [Tue, 25 Oct 2022 03:34:08 +0000 (20:34 -0700)] 
[3.11] GH-89237: fix hang in proactor `subprocess.wait_closed()` (GH-98572) (#98620)

GH-89237: fix hang in proactor `subprocess.wait_closed()` (GH-98572)
(cherry picked from commit ad1dc3ebb6aadaeeeacde13d4ed2d62bf302bf62)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
3 years ago[3.11] gh-98456: Replace deprecated `set-output` with up-to-date vers… (gh-98565)
Dong-hee Na [Tue, 25 Oct 2022 03:03:02 +0000 (12:03 +0900)] 
[3.11] gh-98456: Replace deprecated `set-output` with up-to-date vers… (gh-98565)

[3.11] gh-98456: Replace deprecated `set-output` with up-to-date version (gh-98457).
(cherry picked from commit 1db2a0cb20a1de5231a73fc7381056d725e90535)

Co-authored-by: Noam Cohen <noam@noam.me>
Co-authored-by: Noam Cohen <noam@noam.me>
3 years ago[3.11] Fix v3.11.0 release merge problems (GH-98622)
Pablo Galindo Salgado [Mon, 24 Oct 2022 23:30:06 +0000 (00:30 +0100)] 
[3.11] Fix v3.11.0 release merge problems (GH-98622)

When merging the v3.11.0 tag into 3.11, some files were incorrectly updated and some others were not properly deleted.

Automerge-Triggered-By: GH:pablogsal
3 years agoGH-98407: fix `test_kill_issue43884` to not leak child processes (GH-98491)
Miss Islington (bot) [Mon, 24 Oct 2022 19:41:10 +0000 (12:41 -0700)] 
GH-98407: fix `test_kill_issue43884` to not leak child processes  (GH-98491)

(cherry picked from commit 3b2724abcfef7cbe5bf1717be1bb029e4c6b6600)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
3 years agoMerge tag 'v3.11.0' into 3.11
Pablo Galindo [Mon, 24 Oct 2022 19:29:24 +0000 (20:29 +0100)] 
Merge tag 'v3.11.0' into 3.11

Python 3.11.0

3 years agogh-98507: [typing docs] Rephrase "now supports `[]`" to "now supports subscripting...
Miss Islington (bot) [Mon, 24 Oct 2022 18:16:58 +0000 (11:16 -0700)] 
gh-98507: [typing docs] Rephrase "now supports `[]`" to "now supports subscripting" (GH-98508)

(cherry picked from commit e3b9dd8e870a61016e0f221e30d4f7d0b99cddb3)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
3 years ago[3.11] GH-98543: Fix `asyncio.TaskGroup` to not keep reference to errors after raisi...
Miss Islington (bot) [Mon, 24 Oct 2022 18:08:22 +0000 (11:08 -0700)] 
[3.11] GH-98543: Fix `asyncio.TaskGroup`  to not keep reference to errors after raising ExceptionGroup  (GH-98544) (#98550)

GH-98543: Fix `asyncio.TaskGroup`  to not keep reference to errors after raising ExceptionGroup  (GH-98544)
(cherry picked from commit f4a14941e6e54b15012fca067f6a9b2ff29f201a)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
3 years agoGH-91635: clarify docs about closing of transport in asyncio (GH-98563)
Miss Islington (bot) [Mon, 24 Oct 2022 18:00:18 +0000 (11:00 -0700)] 
GH-91635: clarify docs about closing of transport in asyncio  (GH-98563)

(cherry picked from commit 2fdcc6f2cb5e3e1e09b8dff179f4c11193799998)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>