]> granicus.if.org Git - python/log
python
8 years agoIssue 28753: Argument Clinic howto docfix, courtesy Julien Palard.
Martin Panter [Sat, 10 Dec 2016 03:49:12 +0000 (03:49 +0000)]
Issue 28753: Argument Clinic howto docfix, courtesy Julien Palard.

8 years agoIssue #28900: Update documentation sidebar for 3.6.0rc.
Ned Deily [Thu, 8 Dec 2016 04:34:49 +0000 (23:34 -0500)]
Issue #28900: Update documentation sidebar for 3.6.0rc.

8 years agoChange order of io.UnsupportedOperation base classes.
Serhiy Storchaka [Wed, 7 Dec 2016 11:31:20 +0000 (13:31 +0200)]
Change order of io.UnsupportedOperation base classes.
This makes tests passing after changes by issue #5322.

8 years agoIssue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
Serhiy Storchaka [Fri, 2 Dec 2016 06:42:43 +0000 (08:42 +0200)]
Issue #5322: Fixed setting __new__ to a PyCFunction inside Python code.
Original patch by Andreas Stührk.

8 years agoIssue #28847: dbm.dumb now supports reading read-only files and no longer
Serhiy Storchaka [Wed, 7 Dec 2016 08:56:39 +0000 (10:56 +0200)]
Issue #28847: dbm.dumb now supports reading read-only files and no longer
writes the index file when it is not changed.

8 years agoFixed misplaced comment.
Serhiy Storchaka [Tue, 6 Dec 2016 11:43:46 +0000 (13:43 +0200)]
Fixed misplaced comment.

8 years agorm unused import
Benjamin Peterson [Tue, 6 Dec 2016 06:30:55 +0000 (22:30 -0800)]
rm unused import

8 years agoIssue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.
Serhiy Storchaka [Mon, 5 Dec 2016 22:13:34 +0000 (00:13 +0200)]
Issue #28808: PyUnicode_CompareWithASCIIString() now never raises exceptions.

8 years agoFixed mismatching title overline.
Serhiy Storchaka [Sun, 4 Dec 2016 13:42:13 +0000 (15:42 +0200)]
Fixed mismatching title overline.

8 years agoFixed double hyphens that are rendered to literal en-dashes in the documenation.
Serhiy Storchaka [Sun, 4 Dec 2016 08:20:55 +0000 (10:20 +0200)]
Fixed double hyphens that are rendered to literal en-dashes in the documenation.

8 years agoEnsures intermediate directory is created before accessing it.
Steve Dower [Sat, 3 Dec 2016 19:56:20 +0000 (11:56 -0800)]
Ensures intermediate directory is created before accessing it.

8 years agoIssue #28846: Various installer fixes
Steve Dower [Sat, 3 Dec 2016 19:18:53 +0000 (11:18 -0800)]
Issue #28846: Various installer fixes

8 years agoMerge heads
Serhiy Storchaka [Fri, 2 Dec 2016 21:34:24 +0000 (23:34 +0200)]
Merge heads

8 years agoIssue #21818: Fixed references to classes that have names matching with module
Serhiy Storchaka [Fri, 2 Dec 2016 21:13:53 +0000 (23:13 +0200)]
Issue #21818: Fixed references to classes that have names matching with module
names.

8 years ago - Import latest config.sub config.guess files
doko@ubuntu.com [Thu, 1 Dec 2016 20:42:56 +0000 (21:42 +0100)]
 - Import latest config.sub config.guess files

8 years agoIssue #28790: Fix error when using Generic and __slots__ (Ivan L)
Guido van Rossum [Tue, 29 Nov 2016 17:46:21 +0000 (09:46 -0800)]
Issue #28790: Fix error when using Generic and __slots__ (Ivan L)

8 years agoFixes #24142: [configparser] always join multiline values to not leave the parser...
Łukasz Langa [Sat, 26 Nov 2016 22:00:39 +0000 (14:00 -0800)]
Fixes #24142: [configparser] always join multiline values to not leave the parser in an invalid state

