]> granicus.if.org Git - python/log
python
8 years agoIssue #28082: Add basic unit tests on re enums
Victor Stinner [Mon, 14 Nov 2016 11:38:43 +0000 (12:38 +0100)]
Issue #28082: Add basic unit tests on re enums

8 years agoIssue #28637: Reapply changeset 223731925d06
Victor Stinner [Mon, 14 Nov 2016 11:35:55 +0000 (12:35 +0100)]
Issue #28637: Reapply changeset 223731925d06

"issue28082: use IntFlag for re constants" by Ethan Furman.

The re module is not more used in the site module and so adding "import enum"
to re.py doesn't impact python_startup benchmark anymore.

8 years agocorrectly emulate error semantics of gen.throw in FutureIter_throw
Benjamin Peterson [Mon, 14 Nov 2016 08:15:44 +0000 (00:15 -0800)]
correctly emulate error semantics of gen.throw in FutureIter_throw

8 years agoMerge AIX fixes from 3.5 into 3.6
Martin Panter [Mon, 14 Nov 2016 05:04:12 +0000 (05:04 +0000)]
Merge AIX fixes from 3.5 into 3.6

8 years agoIssue #28000: Fix gethostbyname_r() usage on AIX with _LINUX_SOURCE_COMPAT
Martin Panter [Mon, 14 Nov 2016 04:26:36 +0000 (04:26 +0000)]
Issue #28000: Fix gethostbyname_r() usage on AIX with _LINUX_SOURCE_COMPAT

Patch by Matthieu S.

8 years agoIssue #28016: Skip /dev/tty seekable() test on AIX
Martin Panter [Mon, 14 Nov 2016 01:58:57 +0000 (01:58 +0000)]
Issue #28016: Skip /dev/tty seekable() test on AIX

8 years agoIssue #28678: Merge parameter name from 3.5 into 3.6
Martin Panter [Sun, 13 Nov 2016 23:36:07 +0000 (23:36 +0000)]
Issue #28678: Merge parameter name from 3.5 into 3.6

8 years agoIssue #28678: Fix references to numeric_owner parameter
Martin Panter [Sun, 13 Nov 2016 23:25:06 +0000 (23:25 +0000)]
Issue #28678: Fix references to numeric_owner parameter

8 years agoIssue #26934: Handle _ANDROID_API_LEVEL is None on Windows
Xavier de Gaye [Sun, 13 Nov 2016 20:55:52 +0000 (21:55 +0100)]
Issue #26934: Handle _ANDROID_API_LEVEL is None on Windows

8 years agoFix test_faulthandler on Android where raise() exits with 0
Xavier de Gaye [Sun, 13 Nov 2016 19:46:46 +0000 (20:46 +0100)]
Fix test_faulthandler on Android where raise() exits with 0

8 years agoMerge 3.5
Xavier de Gaye [Sun, 13 Nov 2016 18:41:07 +0000 (19:41 +0100)]
Merge 3.5

8 years agoFix temporary file not deleted in test_socket
Xavier de Gaye [Sun, 13 Nov 2016 18:39:48 +0000 (19:39 +0100)]
Fix temporary file not deleted in test_socket

8 years agoFix typos
Raymond Hettinger [Sun, 13 Nov 2016 05:42:56 +0000 (00:42 -0500)]
Fix typos

8 years agoIssue #28676: merge from 3.5
Ned Deily [Sat, 12 Nov 2016 21:38:03 +0000 (16:38 -0500)]
Issue #28676: merge from 3.5

8 years agoIssue #28676: Prevent missing 'getentropy' declaration warning on macOS.
Ned Deily [Sat, 12 Nov 2016 21:35:48 +0000 (16:35 -0500)]
Issue #28676: Prevent missing 'getentropy' declaration warning on macOS.
Patch by Gareth Rees.

8 years agoFixed the documentation of parse_constant argument in json.load().
Serhiy Storchaka [Sat, 12 Nov 2016 20:48:33 +0000 (22:48 +0200)]
Fixed the documentation of parse_constant argument in json.load().
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.

