| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
macro (#1049)
if Py_LIMITED_API is not defined.
|
|
|
|
| |
present (#1130) (#1151)
|
|
|
|
|
| |
(GH-1089). (GH-1127)
(cherry picked from commit 22a594a0047d7706537ff2ac676cdc0f1dcb329c)
|
|
|
|
|
|
|
|
|
|
|
| |
RuntimeError (GH-949) (#1107)
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)
|
|
|
|
| |
(GH-1090) (GH-1100)
|
|
|
|
|
|
| |
(#1010) (#1043)
attributes.
(cherry picked from commit b785396ab451b0c9d6ae9ee5a9e56c810209a6cb)
|
|
|
| |
(cherry picked from commit a0157b5f11e621f2196af4e918b9f07688a6cd1c)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
deque (#887) (#907) (#909)
when pass indices of wrong type.
(cherry picked from commit d4edfc9abffca965e76ebc5957a92031a4d6c4d4)
(cherry picked from commit bf4bb2e43030661e568d5d4b046e8b9351cc164c)
|
|
|
| |
(cherry picked from commit 576def096ec7b64814e038f03290031f172886c3)
|
|
|
|
| |
an exception raised at the very first of an iterable would cause pools behave abnormally
(swallow the exception or hang)
|
|
|
|
|
|
| |
The presence of the ``--enable-optimizations`` flag is indicated by the
value of ``$enableval``, but the configure script was checking ``$withval``,
resulting in the ``--enable-optimizations`` flag being effectively ignored.
(cherry picked from commit 8cea5929f52801b0ce5928b46ef836e99a24321a)
|
|
|
|
|
|
|
| |
(#807)
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??
|
|
|
| |
(cherry picked from commit 20fbf8accd494fd15b0fc4c84928178c71ead4d1)
|
|
|
|
| |
(cherry picked from commit e46fb8611867fa3b407a813f53137929b7cb4a10)
|
|
|
|
|
| |
(#514) (#727)
(cherry picked from commit a5af6e1af77ee0f9294c5776478a9c24d9fbab94)
|
|
|
|
| |
are not strings (#649) (#672)
|
| |
|
|
|
|
| |
coroutines (#644) (#648)
|
|
|
|
|
|
|
| |
if attributes "encoding" or "errors" of sys.stdin or sys.stdout
are not set or are not strings.
(cherry picked from commit c2cf12857187aa147c268651f10acd6da2c9cb74)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bpo-27286 fixed a problem where BUILD_MAP_UNPACK_WITH_CALL could
be emitted with an incorrect oparg value, causing the eval loop
to access the wrong stack entry when attempting to read the
function name.
The associated magic number change caused significant problems when
attempting to upgrade to 3.5.3 for anyone that relies on pre-cached
bytecode remaining valid across maintenance releases.
This patch restores the ability to import legacy bytecode generated
by 3.5.0, 3.5.1 or 3.5.2, and modifies the eval loop to
avoid any harmful consequences from the potentially malformed legacy
bytecode.
Original import patch by Petr Viktorin, eval loop patch by Serhiy Storchaka,
and tests and integration by Nick Coghlan.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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)
(cherry picked from commit 95c50e5aed9e5683676e18349dd94b11901a66b3)
|
| |
|
| |
|
| |
|
|
|
|
| |
operations (#94)
|
| |
|
|
|
|
| |
(cherry picked from commit 03f68b6) (GH-162)
(cherry picked from commit 5dc33ee) (GH-293)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Issue #28961: Fix unittest.mock._Call helper: don't ignore the name parameter
anymore.
Patch written by Jiajun Huang.
(cherry picked from commits 84b6fb0eea29b3b28a1a11124526b01ec0c9d17a
and dea1536fd3a8424d537794cd53715df0989cbbe1)
Conflicts:
Misc/NEWS
|
|
|
|
| |
mention bpo-28929 in the Documentation section of
What's New in Python 3.5.4 release candidate 1
|
| |
|
|
|
|
| |
no longer affects a partial object after creation. (#222)
|
|
|
|
|
|
|
| |
* Fix incorrect handling of signed zeros for complex-related classes.
* Add Misc/NEWS entry.
(cherry picked from commit 112ec38c15b388fe025ccb85369a584d218b1160)
|
|
|
|
| |
weakref objects (#128) (#188)
|
|
|
|
|
|
|
| |
``local.getlocale(locale.LC_CTYPE)`` and
``locale.getpreferredencoding(False)`` may give different answers
in some cases (such as the ``en_IN`` locale).
``re.LOCALE`` uses the latter, so update the test case to match.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
various updates from upstream python/typing repo:
- Added typing.Counter and typing.ChainMap generics
- More flexible typing.NamedTuple
- Improved generic ABC caching
- More tests
- Bugfixes
- Other updates
* Add Misc/NEWS entry
* Add issue number
Contributed by Ivan Levkivskyi @ilevkivskyi
(cherry picked from commit b692dc8475a032740576129d0990ddc3edccab2b)
|
| |
|
| |
|
|
|
|
|
|
|
| |
Add canonical header link on each page to corresponding major
version of the documentation.
Patch by Matthias Bussonnier.
|
| |
|
| |
|
| |
|
|
|
|
| |
the match object. Based on patch by WGH.
|
| |
|
| |
|
| |
|