| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Follow up to 7cdf30fff39ea97f403b5472096349998d190e30 and 4173320920706b49a004bdddd8d7108e8984e3fc. This addresses the point "1. Update links in typing, subscription and union to point to GenericAlias." in the bpo for this PR.
(cherry picked from commit 9129af6050b747f288baa9d4e7d43031647ed222)
Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
|
|
|
|
|
|
| |
Automerge-Triggered-By: GH:ericvsmith
(cherry picked from commit 3317466061509c83dce257caab3661d52571cab1)
Co-authored-by: Teugea Ioan-Teodor <teodor.teugea@gmail.com>
|
|
|
| |
Backport of #22615 to 3.9 since that couldn't be auto-merged due to conflicts.
|
|
|
|
|
| |
(cherry picked from commit 95f710c55714153f0c8cce48f8215bb3d866ac1d)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 0f25c231b3a024e358c3e55d9aba2f7bcc49630c)
Co-authored-by: Antoine <43954001+awecx@users.noreply.github.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
comprehensions'(GH-20272)
Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
(cherry picked from commit 2d55aa9e37c9c84f4f6a8135d0326da0bcd8f38b)
Co-authored-by: Florian Dahlitz <f2dahlitz@freenet.de>
|
|
|
|
| |
(GH-22930) (GH-22955)
|
|
|
|
|
| |
(cherry picked from commit e01e442125bbc98e6dab66f38ecc6c45f69e6587)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
(cherry picked from commit ec388cfb4ede56dace2bb78851ff6f38fa2a6abe)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Automerge-Triggered-By: GH:warsaw
|
|
|
|
|
|
|
|
|
| |
Add documentation to help diagnose CDLL dependent DLL loading errors
on windows for OSError with message:
"[WinError 126] The specified module could not be found"
This error is otherwise difficult to diagnose.
(cherry picked from commit b6f2fc90409e291822166d74ce7402e0ef4dba91)
Co-authored-by: Philippe Ombredanne <pombredanne@gmail.com>
|
|
|
| |
(cherry picked from commit 283f9a253b4ff4df728558205629b3bb3af6e47f)
|
|
|
|
|
|
|
| |
object.__ne__ (GH-22874) (#22876)
See Objects/typeobject.c:object_richcompare() for the implementation of this in CPython.
Co-authored-by: Brett Cannon <brett@python.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
@ericsnowcurrently This PR will change the following:
In the library documentation importlib.rst:
- `module.__package__` can be `module.__name__` for packages;
- `spec.parent` can be `spec.__name__` for packages;
- `spec.loader` is not `None` for namespaces packages.
In the language documentation import.rst:
- `spec.loader` is not `None` for namespace packages.
Automerge-Triggered-By: GH:warsaw
(cherry picked from commit 27f1bd8787d24ac53cc3dc6ea5eb00b8a3499839)
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
name (GH-22867)
This is a trivial fix to [bpo-39416](), which didn't come up until it was already committed
```
Change "Numeric" to "numeric".
I believe this is trivial enough to not need an issue or a NEWS entry, although
I'm unclear on what branches the original pull request received backports.
```
Automerge-Triggered-By: GH:merwok
(cherry picked from commit f8b1ccd63c94bcde1c15d56d24add89861b6ceee)
Co-authored-by: kpinc <kop@karlpinc.com>
|
|
|
|
|
|
|
|
|
|
| |
(GH-22580) (#22865)
While translating the following document to Spanish we found there is a grammar issue on the original documentation.
(cherry picked from commit caff2934f46510920a6169e192707d59e9c55f6b)
Co-authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Co-authored-by: Raúl Cumplido <raulcumplido@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
representations of numeric classes (GH-18111) (GH-22860)
[[bpo-39416]()](): Document string representations of the Numeric classes
This is a change to the specification of the Python language.
The idea here is to put sane minimal limits on the Python language's default
representations of its Numeric classes. That way "Marty's Robotic Massage Parlor
and Python Interpreter" implementation of Python won't do anything too
crazy.
Some discussion in the email thread:
Subject: Documenting Python's float.__str__()
https://mail.python.org/archives/list/python-dev@python.org/thread/FV22TKT3S2Q3P7PNN6MCXI6IX3HRRNAL/
(cherry picked from commit c60394c7fc9cc09b16e9675a3eeb5844b6d8523f)
Co-authored-by: kpinc <kop@karlpinc.com>
Automerge-Triggered-By: GH:merwok
|
|
|
|
|
| |
(cherry picked from commit cb115e36e1aba04b90b0ecac6f043e60064ac65b)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit fb2e94692e3a8eb66915575f4a122d56fe8999a0)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 4642ccd1c3e460cb2746d3f2095f1c1d1bafa4fe)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit eba109a28f48b20b05f08abbe6604eebb07788f9)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
|
|
|
|
|
|
|
| |
(GH-22208)
(cherry picked from commit 8f2b991eef062c22c429a96983c78be007180b66)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
|
|
|
|
|
|
|
| |
(cherry picked from commit 7cdf30fff39ea97f403b5472096349998d190e30)
Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
Automerge-Triggered-By: GH:gvanrossum
|
|
|
|
| |
(cherry picked from commit 3f7e990fd49dbabc1dde41ce58c1bdda9f56ead7)
|
|
|
|
|
|
|
| |
feature (GH-22821)
Co-authored-by: Éric Araujo <merwok@netwok.org>
(cherry picked from commit 0c37269be7065b9b15b7b3a4406084f9535a793a)
|
|
|
|
|
| |
(cherry picked from commit 5b57fa69408c4856bf0ae02f2eaa3db1ef980ea6)
Co-authored-by: Tomer Cohen <tomer@users.noreply.github.com>
|
|
|
|
|
|
| |
Co-authored-by: Andrey Darascheka <andrei.daraschenka@leverx.com>
(cherry picked from commit ec42789e6e14f6b6ac13569aeadc13798d7173a8)
Closes bpo-39693.
|
|
|
|
|
|
|
|
| |
refcounts.dat (GH-22112) (GH-22808)
Update refcounts info of PyType_FromModuleAndSpec in refcounts.dat
(cherry picked from commit 1e2f051a6127904cfee5f9e4021dd6e4a4d51c0f)
Co-authored-by: Hai Shi <shihai1992@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit ff1ae3dd334faa2006394c2318db385cdc42030a)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
|
|
|
|
|
| |
(cherry picked from commit 5bfd60fc2bf26bd6fa23a3a50c7990b7f68b3ea3)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit f85658a09878c658ae0e0590bfa30e4ce51c9a04)
Co-authored-by: Jakub Stasiak <jakub@stasiak.at>
|
|
|
|
|
|
|
| |
(cherry picked from commit cf693e537dc8aaa14315a7f59baec4a31d1167d3)
Co-authored-by: Saiyang Gou <gousaiyang@163.com>
Co-authored-by: Saiyang Gou <gousaiyang@163.com>
|
|
|
|
|
|
|
|
| |
(GH-21360)
On Windows, the default asyncio event loop is ProactorEventLoop (as of 3.8).
(cherry picked from commit 4dfb190a33a1deac60306f15d52d2fe11fb93464)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 33242a9328cb3912f02819d2d092bf89681000b2)
Co-authored-by: Michel Samia <m.samia@seznam.cz>
|
|
|
|
|
| |
(cherry picked from commit 5d9e6575177f3e5f9aa20d6a08ae1204f122e672)
Co-authored-by: abdo <abd.nh25@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
(cherry picked from commit 155938907c2b3df71608ddeaa0a43d2ec1f2c699)
Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>
Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>
|
|
|
|
|
|
| |
(cherry picked from commit ebc8c3828779374b9be4fae5c8ffc0059d36ac8c)
Co-authored-by: Saiyang Gou <gousaiyang@163.com>
|
|
|
|
|
|
| |
(cherry picked from commit 67f04878debbcec60191cddbddf9c83e8b9b36fe)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
(GH-22726) (GH-22727)
(cherry picked from commit a22a19f3548f6064035e7c59a19cda1e9506db92)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
|
|
|
|
|
| |
Automerge-Triggered-By: @Mariatta
(cherry picked from commit a42759351bff7b07fa8bf2cece0088f8539721d1)
Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
|
| |
|
| |
|
| |
|
|
|
|
| |
(GH-22684)
|
|
|
|
|
|
|
|
| |
Fix typo in the "Context manager types" section in `typing.rst`.
Automerge-Triggered-By: @gvanrossum
(cherry picked from commit ba06a70c822ede62688136add488eb78957689fe)
Co-authored-by: Saiyang Gou <gousaiyang@163.com>
|