| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
(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>
|
|
|
| |
The docs linter complains about it, and in general news entries for such changes are not required.
|
|
|
|
|
|
|
|
|
|
| |
time (GH-30050) (GH-30254)
The registry() method of functools.singledispatch() functions checks now
the first argument or the first parameter annotation and raises a TypeError if it is
not supported. Previously unsupported "types" were ignored (e.g. typing.List[int])
or caused an error at calling time (e.g. list[int]).
(cherry picked from commit 078abb676cf759b1e960f78390b6e80f256f0255)
|
|
|
|
|
|
|
|
| |
`Lib/ctypes/test/test_functions.py` (GH-29721) (GH-29748)
(cherry picked from commit b48ac6fe38b2fca9963b097c04cdecfc6083104e)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
|
|
|
| |
`PosixPathTest.test_expanduser` (GH-30240)
Ensure `fakeuser` does not exist in `PosixPathTest.test_expanduser`
(cherry picked from commit b8de8b7039cee47465b2af9950b0b9ed2d3f2903)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
|
|
|
|
| |
(cherry picked from commit d8880677a79ba4e70bbe7583eecf573bfceb7e98)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
|
|
|
| |
Co-authored-by: Ned Deily <nad@python.org>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
|
|
|
|
| |
(cherry picked from commit e9a01e231aae19fd1249368e477a60bc033b2646)
|
|
|
|
|
|
|
|
| |
parser (GH-30177) (GH-30214)
Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>.
(cherry picked from commit e9898bf153d26059261ffef11f7643ae991e2a4c)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
To keep checks even if run tests with optimized Python.
Either use special assertion methods like assertEqual() or
raise an AssertionError explicitly.
(cherry picked from commit 6ca78affc8023bc5023189d64d8050857662042a)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
(GH-30198) (GH-30202)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>.
(cherry picked from commit 9c06fd89514a9a2865e2adcc472095f6949cecb2)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
(cherry picked from commit 427a490c495cde8a152e938c6f02be65620e3e59)
Co-authored-by: Jakub Kulík <Kulikjak@gmail.com>
Co-authored-by: Jakub Kulík <Kulikjak@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>
|
|
|
|
|
| |
(cherry picked from commit 2985feac4e02d590bb78bcce9e30864be53280ac)
Co-authored-by: Christian Heimes <christian@python.org>
|
|
|
|
|
|
|
| |
`dir()` (GH-29962)
(cherry picked from commit d6e13747161d7b634b47d2d3d212ed3be4a21fab)
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 95a922b3bb3af247ec141d73fcdfbf68bb1d32a5)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
| |
The file is utils.py not util.py.
Automerge-Triggered-By: GH:gpshead
(cherry picked from commit 69ef1b59983065ddb0b712dac3b04107c5059735)
Co-authored-by: Yilei "Dolee" Yang <yileiyang9@gmail.com>
|
|
|
|
|
|
|
| |
extras. (GH-30151)
(cherry picked from commit 109d96602199a91e94eb14b8cb3720841f22ded7)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
(GH-30099) (GH-30114)
(cherry picked from commit 86de99588db3beff964137f4fe27dd1077a09b35)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
|
|
|
|
| |
(GH-30103) (GH-30104)
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Functions signal(), getsignal(), pthread_sigmask(), sigpending(),
sigwait() and valid_signals() were omitted.
If __all__ is not defined all non-builtin functions should have
correct __module__.
(cherry picked from commit e08c0d8eec528f1d7a282ee19bcadb9aae9ec123)
|
|
|
|
|
| |
(GH-29633) (GH-30077)
(cherry picked from commit c0521fe49fd75e794a38a216813658ab40185834)
|
|
|
|
|
|
|
|
|
| |
files (GH-30068) (GH-30069)
(cherry picked from commit 4325a766f5f603ef6dfb8c4d5798e5e73cb5efd5)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
|
|
|
|
|
|
|
|
| |
(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-29758)
(cherry picked from commit abfc794bbf2c6a0939ddd81b6e700c46944ba87a)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
|
|
|
|
|
|
|
|
| |
(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-29929)
It can prevent some losses when output to buffered stream..
(cherry picked from commit f42a06ba279c916fb67289e47f9bc60dc5dee4ee)
Co-authored-by: Serhiy Storchaka <storchaka@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-25216) (GH-30034)
Co-authored-by: Ian Norton <inorton@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 2fb797e93c6bbd44dfcbe23f63acfa240a87e48a)
Co-authored-by: Thomas Klausner <tk@giga.or.at>
|
|
|
|
|
|
|
| |
(GH-27384)
(cherry picked from commit 8c74713d0e349c27518080945d5f040dfd52a56e)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 3363e1cb05d0d19ed172ea63606d8cb6268747fc)
Co-authored-by: Steve Dower <steve.dower@python.org>
|
|
|
|
|
|
|
|
|
| |
(GH-30002) (GH-30005)
(cherry picked from commit f0d290d25cad66e615ada68ba190b8a23ac1deaa)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@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>
|