8 years agoFixed the documentation of parse_constant argument in json.load().
Serhiy Storchaka [Sat, 12 Nov 2016 20:47:16 +0000 (22:47 +0200)]
Fixed the documentation of parse_constant argument in json.load().
parse_constant doesn't get called on 'null', 'true', 'false' since 3.1/2.7.

8 years agoIssue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
Serhiy Storchaka [Sat, 12 Nov 2016 12:36:02 +0000 (14:36 +0200)]
Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
when decode astral characters.

8 years agoIssue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
Serhiy Storchaka [Sat, 12 Nov 2016 12:35:46 +0000 (14:35 +0200)]
Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
when decode astral characters.

8 years agoIssue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
Serhiy Storchaka [Sat, 12 Nov 2016 12:29:48 +0000 (14:29 +0200)]
Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
when decode astral characters.

8 years agoIssue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
Serhiy Storchaka [Sat, 12 Nov 2016 12:28:06 +0000 (14:28 +0200)]
Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
when decode astral characters.

8 years agoIssue 28644: Document recent changes in typing.py (Ivan L) (3.5->3.6)
Guido van Rossum [Fri, 11 Nov 2016 23:57:09 +0000 (15:57 -0800)]
Issue 28644: Document recent changes in typing.py (Ivan L) (3.5->3.6)

8 years agoIssue 28644: Document recent changes in typing.py (Ivan L)
Guido van Rossum [Fri, 11 Nov 2016 23:54:04 +0000 (15:54 -0800)]
Issue 28644: Document recent changes in typing.py (Ivan L)

8 years agoIssue #28664: test_bz2 now works on non-Windows platforms without bunzip2
Serhiy Storchaka [Fri, 11 Nov 2016 15:11:33 +0000 (17:11 +0200)]
Issue #28664: test_bz2 now works on non-Windows platforms without bunzip2
(e.g. on Android).

8 years agoIssue #28664: test_bz2 now works on non-Windows platforms without bunzip2
Serhiy Storchaka [Fri, 11 Nov 2016 15:10:24 +0000 (17:10 +0200)]
Issue #28664: test_bz2 now works on non-Windows platforms without bunzip2
(e.g. on Android).

8 years agoIssue #28665: Harmonize STORE_DEREF with STORE_FAST and LOAD_DEREF giving a 40% speedup.
Raymond Hettinger [Fri, 11 Nov 2016 12:31:18 +0000 (04:31 -0800)]
Issue #28665: Harmonize STORE_DEREF with STORE_FAST and LOAD_DEREF giving a 40% speedup.

8 years agoIssue #19398: Extra slash no longer added to sys.path components in case of
Serhiy Storchaka [Fri, 11 Nov 2016 10:06:38 +0000 (12:06 +0200)]
Issue #19398: Extra slash no longer added to sys.path components in case of
empty compile-time PYTHONPATH components.  This fixes some tests in -S or -I
modes.

8 years agoIssue #19398: Extra slash no longer added to sys.path components in case of
Serhiy Storchaka [Fri, 11 Nov 2016 10:05:01 +0000 (12:05 +0200)]
Issue #19398: Extra slash no longer added to sys.path components in case of
empty compile-time PYTHONPATH components.  This fixes some tests in -S or -I
modes.

8 years agoIssue #23839: Various caches now are cleared before running every test file.
Serhiy Storchaka [Fri, 11 Nov 2016 09:46:44 +0000 (11:46 +0200)]
Issue #23839: Various caches now are cleared before running every test file.

8 years agoIssue #23839: Various caches now are cleared before running every test file.
Serhiy Storchaka [Fri, 11 Nov 2016 09:42:47 +0000 (11:42 +0200)]
Issue #23839: Various caches now are cleared before running every test file.

8 years agoIssue #28635: what's new in 3.6: remove mentions of backported fixes.
Yury Selivanov [Thu, 10 Nov 2016 20:39:27 +0000 (15:39 -0500)]
Issue #28635: what's new in 3.6: remove mentions of backported fixes.

Patch by Elvis Pranskevichus.

8 years agoIssue #28635: What's New in Python 3.6 updates
Yury Selivanov [Thu, 10 Nov 2016 18:27:22 +0000 (13:27 -0500)]
Issue #28635: What's New in Python 3.6 updates

Patch by Elvis Pranskevichus.