8 years agoIssue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges
Serhiy Storchaka [Sat, 26 Nov 2016 11:43:28 +0000 (13:43 +0200)]
Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges
in the documentation.

8 years agoAdd missing square bracket in typing.get_type_hints()
Berker Peksag [Fri, 25 Nov 2016 17:10:07 +0000 (20:10 +0300)]
Add missing square bracket in typing.get_type_hints()

8 years agoIssue #28738: Document SIGBREAK as an acceptable value on Windows
Berker Peksag [Fri, 25 Nov 2016 16:46:57 +0000 (19:46 +0300)]
Issue #28738: Document SIGBREAK as an acceptable value on Windows

Patch by Wojtek Ruszczewski.

8 years agoIssue #28773: Add typing.FrozenSet docs. (Manuel Krebber)
Guido van Rossum [Thu, 24 Nov 2016 19:56:00 +0000 (11:56 -0800)]
Issue #28773: Add typing.FrozenSet docs. (Manuel Krebber)

8 years agoIssue #28783: Embedded and nuget packages incorrect reference missing bdist_wininst...
Steve Dower [Wed, 23 Nov 2016 18:23:47 +0000 (10:23 -0800)]
Issue #28783: Embedded and nuget packages incorrect reference missing bdist_wininst command.

8 years agoIssue #28652: Partially rollback previous changes
Yury Selivanov [Mon, 21 Nov 2016 22:47:27 +0000 (17:47 -0500)]
Issue #28652: Partially rollback previous changes

Allow AF_UNIX in create_server & create_connection

8 years agoIssue #28688: Remove warnings.filters check from regrtest
Victor Stinner [Mon, 21 Nov 2016 15:44:01 +0000 (16:44 +0100)]
Issue #28688: Remove warnings.filters check from regrtest

Reloading the warnings module duplicates filters in warnings.filters. Fixing
the issue is tricky. It was decided to simply remove the check from Python 3.5,
since the bug only impacts Python unit tests, not real applications.

The check is kept in Python 3.6 and newer.

8 years agoFix indentation
Martin Panter [Mon, 21 Nov 2016 13:36:36 +0000 (13:36 +0000)]
Fix indentation

8 years agoFixed the documentation of the structure PyMethodDef.
Serhiy Storchaka [Mon, 21 Nov 2016 09:37:18 +0000 (11:37 +0200)]
Fixed the documentation of the structure PyMethodDef.
The fields ml_name and ml_doc are of type "const char *" rather of "char *".

8 years agoreplace --with-optimizations references with --enable-optimizations in docs.
Gregory P. Smith [Mon, 21 Nov 2016 08:11:47 +0000 (00:11 -0800)]
replace --with-optimizations references with --enable-optimizations in docs.

8 years agoChange double hyphens (en dashes) to em (longer) dashes
Martin Panter [Mon, 21 Nov 2016 00:15:20 +0000 (00:15 +0000)]
Change double hyphens (en dashes) to em (longer) dashes

8 years agoIssue #28556: upstream improvements to docstrings and error messages by Ivan Levkivsk...
Guido van Rossum [Mon, 21 Nov 2016 02:01:29 +0000 (18:01 -0800)]
Issue #28556: upstream improvements to docstrings and error messages by Ivan Levkivskyi (#331)

8 years agoIssue #25659: Change assert to TypeError in from_buffer/_copy()
Martin Panter [Sun, 20 Nov 2016 07:58:35 +0000 (07:58 +0000)]
Issue #25659: Change assert to TypeError in from_buffer/_copy()

Based on suggestion by Eryk Sun.

8 years agoIssue #10656: Fix out-of-tree building on AIX
Martin Panter [Sun, 20 Nov 2016 07:56:37 +0000 (07:56 +0000)]
Issue #10656: Fix out-of-tree building on AIX

The ld_so_aix script and python.exp file are created in the build directory.
Patch by Tristan Carel and Michael Haubenwallner.

8 years agoRename the new --with-optimiations flag to --enable-optimizations.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sun, 20 Nov 2016 21:07:42 +0000 (21:07 +0000)]
Rename the new --with-optimiations flag to --enable-optimizations.

