Commit graph

41428 commits

Author SHA1 Message Date
Guido van Rossum
0d1acfdf18 Issue #28649: fix second issue with _ForwardRef (#328) (3.5->3.6) 2016-11-10 08:29:19 -08:00
Guido van Rossum
dad179075a Issue #28649: fix second issue with _ForwardRef (#328) 2016-11-10 08:29:18 -08:00
Guido van Rossum
f3abcf6a31 Issue #28649: fix first issue with _ForwardRef (#327) (3.6->3.7) 2016-11-10 08:27:50 -08:00
Guido van Rossum
fc293ddf92 Issue #28649: fix first issue with _ForwardRef (#327) (3.5->3.6) 2016-11-10 08:26:19 -08:00
Guido van Rossum
c7b92950c9 Issue #28649: fix first issue with _ForwardRef (#327) 2016-11-10 08:24:06 -08:00
Yury Selivanov
3e05a9c2b0 Merge 3.6 (issue #28653) 2016-11-09 18:57:00 -05:00
Yury Selivanov
0a66a1cdd6 Merge 3.6 (issue #28653) 2016-11-09 18:56:26 -05:00
Yury Selivanov
46a02db90b Issue #28653: Fix a refleak in functools.lru_cache. 2016-11-09 18:55:45 -05:00
Serhiy Storchaka
1f9449589e Issue #28649: Clear the typing module caches when search for reference leaks. 2016-11-09 23:52:40 +02:00
Serhiy Storchaka
04c954d275 Issue #28649: Clear the typing module caches when search for reference leaks. 2016-11-09 23:51:54 +02:00
Serhiy Storchaka
28f42fd4f8 Issue #28649: Clear the typing module caches when search for reference leaks. 2016-11-09 23:49:02 +02:00
Guido van Rossum
ea446e2f2a Issue #28649: typing-clear-caches.patch (3.6->3.7) 2016-11-09 13:23:06 -08:00
Guido van Rossum
5486a88427 Issue #28649: typing-clear-caches.patch (3.5->3.6) 2016-11-09 13:23:05 -08:00
Guido van Rossum
9b10756019 Issue #28649: typing-clear-caches.patch 2016-11-09 13:23:04 -08:00
Guido van Rossum
45b09cacde Issue #28649: fix-typing-test-v2.diff (3.6->3.7) 2016-11-09 13:19:01 -08:00
Guido van Rossum
83be424700 Issue #28649: fix-typing-test-v2.diff (3.5->3.6) 2016-11-09 13:19:00 -08:00
Guido van Rossum
f9099de894 Issue #28649: fix-typing-test-v2.diff 2016-11-09 13:18:59 -08:00
Guido van Rossum
a50c79f36f Issue #28556: More typing.py updates from upstream. (3.6->3.7) 2016-11-09 13:12:56 -08:00
Guido van Rossum
b75f48580f Issue #28556: More typing.py updates from upstream. (3.5->3.6) 2016-11-09 13:12:53 -08:00
Guido van Rossum
991d14fee1 Issue #28556: More typing.py updates from upstream. 2016-11-09 13:12:51 -08:00
Steve Dower
bb132fc34e Issue #19717: Makes Path.resolve() succeed on paths that do not exist (patch by Vajrasky Kok) 2016-11-09 12:58:31 -08:00
Steve Dower
98eb360531 Issue #19717: Makes Path.resolve() succeed on paths that do not exist (patch by Vajrasky Kok) 2016-11-09 12:58:17 -08:00
Yury Selivanov
02f252f3af Merge 3.6 (issue #28652) 2016-11-09 15:48:22 -05:00
Yury Selivanov
954c7dd0cc Merge 3.5 (issue #28652) 2016-11-09 15:47:47 -05:00
Yury Selivanov
a1a8b7d3d7 Issue #28652: Make loop methods reject socket kinds they do not support. 2016-11-09 15:47:00 -05:00
Yury Selivanov
6cb819c171 Merge 3.6 (issue #28639) 2016-11-08 19:59:57 -05:00
Yury Selivanov
d8aa0c6eec Merge 3.5 (issue #28639) 2016-11-08 19:59:29 -05:00
Yury Selivanov
c0215dfbc1 Issue #28639: Fix inspect.isawaitable to always return bool
Patch by Justin Mayfield.
2016-11-08 19:57:44 -05:00
Yury Selivanov
bb5e522d45 Merge 3.6 (asyncio) 2016-11-08 19:16:37 -05:00
Yury Selivanov
a054f40e84 Merge 3.5 (asyncio) 2016-11-08 19:16:15 -05:00
Yury Selivanov
6cc495e9e2 asyncio: Fix _format_coroutine for coroutine-like objects w/o __name__
Some built-in coroutine-like objects might not have __name__ or
__qualname__. A good example of such are 'asend', 'aclose' and
'athrow' coroutine methods of asynchronous generators.
2016-11-08 19:16:01 -05:00
Yury Selivanov
0ee446c894 Merge 3.6 (issue #27243) 2016-11-08 15:15:42 -05:00
Yury Selivanov
2edd8a1e2c Issue #27243: Change PendingDeprecationWarning -> DeprecationWarning.
As it was agreed in the issue, __aiter__ returning an awaitable
should result in PendingDeprecationWarning in 3.5 and in
DeprecationWarning in 3.6.
2016-11-08 15:13:07 -05:00
Serhiy Storchaka
64d84c60e2 Issue #28563: Fixed possible DoS and arbitrary code execution when handle
plural form selections in the gettext module.  The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:28:30 +02:00
Serhiy Storchaka
1c9bd1d8ec Issue #28563: Fixed possible DoS and arbitrary code execution when handle
plural form selections in the gettext module.  The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:27:17 +02:00
Serhiy Storchaka
eb20fcae14 Issue #28563: Fixed possible DoS and arbitrary code execution when handle
plural form selections in the gettext module.  The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:26:14 +02:00
Serhiy Storchaka
1c3fdd900d Issue #28563: Fixed possible DoS and arbitrary code execution when handle
plural form selections in the gettext module.  The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:20:09 +02:00
Serhiy Storchaka
07bcf05fcf Issue #28563: Fixed possible DoS and arbitrary code execution when handle
plural form selections in the gettext module.  The expression parser now
supports exact syntax supported by GNU gettext.
2016-11-08 21:17:46 +02:00
Serhiy Storchaka
b5c349d5ae Issue #28637: No longer use re in site.py.
This makes Python startup from a virtual environment a little faster.
2016-11-08 20:18:20 +02:00
Serhiy Storchaka
727ba7c6f4 Issue #28637: No longer use re in site.py.
This makes Python startup from a virtual environment a little faster.
2016-11-08 20:17:35 +02:00
Yury Selivanov
122b99dad4 Merge 3.6 (docs/inspect) 2016-11-08 12:23:26 -05:00
Yury Selivanov
4778e13148 docs/inspect: clarify iscoroutinefunction; add docs for isasyncgen* 2016-11-08 12:23:09 -05:00
Terry Jan Reedy
e83a64164e Merge with 3.6 2016-11-07 23:15:10 -05:00
Terry Jan Reedy
0180cf6684 Issue #28572: Use system-specific values for configdialog font test 2016-11-07 23:14:53 -05:00
Yury Selivanov
cb4f0c53ff Merge 3.6 (issue #28613) 2016-11-07 19:01:27 -05:00
Yury Selivanov
1994dd360b Merge 3.5 (issue #28613) 2016-11-07 19:01:14 -05:00
Yury Selivanov
6ea2b8fc8b Issue #28613: Expose asyncio._get_running_loop() and _set_running_loop() 2016-11-07 19:00:46 -05:00
Victor Stinner
621d4a7c86 Merge 3.6 2016-11-08 00:44:53 +01:00
Victor Stinner
1ec1cd161b Issue #28637: Revert issue #28082, don't import enum in re
Importing the enum module in the re module slows down Python startup by 34%
when Python is run from a virtual environment, or more generally when the re
module is imported at startup but not the enum module.
2016-11-08 00:42:46 +01:00
Eric V. Smith
9a8e569865 Merge from 3.6. 2016-11-07 17:57:48 -05:00