]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
3 years agobpo-32658: Regex docs: Fix metacharacter reference (GH-32230)
Miss Islington (bot) [Tue, 5 Apr 2022 03:08:17 +0000 (20:08 -0700)] 
bpo-32658: Regex docs: Fix metacharacter reference (GH-32230)

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

Co-authored-by: Mike cm <mikecmcleod@gmail.com>
3 years agobpo-45790: List macros in same order in which fields are described (GH-29529)
Miss Islington (bot) [Tue, 5 Apr 2022 02:57:22 +0000 (19:57 -0700)] 
bpo-45790: List macros in same order in which fields are described (GH-29529)

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit b275267aa7d44ec90fa435c9cb1610c549da745a)

Co-authored-by: rtobar <rtobar@icrar.org>
3 years agobpo-47007: [doc] `str` special method lookup (GH-31863)
Miss Islington (bot) [Tue, 5 Apr 2022 02:56:29 +0000 (19:56 -0700)] 
bpo-47007: [doc] `str` special method lookup (GH-31863)

Clarify the `str()` docs to point out that `object.__str__()`
follows special method lookup.

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

Co-authored-by: Vanshaj Singhania <8797467+itsvs@users.noreply.github.com>
3 years agobpo-41233: Add links to errnos referenced in exceptions docs (GH-21380)
Miss Islington (bot) [Tue, 5 Apr 2022 02:30:06 +0000 (19:30 -0700)] 
bpo-41233: Add links to errnos referenced in exceptions docs (GH-21380)

Co-authored-by: Andrew Kuchling <amk@amk.ca>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit a74892cb2168d249d9a8c53fad605a5def9b41d4)

Co-authored-by: yyyyyyyan <24644216+yyyyyyyan@users.noreply.github.com>
3 years agobpo-46484:Add test for Calendar.iterweekdays (GH-30825)
Miss Islington (bot) [Mon, 4 Apr 2022 17:43:38 +0000 (10:43 -0700)] 
bpo-46484:Add test for Calendar.iterweekdays (GH-30825)

(cherry picked from commit 48269ea9fdbc5804f80962364f95e69097c417ba)

Co-authored-by: 180909 <734461790@qq.com>
3 years agoDemonstrate `py --list` in the quickstart section of the Windows doc page (GH-29383)
Miss Islington (bot) [Mon, 4 Apr 2022 15:58:44 +0000 (08:58 -0700)] 
Demonstrate `py --list` in the quickstart section of the Windows doc page (GH-29383)

(cherry picked from commit 1ecfe3d5ae4ddec4e73a6cfc93fed6df43fe0be5)

Co-authored-by: Christian Clauss <cclauss@me.com>
3 years agoFollow PEP-8 guidelines in tutorial for standard library (GH-26127)
Miss Islington (bot) [Sun, 3 Apr 2022 22:49:52 +0000 (15:49 -0700)] 
Follow PEP-8 guidelines in tutorial for standard library (GH-26127)

(cherry picked from commit 6db2db91b96aaa1270c200ec931a2250fe2799c7)

Co-authored-by: Bob Kline <bkline@users.noreply.github.com>
3 years agobpo-47205: Skip error check of sched_get/setaffinity on FreeBSD (GH-32285)
Miss Islington (bot) [Sun, 3 Apr 2022 19:27:32 +0000 (12:27 -0700)] 
bpo-47205: Skip error check of sched_get/setaffinity on FreeBSD (GH-32285)

(cherry picked from commit b82cdd1dac9a9be52051abd90a1ce69236ac41f4)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agoLanguage reference: Remove duplicated text about iterable unpacking (GH-25212)
Miss Islington (bot) [Sun, 3 Apr 2022 03:05:11 +0000 (20:05 -0700)] 
Language reference: Remove duplicated text about iterable unpacking (GH-25212)

(cherry picked from commit 4f5d56f8f33196f5ed8ffad0ab2f012afda2f9b3)

Co-authored-by: Jiashuo Li <4003950+jiasli@users.noreply.github.com>
3 years agobpo-24563: Link encoding names to encoding declarations (GH-32274)
Miss Islington (bot) [Sun, 3 Apr 2022 00:40:55 +0000 (17:40 -0700)] 
bpo-24563: Link encoding names to encoding declarations (GH-32274)

(cherry picked from commit 01be5d6446abbdd95d0c18bd19a58a62b05568d8)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
3 years ago[3.10] More minor fixes to C API docs (GH-31525) (GH-32258)
Jelle Zijlstra [Sat, 2 Apr 2022 23:00:51 +0000 (16:00 -0700)] 
[3.10] More minor fixes to C API docs (GH-31525) (GH-32258)

* wording fixes in type.rst

* grammar and punctuation in sys.rst

* set: grammar fixes

* structures: capitalization fix

* grammar fixes for sequence

* objects: point to Py_TYPE instead of direct object access

* numbers: add more explicit Python equivalences

* method: add missing period

* memory: grammar fix

* mapping: grammar fixes

* long: grammar fix

* iter: fix grammar for PyAIter_Check

* init: grammar fix.
(cherry picked from commit 897bc6f9282238d5fb32d232ab62d30675244736)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years ago[3.10] Document func parameter of locale.atof (GH-18183) (GH-32262)
Jelle Zijlstra [Sat, 2 Apr 2022 22:59:41 +0000 (15:59 -0700)] 
[3.10] Document func parameter of locale.atof (GH-18183) (GH-32262)

The second parameter (named `func`) has been present since the `locale`
module was introduced in eef1d4e8b1, but has never been documented.

This commit updates the documentation for `locale.atof` to clarify the
behavior of the function and how the `func` parameter is used.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
(cherry picked from commit 208da6d508bb2683732151f4ae288dfc8001267c)