8 years agoIssue #28666: Fix removing readonly directories on Windows.
Serhiy Storchaka [Sun, 20 Nov 2016 18:04:54 +0000 (20:04 +0200)]
Issue #28666: Fix removing readonly directories on Windows.

8 years agoIssue #28666: Now test.support.rmtree is able to remove unwritable or
Serhiy Storchaka [Sun, 20 Nov 2016 15:42:32 +0000 (17:42 +0200)]
Issue #28666: Now test.support.rmtree is able to remove unwritable or
unreadable directories on Windows too.

8 years agoIssue #28750: Fixed docs of of unicode-escape an raw-unicode-escape C API.
Serhiy Storchaka [Sun, 20 Nov 2016 15:20:19 +0000 (17:20 +0200)]
Issue #28750: Fixed docs of of unicode-escape an raw-unicode-escape C API.
Patch by Xiang Zhang.

8 years agoIssue #28666: Now test.support.rmtree is able to remove unwritable or
Serhiy Storchaka [Sun, 20 Nov 2016 14:16:06 +0000 (16:16 +0200)]
Issue #28666: Now test.support.rmtree is able to remove unwritable or
unreadable directories.

8 years agoIssue #19569: Suggested more appropriate replacements for deprecated Unicode
Serhiy Storchaka [Sun, 20 Nov 2016 10:13:44 +0000 (12:13 +0200)]
Issue #19569: Suggested more appropriate replacements for deprecated Unicode
C API functions.

8 years agoIssue #28715: Added error checks for PyUnicode_AsUTF8().
Serhiy Storchaka [Sun, 20 Nov 2016 06:47:21 +0000 (08:47 +0200)]
Issue #28715: Added error checks for PyUnicode_AsUTF8().

8 years agoIssue #28732: Raise ValueError when argv[0] is empty.
Steve Dower [Sun, 20 Nov 2016 03:03:54 +0000 (19:03 -0800)]
Issue #28732: Raise ValueError when argv[0] is empty.

8 years agoIssue #28732: Fix crash in os.spawnv() with no elements in args
Steve Dower [Sun, 20 Nov 2016 02:33:39 +0000 (18:33 -0800)]
Issue #28732: Fix crash in os.spawnv() with no elements in args
Prevents crashes in some other posixmodule.c functions

8 years agoIssue #28556: two more small upstream changes by Ivan Levkivskyi (#329, #330)
Guido van Rossum [Sat, 19 Nov 2016 18:32:41 +0000 (10:32 -0800)]
Issue #28556: two more small upstream changes by Ivan Levkivskyi (#329, #330)

8 years agoFixes incorrect path in nuget package build.
Steve Dower [Thu, 17 Nov 2016 00:32:22 +0000 (16:32 -0800)]
Fixes incorrect path in nuget package build.

8 years agoFixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701).
Serhiy Storchaka [Wed, 16 Nov 2016 14:12:34 +0000 (16:12 +0200)]
Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701).

8 years agoIssue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.
Serhiy Storchaka [Wed, 16 Nov 2016 13:40:39 +0000 (15:40 +0200)]
Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.

The latter function is more readable, faster and doesn't raise exceptions.

Based on patch by Xiang Zhang.

8 years agoIssue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIISt...
Serhiy Storchaka [Wed, 16 Nov 2016 08:17:58 +0000 (10:17 +0200)]
Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.

The latter function is more readable, faster and doesn't raise exceptions.

8 years agoMerge - upgrade pip/setuptools
Donald Stufft [Wed, 16 Nov 2016 02:18:20 +0000 (21:18 -0500)]
Merge - upgrade pip/setuptools

8 years agoUpgrade pip to 9.0.1 and setuptools to 28.8.0
Donald Stufft [Wed, 16 Nov 2016 02:17:43 +0000 (21:17 -0500)]
Upgrade pip to 9.0.1 and setuptools to 28.8.0

8 years agoIssue #28704: Fix create_unix_server to support Path-like objects
Yury Selivanov [Tue, 15 Nov 2016 20:26:34 +0000 (15:26 -0500)]
Issue #28704: Fix create_unix_server to support Path-like objects

