| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This is true of all dictionaries in Python, but this one tends to
catch people off guard as they don't realize when sys.modules might
change out from underneath them as a hidden side effect of their
code. Copying it first avoids the RuntimeError. An example when
this happens in single threaded code are codecs being loaded which
are an implicit time of use import that most need not think about.
(cherry picked from commit 3d1ca867ed0e3ae343166806f8ddd9739e568ab4)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
|
|
|
|
|
|
| |
(cherry picked from commit 5b4a7675bcfc6368aff955f4a6231579718f5dad)
Co-authored-by: Landon Yarrington <33426811+jly36963@users.noreply.github.com>
Co-authored-by: Landon Yarrington <33426811+jly36963@users.noreply.github.com>
|
|
|
|
| |
(GH-28832) (GH-28834)
|
|
|
|
|
| |
(cherry picked from commit 34bbc87b2ddbaf245fbed6443c3e620f80c6a843)
Co-authored-by: Dong-hee Na <donghee.na@python.org>
|
|
|
|
|
|
| |
Prevent use-after-free of running loop holder via cache.
(cherry picked from commit 392a89835371baa0fc4bf79ae479abb80661f57d)
Co-authored-by: Matthias Reichl <github@hias.horus.com>
|
|
|
|
|
|
|
| |
parser pass (GH-28812). (GH-28813)
(cherry picked from commit 0219017df7ec41839fd0d56a3076b5f09c58d313)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
|
|
|
|
|
|
| |
Windows (GH-28663)
(cherry picked from commit 6811fdaec825bd6ab64e358a4b480108f5634d2d)
Co-authored-by: Steve Dower <steve.dower@python.org>
|
|
|
|
|
|
|
| |
Automerge-Triggered-By: GH:pablogsal
(cherry picked from commit 32485cecab0111a858055b7a60df3b9903b162e3)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
|
|
|
|
|
|
|
| |
Fix typos in the Lib directory as identified by codespell.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>.
(cherry picked from commit 745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be)
Co-authored-by: Christian Clauss <cclauss@me.com>
|
|
|
|
|
|
|
|
| |
Like GH-28744 but for the Tools directory.
Automerge-Triggered-By: GH:pablogsal
(cherry picked from commit 682aecfdeba481c876bfc9f3796c635bd5b5df50)
Co-authored-by: Christian Clauss <cclauss@me.com>
|
|
|
| |
(cherry picked from commit db693df3e112c5a61f2cbef63eedce3a36520ded)
|
|
|
| |
(cherry picked from commit 470145f572b53fe73518cda1eeacc56fec78c1b2)
|
|
|
|
|
| |
(cherry picked from commit 5f401f10400123afa9171548c432ea3fc37c0736)
Automerge-Triggered-By: GH:JulienPalard
|
|
|
| |
(cherry picked from commit 8e8f7522171ef82f2f5049940f815e00e38c6f42)
|
|
|
|
|
|
|
|
| |
Fix test_name_error_suggestions_do_not_trigger_for_too_many_locals()
of test_exceptions if a directory name contains "a1" (like
"Python-3.11.0a1"): use a stricter regular expression.
(cherry picked from commit 4e605666b08b8f863cbbbdaa34bb06988e648d26)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
|
|
|
|
|
|
|
|
| |
Thanks for the fix @wiggin15 .
(cherry picked from commit 599c07006a636b0a6904008534118a9ba3daf726)
Co-authored-by: Arnon Yaari <wiggin15@yahoo.com>
Automerge-Triggered-By: GH:JulienPalard
|
|
|
|
|
|
|
|
| |
(cherry picked from commit dd02a696e55b450413e765e698e653d781ca4205)
Co-authored-by: Christian Clauss <cclauss@me.com>
Automerge-Triggered-By: GH:gpshead
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
It took me longer than I expected to figure out why a random class
I dealt with didn't support weak references. I believe this addition
will make the __slots__/weakref interaction more discoverable to people
having troubles with this. (Before this patch __slots__ was not
mentioned in weakref documentation even once).
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit b24b47e64355224c1bf4e46ed7c4d9f7df4e6f09)
Co-authored-by: Jakub Stasiak <jakub@stasiak.at>
|
|
|
|
|
|
|
|
|
| |
(GH-28771)
Operating systems without support for TCP_NODELAY will raise an OSError
when trying to set the socket option, but the show can still go on.
(cherry picked from commit 0571b934f5f9198c3461a7b631d7073ac0a5676f)
Co-authored-by: rtobar <rtobarc@gmail.com>
|
|
|
|
|
|
|
|
| |
clarity (GH-27989) (GH-28762)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 7af95a1e8097b2aab2cbe8de88727809e745b658)
Co-authored-by: DonnaDia <37962843+DonnaDia@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
| |
(GH-28746)
(cherry picked from commit 4c8d543823dde5a30615da61727837a48f7ab847)
Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 1dac95c814763eb8a53896ac4326d8d51895d43d)
Co-authored-by: Julien Palard <julien@palard.fr>
|
|
|
|
|
|
| |
It seems part of `gethostbyname_ex` doc was copied from `gethostbyaddr`. The latter has an `ip_address` parameter whereas the former doesn't.
(cherry picked from commit 4103280b83e1419bef535a42813d6dbe83bfe880)
Co-authored-by: Andre Delfino <adelfino@gmail.com>
|
|
|
|
|
|
|
|
| |
sub-interpreters. (GH-27794) (GH-28738)
Automerge-Triggered-By: GH:encukou
(cherry picked from commit b9bb74871b27d9226df2dd3fce9d42bda8b43c2b)
Co-authored-by: Hai Shi <shihai1992@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit de4052fe0633e3a053e66c8477f13677054d6ede)
Co-authored-by: Jeremy Kloth <jeremy.kloth@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit ef6196028f966f22d82930b66e1371e75c5df2f7)
Co-authored-by: Christian Heimes <christian@python.org>
Automerge-Triggered-By: GH:tiran
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-28730)
Make enter_context(foo()) / enter_async_context(foo()) equivalent to
`[async] with foo()` regarding __context__ when an exception is raised.
Previously exceptions would be caught and re-raised with the wrong
context when explicitly overriding __context__ with None..
(cherry picked from commit e6d1aa1ac65b6908fdea2c70ec3aa8c4f1dffcb5)
Co-authored-by: John Belmonte <john@neggie.net>
Automerge-Triggered-By: GH:njsmith
|
| |
|
|\
| |
| |
| | |
Python 3.10.0
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add a PID to names of POSIX shared memory objects to allow
running multiprocessing tests (test_multiprocessing_fork,
test_multiprocessing_spawn, etc) in parallel.
(cherry picked from commit eb4495e8e275c83d691add116c4f2b74e73e3cc8)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
| |
| |
| |
| |
| | |
(cherry picked from commit 9ce0f48e918860ffa32751a85b0fe7967723e2e3)
Co-authored-by: Julien Palard <julien@palard.fr>
|
| |
| |
| |
| |
| |
| |
| | |
(GH-28616)
(cherry picked from commit bc4cde40339dd372960f27401d8fdaa4dab0f469)
Co-authored-by: zhanpon <pon.zhan@gmail.com>
|
| |
| |
| |
| |
| |
| | |
pypi.org " The Python Package Index (PyPI) ...
(cherry picked from commit 0be338199fd663f020d833a4db185d0c5a0e0078)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
| |
| |
| | |
(GH-28698)
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
ranges (GH-28575)
(cherry picked from commit 20f439b6b9e1032930a31b88694ab9f37a09e6b4)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
usage. (GH-28260)
* issue45067 - Fix _curses compilation in CentOS 7. Verify the version of ncurses
for extended color support feature usage.
The function extended_color_content was introduced in 2017. The ncurses-devel
package in CentOS 7 had a older version ncurses resulted in compilation error.
For compiling ncurses with extended color support, we verify the version of the
ncurses library.
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit 794430700defb913512f871b701a888aa730de81)
Co-authored-by: Senthil Kumaran <senthil@python.org>
|
| |
| |
| |
| |
| |
| |
| | |
Update test_sysconfig.test_user_similar() for the posix_user scheme:
"platlib" doesn't use sys.platlibdir.
(cherry picked from commit 49acac00c08838d8080ce00d02c05284b94f8fb2)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
| |
| |
| |
| |
| |
| |
| | |
Fix regrtest second summary when using -w/--verbose2 command line
option: lists re-run tests in the second test summary.
(cherry picked from commit c4ea45d7d2c02674db2fdb96c7eee89324d2dc64)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 8f943ca25732d548cf9f0b0393ba8d582fb93e29)
Co-authored-by: Mohamad Mansour <66031317+mohamadmansourX@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Previous wording didn't explain the slightly unintuitive behavior.
Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 24dbe30f8df80740704db3743d071b3218d1276e)
Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
|
| |
| |
| |
| |
| | |
(cherry picked from commit aca0e08c5dcc11a8011697331931cde0b21270f2)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
(GH-28425)
(cherry picked from commit d22a700091af35ce52db0b1fbb02115bb6efbb1f)
Co-authored-by: Arkaprabha Chakraborty <chakrabortyarkaprabha998@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
(GH-28396) (GH-28418)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit cb07838ab756564988b1ffd23871f1222a832446)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
| |
| |
| |
| |
| | |
(cherry picked from commit 80d9ff16483b6c1898bcdcc811b5450b57a5e573)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
|