8 years agoIssue #28635: Fix a couple of missing/incorrect versionchanged tags
Yury Selivanov [Thu, 10 Nov 2016 18:25:26 +0000 (13:25 -0500)]
Issue #28635: Fix a couple of missing/incorrect versionchanged tags

Patch by Elvis Pranskevichus.

8 years agoIssue #28649: fix second issue with _ForwardRef (#328) (3.5->3.6)
Guido van Rossum [Thu, 10 Nov 2016 16:29:19 +0000 (08:29 -0800)]
Issue #28649: fix second issue with _ForwardRef (#328) (3.5->3.6)

8 years agoIssue #28649: fix second issue with _ForwardRef (#328)
Guido van Rossum [Thu, 10 Nov 2016 16:29:18 +0000 (08:29 -0800)]
Issue #28649: fix second issue with _ForwardRef (#328)

8 years agoIssue #28649: fix first issue with _ForwardRef (#327) (3.5->3.6)
Guido van Rossum [Thu, 10 Nov 2016 16:26:19 +0000 (08:26 -0800)]
Issue #28649: fix first issue with _ForwardRef (#327) (3.5->3.6)

8 years agoIssue #28649: fix first issue with _ForwardRef (#327)
Guido van Rossum [Thu, 10 Nov 2016 16:24:06 +0000 (08:24 -0800)]
Issue #28649: fix first issue with _ForwardRef (#327)

