| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
RuntimeError (GH-949) (#1105)
contextlib._GeneratorContextManager.__exit__ includes a special case to deal with
PEP 479 RuntimeErrors created when `StopIteration` is thrown into the context
manager body.
Previously this check was too permissive, and undid one level of chaining on *all*
RuntimeError instances, not just those that wrapped a StopIteration instance.
(cherry picked from commit 00c75e9a45ff0366c185e9e8a2e23af5a35481b0)
|
|
|
|
|
|
| |
(#1010) (#1042)
attributes.
(cherry picked from commit b785396ab451b0c9d6ae9ee5a9e56c810209a6cb)
|
|
|
| |
(cherry picked from commit fd0cd07a5a3c964c084f4efc5bbcb89dd2193ee6)
|
|
|
| |
(cherry picked from commit 257b980b316a5206ecf6c23b958e2b7c4df4f3de)
|
|
|
| |
(cherry picked from commit efbd4ea65dbb9f87b1afeec6a760802756badee5)
|
|
|
|
| |
Also uncomment and fix a path test.
(cherry picked from commit 1f5425ff69ea0531d869b4f9fa28bd3f66ca3de7)
|
|
|
|
|
| |
objects when pass out of bound fold argument.
(cherry picked from commit 314d6fca36a4eaa0541218431d14804fadec6488)
|
|
|
|
|
| |
urllib.request module. (#918) (#920)
(cherry picked from commit ed3dd1c02af6872bd0748f7b9a5dadb89f7b830f)
|
|
|
|
|
|
|
|
|
| |
* bpo-29942: Fix the use of recursion in itertools.chain.from_iterable.
Fix the use of recursion in itertools.chain.from_iterable. Using recursion
is unnecessary, and can easily cause stack overflows, especially when
building in low optimization modes or with Py_DEBUG enabled.
(cherry picked from commit 5466d4af5fe76ec0a5fbc8a05675287d9e8e9d14)
|
|
|
|
| |
(cherry picked from commit 576def096ec7b64814e038f03290031f172886c3)
|
|
|
| |
(cherry picked from commit e6911a44f69c0d302db60f49952a9cf69da69a2b)
|
|
|
|
| |
an exception raised at the very first of an iterable would cause pools behave abnormally
(swallow the exception or hang)
|
|
|
|
|
|
|
| |
* Remove unused test file
* Remove duplicated text in sndhdrdata README
(cherry picked from commit b8a7daf077dab18e9e3701c5380b542ae0aa9a94)
|
|
|
|
|
|
| |
when the OS gives priority to errors such as EACCES over EEXIST.
(cherry picked from commit af7b9ec5c855366feef4c67dc492d64b3baf84ca)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-29861: release references to multiprocessing Pool tasks (#743)
* bpo-29861: release references to multiprocessing Pool tasks
Release references to tasks, their arguments and their results as soon
as they are finished, instead of keeping them alive until another task
arrives.
* Comments in test
(cherry picked from commit 8988945cdc27ffa86ba8c624e095b51c459f5154)
* Fix Misc/NEWS (hopefully)
|
|
|
| |
(cherry picked from commit e46fb8611867fa3b407a813f53137929b7cb4a10)
|
|
|
| |
(cherry picked from commit 24c738a9e91b8f46da6166663d8ce7ec18cec784)
|
|
|
|
|
| |
(#514) (#722)
(cherry picked from commit a5af6e1af77ee0f9294c5776478a9c24d9fbab94)
|
|
|
|
|
| |
Initial patch by Vajrasky Kok.
(cherry picked from commit 3f2155ffe683080f2a1b28408fa48d43ba92f943)
|
|
|
| |
(cherry picked from commit 9764c151c51480a7ca6042b1ccd69be2620ff360)
|
|
|
| |
See https://github.com/python/cpython/pull/201#discussion_r103229425.(cherry picked from commit b4e9087e7b77e8f76feac76f9c1ab21b49c0c766)
|
|
|
| |
(cherry picked from commit c6b448b36d22769c684bb3276f85c1b47d15ab63)
|
|
|
|
| |
are not strings (#649) (#671)
|
|
|
|
| |
protocol (GH-664)
|
| |
|
|
|
|
| |
coroutines (#644) (#647)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Directory and zipfile execution previously added
the parent directory of the directory or zipfile
as sys.path[0] and then subsequently overwrote
it with the directory or zipfile itself.
This caused problems in isolated mode, as it
overwrote the "stdlib as a zip archive" entry
in sys.path, as the parent directory was
never added.
The attempted fix to that issue in bpo-29319
created the opposite problem in *non*-isolated
mode, by potentially leaving the parent
directory on sys.path instead of overwriting it.
This change fixes the root cause of the problem
by removing the whole "add-and-overwrite" dance
for sys.path[0], and instead simply never adds
the parent directory to sys.path in the first
place.
(cherry picked from commit d2977a3ae2cc6802921b1e3b6e9d13fcfbda872d)
|
|
|
| |
support.unlink waits for the files to be removed before returning
|
|
|
|
|
|
| |
errors. (#586)
(cherry picked from commit 9e6ac83acae31de2b072e665e177db9fcdf7c049)
|
|
|
|
| |
(#579)
|
|
|
|
|
|
| |
external paths. (#561)
(cherry picked from commit 8606e9524a7a4065042f7f228dc57eb74f88e4d3)
|
| |
|
|
|
| |
This reverts commit ace5c0fdd9b962e6e886c29dbcea72c53f051dc4.
|
|
|
|
| |
collections.abc.Sequence (GH-553)
|
| |
|
|
|
|
|
|
| |
zero bytes inside. (GH-504)
|
| |
|
| |
|
|
|
|
|
|
|
| |
Skip some tests of select.poll when running on macOS due to unresolved
issues with the underlying system poll function on some macOS versions.
(cherry picked from commit de04644627f82d9dc48b3423def7ff5b4aa1926a)
|
|
|
|
|
|
|
|
|
|
|
| |
* bpo-27593: Get SCM build info from git instead of hg. (#446)
sys.version and the platform module python_build(),
python_branch(), and python_revision() functions now use
git information rather than hg when building from a repo.
Based on original patches by Brett Cannon and Steve Dower.
(cherry picked from commit 5c4b0d063aba0a68c325073f5f312a2c9f40d178)
|
|
|
|
|
|
|
|
|
|
| |
(#432)
(cherry picked from commit 85b8d01c916b482dac937b93ede1e53b1db0361c)
Conflicts:
Lib/test/test_configparser.py
|
|
|
|
|
|
|
| |
Allow developers to not have to either test on N Python versions or
looked through multiple versions of the docs to know whether they can
easily update.
(cherry picked from commit c643a967dd7d33ccefa5b61b38caf40b448057ce)
|
|
|
|
| |
asyncio.Future.remove_done_callback/C (#408)
|
| |
|
| |
|
| |
|
|
|
|
| |
(#410)
|
|
|
|
| |
operations (#95)
|
| |
|
|
|
|
|
| |
(cherry picked from commit 03f68b60e17b57f6f13729ff73245dbb37b30a4c) (GH-162)
(cherry picked from commit 5dc33eea538361f8a218255f83db2e9298dd8c53) (GH-293)
|