Co-authored-by: Kevin Locke <kevin@kevinlocke.name>
3 years agobpo-45584: Clarify `math.trunc` documentation (GH-29183)
Miss Islington (bot) [Sat, 2 Apr 2022 22:30:59 +0000 (15:30 -0700)] 
bpo-45584: Clarify `math.trunc` documentation (GH-29183)

While floor/ceil 's documentation are very precise, `truncate` was not explained. I actually had to search online to understand the difference between `truncate` and `floor` (admittedly, once I remembered that numbers are signed, and that floating numbers actually uses a bit for negation symbol instead of two complement, it became obvious)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Éric Araujo <merwok@netwok.org>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit ebbdbbff5d6840807e46ec61b8a323e94ee88de2)

Co-authored-by: Arthur Milchior <arthur@milchior.fr>
3 years agoos docs: fix typo (GH-28996)
Miss Islington (bot) [Sat, 2 Apr 2022 22:00:12 +0000 (15:00 -0700)] 
os docs: fix typo (GH-28996)

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
(cherry picked from commit 1f80dcd2442f2a354097797fedc077592984903b)

Co-authored-by: Vitor Buxbaum Orlandi <vitorbuxbaum@gmail.com>
3 years agocodecs docs: fix grammar mistake (GH-29462)
Miss Islington (bot) [Sat, 2 Apr 2022 21:33:52 +0000 (14:33 -0700)] 
codecs docs: fix grammar mistake (GH-29462)

(cherry picked from commit ea56845744e815ed468dfbdd835110254c3be997)

Co-authored-by: 180909 <wjh180909@gmail.com>
3 years agobpo-45114: Use lstat() instead of stat() in stat docs example (GH-29845)
Miss Islington (bot) [Sat, 2 Apr 2022 21:19:48 +0000 (14:19 -0700)] 
bpo-45114: Use lstat() instead of stat() in stat docs example (GH-29845)

(cherry picked from commit c93a0ac6972221787d8bea1c41a9feb667ed3d2c)

Co-authored-by: 180909 <wjh180909@gmail.com>
3 years agobpo-47031: Improve documentation for `math.nan` (GH-32170)
Miss Islington (bot) [Sat, 2 Apr 2022 20:19:20 +0000 (13:19 -0700)] 
bpo-47031: Improve documentation for `math.nan` (GH-32170)

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

Co-authored-by: Charlie Zhao <zhaoyu_hit@qq.com>
3 years agoMore minor fixes to C API docs (GH-31714)
Miss Islington (bot) [Sat, 2 Apr 2022 19:54:04 +0000 (12:54 -0700)] 
More minor fixes to C API docs (GH-31714)

* init_config: wording fixes

* bytearray: remove XXX, there is a good link to the buffer docs

* bytes, call, exceptions: minor wording fixes
(cherry picked from commit 677a87946630c5fbd9998969669b4dd4f4b32545)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years agobpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-25032 (GH-32241)
Miss Islington (bot) [Sat, 2 Apr 2022 13:39:03 +0000 (06:39 -0700)] 
bpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-25032 (GH-32241)

(cherry picked from commit 6066739ff7794e54c98c08b953a699cbc961cd28)

Co-authored-by: Zachary Ware <zach@python.org>
3 years agobpo-47089: Avoid test_compileall failures on Windows (GH-32037)
Miss Islington (bot) [Fri, 1 Apr 2022 20:38:35 +0000 (13:38 -0700)] 
bpo-47089: Avoid test_compileall failures on Windows (GH-32037)

(cherry picked from commit 76b8a075b8a79b08468fd0ed06a489a5c815bc11)

Co-authored-by: Jeremy Kloth <jeremy.kloth@gmail.com>
3 years ago[3.10] bpo-47182: Fix crash by named unicode characters after interpreter reinitializ...
Christian Heimes [Fri, 1 Apr 2022 08:44:56 +0000 (11:44 +0300)] 
[3.10] bpo-47182: Fix crash by named unicode characters after interpreter reinitialization (GH-32212) (GH-32216)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agobpo-47151: Fallback to fork when vfork fails in subprocess. (GH-32186)
Miss Islington (bot) [Thu, 31 Mar 2022 21:09:50 +0000 (14:09 -0700)] 
bpo-47151: Fallback to fork when vfork fails in subprocess. (GH-32186)

bpo-47151: Fallback to fork when vfork fails in subprocess. An OS kernel can specifically decide to disallow vfork() in a process. No need for that to prevent us from launching subprocesses.
(cherry picked from commit 4a08c4c469d36f99d3a5e0f17ad82ab35dcf2835)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
3 years agobpo-14911: Corrected generator.throw() documentation (GH-32207)
Miss Islington (bot) [Thu, 31 Mar 2022 14:23:04 +0000 (07:23 -0700)] 
bpo-14911: Corrected generator.throw() documentation (GH-32207)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
(cherry picked from commit 8be7c2bc5ad5e295f0f855bb31db412eef2c7c92)

Co-authored-by: Dave Goncalves <davegoncalves@gmail.com>
3 years agobpo-46775: OSError should call winerror_to_errno unconditionally on Windows (GH-32179)
Miss Islington (bot) [Thu, 31 Mar 2022 01:48:31 +0000 (18:48 -0700)] 
bpo-46775: OSError should call winerror_to_errno unconditionally on Windows (GH-32179)

(cherry picked from commit d0c67ea0645b7ad37b867c167882a346a24de641)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
3 years agobpo-42340: Document issues around KeyboardInterrupt (GH-23255)
Miss Islington (bot) [Tue, 29 Mar 2022 21:45:47 +0000 (14:45 -0700)] 
bpo-42340: Document issues around KeyboardInterrupt (GH-23255)