8 years agoMerge 3.6 (issue #28653)
Yury Selivanov [Wed, 9 Nov 2016 23:56:26 +0000 (18:56 -0500)]
Merge 3.6 (issue #28653)

8 years agoIssue #28653: Fix a refleak in functools.lru_cache.
Yury Selivanov [Wed, 9 Nov 2016 23:55:45 +0000 (18:55 -0500)]
Issue #28653: Fix a refleak in functools.lru_cache.

8 years agoIssue #28649: Clear the typing module caches when search for reference leaks.
Serhiy Storchaka [Wed, 9 Nov 2016 21:51:54 +0000 (23:51 +0200)]
Issue #28649: Clear the typing module caches when search for reference leaks.

8 years agoIssue #28649: Clear the typing module caches when search for reference leaks.
Serhiy Storchaka [Wed, 9 Nov 2016 21:49:02 +0000 (23:49 +0200)]
Issue #28649: Clear the typing module caches when search for reference leaks.

8 years agoIssue #28649: typing-clear-caches.patch (3.5->3.6)
Guido van Rossum [Wed, 9 Nov 2016 21:23:05 +0000 (13:23 -0800)]
Issue #28649: typing-clear-caches.patch (3.5->3.6)

8 years agoIssue #28649: typing-clear-caches.patch
Guido van Rossum [Wed, 9 Nov 2016 21:23:04 +0000 (13:23 -0800)]
Issue #28649: typing-clear-caches.patch

8 years agoIssue #28649: fix-typing-test-v2.diff (3.5->3.6)
Guido van Rossum [Wed, 9 Nov 2016 21:19:00 +0000 (13:19 -0800)]
Issue #28649: fix-typing-test-v2.diff (3.5->3.6)

8 years agoIssue #28649: fix-typing-test-v2.diff
Guido van Rossum [Wed, 9 Nov 2016 21:18:59 +0000 (13:18 -0800)]
Issue #28649: fix-typing-test-v2.diff

8 years agoIssue #28556: More typing.py updates from upstream. (3.5->3.6)
Guido van Rossum [Wed, 9 Nov 2016 21:12:53 +0000 (13:12 -0800)]
Issue #28556: More typing.py updates from upstream. (3.5->3.6)

8 years agoIssue #28556: More typing.py updates from upstream.
Guido van Rossum [Wed, 9 Nov 2016 21:12:51 +0000 (13:12 -0800)]
Issue #28556: More typing.py updates from upstream.

8 years agoIssue #19717: Makes Path.resolve() succeed on paths that do not exist (patch by Vajra...
Steve Dower [Wed, 9 Nov 2016 20:58:17 +0000 (12:58 -0800)]
Issue #19717: Makes Path.resolve() succeed on paths that do not exist (patch by Vajrasky Kok)

8 years agoMerge 3.5 (issue #28652)
Yury Selivanov [Wed, 9 Nov 2016 20:47:47 +0000 (15:47 -0500)]
Merge 3.5 (issue #28652)

8 years agoIssue #28652: Make loop methods reject socket kinds they do not support.
Yury Selivanov [Wed, 9 Nov 2016 20:47:00 +0000 (15:47 -0500)]
Issue #28652: Make loop methods reject socket kinds they do not support.

8 years agoMerge 3.5 (issue #27942)
Yury Selivanov [Wed, 9 Nov 2016 14:43:08 +0000 (09:43 -0500)]
Merge 3.5 (issue #27942)

8 years agossue #27942: Fix memory leak in codeobject.c
Yury Selivanov [Wed, 9 Nov 2016 14:42:14 +0000 (09:42 -0500)]
ssue #27942: Fix memory leak in codeobject.c

8 years agoMerge from 3.5
Andrew Kuchling [Wed, 9 Nov 2016 03:38:54 +0000 (22:38 -0500)]
Merge from 3.5

8 years agoUse http instead of https, due to certificate error
Andrew Kuchling [Wed, 9 Nov 2016 03:33:31 +0000 (22:33 -0500)]
Use http instead of https, due to certificate error

8 years agoMerge from 3.5
Andrew Kuchling [Wed, 9 Nov 2016 03:14:39 +0000 (22:14 -0500)]
Merge from 3.5

8 years agoUpdate URL for requests documentation after IRC request
Andrew Kuchling [Wed, 9 Nov 2016 03:07:43 +0000 (22:07 -0500)]
Update URL for requests documentation after IRC request

8 years agoMerge 3.5 (issue #28639)
Yury Selivanov [Wed, 9 Nov 2016 00:59:29 +0000 (19:59 -0500)]
Merge 3.5 (issue #28639)

8 years agoIssue #28639: Fix inspect.isawaitable to always return bool
Yury Selivanov [Wed, 9 Nov 2016 00:57:44 +0000 (19:57 -0500)]
Issue #28639: Fix inspect.isawaitable to always return bool

Patch by Justin Mayfield.

8 years agoIssue #28003: Make WrappedVal, ASend and AThrow GC types
Yury Selivanov [Wed, 9 Nov 2016 00:46:22 +0000 (19:46 -0500)]
Issue #28003: Make WrappedVal, ASend and AThrow GC types

8 years agoMerge 3.5
Yury Selivanov [Wed, 9 Nov 2016 00:19:52 +0000 (19:19 -0500)]
Merge 3.5

8 years agogenobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapper
Yury Selivanov [Wed, 9 Nov 2016 00:19:28 +0000 (19:19 -0500)]
genobject: Remove unnecessary tp_free slots from aiter_wrapper and coro_wrapper

8 years agoMerge 3.5 (asyncio)
Yury Selivanov [Wed, 9 Nov 2016 00:16:15 +0000 (19:16 -0500)]
Merge 3.5 (asyncio)

8 years agoasyncio: Fix _format_coroutine for coroutine-like objects w/o __name__
Yury Selivanov [Wed, 9 Nov 2016 00:16:01 +0000 (19:16 -0500)]
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.

8 years agoIssue #26081: Fix refleak in _asyncio.Future.__iter__().throw.
Yury Selivanov [Wed, 9 Nov 2016 00:04:57 +0000 (19:04 -0500)]
Issue #26081: Fix refleak in _asyncio.Future.__iter__().throw.

8 years agonews: Fix a typo
Yury Selivanov [Tue, 8 Nov 2016 21:57:22 +0000 (16:57 -0500)]
news: Fix a typo

8 years agoIssue #26182: Fix ia refleak in code that raises DeprecationWarning.
Yury Selivanov [Tue, 8 Nov 2016 21:54:18 +0000 (16:54 -0500)]
Issue #26182: Fix ia refleak in code that raises DeprecationWarning.

8 years agoFixed possible abort in ceval loop if _PyUnicode_FromId() fails.
Serhiy Storchaka [Tue, 8 Nov 2016 21:13:36 +0000 (23:13 +0200)]
Fixed possible abort in ceval loop if _PyUnicode_FromId() fails.
Every opcode should end with DISPATCH() or goto error.

8 years agoFixed possible abort in ceval loop if _PyUnicode_FromId() fails.
Serhiy Storchaka [Tue, 8 Nov 2016 21:12:46 +0000 (23:12 +0200)]
Fixed possible abort in ceval loop if _PyUnicode_FromId() fails.
Every opcode should end with DISPATCH() or goto error.

8 years agoIssue #27243: Change PendingDeprecationWarning -> DeprecationWarning.
Yury Selivanov [Tue, 8 Nov 2016 20:13:07 +0000 (15:13 -0500)]
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.

8 years agoIssue #28563: Fixed possible DoS and arbitrary code execution when handle
Serhiy Storchaka [Tue, 8 Nov 2016 19:27:17 +0000 (21:27 +0200)]
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.

8 years agoIssue #28563: Fixed possible DoS and arbitrary code execution when handle
Serhiy Storchaka [Tue, 8 Nov 2016 19:26:14 +0000 (21:26 +0200)]
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.

8 years agoIssue #28563: Fixed possible DoS and arbitrary code execution when handle
Serhiy Storchaka [Tue, 8 Nov 2016 19:20:09 +0000 (21:20 +0200)]
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.

8 years agoIssue #28563: Fixed possible DoS and arbitrary code execution when handle
Serhiy Storchaka [Tue, 8 Nov 2016 19:17:46 +0000 (21:17 +0200)]
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.

8 years agoIssue #28585: Restored docstring of os._isdir().
Serhiy Storchaka [Tue, 8 Nov 2016 18:26:18 +0000 (20:26 +0200)]
Issue #28585: Restored docstring of os._isdir().

8 years agoIssue #28585: Restored docstring of os._isdir().
Serhiy Storchaka [Tue, 8 Nov 2016 18:21:22 +0000 (20:21 +0200)]
Issue #28585: Restored docstring of os._isdir().

8 years agoIssue #28637: No longer use re in site.py.
Serhiy Storchaka [Tue, 8 Nov 2016 18:17:35 +0000 (20:17 +0200)]
Issue #28637: No longer use re in site.py.
This makes Python startup from a virtual environment a little faster.

8 years agodocs/inspect: clarify iscoroutinefunction; add docs for isasyncgen*
Yury Selivanov [Tue, 8 Nov 2016 17:23:09 +0000 (12:23 -0500)]
docs/inspect: clarify iscoroutinefunction; add docs for isasyncgen*

8 years agoIssue #28572: Use system-specific values for configdialog font test
Terry Jan Reedy [Tue, 8 Nov 2016 04:14:53 +0000 (23:14 -0500)]
Issue #28572: Use system-specific values for configdialog font test

8 years agoMerge 3.5 (issue #28613)
Yury Selivanov [Tue, 8 Nov 2016 00:01:14 +0000 (19:01 -0500)]
Merge 3.5 (issue #28613)

8 years agoIssue #28613: Expose asyncio._get_running_loop() and _set_running_loop()
Yury Selivanov [Tue, 8 Nov 2016 00:00:46 +0000 (19:00 -0500)]
Issue #28613: Expose asyncio._get_running_loop() and _set_running_loop()

8 years agoIssue #28637: Revert issue #28082, don't import enum in re
Victor Stinner [Mon, 7 Nov 2016 23:42:46 +0000 (00:42 +0100)]
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.

8 years agoFixed issue #28633: segfault when concatenating bytes literal and f-string.
Eric V. Smith [Mon, 7 Nov 2016 22:54:01 +0000 (17:54 -0500)]
Fixed issue #28633: segfault when concatenating bytes literal and f-string.

8 years agoIssue #28572: Add 10% to coverage of IDLE's test_configdialog.
Terry Jan Reedy [Mon, 7 Nov 2016 22:15:01 +0000 (17:15 -0500)]
Issue #28572: Add 10% to coverage of IDLE's test_configdialog.
Update and augment description of the configuration system.

8 years agowhatsnew: Inital pass on "What's New in Python 3.6"
Yury Selivanov [Mon, 7 Nov 2016 21:40:20 +0000 (16:40 -0500)]
whatsnew: Inital pass on "What's New in Python 3.6"

Patch by Elvis Pranskevichus.

8 years agoMerge 3.5 (issue #28634)
Yury Selivanov [Mon, 7 Nov 2016 21:07:30 +0000 (16:07 -0500)]
Merge 3.5 (issue #28634)

8 years agoIssue #28634: Fix asyncio.isfuture() to support mocks
Yury Selivanov [Mon, 7 Nov 2016 21:00:50 +0000 (16:00 -0500)]
Issue #28634: Fix asyncio.isfuture() to support mocks

8 years agoMerge 3.5 (issue #27392)
Yury Selivanov [Mon, 7 Nov 2016 20:35:45 +0000 (15:35 -0500)]
Merge 3.5 (issue #27392)

8 years agoIssue #28088: Merge from 3.5
Berker Peksag [Mon, 7 Nov 2016 20:36:50 +0000 (23:36 +0300)]
Issue #28088: Merge from 3.5

8 years agoIssue #28088: Don't include self in method signature
Berker Peksag [Mon, 7 Nov 2016 20:36:14 +0000 (23:36 +0300)]
Issue #28088: Don't include self in method signature

Also update versionadded directive to 3.5.3.

8 years agoIssue #27392: Document loop.connect_accepted_socket()
Yury Selivanov [Mon, 7 Nov 2016 20:35:25 +0000 (15:35 -0500)]
Issue #27392: Document loop.connect_accepted_socket()

Patch by Jim Fulton.

8 years agoCloses #27781: Removes special cases for the experimental aspect of PEP 529
Steve Dower [Mon, 7 Nov 2016 03:35:08 +0000 (19:35 -0800)]
Closes #27781: Removes special cases for the experimental aspect of PEP 529

8 years agoissue #28622: Remove redundant variable annotation test from test_grammar. Ivan L.
Guido van Rossum [Mon, 7 Nov 2016 02:25:39 +0000 (18:25 -0800)]
issue #28622: Remove redundant variable annotation test from test_grammar. Ivan L.

8 years agomerge 3.5
Benjamin Peterson [Sun, 6 Nov 2016 21:01:15 +0000 (13:01 -0800)]
merge 3.5

8 years agomake sure dict view types are initialized
Benjamin Peterson [Sun, 6 Nov 2016 21:01:07 +0000 (13:01 -0800)]
make sure dict view types are initialized

8 years agoIssue #21590: Silence Sphinx warnings in instrumentation.rst
Berker Peksag [Sun, 6 Nov 2016 18:45:16 +0000 (21:45 +0300)]
Issue #21590: Silence Sphinx warnings in instrumentation.rst

WARNING: Could not lex literal_block as "c". Highlighting skipped.

Patch by SilentGhost.

8 years agoIssue #21864: Merge from 3.5
Berker Peksag [Sun, 6 Nov 2016 18:15:48 +0000 (21:15 +0300)]
Issue #21864: Merge from 3.5

8 years agoIssue #21864: Remove outdated section about exceptions from the tutorial
Berker Peksag [Sun, 6 Nov 2016 18:15:01 +0000 (21:15 +0300)]
Issue #21864: Remove outdated section about exceptions from the tutorial

Move the still relevant parts of it to the previous
chapter, "Errors and Exceptions".

8 years agoIssue #23996: Added _PyGen_SetStopIterationValue for safe raising
Serhiy Storchaka [Sun, 6 Nov 2016 16:47:03 +0000 (18:47 +0200)]
Issue #23996: Added _PyGen_SetStopIterationValue for safe raising
StopIteration with value. More safely handle non-normalized exceptions
in -_PyGen_FetchStopIterationValue.

8 years agoIssue #23996: Added _PyGen_SetStopIterationValue for safe raising
Serhiy Storchaka [Sun, 6 Nov 2016 16:44:42 +0000 (18:44 +0200)]
Issue #23996: Added _PyGen_SetStopIterationValue for safe raising
StopIteration with value. More safely handle non-normalized exceptions
in -_PyGen_FetchStopIterationValue.

8 years agoUpdate docs to reflect new behavior around backslashes in expressions (not allowed...
Jason R. Coombs [Sun, 6 Nov 2016 16:27:17 +0000 (11:27 -0500)]
Update docs to reflect new behavior around backslashes in expressions (not allowed), matching recent changes to PEP 498.