| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(GH-30373)
|
|
|
|
|
|
|
|
|
|
| |
Remove the bit about subclassing exceptions.
Documentation PR can skip the NEWS label.
Automerge-Triggered-By: GH:iritkatriel
(cherry picked from commit 2db56130631255ca2eb504519430fb2f1fe789e9)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
multiple leading periods (GH-30347) (GH-30368)
(cherry picked from commit 51700bf08b0dd4baf998440b2ebfaa488a2855ba)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
| |
Automerge-Triggered-By: GH:benjaminp
(cherry picked from commit ba00f0d93a4aea85ae8089f139856a7c450584d7)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
|
| |
|
|
|
|
| |
(GH-30328)
|
|
|
|
|
|
|
|
|
|
| |
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
(cherry picked from commit 1b30660c3b40da557050948ac8635f2dc50c4ee2)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Automerge-Triggered-By: GH:gpshead
|
|
|
|
|
| |
(cherry picked from commit f9a4352056175d96195d4cb54c97c1334ea5150c)
Co-authored-by: David Gilbertson <gilbertson.david@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 10bf0a9ac3c9bbde2fa8989d9435462f0e7da545)
Co-authored-by: Joe <nigelchiang@outlook.com>
|
|
|
|
|
| |
(cherry picked from commit c1d7a6bed9f2bb8cb7612d196fc0caba016fa98c)
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 32096df0e00e692ee6dc688e62213bff0dffd573)
Co-authored-by: Julien Palard <julien@palard.fr>
|
|
|
|
| |
(cherry picked from commit e9a01e231aae19fd1249368e477a60bc033b2646)
|
|
|
|
|
|
|
|
|
| |
See discussion in GH-30179.
(cherry picked from commit 7c5c3f7254d78babcaf7a2ec187fd6ec53b8403c)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Automerge-Triggered-By: GH:Fidget-Spinner
|
|
|
|
| |
`__slots__` (GH-30109) (GH-30206)
|
|
|
|
|
|
| |
This allows the title to be translated to other languages without linking problems.
(cherry picked from commit 3d3615f41f4ea73fe6707eb3673dfab482cb6a2b)
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix-1 - isidentifier() function output
* Fix-2 Update the str.splitlines() function parameter
* Fix-3 Removed unwanted full stop for str and bytes types double quotes examples.
* Fix-4 Updated class dict from **kwarg to **kwargs
(cherry picked from commit 6f2df4295123f8b961d49474b7668f7564a534a4)
Co-authored-by: Vivek Vashist <vivekvashist@gmail.com>
|
|
|
|
|
|
|
|
|
| |
(GH-30179)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
(cherry picked from commit 6ada013df170b0afb6b61a0d942388c6fd81cbc9)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
|
|
| |
(cherry picked from commit ecdc0ccede5f9ac4042ff56f295d81df2f428950)
Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Éric <merwok@netwok.org>
|
|
|
|
|
|
|
|
| |
files (GH-30060) (GH-30133)
(cherry picked from commit a951c95a13c3555ac8fb1c8ee615ba3930ccc6f7)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
9.8) of The Python Tutorial (GH-30110)
Updated the output for it=iter(s) from <iterator object at 0x00A1DB50> to <str_iterator object at 0x10c90e650>
(cherry picked from commit c5d18a5014f649368b5a4bca94e9ec7d2908b481)
Co-authored-by: Vivek Vashist <vivekvashist@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Built-in Functions document (GH-30113)
sorted() function is missing forward slash (/) in Built-in Functions documentation page.
Automerge-Triggered-By: GH:asvetlov
(cherry picked from commit f025ae63dccf96c4a1d781a6438bd9ed1502f0a1)
Co-authored-by: Vivek Vashist <vivekvashist@gmail.com>
|
|
|
|
|
|
|
|
| |
The "Color" example in the pattern-matching section of the "control flow" documentation is not immediately runnable, leading to confusion.
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 1cbb88736c32ac30fd530371adf53fe7554be0a5)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
|
|
|
|
| |
file… (GH-30093) (GH-30094)
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
|
|
|
|
|
| |
(cherry picked from commit e09705f58fc2ff3cc2720c6337ae3f48bb7cb090)
Co-authored-by: Paul Bryan <pbryan@anode.ca>
|
|
|
|
|
|
|
| |
definitions (GH-30075) (GH-30085)
(cherry picked from commit 481f3ffdbe40bd19677a1ba0ac2e7cece8949b47)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
|
|
|
|
|
| |
(GH-29633) (GH-30077)
(cherry picked from commit c0521fe49fd75e794a38a216813658ab40185834)
|
|
|
|
|
|
|
|
|
| |
(GH-30064)
(cherry picked from commit 59435eea08d30796174552c0ca03c59b41adf8a5)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 4fe5585240f64c3d14eb635ff82b163f92074b3a)
Co-authored-by: 180909 <734461790@qq.com>
|
|
|
|
|
| |
(cherry picked from commit 94daf39b2f7e9b50e7ae7a16caeef804f8e37ae3)
Co-authored-by: Guido van Rossum <guido@python.org>
|
|
|
|
|
|
|
|
|
| |
(GH-29669)
A similar sentence is present in the 'Invocation from super' section of
the descriptor HOWTO, where it is already correct.
(cherry picked from commit ee49484c0f0d0d79e8fc40835da10b78f89ae503)
Co-authored-by: Jouke Witteveen <j.witteveen@gmail.com>
|
|
|
|
|
|
|
|
| |
(GH-29976) (GH-30037)
Signed-off-by: Louis Sautier <sautier.louis@gmail.com>
(cherry picked from commit c1051e08b3c6d9045322763876a4b0aea98d79f9)
Co-authored-by: Louis Sautier <sautier.louis@gmail.com>
|
|
|
|
|
|
|
| |
(GH-27384)
(cherry picked from commit 8c74713d0e349c27518080945d5f040dfd52a56e)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
|
|
|
|
|
|
| |
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
(cherry picked from commit e2cfc89e099b8fad5d8d5bd7f59dadffb6078778)
Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-29986). (GH-29988)
* [3.10] bpo-46009: Do not exhaust generator when send() method raises (GH-29986).
(cherry picked from commit 69806b9516dbe092381f3ef884c7c64bb9b8414a)
Co-authored-by: Mark Shannon <mark@hotpy.org>
* Rename variable after cherry-pick.
* Add NULL check.
|
|
|
|
|
| |
(cherry picked from commit 3e0f13b9e48eec8c54a185e4180bfca4e5e685f6)
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
| |
(GH-29963) (GH-29965)
(cherry picked from commit c7e7a4b969b5728d4b4f3c59bf98e1e830d5c6d6)
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Automerge-Triggered-By: GH:Fidget-Spinner
|
|
|
|
| |
(GH-29841) (GH-29957)
|
|
|
|
|
|
|
| |
(GH-29943)
(cherry picked from commit 8db06528cacc94e67eb1fb2e4c2acc061a515671)
Co-authored-by: James Gerity <snoopjedi@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 9f2f7e42269db74a89fc8cd74d82a875787f01d7)
Co-authored-by: Zachary Ware <zach@python.org>
|
|
|
|
|
|
| |
(cherry picked from commit 226d22ff2d209495621550eb78e81ed4c0fe0152)
Co-authored-by: Christian Clauss <cclauss@me.com>
|
|
|
|
|
| |
(cherry picked from commit f27bef30438d2f07f19de91e021f34b77ccc4b20)
Co-authored-by: Rob <r4226@pm.me>
|
|
|
|
|
|
|
|
| |
(GH-29801) (GH-29862)
(cherry picked from commit f97ec09baf8431494fd2ef5133090c7b0afd0551)
Co-authored-by: Vishal Pandey <vishalpandeyviptsk@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Expanded ``astuple()`` docs, warning about deepcopy being applied
and providing a workaround.
Automerge-Triggered-By: GH:ericvsmith
(cherry picked from commit c1f93f0d378958dfae4f24aad0c0088e3e04e403)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
|
|
|
|
| |
listeners i… (GH-29838) (GH-29839)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
summary (GH-29232)
This does two changes that are quite related.
0. it add that variable binding can occur in pattern matching, an update of 3.10
which seems to have been omitted from the list of bindings
1. Given how long the sentence already was, with even subcases in the middle of
the sentence, the commit breaks the sentence into an actual list.
(cherry picked from commit cd876c84932ecc2f7a6c41f3fc800a34d5b06b95)
Co-authored-by: Arthur Milchior <arthur@milchior.fr>
|
|
|
|
|
|
|
|
|
|
| |
(GH-29151) (GH-29779)
Automerge-Triggered-By: GH:asvetlov
(cherry picked from commit 4dd82194f4a0e48a94191655e571b3aad1c4a22a)
Co-authored-by: Zbigniew Siciarz <zbigniew@siciarz.net>
Co-authored-by: Zbigniew Siciarz <zbigniew@siciarz.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-29762)
Document the `port` parameter to `loop.create_server` in `asyncio`. In
particular, note that if `host` resolves to multiple network interfaces,
passing in `port=0` will result in a different random unused port being
used for each interface.
Automerge-Triggered-By: GH:ericvsmith
(cherry picked from commit d71c7bc7339eb82de493c66ebbbfa1cad250ac78)
Co-authored-by: Jim Crist-Harif <jcristharif@gmail.com>
Co-authored-by: Jim Crist-Harif <jcristharif@gmail.com>
|
|
|
|
|
|
|
|
| |
inconsistently required by CPython (GH-29170) (GH-29650)
It is now considered a historical accident that e.g. `for` loops and the `iter()` built-in function do not require the iterators they work with to define `__iter__`, only `__next__`.
(cherry picked from commit be36e0634060c7d5dee8e8876fb888bbb53d992a)
Co-authored-by: Brett Cannon <brett@python.org>
|