3.11
Name already in use
Commits on Nov 30, 2022
-
[3.11] GH-98906
re
module:search() vs. match()
section s……hould mention ```fullmatch()``` (GH-98916) (GH-99912) GH-98906 ```re``` module: ```search() vs. match()``` section should mention ```fullmatch()``` (GH-98916) Mention fullmatch along with search and match. (cherry picked from commit e0f91de) Co-authored-by: ram vikram singh <ramvikrams243@gmail.com> Co-authored-by: ram vikram singh <ramvikrams243@gmail.com>
-
bpo-47220: Document the optional callback parameter of weakref.WeakMe…
Commits on Nov 29, 2022
-
gh-82836: fix private network check (GH-97733)
Fixes private checks for network objects. The previous method would incorrectly return True for a private check in cases such as "0.0.0.0/0". (cherry picked from commit ed39109) Co-authored-by: Pete Wicken <2273100+JamoBox@users.noreply.github.com>
-
Docs: improve accuracy of socketserver reference (GH-24767)
(cherry picked from commit 052bc12) Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
-
whatsnew-3.10: Mention PEP 647 in the Release highlights section. (GH…
-
gh-90717: Update the documentation for the altchars paremeter in base…
-
gh-99344, gh-99379, gh-99382: Fix issues in substitution of ParamSpec…
… and TypeVarTuple (GH-99412) * Fix substitution of TypeVarTuple and ParamSpec together in user generics. * Fix substitution of ParamSpec followed by TypeVarTuple in generic aliases. * Check the number of arguments in substitution in user generics containing a TypeVarTuple and one or more TypeVar. (cherry picked from commit 8f2fb7d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Commits on Nov 28, 2022
-
fnmatch
docs: link tofnmatch.filter()
, notbuiltins.filter()
(G… -
gh-99249: Clarify "read-only" slots tp_bases & tp_mro (GH-99342)
These slots are marked "should be treated as read-only" in the table at the start of the document. That doesn't say anything about setting them in the static struct. `tp_bases` docs did say that it should be ``NULL`` (TIL!). If you ignore that, seemingly nothing bad happens. However, some slots may not be inherited, depending on which sub-slot structs are present. (FWIW, NumPy sets tp_bases and is affected by the quirk -- though to be fair, its DUAL_INHERIT code probably predates tp_bases docs, and also the result happens to be benign.) This patch makes things explicit. It also makes the summary table legend easier to scan. (cherry picked from commit 219696a) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
-
[3.11] bpo-31718: Fix io.IncrementalNewlineDecoder SystemErrors and s…
-
bpo-41825: restructure docs for the os.wait*() family (GH-22356)
(cherry picked from commit 492dc02) Co-authored-by: Georg Brandl <georg@python.org>
-
gh-51524: Fix bug when calling trace.CoverageResults with valid infile (
Commits on Nov 27, 2022
-
Docs: both sqlite3 "point examples" now adapt to str (GH-99823)
(cherry picked from commit 276643e) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
-
gh-91340: Document multiprocessing.set_start_method force parameter (G…
…H-32339) GH-91340 https://bugs.python.org/issue47184 (cherry picked from commit dfc2732) Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com> Automerge-Triggered-By: GH:kumaraditya303
-
GH-87235: Make sure "python /dev/fd/9 9</path/to/script.py" works on …
…macOS (GH-99768) On macOS all file descriptors for a particular file in /dev/fd share the same file offset, that is ``open("/dev/fd/9", "r")`` behaves more like ``dup(9)`` than a regular open. This causes problems when a user tries to run "/dev/fd/9" as a script because zipimport changes the file offset to try to read a zipfile directory. Therefore change zipimport to reset the file offset after trying to read the zipfile directory. (cherry picked from commit d08fb25) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
-
doc: Remove backslashes in doctest grammar docs (GH-29346)
(cherry picked from commit 22860db) Co-authored-by: George Zhang <geetransit@gmail.com>
-
bpo-43327: Fix the docs for PyImport_ImportFrozenModuleObject() (GH-2…
Commits on Nov 26, 2022
-
gh-91078: Return None from TarFile.next when the tarfile is empty (GH…
-
gh-97966: Restore prior expectation that uname_result._fields and ._a…
-
GH-95896: posixmodule.c: fix osdefs.h inclusion to not depend on comp…
-
[3.11] gh-99502: mention bytes-like objects as input in `secrets.comp…
…are_digest` (GH-99512) (#99791) gh-99502: mention bytes-like objects as input in `secrets.compare_digest` (GH-99512) Now it is in sync with https://docs.python.org/3/library/hmac.htmlGH-hmac.compare_digest It is the same function, just re-exported. So, I guess they should mention the same input types. (cherry picked from commit 47d673d) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
-
Fix typo in
__match_args__
doc (GH-99785)A opy of GH-98549, whose author (@icecream17) uses a school computer that blocks the CLA site. I did not mention this in commit comment above so CLA bot does not pick up the name and request the CLA again. (cherry picked from commit a86d854) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Commits on Nov 25, 2022
-
gh-64019: Have attribute table in
inspect
docs link to module attri… -
bpo-38031: Fix a possible assertion failure in _io.FileIO() (GH-GH-5688)
(cherry picked from commit d386115) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
-
gh-96168: Add sqlite3 row factory how-to (GH-99507)
(cherry picked from commit 8749121) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Commits on Nov 24, 2022
-
Fix rendering of audioop license in Doc/license.rst (GH-99752)
Also some cosmetic blank line additions for consistency with the formatting of the rest of the file. (cherry picked from commit b5b3904) Co-authored-by: Zachary Ware <zach@python.org>
Commits on Nov 23, 2022
-
Use faster APIs to calculate paths at startup for Store packaged Pyth…
-
[3.11] gh-88863: Clear ref cycles to resolve leak when asyncio.open_c…
-
gh-99619: fix error in documentation of ExceptionGroup.derive() (GH-9…
-
GH-95283: Add note about compilers in Mac/README.txt (GH-99506)
The build machinery assumes that the compiler that's used to build on macOS includes an SDK that's at least as new as the OS version on the build machine. Explicitly mention this in Mac/README.txt. (cherry picked from commit 8f024a0) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>