| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
(cherry picked from commit 5101d97d0b13425ccc5ed37abfabb07701db81fe)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 692aea6f3823df48b7fc267ba0aa1ccc45ac606d)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
|
|
|
|
|
|
| |
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 326ae71f1d93c12100150baa1173ea7ce7a96ea0)
Co-authored-by: AJ Jordan <alex@strugee.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v3)
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 74e319239b0a2a5ef8bc27670f4f533ee701d57f)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
(GH-31769) (#91664)
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit a573cb2fec664c645ab744658d7e941d72e1a398)
|
|
|
|
|
|
|
|
|
|
| |
its executor (GH-91680)
For things like test_asyncio.test_thread this was causing frequent
"environment modified by test" errors as the executor threads had not
always stopped running after the test was over.
(cherry picked from commit 61570ae0bc1507a62bee9d8b9bc2ff7155da7061)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
|
|
|
|
|
|
|
| |
Shutting down a multiprocessing BaseManager now waits for 1 second until
the process completes, rather than 0.1 second, after the process is
terminated.
(cherry picked from commit a885f10325eb2fc27cd50ace5614666ea688ab66)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
|
|
|
| |
(cherry picked from commit 74070085da5322ac83c954f101f2caa150655be2)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 6a7a8a740e61508cb5a0fcdac8b752b6c9e5d1ea)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 0e6dca01937b62c07cff5b8450b7c74c101b857d)
Co-authored-by: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com>
|
|
|
|
|
|
| |
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit d5a69571f586080af4c29671c47f9c4bc671af7f)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit efbc668183400597070356a2df2fbab114a53cb3)
Co-authored-by: 180909 <734461790@qq.com>
|
|
|
|
|
|
|
|
| |
- Drop 'nonstandard'; it does not add any value
- Try to be more concise
- Make return value a little more explicit
(cherry picked from commit 017f07a229a337e9c17bed8cd1879e0177a8d89d)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
test what they claim (GH-91600) (GH-91612) (#91617)
* Fix test_concurrent_futures to actually test what it says.
Many ProcessPoolExecutor based tests were ignoring the mp_context
and using the default instead. This meant we lacked proper test
coverage of all of them.
Also removes the old _prime_executor() worker delay seeding code
as it appears to have no point and causes 20-30 seconds extra
latency on this already long test. It also interfered with some
of the refactoring to fix the above to not needlessly create their
own executor when setUp has already created an appropriate one.
* Don't import the name from multiprocessing directly to avoid confusion.
(cherry picked from commit 7fa3a5a2197896066e3fe53ee325ac6ab54c3414)
(cherry picked from commit 9a458934f7be37c59525350f1f9ecbdcd69903c1)
|
|
|
|
|
|
|
|
|
|
| |
* fix the comparison of character and integer by using ord()
* 📜🤖 Added by blurb_it.
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
(cherry picked from commit 9300b6d72948b94c0924a75ea14c6298156522d0)
Co-authored-by: Yu Liu <yuki.liu@utexas.edu>
|
|
|
|
|
|
|
|
|
|
| |
* revise the first paragraph of docs for os.path
* add a mention of `os.PathLike` protocol
* remove warnings rendered irrelevant by :pep:`383` and :pep:`529`
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 468314cc8bfdb6fd328cbbbb7d0807728f25e043)
Co-authored-by: Jack DeVries <jdevries3133@gmail.com>
|
|
|
|
|
|
|
| |
(cherry picked from commit c4e8a93eb3fa5e5d930cea64f213443242c2588c)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-91557)
The documentation for os.getgrouplist potentially read like it
returned all groups a user belongs to but it potentially doesn't.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit bd26ef5e9e701d2ab3509a49d9351259a3670772)
Co-authored-by: Jens Holzkämper <jens@holzkaemper.berlin>
|
|
|
|
|
|
| |
Noticed while reviewing GH-30729.
(cherry picked from commit f1e989b04507db6f0adbccb5e1624d81cb217ea8)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 17dbb6bc10ca8a8b602335414c047294f00afcbe)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 0fc3517cf46ec79b4681c31916d4081055a7ed09)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
|
|
|
|
|
|
| |
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 325d6f50357474c7d9fd2475be0e2481f7ae0476)
Co-authored-by: Alix Lourme <alix.lourme@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The left-hand side expression of the if-check can be converted to a
constant by the compiler, but the addition on the right-hand side is
performed during runtime.
Move the addition from the right-hand side to the left-hand side by
turning it into a subtraction there. Since the values are known to
be large enough to not turn negative, this is a safe operation.
Prevents a very unlikely integer overflow on 32 bit systems.
Fixes GH-91421.
(cherry picked from commit 0859368335d470b9ff33fc53ed9a85ec2654b278)
Co-authored-by: Tobias Stoeckmann <stoeckmann@users.noreply.github.com>
|
|
|
|
|
|
|
| |
* add a paragraph to document this kwarg in detail
* update docstring in the source accordingly
(cherry picked from commit f33e2c87a83917b5139d97fd8ef7cba7223ebef5)
Co-authored-by: Jack DeVries <jdevries3133@gmail.com>
|
|
|
|
|
|
|
| |
leaked tasks (GH-27765) (#91471)
(cherry picked from commit 2cb1a6806c0cefab0c3a40fdd428a89a4392570e)
Co-authored-by: Bar Harel <bar.harel@biocatch.com>
|
|
|
|
|
|
| |
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 1d0f08fa46b54f5a9b43a916b66d50b97d56cf36)
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
|
|
|
|
| |
PGInstrument on Windows (GH-32083)
|
|
|
|
|
| |
(cherry picked from commit 9ee2d3a93914776d15ac5cc7c44bb3aaca3e0fe5)
Co-authored-by: Frederick <fmoor@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 4c92427fb85e420404a9bd26347e32acc1bbd3b7)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
|
|
|
|
|
|
|
|
| |
Since `title()` mentions its own short-comings, it should also mention the library function which does not possess them.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit b786d9ec52a2c2b0b6627be7fd4a3948c61fbdea)
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
|
|
|
|
|
|
| |
Co-authored-by: Éric <merwok@netwok.org>
(cherry picked from commit 63bd72448a5af01206c2a9aec5f1ed1e903f1e12)
Co-authored-by: Boris Verkhovskiy <boris.verk@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 1da9c38fd352465fd3d1a00e64dc90444b421730)
Co-authored-by: Frederick <fmoor@users.noreply.github.com>
|
|
|
|
|
| |
* Use double backticks to appease rstlint
* Update susp-ignored.csv
|
|
|
| |
(cherry picked from commit da922409ac3e65c6bf2911401c7dfdf8ee6e0036)
|
|
|
|
|
| |
(cherry picked from commit b33c4564aceeae8323bcb19167fbbd2d5f5002bc)
Co-authored-by: Ian <40774387+isteptoe@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
People keep popping up reporting these as typos in the docs despite
being described as typos in the surrounding text. Hopefully a comment
on the line itself makes it more obvious?
Arguably some of the typo examples are not using the "right" typo as the
"assret" one in particular is now detected by default due to how common
it was in actual code. But I don't want to to typo chasing by changing
these examples to be other not yet auto-detected typos as they still
illustrate the point well enough.
(cherry picked from commit ac1fb07b6ecb6b93446484f52894914e5199de63)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
|
|
|
|
| |
(cherry picked from commit 944f09adfcc59f54432ac2947cf95f3465d90e1e)
Co-authored-by: Jeremy Kloth <jeremy.kloth@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
(GH-29529) (GH-32321)
Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>.
(cherry picked from commit b275267aa7d44ec90fa435c9cb1610c549da745a)
Co-authored-by: rtobar <rtobar@icrar.org>
|
|
|
|
|
|
|
| |
It is not preferable to keep a copy of the implementation in the
docs.
(cherry picked from commit e06f920c5bc6e9fad29082ba0d84043722806e17)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
|
|
|
|
|
|
| |
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit cae0f5d3dad6db0d13690e5952ae2015ad8b3a05)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
|
|
|
|
|
|
| |
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 43571a3eea8b5931769376daf4bdad1c9184ae0d)
Co-authored-by: Mike cm <mikecmcleod@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Clarify the `str()` docs to point out that `object.__str__()`
follows special method lookup.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit bb86d1d9fbd1888524e04475383f4ea764277f67)
Co-authored-by: Vanshaj Singhania <8797467+itsvs@users.noreply.github.com>
|
|
|
|
|
|
|
| |
Co-authored-by: Andrew Kuchling <amk@amk.ca>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit a74892cb2168d249d9a8c53fad605a5def9b41d4)
Co-authored-by: yyyyyyyan <24644216+yyyyyyyan@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 48269ea9fdbc5804f80962364f95e69097c417ba)
Co-authored-by: 180909 <734461790@qq.com>
|
|
|
|
|
|
|
| |
(GH-29383)
(cherry picked from commit 1ecfe3d5ae4ddec4e73a6cfc93fed6df43fe0be5)
Co-authored-by: Christian Clauss <cclauss@me.com>
|
|
|
|
|
| |
(cherry picked from commit 6db2db91b96aaa1270c200ec931a2250fe2799c7)
Co-authored-by: Bob Kline <bkline@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit b82cdd1dac9a9be52051abd90a1ce69236ac41f4)
Co-authored-by: Christian Heimes <christian@python.org>
|
|
|
|
|
| |
(cherry picked from commit 4f5d56f8f33196f5ed8ffad0ab2f012afda2f9b3)
Co-authored-by: Jiashuo Li <4003950+jiasli@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 01be5d6446abbdd95d0c18bd19a58a62b05568d8)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* wording fixes in type.rst
* grammar and punctuation in sys.rst
* set: grammar fixes
* structures: capitalization fix
* grammar fixes for sequence
* objects: point to Py_TYPE instead of direct object access
* numbers: add more explicit Python equivalences
* method: add missing period
* memory: grammar fix
* mapping: grammar fixes
* long: grammar fix
* iter: fix grammar for PyAIter_Check
* init: grammar fix.
(cherry picked from commit 897bc6f9282238d5fb32d232ab62d30675244736)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
|