Update documentation to note that in some circumstances,
KeyboardInterrupt may cause code to enter an inconsistent state. Also
document sample workaround to avoid KeyboardInterrupt, if needed.
(cherry picked from commit d0906c90fcfbc4cfb9bb963eaa6bb152dd543b56)

Co-authored-by: benfogle <benfogle@gmail.com>
3 years agoFix typo in the sqlite3 docs (GH-31915) (GH-32157)
Miss Islington (bot) [Tue, 29 Mar 2022 04:21:27 +0000 (21:21 -0700)] 
Fix typo in the sqlite3 docs (GH-31915) (GH-32157)

Co-authored-by: Jonathan <89750679+AHypnotoad@users.noreply.github.com>
(cherry picked from commit 66584c890d016e40d707400130d1cd98f2aedde9)

Co-authored-by: Jonathan <jonathan.joyner94@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years agoctypes docs: Fix array-length reference to "non-negative" from "positive" (GH-32097...
Miss Islington (bot) [Tue, 29 Mar 2022 02:47:57 +0000 (19:47 -0700)] 
ctypes docs: Fix array-length reference to "non-negative" from "positive" (GH-32097) (GH-32142)

(cherry picked from commit 76f14b0463dc2c53911eaf95e85374e511ba9bcc)

Co-authored-by: Yonatan Goldschmidt <yon.goldschmidt@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
3 years ago[3.10] bpo-28516: document contextlib.ExitStack.__enter__ behavior (GH-31636) (GH...
Jelle Zijlstra [Tue, 29 Mar 2022 02:39:55 +0000 (19:39 -0700)] 
[3.10] bpo-28516: document contextlib.ExitStack.__enter__ behavior (GH-31636) (GH-32171)

The enter_context is updated with following information: 'The :meth:`__enter__` method
      returns the ExitStack instance, and performs no additional operations.'

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

Co-authored-by: vidhya <96202776+Vidhyavinu@users.noreply.github.com>
3 years agobpo-47138: Ensure Windows docs build uses the same pinned version as other platforms...
Steve Dower [Mon, 28 Mar 2022 23:46:18 +0000 (00:46 +0100)] 
bpo-47138: Ensure Windows docs build uses the same pinned version as other platforms (GH-32161)

3 years agobpo-27929: resolve names only for AF_INET/AF_INET6 with asyncio (GH-32131)
Miss Islington (bot) [Mon, 28 Mar 2022 22:15:05 +0000 (15:15 -0700)] 
bpo-27929: resolve names only for AF_INET/AF_INET6 with asyncio (GH-32131)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
(cherry picked from commit 5c30388f3c586ba2f33e349e22e5949cb92de621)

Co-authored-by: Vincent Bernat <vincent@bernat.ch>
3 years ago[3.10] bpo-44493: Add missing terminated NUL in sockaddr_un's length (GH-26866) ...
Miss Islington (bot) [Mon, 28 Mar 2022 18:26:49 +0000 (11:26 -0700)] 
[3.10] bpo-44493: Add missing terminated NUL in sockaddr_un's length (GH-26866) (GH-32140)

Add missing terminated NUL in sockaddr_un's length

- Linux: https://man7.org/linux/man-pages/man7/unix.7.html
- *BSD: SUN_LEN
(cherry picked from commit f6b3a07b7df60dc04d0260169ffef6e9796a2124)

Co-authored-by: ty <zonyitoo@users.noreply.github.com>
Automerge-Triggered-By: GH:gpshead
3 years agobpo-47138: Fix documentation build by pinning Jinja version to 3.0.3 (GH-32154)
Hugo van Kemenade [Mon, 28 Mar 2022 17:06:16 +0000 (20:06 +0300)] 
bpo-47138: Fix documentation build by pinning Jinja version to 3.0.3 (GH-32154)

Co-authored-by: Maciej Olko <maciej.olko@gmail.com>
3 years ago[3.10] bpo-47117: Don't crash if we fail to decode characters when the tokenizer...
Pablo Galindo Salgado [Sat, 26 Mar 2022 18:26:05 +0000 (18:26 +0000)] 
[3.10] bpo-47117: Don't crash if we fail to decode characters when the tokenizer buffers are uninitialized (GH-32129) (GH-32130)

Automerge-Triggered-By: GH:pablogsal.
(cherry picked from commit 26cca8067bf5306e372c0e90036d832c5021fd90)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 years agobpo-47105: Cite grp.h instead of pwd.h in grp docs (GH-32091) (GH-32120)
Miss Islington (bot) [Sat, 26 Mar 2022 00:21:50 +0000 (17:21 -0700)] 
bpo-47105: Cite grp.h instead of pwd.h in grp docs (GH-32091) (GH-32120)

(cherry picked from commit ee912ad6f66bb8cf5a8a2b4a7ecd2752bf070864)

Co-authored-by: Alex Hedges <aphedges@users.noreply.github.com>
3 years agoMerge remote-tracking branch 'upstream/3.10' into 3.10
Pablo Galindo [Thu, 24 Mar 2022 10:30:54 +0000 (10:30 +0000)] 
Merge remote-tracking branch 'upstream/3.10' into 3.10

3 years agoPost 3.10.4
Pablo Galindo [Thu, 24 Mar 2022 10:30:34 +0000 (10:30 +0000)] 
Post 3.10.4

3 years agobpo-47104: Rewrite asyncio.to_thread tests to use IsolatedAsyncioTestCase (GH-32086)
Miss Islington (bot) [Wed, 23 Mar 2022 21:43:32 +0000 (14:43 -0700)] 
bpo-47104: Rewrite asyncio.to_thread tests to use IsolatedAsyncioTestCase (GH-32086)

(cherry picked from commit ff619c7dfe8dcb0e4c8dc655abc3acc7dc586d0d)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
3 years ago[3.10] bpo-47101: list only activated algorithms in hashlib.algorithms_available...
Christian Heimes [Wed, 23 Mar 2022 21:15:25 +0000 (23:15 +0200)] 
[3.10] bpo-47101: list only activated algorithms in hashlib.algorithms_available (GH-32076) (GH-32085)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agoPython 3.10.4 v3.10.4
Pablo Galindo [Wed, 23 Mar 2022 20:10:25 +0000 (20:10 +0000)] 
Python 3.10.4

3 years agoCorrectly document class instead of function (GH-32016)
Miss Islington (bot) [Wed, 23 Mar 2022 16:17:53 +0000 (09:17 -0700)] 
Correctly document class instead of function (GH-32016)

(cherry picked from commit 624e3986fbf8467772e4863b7ec004e65adff619)

Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
3 years ago[doc] configparser: avoid inline comments. (GH-31247)
Miss Islington (bot) [Wed, 23 Mar 2022 08:58:49 +0000 (01:58 -0700)] 
[doc] configparser: avoid inline comments. (GH-31247)

People are testing those blocs with the default
inline_comment_prefixes of None, leading to a:

configparser.InterpolationSyntaxError: '$' must be followed by '$' or '{', found: '$ sign ($ is the only character that needs to be escaped)'
(cherry picked from commit 3ac4e783e077ffd7b51c6acc1591002974644051)

Co-authored-by: Julien Palard <julien@palard.fr>
3 years agoFix typo in Path.iterdir docs (GH-31822)
Miss Islington (bot) [Wed, 23 Mar 2022 03:14:30 +0000 (20:14 -0700)] 
Fix typo in Path.iterdir docs (GH-31822)

(cherry picked from commit 795b365e8a6dfbeaa75780ed7807f8116f4537ca)

Co-authored-by: Matt Williams <matt@milliams.com>
3 years ago[3.10] bpo-46769: Improve documentation for `typing.TypeVar` (GH-31712) (GH-31941)
Alex Waygood [Wed, 23 Mar 2022 02:52:40 +0000 (03:52 +0100)] 
[3.10] bpo-46769: Improve documentation for `typing.TypeVar` (GH-31712) (GH-31941)

* [3.10] bpo-46769: Improve documentation for `typing.TypeVar` (GH-31712)

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

* Remove references to `reveal_type`, add new section on `self` types

3 years agobpo-2604: Make doctest.DocTestCase reset globs in teardown (GH-31932)
Miss Islington (bot) [Tue, 22 Mar 2022 21:31:44 +0000 (14:31 -0700)] 
bpo-2604: Make doctest.DocTestCase reset globs in teardown (GH-31932)

Co-authored-by: Piet Delport
Co-authored-by: Hugo Lopes Tavares
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 7ba7eae50803b11766421cb8aae1780058a57e2b)

Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
3 years agobpo-44336: Prevent tests hanging on child process handles on Windows (GH-26578)
Jeremy Kloth [Tue, 22 Mar 2022 17:21:24 +0000 (11:21 -0600)] 
bpo-44336: Prevent tests hanging on child process handles on Windows (GH-26578)

Replace the child process `typeperf.exe` with a daemon thread that reads the performance counters directly.  This prevents the issues that arise from inherited handles in grandchild processes (see issue37531 for discussion).

We only use the load tracker when running tests in multiprocess mode. This prevents inadvertent interactions with tests expecting a single threaded environment.  Displaying load is really only helpful for buildbots running in multiprocess mode anyway.

Co-authored-by: Jeremy Kloth <jeremy.kloth@gmail.com>
3 years ago[3.10] bpo-45997: Fix asyncio.Semaphore re-acquiring order (GH-31910) (#32047)
Miss Islington (bot) [Tue, 22 Mar 2022 15:15:24 +0000 (08:15 -0700)] 
[3.10] bpo-45997: Fix asyncio.Semaphore re-acquiring order (GH-31910) (#32047)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
(cherry picked from commit 32e77154ddfc514a3144d5912bffdd957246fd6c)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
3 years ago[3.10] bpo-47061: document module deprecations due to PEP 594 (GH-31984) (GH-32039)
Miss Islington (bot) [Tue, 22 Mar 2022 00:30:21 +0000 (17:30 -0700)] 
[3.10] bpo-47061: document module deprecations due to PEP 594 (GH-31984) (GH-32039)

Also removed asynchat, asyncore, and smtpd from their respective toctree entries so they are only  in the superceded subtree.
(cherry picked from commit 9ac2de922a0f783bd43b8e026e4fb70fd1888572)

Co-authored-by: Brett Cannon <brett@python.org>
Automerge-Triggered-By: GH:brettcannon
3 years agobpo-12029: [doc] clarify that except does not match virtual subclasses of the specifi...
Irit Katriel [Mon, 21 Mar 2022 21:22:39 +0000 (21:22 +0000)] 
bpo-12029: [doc] clarify that except does not match virtual subclasses of the specified exception type (GH-32027) (GH-32034)

(cherry picked from commit 45833b50f0ccf2abb01304c900afee05b6d01b9e)

3 years agobpo-23691: Protect the re.finditer() iterator from re-entering (GH-32012)
Miss Islington (bot) [Mon, 21 Mar 2022 11:30:58 +0000 (04:30 -0700)] 
bpo-23691: Protect the re.finditer() iterator from re-entering (GH-32012)

(cherry picked from commit 08eb754d840696914928355014c2d424131f8835)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years ago[3.10] bpo-38256: Fix binascii.crc32 large input. (GH-32000) (GH-32013)
Gregory P. Smith [Sun, 20 Mar 2022 21:46:52 +0000 (14:46 -0700)] 
[3.10] bpo-38256: Fix binascii.crc32 large input. (GH-32000) (GH-32013)

Inputs >= 4GiB to `binascii.crc32(...)` when compiled to use the zlib
crc32 implementation (the norm on POSIX) no longer return the wrong
result.

3 years ago[3.10] bpo-47022: Document asynchat, asyncore and smtpd removals in 3.12 (GH-31891...
Hugo van Kemenade [Sun, 20 Mar 2022 20:38:01 +0000 (22:38 +0200)] 
[3.10] bpo-47022: Document asynchat, asyncore and smtpd removals in 3.12 (GH-31891) (#31997)

Document the deprecation of asyncore, asynchat, and smtpd with a slated removal in Python 3.12 thanks to PEP 594..
(cherry picked from commit 77473846439b8a3eae66de1a1cfe931619f38513)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
3 years agobpo-42369: Fix thread safety of zipfile._SharedFile.tell (GH-26974)
Miss Islington (bot) [Sun, 20 Mar 2022 14:51:11 +0000 (07:51 -0700)] 
bpo-42369: Fix thread safety of zipfile._SharedFile.tell (GH-26974)

The `_SharedFile` tracks its own virtual position into the file as
`self._pos` and updates it after reading or seeking. `tell()` should
return this position instead of calling into the underlying file object,
since if multiple `_SharedFile` instances are being used concurrently on
the same file, another one may have moved the real file position.
Additionally, calling into the underlying `tell` may expose thread
safety issues in the underlying file object because it was called
without taking the lock.
(cherry picked from commit e730ae7effe4f13b24f1b5fb1fca005709c86acb)

Co-authored-by: Kevin Mehall <km@kevinmehall.net>
3 years agobpo-46013: Fix confusing kerning on period in docs (GH-29989) (GH-32005)
Miss Islington (bot) [Sun, 20 Mar 2022 12:17:19 +0000 (05:17 -0700)] 
bpo-46013: Fix confusing kerning on period in docs (GH-29989) (GH-32005)

(cherry picked from commit 3af68fc77c528d4e7749046cf6e41fd79902e6e6)

Co-authored-by: jmcb <joel.mcbride1@live.com>
Co-authored-by: jmcb <joel.mcbride1@live.com>
3 years ago[3.10] bpo-47040: improve document of checksum functions (GH-31955) (GH-32002)
Ma Lin [Sun, 20 Mar 2022 06:57:12 +0000 (14:57 +0800)] 
[3.10] bpo-47040: improve document of checksum functions (GH-31955) (GH-32002)

Clarifies a versionchanged note on crc32 & adler32 docs that the workaround is only needed for Python 2 and earlier.
Also cleans up an unnecessary intermediate variable in the implementation.

Authored-By: Ma Lin / animalize
Co-authored-by: Gregory P. Smith <greg@krypto.org>
3 years agobpo-39394: Improve warning message in the re module (GH-31988)
Miss Islington (bot) [Sat, 19 Mar 2022 14:09:45 +0000 (07:09 -0700)] 
bpo-39394: Improve warning message in the re module (GH-31988)

A warning about inline flags not at the start of the regular
expression now contains the position of the flag.
(cherry picked from commit 4142961b9f5ad3bf93976a6a7162f8049e354018)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agobpo-44544: add textwrap placeholder arg (GH-27671)
Miss Islington (bot) [Sat, 19 Mar 2022 12:47:58 +0000 (05:47 -0700)] 
bpo-44544: add textwrap placeholder arg (GH-27671)

(cherry picked from commit cb7874f49d3d55df73a3c529773af14e2e344fb7)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
3 years ago[3.10] bpo-40296: Fix supporting generic aliases in pydoc (GH-30253). (GH-31976)
Serhiy Storchaka [Fri, 18 Mar 2022 18:46:31 +0000 (20:46 +0200)] 
[3.10] bpo-40296: Fix supporting generic aliases in pydoc (GH-30253). (GH-31976)

(cherry picked from commit cd44afc573e2e2de8d7e5a9119c347373066cd10)

3 years ago[3.10] bpo-46968: Check for 'sys/auxv.h' in the configure script (GH-31961). (GH...
Pablo Galindo Salgado [Fri, 18 Mar 2022 13:33:11 +0000 (13:33 +0000)] 
[3.10] bpo-46968: Check for 'sys/auxv.h' in the configure script (GH-31961). (GH-31974)

(cherry picked from commit 8e3fde728f547f1d32bde8adf62b4c50bb877b9d)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
3 years agobpo-45979: Fix Tkinter tests with old Tk (>= 8.5.12) (GH-31938)
Miss Islington (bot) [Fri, 18 Mar 2022 12:44:54 +0000 (05:44 -0700)] 
bpo-45979: Fix Tkinter tests with old Tk (>= 8.5.12) (GH-31938)

(cherry picked from commit dbbe4d2d0075fa0e95b069fb4780d79aae3514c7)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years agobpo-46421: Fix unittest filename evaluation when called as a module (GH-30654)
Miss Islington (bot) [Fri, 18 Mar 2022 00:00:52 +0000 (17:00 -0700)] 
bpo-46421: Fix unittest filename evaluation when called as a module (GH-30654)

(cherry picked from commit a0db11b10fca0fee6bb2b8d6277e266bad8c0fdb)

Co-authored-by: Bader Zaidan <bader@zaidan.pw>
3 years agobpo-47038: Increase a test timeout for slow CI machines (GH-31951)
Miss Islington (bot) [Thu, 17 Mar 2022 01:20:02 +0000 (18:20 -0700)] 
bpo-47038: Increase a test timeout for slow CI machines (GH-31951)

(cherry picked from commit a7c54148322781cb0f332d440a3454d550ef6414)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
3 years agobpo-47038: Rewrite missed asyncio.wait_for test to use IsolatedAnsyncioTestCase ...
Miss Islington (bot) [Thu, 17 Mar 2022 00:19:51 +0000 (17:19 -0700)] 
bpo-47038: Rewrite missed asyncio.wait_for test to use IsolatedAnsyncioTestCase (GH-31946) (#31948)

(cherry picked from commit 3dd9bfac04d3dcdbfd3f8011a6c9d4b9ac8c116a)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
3 years agobpo-47038: Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase (GH-31942...
Miss Islington (bot) [Wed, 16 Mar 2022 20:15:08 +0000 (13:15 -0700)] 
bpo-47038: Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase (GH-31942) (GH-31943)

(cherry picked from commit dd0082c627713634c7fd88ad33d18b5cc9f4a7b8)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
3 years agoPost 3.10.3
Pablo Galindo [Wed, 16 Mar 2022 14:30:58 +0000 (14:30 +0000)] 
Post 3.10.3

3 years agoPython 3.10.3 v3.10.3
Pablo Galindo [Wed, 16 Mar 2022 11:25:44 +0000 (11:25 +0000)] 
Python 3.10.3

3 years ago[3.10] bpo-47032: Ensure Windows install builds fail correctly with a non-zero exit...
Steve Dower [Wed, 16 Mar 2022 02:07:42 +0000 (02:07 +0000)] 
[3.10] bpo-47032: Ensure Windows install builds fail correctly with a non-zero exit code when part of the build fails (GH-31921) (GH-31926)

Automerge-Triggered-By: GH:zooba
3 years agobpo-46948: Fix launcher installer build failure due to first part of fix (GH-31920)
Miss Islington (bot) [Wed, 16 Mar 2022 01:13:03 +0000 (18:13 -0700)] 
bpo-46948: Fix launcher installer build failure due to first part of fix (GH-31920)

(cherry picked from commit 708812085355c92f32e547d1f1d1f29aefbbc27e)

Co-authored-by: Steve Dower <steve.dower@python.org>
3 years ago[3.10] bpo-47024: Update OpenSSL to 1.1.1n (GH-31895) (GH-31916)
Christian Heimes [Tue, 15 Mar 2022 20:31:00 +0000 (22:31 +0200)] 
[3.10] bpo-47024: Update OpenSSL to 1.1.1n (GH-31895) (GH-31916)

Co-authored-by: Zachary Ware <zachary.ware@gmail.com>.
Co-authored-by: Christian Heimes <christian@python.org>
3 years agobpo-43253: Don't call shutdown() for invalid socket handles (GH-31892)
Miss Islington (bot) [Tue, 15 Mar 2022 15:22:01 +0000 (08:22 -0700)] 
bpo-43253: Don't call shutdown() for invalid socket handles (GH-31892)

(cherry picked from commit 70155412f1543f100d4aa309b8691cbcabd3e0e1)

Co-authored-by: Maximilian Hils <git@maximilianhils.com>
3 years agobpo-20392: Fix inconsistency with uppercase file extensions in mimetypes.guess_type...
Miss Islington (bot) [Tue, 15 Mar 2022 15:14:19 +0000 (08:14 -0700)] 
bpo-20392: Fix inconsistency with uppercase file extensions in mimetypes.guess_type (GH-30229)

(cherry picked from commit 5dd7ec52b83e7f239774cf7478106fcc7b0a36f3)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
3 years agoBut Add missing newline to NEWS entry (GH-31893)
Miss Islington (bot) [Tue, 15 Mar 2022 08:51:32 +0000 (01:51 -0700)] 
But Add missing newline to NEWS entry (GH-31893)

(cherry picked from commit 16995ed0f2b697ca1ff966741288e787e1701ca9)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
3 years agobpo-43721: Fix docstrings for property.getter/setter/deleter (GH-31046)
Miss Islington (bot) [Mon, 14 Mar 2022 23:51:55 +0000 (16:51 -0700)] 
bpo-43721: Fix docstrings for property.getter/setter/deleter (GH-31046)

(cherry picked from commit e3d348a5252549708fd19338b675a2c23b60d677)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
3 years agobpo-31415: importtime was made by Inada Naoki (GH-31875)
Miss Islington (bot) [Mon, 14 Mar 2022 21:24:50 +0000 (14:24 -0700)] 
bpo-31415: importtime was made by Inada Naoki (GH-31875)

(cherry picked from commit 29624e769c5c3c1e59c6acc8b69383ead53e8a9f)

Co-authored-by: Victor Stinner <vstinner@python.org>
3 years agoRevert "bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)" (GH-31880)
Ned Deily [Mon, 14 Mar 2022 21:08:28 +0000 (17:08 -0400)] 
Revert "bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)" (GH-31880)

This reverts commit 25962e4e60235645f945d23281431b30b3c3d573
as it breaks test_bdb and test_distutils with installed Pythons.

3 years ago[3.10] bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError (GH-31548...
Miss Islington (bot) [Mon, 14 Mar 2022 20:50:41 +0000 (13:50 -0700)] 
[3.10] bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError (GH-31548) (GH-31877)

(cherry picked from commit 879fbd9472753149b627f32add3ddca90ac47ab7)

Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
Automerge-Triggered-By: GH:iritkatriel
3 years ago[3.10] bpo-43215: Document Happy Eyeballs args of asyncio.open_connection (GH-24525...
Illia Volochii [Mon, 14 Mar 2022 13:16:29 +0000 (15:16 +0200)] 
[3.10] bpo-43215: Document Happy Eyeballs args of asyncio.open_connection (GH-24525) (GH-31869)

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
(cherry picked from commit 3543ddb4c4ebc26fb2d6c67a97e66f5267876f72)

Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
3 years ago[3.10] bpo-47004: Sync with importlib_metadata 4.11.3. (GH-31854). (GH-31857)
Jason R. Coombs [Sun, 13 Mar 2022 21:29:50 +0000 (17:29 -0400)] 
[3.10] bpo-47004: Sync with importlib_metadata 4.11.3. (GH-31854). (GH-31857)

(cherry picked from commit b1e286860742e7ba6fadc75e3ddb6c2899a56919)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
3 years agobpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)
Miss Islington (bot) [Sun, 13 Mar 2022 19:15:20 +0000 (12:15 -0700)] 
bpo-46986: Upgrade bundled setuptools to 60.9.3 (GH-31820)

(cherry picked from commit c99ac3c364ee21be72263791b71ee8b55f64de08)

Co-authored-by: Pradyun Gedam <pgedam@bloomberg.net>
3 years ago[3.10] bpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819) (GH-31849)
Miss Islington (bot) [Sun, 13 Mar 2022 18:52:04 +0000 (11:52 -0700)] 
[3.10] bpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819) (GH-31849)

(cherry picked from commit d87f1b787ed38dfd307d82452f2efe9dc5b93942)

Co-authored-by: Pradyun Gedam <pgedam@bloomberg.net>
Automerge-Triggered-By: GH:ned-deily
3 years ago[3.10] sqlite3: normalise pre-acronym determiners (GH-31772) (GH-31806)
Jelle Zijlstra [Sat, 12 Mar 2022 01:10:55 +0000 (17:10 -0800)] 
[3.10] sqlite3: normalise pre-acronym determiners (GH-31772) (GH-31806)

For consistency, replace "a SQL" with "an SQL"..
(cherry picked from commit 2d5835a019a46573d5b1b614c8ef88d6b564d8d4)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
3 years ago[3.10] bpo-46677: Add examples of inheritance and attributes to `TypedDict` docs...
Charlie Zhao [Sat, 12 Mar 2022 01:03:52 +0000 (09:03 +0800)] 
[3.10] bpo-46677: Add examples of inheritance and attributes to `TypedDict` docs (GH-31349) (GH-31815)

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

Co-authored-by: Charlie Zhao <68189100+CharlieZhao95@users.noreply.github.com>
3 years agobpo-46968: Fix faulthandler for Sapphire Rapids Xeon (GH-31789) (GH-31830)
Victor Stinner [Fri, 11 Mar 2022 23:04:14 +0000 (00:04 +0100)] 
bpo-46968: Fix faulthandler for Sapphire Rapids Xeon (GH-31789) (GH-31830)

In Linux kernel 5.14 one can dynamically request size of altstacksize
based on hardware capabilities with getauxval(AT_MINSIGSTKSZ).

This changes allows for Python extension's request to Linux kernel
to use AMX_TILE instruction set on Sapphire Rapids Xeon processor
to succeed, unblocking use of the ISA in frameworks.

Introduced HAVE_LINUX_AUXVEC_H in configure.ac and pyconfig.h.in
Used cpython_autoconf:269 docker container to generate configure.

(cherry picked from commit 3b128c054885fe881c3b57a5978de3ea89c81a9c)

Co-authored-by: Oleksandr Pavlyk <oleksandr.pavlyk@intel.com>
3 years agobpo-31327: Update time documentation to reflect possible errors (GH-31460)
Miss Islington (bot) [Fri, 11 Mar 2022 19:29:48 +0000 (11:29 -0800)] 
bpo-31327: Update time documentation to reflect possible errors (GH-31460)

As per the comments, this mirrors the [datetime documentation](https://docs.python.org/3/library/datetime.htmlGH-datetime.datetime.fromtimestamp).

```
>>> import time
>>> time.localtime(999999999999999999999)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OverflowError: timestamp out of range for platform time_t
>>> time.localtime(-3600)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 22] Invalid argument
```
(cherry picked from commit c83fc9c02c9846ec3a2d0123999c98e02f00b3f5)

Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
3 years ago[3.10] bpo-46581: Propagate private vars via _GenericAlias.copy_with (GH-31061) ...
Matt Bogosian [Fri, 11 Mar 2022 14:57:52 +0000 (08:57 -0600)] 
[3.10] bpo-46581: Propagate private vars via _GenericAlias.copy_with (GH-31061) (GH-31821)

(Cherry-picked from 32bf3597922ac3f613989582afa2bff43bea8a2f.)

GH-26091 added the _typevar_types and _paramspec_tvars instance
variables to _GenericAlias. However, they were not propagated
consistently. This commit addresses the most prominent deficiency
identified in bpo-46581 (namely their absence from
_GenericAlias.copy_with), but there could be others.

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
3 years ago[3.10] bpo-46198: rename duplicate tests and remove unused code (GH-30297) (GH-31796)
Jelle Zijlstra [Thu, 10 Mar 2022 21:53:50 +0000 (13:53 -0800)] 
[3.10] bpo-46198: rename duplicate tests and remove unused code (GH-30297) (GH-31796)

(cherry picked from commit 6c83c8e6b56b57a8a794e7b6c07837be4ce3bb97)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
3 years agoRemove print race from task_done example. (GH-31795)
Miss Islington (bot) [Thu, 10 Mar 2022 17:22:46 +0000 (09:22 -0800)] 
Remove print race from task_done example. (GH-31795)

(cherry picked from commit a0eb69c1a2e3aee75cb48e9868ef06a531b94a70)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
3 years ago[3.10] Docstring: replace pysqlite with sqlite3 (GH-31758) (GH-31777)
Jelle Zijlstra [Wed, 9 Mar 2022 18:19:27 +0000 (10:19 -0800)] 
[3.10] Docstring: replace pysqlite with sqlite3 (GH-31758) (GH-31777)

Replace two instances of "pysqlite" with "sqlite3" in sqlite3
docstrings. Also reword "is a no-op" to "does nothing" for clarity..
(cherry picked from commit b33a1ae703338e09dc0af5fbfd8ffa01d3ff75da)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
3 years agobpo-24959: fix unittest.assertRaises bug where traceback entries are dropped from...
Miss Islington (bot) [Tue, 8 Mar 2022 22:09:28 +0000 (14:09 -0800)] 
bpo-24959: fix unittest.assertRaises bug where traceback entries are dropped from chained exceptions (GH-23688)

(cherry picked from commit 88b7d86a73da9388aa65c96401c2984c8c16f8db)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
3 years agobpo-46955: Expose asyncio.base_events.Server as asyncio.Server (GH-31760)
Miss Islington (bot) [Tue, 8 Mar 2022 21:36:35 +0000 (13:36 -0800)] 
bpo-46955: Expose asyncio.base_events.Server as asyncio.Server (GH-31760)

This change aligns the documentation at https://docs.python.org/3/library/asyncio-eventloop.htmlGH-asyncio.Server
with the actual implementation

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
(cherry picked from commit da80d6b2f3beff519cb1457d5e055168c89f7224)

Co-authored-by: Stefan Zabka <zabkaste@informatik.hu-berlin.de>
3 years agobpo-23325: Fix SIG_IGN and SIG_DFL int comparison in signal module (GH-31759)
Miss Islington (bot) [Tue, 8 Mar 2022 18:53:24 +0000 (10:53 -0800)] 
bpo-23325: Fix SIG_IGN and SIG_DFL int comparison in signal module (GH-31759)

(cherry picked from commit c8a47e76a391c8818bf10a282cdcd3bb5c23ebf6)

Co-authored-by: Christian Heimes <christian@python.org>
3 years agoRemoved confusing reference to sys (GH-31638)
Miss Islington (bot) [Tue, 8 Mar 2022 16:04:56 +0000 (08:04 -0800)] 
Removed confusing reference to sys (GH-31638)

(cherry picked from commit 28f84c72b6cee145f9c00e9b999656e9a2517e49)

Co-authored-by: David Gilbertson <gilbertson.david@gmail.com>
3 years ago[3.10] docs: Don't use code formatting for emphasis (GH-30519) (GH-31764)
Jelle Zijlstra [Tue, 8 Mar 2022 15:42:54 +0000 (07:42 -0800)] 
[3.10] docs: Don't use code formatting for emphasis (GH-30519) (GH-31764)

(cherry picked from commit badb637c8ce91625122d5f4d71276bfe1a8ed5e9)

Co-authored-by: William Andrea <william.j.andrea@gmail.com>
3 years ago[3.10] bpo-46878: Purge 'non-standard' from sqlite3 docstrings (GH-31612) (GH-31753)
Erlend Egeberg Aasland [Tue, 8 Mar 2022 15:30:14 +0000 (16:30 +0100)] 
[3.10] bpo-46878: Purge 'non-standard' from sqlite3 docstrings (GH-31612) (GH-31753)

(cherry picked from commit 4d95fa1ac5d31ff450fb2f31b55ce1eb99d6efcb)

3 years agobpo-44439: _ZipWriteFile.write() handle buffer protocol correctly (GH-29468)
Miss Islington (bot) [Tue, 8 Mar 2022 10:03:12 +0000 (02:03 -0800)] 
bpo-44439: _ZipWriteFile.write() handle buffer protocol correctly (GH-29468)

Co-authored-by: Marco Ribeiro <marcoffee@users.noreply.github.com>
(cherry picked from commit 36dd7396fcd26d8bf9919d536d05d7000becbe5b)

Co-authored-by: Ma Lin <animalize@users.noreply.github.com>
3 years agoRemoved ambiguity in __init_subclass__ docs (GH-31540)
Miss Islington (bot) [Tue, 8 Mar 2022 04:33:19 +0000 (20:33 -0800)] 
Removed ambiguity in __init_subclass__ docs (GH-31540)

(cherry picked from commit ab014978aef303ac60465c9010505d798dc34df8)

Co-authored-by: David Gilbertson <gilbertson.david@gmail.com>
3 years agobpo-46494: Mention the typing_extensions pkg in typing docs (GH-31260)
Miss Islington (bot) [Tue, 8 Mar 2022 04:25:30 +0000 (20:25 -0800)] 
bpo-46494: Mention the typing_extensions pkg in typing docs (GH-31260)

(cherry picked from commit 8debeed3075bf4d7e568e65da16bec63cf276f4f)

Co-authored-by: Meer Suri <46469858+meersuri@users.noreply.github.com>
3 years agoimportlib.metadata: Remove empty footnote section (GH-30451)
Miss Islington (bot) [Tue, 8 Mar 2022 04:21:32 +0000 (20:21 -0800)] 
importlib.metadata: Remove empty footnote section (GH-30451)

(cherry picked from commit 13331a12c3c4d5007e2ab61514ba1d76cedd8b84)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
3 years agobpo-45680: Improve docs on subscriptions w.r.t. `GenericAlias` objects (GH-29479)
Miss Islington (bot) [Tue, 8 Mar 2022 04:12:59 +0000 (20:12 -0800)] 
bpo-45680: Improve docs on subscriptions w.r.t. `GenericAlias` objects (GH-29479)

(cherry picked from commit 50731297a9b6d57eec3b3f89522785b23f7b3e71)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
3 years agobpo-46932: Update bundled libexpat to 2.4.7 (GH-31736)
Miss Islington (bot) [Mon, 7 Mar 2022 22:17:29 +0000 (14:17 -0800)] 
bpo-46932: Update bundled libexpat to 2.4.7 (GH-31736)

(cherry picked from commit 176835c3d5c70f4c1b152cc2062b549144e37094)

Co-authored-by: Steve Dower <steve.dower@python.org>
3 years agobpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and...
Steve Dower [Mon, 7 Mar 2022 19:15:04 +0000 (19:15 +0000)] 
bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900 (GH-31732)