| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
First Pull Request to cpython, so forgive me for any mistakes
Automerge-Triggered-By: GH:Mariatta
(cherry picked from commit 6fa4060b86a116dc4fb69356795faf6ff1cdde58)
Co-authored-by: Vinicius Gubiani Ferreira <vini.g.fer@gmail.com>
|
|
|
|
|
|
|
| |
(GH-26770)
(cherry picked from commit d61b69f02d441ae517109a4428f2a18416c9ff0f)
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
(GH-27380)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 11749e2dc20ad6a76e9a39e948853e89b2b4bbed)
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
|
|
|
|
|
|
| |
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit a2c45e5bcf9d3dfff9f2699dbc161489897616b5)
Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
|
|
|
|
|
|
|
|
| |
"Mac OS X" has been rebranded as macOS
https://www.apple.com/macos
(cherry picked from commit 5fdd2a14ce3f81a7db47bb79421c426dec4b25bd)
Co-authored-by: partev <petrosyan@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
(GH-26785) (GH-27371)
the implementation uses [] and will raise KeyError instead.
Noticed by @srittau in python/typeshed@5659.
(cherry picked from commit f22737abfa07605f4ed1a99cfa97a26520b6c5c2)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
|
|
|
|
|
|
|
| |
(GH-27369)
(cherry picked from commit c97c2a050cf753003012ae3f08e035326b8f6167)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
| |
(GH-27368)
(cherry picked from commit 6c1b57d958e2b0d5bcf0f2315b5044838e11638f)
Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
|
|
|
|
|
|
|
| |
(#27366)
(cherry picked from commit 1d582bbc969e05896addf97844ddf17ce9830e5e)
Co-authored-by: T. Wouters <thomas@python.org>
|
|
|
|
|
|
|
| |
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 2b8ad9e6c5f0a66e9ca2d15f85336d8a3eefefb0)
Co-authored-by: Hasan <hasan.aleeyev@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 3f135c073a53793ec68902f6b513934ddff47235)
Co-authored-by: Logan Jones <loganasherjones@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Replace sentence with confusing "pseudo-module" with two sentences
separating future statements and the __future__ module.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 0363a4014d90df17a29042de008ef0b659f92505)
Co-authored-by: Steven Hsu <hsuhaochun@gmail.com>
Co-authored-by: Steven Hsu <hsuhaochun@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
(GH-27346) (GH-27356)
(cherry picked from commit 4214f470f0cb9b6fef9a90758756fbc00ba95b5a)
Co-authored-by: Charles Burkland <charles.aburkland@gmail.com>
Automerge-Triggered-By: GH:brandtbucher
|
|
|
|
|
| |
avoided. (GH-27348) (GH-27352)
(cherry picked from commit 9751f85914e0ef3324671a91da34a635d48b17fb)
|
|
|
|
|
| |
(GH-27347) (GH-27355)
(cherry picked from commit 50b72768ffe6413424dc4eba916dd1ff89a2fe7b)
|
|
|
|
|
|
|
| |
Remove also the _from_args() constructor.
(cherry picked from commit 435a0334d341e5f8faed594d9f015746bb7845db)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
| |
Remove direct support of typing types in the C code because they are already supported by defining methods __or__ and __ror__ in the Python code.
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit fe13f0b0f696464dd6f283576668dbf57cb11399)
Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit a22b05da87bdfb081d6aaecfce136ae8dbb8680c)
Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
|
|
|
|
|
|
|
|
| |
(GH-27326)
Make NewType pickleable by name.
(cherry picked from commit e89ef0ad2a299770a88ece8f7a316f7d3eb65c9f)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
| |
This fixes a small typo. The code fragment should not be quoted. Thank you
@merwok for the feedback.
(cherry picked from commit 7d25254cf0763b62f4c4a3019e56385cab597b9f)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
|
|
|
|
|
|
|
| |
(GH-27316) (GH-27324)
(cherry picked from commit 5370f0a82aaa4ba617070d5c71d2b18236096ac0)
Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 7aac3f623610cf3dffbf548a5be5bfd4fa6790a0)
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
_ssl._SSLSocket.write (GH-27271) (GH-27308)
(cherry picked from commit 83d1430ee5b8008631e7f2a75447e740eed065c1)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Py_TPFLAGS_HAVE_VERSION_TAG no-op (GH-27260) (GH-27306)
* Remove code that checks Py_TPFLAGS_HAVE_VERSION_TAG
The field is always present in the type struct, as explained
in the added comment.
* Remove Py_TPFLAGS_HAVE_AM_SEND
The flag is not needed, and since it was added in 3.10 it can be removed now.
(cherry picked from commit a4760cc32d9e5dac7be262e9736eb30502cd7be3)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 17575f73ce2cb9f3a4eb4cc416c690f9a4e7205c)
Co-authored-by: Anthony Sottile <asottile@umich.edu>
|
|
|
|
|
|
|
| |
(GH-27247) (#27296)
(cherry picked from commit 2e3744d50b6e30ea24351e55b4352dcc58fd469e)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
test methods (GH-27287) (GH-27290)
* Move to a static argparse.Namespace subclass
* Roughly annotate runtest.py
* Refactor libregrtest to use lossless test result objects
* Only re-run test methods that match names of previously failing test methods
* Adopt tests to cover test method name matching
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
(cherry picked from commit f1afef5e0d93d66fbf3c9aaeab8b3b8da9617583)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
|
|
|
|
|
|
|
|
|
| |
shell=True) (GH-26755) (GH-27288)
(cherry picked from commit 50ffbe3dafcae7826d114df61d56c7ac45a6358c)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
|
| |
|
|
|
|
| |
(GH-27282)
|
|
|
|
|
|
|
|
| |
(GH-27274)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 64f54b7ccd49764b0304e076bfd79b5482988f53)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
|
|
|
|
|
|
|
| |
contextmanager (GH-27024) (#27266)
(cherry picked from commit 7f1c330da31c54e028dceaf3610877914c2a4497)
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
|
|
|
|
|
|
|
|
| |
(cherry picked from commit 6564656495d456a1bcc1aaa06abfc696209f37b2)
Co-authored-by: Jakub Kulík <Kulikjak@gmail.com>
Automerge-Triggered-By: GH:gpshead
|
|
|
|
|
|
|
| |
pre-10.5 vestiges. (GH-27253)
(cherry picked from commit 42205ee512159de62c01e202ff799d78fac9ac26)
Co-authored-by: Ned Deily <nad@python.org>
|
|
|
|
|
| |
(cherry picked from commit 4868b94c6089d457673b1ba5b5b64c2f38c435af)
Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 965dd76e9060e27e2253ba8c8d21a142b178720d)
Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
|
|
|
|
|
|
|
|
| |
(GH-27237) (#27246)
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit bce1418541a64a793960182772f985f64afbfa1a)
Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-27242)
getaddresses() should be able to handle a Header object if passed
one.
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 89f4c34797de2f0e5045da2b97c1c8cbbb42fbb2)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 1e651c6adad8e4e772a15eaa9ee659b1283a96d9)
Co-authored-by: α∂мιηιχтяαтσя <sadiqherritage@gmail.com>
|
|
|
|
|
|
|
| |
(#27222)
(cherry picked from commit bf89ff96e6ba21bb52b8597b5e51e8ffc57e6589)
Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
|
|
|
|
|
|
|
| |
(GH-27235)
(cherry picked from commit d09c13417890427f829e3df297beb0e27133f8f4)
Co-authored-by: Mark Shannon <mark@hotpy.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-27234)
* Update hyperlinks in Doc/distributing/index.rst
Update three expired hyperlinks.
Closes [bpo-44561]().
(cherry picked from commit b494685b2548489efcc66993cc6c13b027ce3b26)
Co-authored-by: Steven Hsu <hsuhaochun@gmail.com>
Automerge-Triggered-By: GH:ncoghlan
|
|
|
| |
The check was backwards so we were not correctly detecting removals.
|
|
|
|
|
|
| |
(GH-27225)
(cherry picked from commit 8f50f44592190b5a8cb115f0d58d577036e68308)
|
|
|
|
|
|
|
|
|
| |
(GH-27218) (GH-27224)
A TypeError is now raised instead of returning NotImplemented.
(cherry picked from commit 3ea5332a4365bdd771286b3e9692495116e9ceef)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
|
| |
(GH-27196) (GH-27219)
(cherry picked from commit 0fd27375cabd12e68a2f12cfeca11a2d5043429e)
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-26980) (GH-27207)
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>.
(cherry picked from commit c45fa1a5d9b419cf13ad4b5a7cb453956495b83e)
Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
|
|
|
|
|
|
|
| |
(#27212)
(cherry picked from commit 311ee83adb40a9b549af8e0b546a787e8eb01f5d)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
|
|
|
|
|
|
|
|
|
|
| |
This fixes TypedDict to work with get_type_hints and postponed evaluation of annotations across modules.
This is done by adding the module name to ForwardRef at the time the object is created and using that to resolve the globals during the evaluation.
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 889036f7ef7290ef15b6c3373023f6a35387af0c)
Co-authored-by: Germán Méndez Bravo <german.mb@gmail.com>
|