Yury Selivanov
29310c47a7
Issue #28003 : Make WrappedVal, ASend and AThrow GC types
2016-11-08 19:46:22 -05:00
Yury Selivanov
49ffdf6bb2
Merge 3.5
2016-11-08 19:19:52 -05:00
Yury Selivanov
33499b7eed
genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapper
2016-11-08 19:19:28 -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
692796a948
Issue #26081 : Fix refleak in _asyncio.Future.__iter__().throw.
2016-11-08 19:04:57 -05:00
Yury Selivanov
c3d7dbb821
news: Fix a typo
2016-11-08 16:57:22 -05:00
Yury Selivanov
1a9d687a49
Issue #26182 : Fix ia refleak in code that raises DeprecationWarning.
2016-11-08 16:54:18 -05:00
Serhiy Storchaka
4678b2f448
Fixed possible abort in ceval loop if _PyUnicode_FromId() fails.
...
Every opcode should end with DISPATCH() or goto error.
2016-11-08 23:13:36 +02:00
Serhiy Storchaka
70b72f0f96
Fixed possible abort in ceval loop if _PyUnicode_FromId() fails.
...
Every opcode should end with DISPATCH() or goto error.
2016-11-08 23:12:46 +02: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
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
852cc3335e
Issue #28585 : Restored docstring of os._isdir().
2016-11-08 20:26:18 +02:00
Serhiy Storchaka
579f038018
Issue #28585 : Restored docstring of os._isdir().
2016-11-08 20:21:22 +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
4778e13148
docs/inspect: clarify iscoroutinefunction; add docs for isasyncgen*
2016-11-08 12:23:09 -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
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
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
9b88fdf4f0
Fixed issue #28633 : segfault when concatenating bytes literal and f-string.
2016-11-07 17:54:01 -05:00
Terry Jan Reedy
f46b7823e6
Issue #28572 : Add 10% to coverage of IDLE's test_configdialog.
...
Update and augment description of the configuration system.
2016-11-07 17:15:01 -05:00
Yury Selivanov
f5df73025d
whatsnew: Inital pass on "What's New in Python 3.6"
...
Patch by Elvis Pranskevichus.
2016-11-07 16:40:20 -05:00
Yury Selivanov
6130c0271f
Merge 3.5 (issue #28634 )
2016-11-07 16:07:30 -05:00
Yury Selivanov
49d6b8c0c3
Issue #28634 : Fix asyncio.isfuture() to support mocks
2016-11-07 16:00:50 -05:00
Yury Selivanov
91aa5c12ea
Merge 3.5 (issue #27392 )
2016-11-07 15:35:45 -05:00
Berker Peksag
9c8fb94a8d
Issue #28088 : Merge from 3.5
2016-11-07 23:36:50 +03:00
Berker Peksag
2ebd6feeae
Issue #28088 : Don't include self in method signature
...
Also update versionadded directive to 3.5.3.
2016-11-07 23:36:14 +03:00
Yury Selivanov
3b3a141a83
Issue #27392 : Document loop.connect_accepted_socket()
...
Patch by Jim Fulton.
2016-11-07 15:35:25 -05:00
Steve Dower
78057b4159
Closes #27781 : Removes special cases for the experimental aspect of PEP 529
2016-11-06 19:35:08 -08:00
Guido van Rossum
f570d0f117
issue #28622 : Remove redundant variable annotation test from test_grammar. Ivan L.
2016-11-06 18:25:39 -08:00
Benjamin Peterson
3bd7900155
merge 3.5
2016-11-06 13:01:15 -08:00
Benjamin Peterson
db87c99444
make sure dict view types are initialized
2016-11-06 13:01:07 -08:00
Berker Peksag
6b571e021a
Issue #21590 : Silence Sphinx warnings in instrumentation.rst
...
WARNING: Could not lex literal_block as "c". Highlighting skipped.
Patch by SilentGhost.
2016-11-06 21:45:16 +03:00
Berker Peksag
87170d672a
Issue #21864 : Merge from 3.5
2016-11-06 21:15:48 +03:00
Berker Peksag
cea632ece5
Issue #21864 : Remove outdated section about exceptions from the tutorial
...
Move the still relevant parts of it to the previous
chapter, "Errors and Exceptions".
2016-11-06 21:15:01 +03:00
Serhiy Storchaka
60e49aa756
Issue #23996 : Added _PyGen_SetStopIterationValue for safe raising
...
StopIteration with value. More safely handle non-normalized exceptions
in -_PyGen_FetchStopIterationValue.
2016-11-06 18:47:03 +02:00
Serhiy Storchaka
24411f8a8d
Issue #23996 : Added _PyGen_SetStopIterationValue for safe raising
...
StopIteration with value. More safely handle non-normalized exceptions
in -_PyGen_FetchStopIterationValue.
2016-11-06 18:44:42 +02:00
Jason R. Coombs
f66f03bd35
Update docs to reflect new behavior around backslashes in expressions (not allowed), matching recent changes to PEP 498.
2016-11-06 11:27:17 -05:00
Jason R. Coombs
1c92a76a69
Update test_no_escapes_for_braces to clarify behavior with a docstring and expressions that clearly are not evaluated.
2016-11-06 11:25:54 -05:00
Jason R. Coombs
da25abf712
Additionally show that a backslash-escaped opening brace is treated as a literal and thus triggers the single closing brace error, clarifying #28590 .
2016-11-06 11:14:48 -05:00
Jason R. Coombs
45cab8ccdd
Add an additional test with a newline, one that's very similar to test_parens_in_expressions, but because the newline is not a literal newline, but a backslash en, this error is triggered.
2016-11-06 11:01:08 -05:00
Serhiy Storchaka
f0b311bd73
Issue #28123 : _PyDict_GetItem_KnownHash() now can raise an exception as
...
PyDict_GetItemWithError(). Patch by Xiang Zhang.
2016-11-06 13:18:24 +02:00
Martin Panter
873305b28c
Merge doc fixup from 3.5 into 3.6
2016-11-05 02:46:30 +00:00
Martin Panter
04b3d8b697
Fix spacing after C++ in documentation
2016-11-05 02:40:31 +00:00
Martin Panter
cee93c3b73
Issue #28485 : Merge single-threading fix from 3.5 into 3.6
2016-11-05 01:35:25 +00:00
Martin Panter
88281ceed0
Issue #28485 : Check for negative workers even without ProcessPoolExecutor
...
This matches the documentation, and passes the test suite when multithreading
is disabled.
2016-11-05 01:11:36 +00:00