| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
not currently planned (#106748) (#106772)
|
|
|
|
|
|
| |
(cherry picked from commit 89867d2491c0c3ef77bc237899b2f0762f43c03c)
Co-authored-by: Charlie Zhao <zhaoyu_hit@qq.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
|
|
| |
`HTTPConnection.get_proxy_response_headers` (GH-105628) (#106738)
gh-105626: Change the default return value of `HTTPConnection.get_proxy_response_headers` (GH-105628)
(cherry picked from commit 490295d651d04ec3b3eff2a2cda7501191bad78a)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
| |
deprecation doc (GH-106660) (#106660)
* Added mention to passlib package as alternative to the deprecated crypt module.
|
|
|
|
|
|
| |
Add Plausible for docs metrics (GH-106644)
(cherry picked from commit e8ab0096a583184fe24dfbc39eff70d270c8e6f4)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
|
|
|
|
|
|
| |
(#106647)
(cherry picked from commit f520804b039df0d87fb9df6f1fed2a9bc9df8d61)
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
|
|
|
|
|
| |
(GH-106513) (#106645)
(cherry picked from commit fc7ff1af457e27b7d9752600b3436641be90f598)
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
|
|
|
|
|
|
| |
(#106636)
(cherry picked from commit d0b7e18262e69dd4b8252e804e4f98fc9533bcd6)
Co-authored-by: RustyNail <takonoyawarakaage@yahoo.co.jp>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
|
|
| |
metaclasses (GH-105698) (GH-106619)
gh-103968: What's New: Add porting hints for PyType_From with metaclasses (GH-105698)
(cherry picked from commit af5cf1e75136fcef967d4ebe1bc45f29e6dc1bcf)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to indicate the parsing error (old API) (GH-105127) (#106612)
gh-102988: Detect email address parsing errors and return empty tuple to indicate the parsing error (old API) (GH-105127)
Detect email address parsing errors and return empty tuple to indicate the parsing error (old API). This fixes or at least ameliorates CVE-2023-27043.
---------
(cherry picked from commit 18dfbd035775c15533d13a98e56b1d2bf5c65f00)
Co-authored-by: Thomas Dwyer <github@tomd.tel>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
|
|
|
|
|
|
|
|
|
| |
gh-105227: Add PyType_GetDict() (GH-105747)
This compensates for static builtin types having `tp_dict` set to `NULL`.
(cherry picked from commit a840806d338805fe74a9de01081d30da7605a29f)
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clarify how topics.py gets created. (GH-106121)
When changing docs, it was easy to find text in topics.py, and I
wondered whether I was supposed to edit it. Thankfully, the top of the
file says it's auto-generated, so I knew I didn't have to edit it. But I
didn't know what started the auto-generation process.
It's part of the release process, so I'll leave a note here for future
editors.
(cherry picked from commit dac1e364901d3668742e6eecc2ce63586330c11f)
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
|
|
|
|
|
|
| |
gh-106461: typing: Consolidate docs on `Callable` (GH-106462)
(cherry picked from commit ca8b55c7f54b38e264056148075a8061a7082013)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
|
| |
documentation (GH-101883) (#106546)
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
(GH-106465) (#106473)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
|
|
|
|
|
|
|
|
| |
(GH-106378) (#106471)
gh-105256: What's New note for comprehension over locals() (GH-106378)
(cherry picked from commit 13aefd175e3c04529251f175c23cb3ed88451fd0)
Co-authored-by: Carl Meyer <carl@oddbird.net>
|
|
|
|
|
|
|
|
| |
shlex docs: remove outdated note (GH-106463)
As the versionchanged notice says, this note is no longer true on 3.12+.
(cherry picked from commit c16ea94abc73c0098b484f7e2ec23bfd9c36b67c)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
(GH-106119) (#106348)
Replace the esoteric term 'datum' when describing dict comprehensions (GH-106119)
(cherry picked from commit 987b712b4aeeece336eed24fcc87a950a756c3e2)
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-106296) (#106298)
gh-106232: Make timeit doc command lines compatible with Windows. (GH-106296)
Command Prompt (CMD Shell) and older versions of PowerShell
require double quotes and single quotes inside the string.
This form also works on linux and macOS.
(cherry picked from commit 04dfc6fa9018e92a5b51c29fc0ff45419c596bc3)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
|
|
|
| |
(GH-106278) (#106281)
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>
|
|
|
|
|
|
|
|
| |
gh-77782: Deprecate Py_HasFileSystemDefaultEncoding (GH-106272)
Deprecate Py_HasFileSystemDefaultEncoding variable.
(cherry picked from commit f3cf2ddd8ddc7dfa6b06e6da640391a1bcd62b8a)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
|
|
|
|
| |
(GH-105265) (#106204)
Co-authored-by: F3eQnxN3RriK <drsuaimqjgar@gmail.com>
|
|
|
|
|
|
|
|
| |
`asyncio.EventLoop.start_tls` docs (GH-105995) (#106188)
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>
|
|
|
|
|
|
| |
gh-101100: Fix reference to asynchronous methods (GH-106172)
(cherry picked from commit bbf722dcd39c66418e45991dcf1cdf140c2ce20e)
Co-authored-by: F3eQnxN3RriK <drsuaimqjgar@gmail.com>
|
|
|
|
|
|
|
| |
`asyncio-task.rst` (GH-106136) (#106179)
Co-authored-by: lightdrk <108566237+lightdrk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
|
|
|
|
| |
inspection (GH-106148) (#106155)
(cherry picked from commit 9126a6a9ce3772d5dc785cbee159b07a1ff7d531)
|
|
|
|
|
|
|
|
|
| |
inspection (GH-106143) (#106147)
gh-106140: Reorder some fields to facilitate out-of-process inspection (GH-106143)
(cherry picked from commit 2d5a1c281161d037148ffb5983decc6d31c2557d)
Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
|
|
|
|
|
|
|
| |
(GH-101055) (#106139)
gh-92788: Add docs for `ast.Module`, `ast.Expression`, and others (GH-101055)
(cherry picked from commit 33608fd67df8b1033519f808441ee00289e2dac0)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
object_hook (GH-96146)" (GH-105948) (#106117)
Revert "GH-96145: Add AttrDict to JSON module for use with object_hook (GH-96146)" (GH-105948)
This reverts commit 1f0eafa844bf5a380603d55e8d4b42d8c2a3439d.
(cherry picked from commit d3af83b9342457d8b24476baeb799f7506ff04f3)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
|
|
|
|
|
|
|
|
| |
default value for a field is detected (gh-106109) (gh-106115)
gh-106107: document correct error that's raised when a mutable default value for a field is detected (gh-106109)
(cherry picked from commit 512f299e557f4ab60768d36cee9968bd92116367)
Co-authored-by: Roderich Schupp <roderich.schupp@gmail.com>
|
|
|
|
|
|
|
|
|
| |
executable (GH-106112) (#106114)
Remove zipapp documentation on creating a Windows executable
(cherry picked from commit 5d4dbf0e309255e5bce9e31d805a8f950ebf9161)
Co-authored-by: Paul Moore <p.f.moore@gmail.com>
|
|
|
|
|
|
| |
Improve typing docs on the type of class objects (GH-106081)
(cherry picked from commit 3eeb8c89063d5ac22c0b1d26e4ae2fd12c149650)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
|
| |
becoming immortal (GH-105195) (#105977)
gh-84436: update docs on Py_None/Py_True/Py_False/Py_Ellipsis becoming immortal (GH-105195)
(cherry picked from commit a2392720d6108041d17960a86514ba859b436f05)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
gh-104212: Explain how to port imp.load_source() (GH-105978)
Explain how to port removed imp.load_source() to importlib in What's
New in Python 3.12.
(cherry picked from commit 18a7c86697493510993e43bafe8bd4046928bec5)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
|
|
|
| |
(cherry picked from commit bef1c8761e3b0dfc5708747bb646ad8b669cbd67)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#106070)
gh-106033: [docs] Improve C API GetItem & HasAttr notes. (GH-106047)
Use a note:: tag so that these dict and object API deficiencies show up clearly.
A caution:: tag was considered, but our current python docs rendering doesn't do much with that (no box or color change). warning:: seemed too extreme. note looks good.
(cherry picked from commit 19d6511b0b8f3f74e668ae32ccef89bcbf1a8a62)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
|
|
|
|
| |
docs (GH-104376, GH-106058)
(cherry picked from commit 4a6c84fc1ea8f26d84a0fbeeff6f8dedc32263d4)
|
|
|
|
|
|
| |
Typing docs: fix typo in annotating tuples comment (GH-106048)
(cherry picked from commit 8ef0ee4ebc84ee68f16cea85ffdb949ecccb4ba5)
Co-authored-by: Eamon Tracey <66919574+EamonTracey@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
(#106027)
Typing docs: improve the guidance on annotating tuples (GH-106021)
(cherry picked from commit 968435ddb1c1af9333befb26f7970cded8a5c710)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
|
|
| |
Sphinx >=6.1 (GH-105886) (#106010)
Docs: Avoid a DeprecationWarning in `pyspecific.py` when running with Sphinx >=6.1 (GH-105886)
(cherry picked from commit a72683ba8e0337650cc490dbe593a5e46aba60cb)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
|
|
|
|
|
| |
stdtypes.rst: remove a period (GH-105959)
(cherry picked from commit c5a722be5f7979c73e2451e537a8fc58bf9af12e)
Co-authored-by: Mathieu Dupuy <deronnax@gmail.com>
|
|
|
|
|
|
|
|
| |
(#105952)
gh-104212: Explain how to port imp code to importlib (GH-105905)
(cherry picked from commit 7a56a4148c521969d64164d2776641f19e3ca9e8)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
|
|
|
|
| |
typing docs: Improve the intro to each section (GH-105901)
(cherry picked from commit 4426279a4399158027a1145cff1c4c92424bf5b5)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
| |
(#105892)
(cherry picked from commit dba72175116373c1d15e25d84c88b516daf9f5c4)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
|
|
|
|
|
|
| |
Docs: move sphinx-lint to pre-commit (GH-105750)
(cherry picked from commit bc07c8f096791d678ca5c1e3486cb9648f7a027b)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|