| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| | |
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 d441437ee71ae174c008c23308b749b91020ba77)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(GH-28654) (GH-28657)
* Work correctly if an additional fresh module imports other
additional fresh module which imports a blocked module.
* Raises ImportError if the specified module cannot be imported
while all additional fresh modules are successfully imported.
* Support blocking packages.
* Always restore the import state of fresh and blocked modules
and their submodules.
* Fix test_decimal and test_xml_etree which depended on an undesired
side effect of import_fresh_module().
(cherry picked from commit ec4d917a6a68824f1895f75d113add9410283da7)
|
| |
| |
| |
| |
| |
| |
| |
| | |
(GH-27394) (GH-28636)
Automerge-Triggered-By: GH:benjaminp
(cherry picked from commit 196998e220d6ca030e5a1c8ad63fcaed8e049a98)
Co-authored-by: Geoffrey Thomas <geofft@ldpreload.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(GH-28623) (GH-28625)
Removed extra comma in comment that indicates state of a `Barrier` as it was confusing and breaking the flow while reading.
Co-authored-by: Priyank <5903604+cpriyank@users.noreply.github.com>
(cherry picked from commit f1ca5d7f61594bf3627f0897b596877a0774c8e7)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
|
| |
| |
| |
| |
| |
| |
| | |
* bpo-44394: Ensure libexpat is linked against libm (GH-28617)
(cherry picked from commit 6c1154b9de29e1c9cd3d05f5289543e5cff73895)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
|
| |
| |
| |
| | |
size of each opocde in interpreter. (GH-28475)
|
| |
| |
| |
| |
| |
| |
| | |
(GH-28616)
(cherry picked from commit bc4cde40339dd372960f27401d8fdaa4dab0f469)
Co-authored-by: zhanpon <pon.zhan@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(GH-27766) (GH-28613)
* during tarfile parsing, a zlib error indicates invalid data
* tarfile.open now raises a descriptive exception from the zlib error
* this makes it clear to the user that they may be trying to open a
corrupted tar file
(cherry picked from commit b6fe8572509b77d2002eaddf99d718e9b4835684)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
|
| |
| |
| |
| |
| | |
(cherry picked from commit e046aabbe386fdf32bae6ffb7fae5ce479fd10c6)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
| |
| |
| |
| |
| |
| |
| |
| | |
_PyImport_FindExtensionObject() (GH-28594)
py2exe and PyOxidizer rely on this API.
It will be removed in Python 3.11.
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
| |
| |
| |
| |
| | |
(cherry picked from commit 4f05f15d7b25ef8b690cb94fdc4c8cb5521a4e27)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
| |
| |
| |
| |
| | |
"A JSONDecodeError" instead of "An JSONDecodeError".
(cherry picked from commit db0133f98dd42d0fb82a7675bde175cec51bb860)
Co-authored-by: Louis Sautier <sautier.louis@gmail.com>
|
| |
| |
| |
| |
| | |
(cherry picked from commit 84975146a7ce64f1d50dcec8311b7f7188a5c962)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
| |
| |
| |
| |
| |
| | |
IDLE recognizes Ctrl-D, as on other systems, instead of Ctrl-Z.
(cherry picked from commit e649e0658ff2af87b07d994c05ae048e16e31aae)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fix the threading._shutdown() function when the threading module was
imported first from a thread different than the main thread: no
longer log an error at Python exit.
(cherry picked from commit 95d31370829b7d729667588e0a9943217401ea5b)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
| |
| |
| |
| |
| |
| |
| | |
ranges (GH-28575)
(cherry picked from commit 20f439b6b9e1032930a31b88694ab9f37a09e6b4)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
expression in function calls (GH-28576)
(cherry picked from commit e5f13ce5b48b551c09fdd0faeafa6ecf860de51c)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(GH-28580)
Fix a race condition in the Thread.join() method of the threading
module. If the function is interrupted by a signal and the signal
handler raises an exception, make sure that the thread remains in a
consistent state to prevent a deadlock.
(cherry picked from commit a22be4943c119fecf5433d999227ff78fc2e5741)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
(GH-28571)
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
(cherry picked from commit f56268a2cd38b3fe2be1e4361d3d8b581e73559b)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
| |
| |
| |
| |
| |
| |
| |
| | |
(GH-28562)
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 71f8ff45c62bd6b792919ac7c3804a8628ae12cb)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
| |
| |
| |
| |
| |
| | |
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 784905dbeff68cf788bbeefe0a675af1af04affc)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
| |
| |
| |
| |
| |
| | |
encoding => encode
(cherry picked from commit 4c0fc65cd8a6d4c18330505576ccd4b46abeec1c)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
| |
| |
| |
| |
| | |
(cherry picked from commit 3f8b23f8ddab75d9b77a3997d54e663187e12cc8)
Co-authored-by: Alex Vig <jalexvig@gmail.com>
|
| |
| |
| |
| |
| | |
(cherry picked from commit 55b45bf707c6c8084db259fe2f8aa08e84ea0d99)
Co-authored-by: Peter Bittner <django@bittner.it>
|
| |
| |
| |
| |
| |
| |
| | |
(GH-18170) (GH-28533)
(cherry picked from commit af90b5498b8c6acd67b50fdad007d26dfd1c5823)
Co-authored-by: Sam Sneddon <me@gsnedders.com>
|
| |
| |
| |
| |
| | |
(cherry picked from commit f4ccb79d52ee726d58bbb038ea98b4deec52001d)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The URL listed in the `logging` docs for the original `logging` module leads to a 404. I managed to find the new location for the page and updated the URL.
Automerge-Triggered-By: GH:vsajip
(cherry picked from commit 8492b729ae97737d22544f2102559b2b8dd03a03)
Co-authored-by: Sean Leavey <SeanDS@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Replace old names when they refer to actual versions of macOS.
Keep historical names in references to older versions.
Co-authored-by: Patrick Reader <_@pxeger.com>
(cherry picked from commit 36122e18148c5b6c78ebce1d36d514fd7cf250f5)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(GH-28521)
It runs now asynchronous methods and callbacks.
If it fails, doCleanups() can be called for cleaning up.
(cherry picked from commit ecb6922ff2d56476a6cfb0941ae55aca5e7fae3d)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| | |
(GH-28484) (GH-28510)
(cherry picked from commit a0073471002bed0169fb806703e26880bbcceb73)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
shutil.copyfile() (GH-28421) (GH-28508)
This was a regression from fixing BPO-43219.
(cherry picked from commit b7eac52b466f697d3e89f47508e0df0196a98970)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
|
| |
| |
| |
| |
| | |
(cherry picked from commit 06e1773c8d8fe375423bb7fcf5922b49bc737b75)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
| |
| |
| |
| |
| |
| |
| | |
(GH-28494) (GH-28502)
(cherry picked from commit 9a0dcc5b2e04d9c51350107734f12a1cbc0284a7)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| |
| | |
(GH-28377)
(cherry picked from commit f604cf1c377a7648e0686044e6e49900bfc9feef)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
_global_shutdown_lock should be reinitialized in forked children
(cherry picked from commit 0bfa1106acfcddc03590e1f5d6789dbad3affe70)
Co-authored-by: nullptr <3621629+0x0L@users.noreply.github.com>
Automerge-Triggered-By: GH:gpshead
|
| |
| |
| |
| |
| | |
(cherry picked from commit e6ba992288fdbe71aa808cfb6955f6f99da7e349)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
| |
| |
| |
| |
| | |
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit ef9e22b253253615098d22cb49141a2a1024ee3c)
Co-authored-by: Steve Dower <steve.dower@python.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Calling Py_InitializeFromConfig()+Py_RunMain() multiple times must
not crash.
Cleanup also test_get_argc_argv().
(cherry picked from commit 5e2c32e08ed77081cabd9d51f0589f81c1572732)
Co-authored-by: Victor Stinner <vstinner@python.org>
|
| |
| |
| |
| |
| |
| |
| | |
(cherry picked from commit fcbf9b176b1190301c760a921601c6488ef8b070)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
|
| |
| |
| |
| |
| | |
(cherry picked from commit 1d42408495402b06ecae91420735aeff454be6b5)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
|
| |
| |
| |
| |
| |
| |
| | |
compile() (GH-28459)
(cherry picked from commit e6d05a4092b4176a30d1d1596585df13c2ab676d)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of explicitly enumerate test classes for run_unittest()
use the unittest ability to discover tests. This also makes these
tests discoverable and runnable with unittest.
load_tests() can be used for dynamic generating tests and adding
doctests. setUpModule(), tearDownModule() and addModuleCleanup()
can be used for running code before and after all module tests.
(cherry picked from commit 40348acc180580371d25f75f46b27048e35f2435)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
messages (GH-27144) (GH-28436)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit f4813388b4506b2fafb0089848c5b11cd503758c)
Co-authored-by: wyz23x2 <52805709+wyz23x2@users.noreply.github.com>
Co-authored-by: wyz23x2 <52805709+wyz23x2@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
unittest.TestCase.debug() raises now a SkipTest if the class or
the test method are decorated with the skipping decorator.
Previously it only raised a SkipTest if the test method was decorated
with other decorator in addition to the skipping decorator, or
if SkipTest was explicitly raised in the test or setup methods.
(cherry picked from commit dea59cf88adf5d20812edda330e085a4695baba4)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
non-descriptor classes (GH-28439)
(cherry picked from commit 94b462686b7dfabbd69cc9401037d736d71c4dc2)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
|
| |
| |
| |
| | |
(GH-28420) (GH-28442)
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
retreived-> retrieved
(cherry picked from commit af08f1ba40505bf1380c08b57ba4e0b8969a8358)
Co-authored-by: Konstantin Popov <konst.hardy@gmail.com>
Automerge-Triggered-By: GH:Fidget-Spinner
|
| |
| |
| |
| |
| |
| |
| |
| | |
zipimport.zipimporter.find_spec() when the zip file is missing and the internal cache has been reset (GH-28435) (#28438)
This can occur when the zip file gets deleted, you call zipimport.zipimporter.invalidate_cache(), and then try to use zipimport.zipimporter.find_spec() (i.e. you left the zip file path on sys.path).
(cherry picked from commit 209b7035f714dcc41df054b0b023e0b955d7e1a2)
Co-authored-by: Brett Cannon <brett@python.org>
|