8 years agoIssue #28703: Fix asyncio.iscoroutinefunction to handle Mock objects.
Yury Selivanov [Tue, 15 Nov 2016 20:20:34 +0000 (15:20 -0500)]
Issue #28703: Fix asyncio.iscoroutinefunction to handle Mock objects.

8 years agoIssue #28556: Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321)
Guido van Rossum [Tue, 15 Nov 2016 17:48:06 +0000 (09:48 -0800)]
Issue #28556: Allow keyword syntax for NamedTuple (Ivan Levkivskyi) (upstream #321)

8 years agoIssue 28668: Skip tests where instanciation of multiprocessing.Queue
Xavier de Gaye [Tue, 15 Nov 2016 15:57:52 +0000 (16:57 +0100)]
Issue 28668: Skip tests where instanciation of multiprocessing.Queue
would raise ImportError

8 years agoIssue #28563: Make plural form selection more lenient and accepting
Serhiy Storchaka [Mon, 14 Nov 2016 17:29:59 +0000 (19:29 +0200)]
Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers.  Django tests depend on this.

8 years agoIssue #28563: Make plural form selection more lenient and accepting
Serhiy Storchaka [Mon, 14 Nov 2016 17:25:56 +0000 (19:25 +0200)]
Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers.  Django tests depend on this.

8 years agoIssue #28563: Make plural form selection more lenient and accepting
Serhiy Storchaka [Mon, 14 Nov 2016 17:22:12 +0000 (19:22 +0200)]
Issue #28563: Make plural form selection more lenient and accepting
non-integer numbers.  Django tests depend on this.

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: 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 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 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: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: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)
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: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 #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:42:47 +0000 (11:42 +0200)]
Issue #23839: Various caches now are cleared before running every test file.

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)
Guido van Rossum [Thu, 10 Nov 2016 16:24:06 +0000 (08:24 -0800)]
Issue #28649: fix first issue with _ForwardRef (#327)

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: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
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
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.
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 #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 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 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 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 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 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 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 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 #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:21:22 +0000 (20:21 +0200)]
Issue #28585: Restored docstring of os._isdir().

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 #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 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 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 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 #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: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 agoFix spacing after C++ in documentation
Martin Panter [Sat, 5 Nov 2016 02:40:31 +0000 (02:40 +0000)]
Fix spacing after C++ in documentation

8 years agoIssue #28485: Check for negative workers even without ProcessPoolExecutor
Martin Panter [Sat, 5 Nov 2016 01:11:36 +0000 (01:11 +0000)]
Issue #28485: Check for negative workers even without ProcessPoolExecutor

This matches the documentation, and passes the test suite when multithreading
is disabled.

8 years agoIssue #28616: Correct help for sys.version_info releaselevel component.
Ned Deily [Fri, 4 Nov 2016 21:03:34 +0000 (17:03 -0400)]
Issue #28616: Correct help for sys.version_info releaselevel component.
Patch by Anish Tambe.

8 years agoIssue #28613: Fix get_event_loop() to return the current loop
Yury Selivanov [Fri, 4 Nov 2016 18:29:28 +0000 (14:29 -0400)]
Issue #28613: Fix get_event_loop() to return the current loop

when called from coroutines or callbacks.

8 years agoIssue #28088: Document Transport.set_protocol and get_protocol
INADA Naoki [Fri, 4 Nov 2016 07:33:47 +0000 (16:33 +0900)]
Issue #28088: Document Transport.set_protocol and get_protocol

8 years agoasyncio: Sync with upstream
Yury Selivanov [Thu, 3 Nov 2016 22:35:23 +0000 (15:35 -0700)]
asyncio: Sync with upstream

8 years agoIssue #28600: Optimize loop.call_soon().
Yury Selivanov [Thu, 3 Nov 2016 22:09:24 +0000 (15:09 -0700)]
Issue #28600: Optimize loop.call_soon().

Run expensive type checks only in debug mode.  In addition, stop
supporting passing handles to loop.run_in_executor.