]>
granicus.if.org Git - python/log
Yury Selivanov [Wed, 9 Nov 2016 23:56:26 +0000 (18:56 -0500)]
Merge 3.6 (issue #28653)
Yury Selivanov [Wed, 9 Nov 2016 23:55:45 +0000 (18:55 -0500)]
Issue #28653: Fix a refleak in functools.lru_cache.
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.
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.
Guido van Rossum [Wed, 9 Nov 2016 21:23:05 +0000 (13:23 -0800)]
Issue #28649: typing-clear-caches.patch (3.5->3.6)
Guido van Rossum [Wed, 9 Nov 2016 21:23:04 +0000 (13:23 -0800)]
Issue #28649: typing-clear-caches.patch
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)
Guido van Rossum [Wed, 9 Nov 2016 21:18:59 +0000 (13:18 -0800)]
Issue #28649: fix-typing-test-v2.diff
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)
Guido van Rossum [Wed, 9 Nov 2016 21:12:51 +0000 (13:12 -0800)]
Issue #28556: More typing.py updates from upstream.
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)
Yury Selivanov [Wed, 9 Nov 2016 20:47:47 +0000 (15:47 -0500)]
Merge 3.5 (issue #28652)
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.
Yury Selivanov [Wed, 9 Nov 2016 14:43:08 +0000 (09:43 -0500)]
Merge 3.5 (issue #27942)
Yury Selivanov [Wed, 9 Nov 2016 14:42:14 +0000 (09:42 -0500)]
ssue #27942: Fix memory leak in codeobject.c
Andrew Kuchling [Wed, 9 Nov 2016 03:38:54 +0000 (22:38 -0500)]
Merge from 3.5
Andrew Kuchling [Wed, 9 Nov 2016 03:33:31 +0000 (22:33 -0500)]
Use http instead of https, due to certificate error
Andrew Kuchling [Wed, 9 Nov 2016 03:14:39 +0000 (22:14 -0500)]
Merge from 3.5
Andrew Kuchling [Wed, 9 Nov 2016 03:07:43 +0000 (22:07 -0500)]
Update URL for requests documentation after IRC request
Yury Selivanov [Wed, 9 Nov 2016 00:59:29 +0000 (19:59 -0500)]
Merge 3.5 (issue #28639)
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.
Yury Selivanov [Wed, 9 Nov 2016 00:46:22 +0000 (19:46 -0500)]
Issue #28003: Make WrappedVal, ASend and AThrow GC types
Yury Selivanov [Wed, 9 Nov 2016 00:19:52 +0000 (19:19 -0500)]
Merge 3.5
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
Yury Selivanov [Wed, 9 Nov 2016 00:16:15 +0000 (19:16 -0500)]
Merge 3.5 (asyncio)
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.
Yury Selivanov [Wed, 9 Nov 2016 00:04:57 +0000 (19:04 -0500)]
Issue #26081: Fix refleak in _asyncio.Future.__iter__().throw.
Yury Selivanov [Tue, 8 Nov 2016 21:57:22 +0000 (16:57 -0500)]
news: Fix a typo
Yury Selivanov [Tue, 8 Nov 2016 21:54:18 +0000 (16:54 -0500)]
Issue #26182: Fix ia refleak in code that raises DeprecationWarning.
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.
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.
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.
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.
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.
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.
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.
Serhiy Storchaka [Tue, 8 Nov 2016 18:26:18 +0000 (20:26 +0200)]
Issue #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().
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.
Yury Selivanov [Tue, 8 Nov 2016 17:23:09 +0000 (12:23 -0500)]
docs/inspect: clarify iscoroutinefunction; add docs for isasyncgen*
Terry Jan Reedy [Tue, 8 Nov 2016 04:14:53 +0000 (23:14 -0500)]
Issue #28572: Use system-specific values for configdialog font test
Yury Selivanov [Tue, 8 Nov 2016 00:01:14 +0000 (19:01 -0500)]
Merge 3.5 (issue #28613)
Yury Selivanov [Tue, 8 Nov 2016 00:00:46 +0000 (19:00 -0500)]
Issue #28613: Expose asyncio._get_running_loop() and _set_running_loop()
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.
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.
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.
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.
Yury Selivanov [Mon, 7 Nov 2016 21:07:30 +0000 (16:07 -0500)]
Merge 3.5 (issue #28634)
Yury Selivanov [Mon, 7 Nov 2016 21:00:50 +0000 (16:00 -0500)]
Issue #28634: Fix asyncio.isfuture() to support mocks
Yury Selivanov [Mon, 7 Nov 2016 20:35:45 +0000 (15:35 -0500)]
Merge 3.5 (issue #27392)
Berker Peksag [Mon, 7 Nov 2016 20:36:50 +0000 (23:36 +0300)]
Issue #28088: Merge from 3.5
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.
Yury Selivanov [Mon, 7 Nov 2016 20:35:25 +0000 (15:35 -0500)]
Issue #27392: Document loop.connect_accepted_socket()
Patch by Jim Fulton.
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
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.
Benjamin Peterson [Sun, 6 Nov 2016 21:01:15 +0000 (13:01 -0800)]
merge 3.5
Benjamin Peterson [Sun, 6 Nov 2016 21:01:07 +0000 (13:01 -0800)]
make sure dict view types are initialized
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.
Berker Peksag [Sun, 6 Nov 2016 18:15:48 +0000 (21:15 +0300)]
Issue #21864: Merge from 3.5
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".
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.
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.
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.
Jason R. Coombs [Sun, 6 Nov 2016 16:25:54 +0000 (11:25 -0500)]
Update test_no_escapes_for_braces to clarify behavior with a docstring and expressions that clearly are not evaluated.
Jason R. Coombs [Sun, 6 Nov 2016 16:14:48 +0000 (11:14 -0500)]
Additionally show that a backslash-escaped opening brace is treated as a literal and thus triggers the single closing brace error, clarifying #28590.
Jason R. Coombs [Sun, 6 Nov 2016 16:01:08 +0000 (11:01 -0500)]
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.
Serhiy Storchaka [Sun, 6 Nov 2016 11:18:24 +0000 (13:18 +0200)]
Issue #28123: _PyDict_GetItem_KnownHash() now can raise an exception as
PyDict_GetItemWithError(). Patch by Xiang Zhang.
Martin Panter [Sat, 5 Nov 2016 02:46:30 +0000 (02:46 +0000)]
Merge doc fixup from 3.5 into 3.6
Martin Panter [Sat, 5 Nov 2016 02:40:31 +0000 (02:40 +0000)]
Fix spacing after C++ in documentation
Martin Panter [Sat, 5 Nov 2016 01:35:25 +0000 (01:35 +0000)]
Issue #28485: Merge single-threading fix from 3.5 into 3.6
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.
Ned Deily [Fri, 4 Nov 2016 21:07:06 +0000 (17:07 -0400)]
Issue #28616: merge from 3.5
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.
Yury Selivanov [Fri, 4 Nov 2016 18:30:11 +0000 (14:30 -0400)]
Merge 3.5 (issue #28613)
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.
INADA Naoki [Fri, 4 Nov 2016 07:34:46 +0000 (16:34 +0900)]
Issue #28088: Document Transport.set_protocol and get_protocol.
Patch by Mariatta Wijaya.
INADA Naoki [Fri, 4 Nov 2016 07:33:47 +0000 (16:33 +0900)]
Issue #28088: Document Transport.set_protocol and get_protocol
Brett Cannon [Thu, 3 Nov 2016 23:20:00 +0000 (16:20 -0700)]
Issue #28605: Fix the help and What's New entry for --with-optimizations.
Yury Selivanov [Thu, 3 Nov 2016 22:35:41 +0000 (15:35 -0700)]
Merge 3.5 (asyncio)
Yury Selivanov [Thu, 3 Nov 2016 22:35:23 +0000 (15:35 -0700)]
asyncio: Sync with upstream
Yury Selivanov [Thu, 3 Nov 2016 22:10:11 +0000 (15:10 -0700)]
Merge 3.5 (issue #28600)
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.
Guido van Rossum [Thu, 3 Nov 2016 21:18:04 +0000 (14:18 -0700)]
Issue #26980: Improve docs for create_unix_connection(). By Mariatta. (3.5->3.6)
Guido van Rossum [Thu, 3 Nov 2016 21:17:25 +0000 (14:17 -0700)]
Issue #26980: Improve docs for create_unix_connection(). By Mariatta.
Serhiy Storchaka [Thu, 3 Nov 2016 13:38:17 +0000 (15:38 +0200)]
Issue #28387: Fixed possible crash in _io.TextIOWrapper deallocator when
the garbage collector is invoked in other thread.
Based on patch by Sebastian Cufre.
Serhiy Storchaka [Thu, 3 Nov 2016 13:37:01 +0000 (15:37 +0200)]
Issue #28387: Fixed possible crash in _io.TextIOWrapper deallocator when
the garbage collector is invoked in other thread.
Based on patch by Sebastian Cufre.
Donald Stufft [Thu, 3 Nov 2016 00:32:37 +0000 (20:32 -0400)]
Allow ensurepip even when ssl is unavailable
Donald Stufft [Wed, 2 Nov 2016 19:55:01 +0000 (15:55 -0400)]
Merge updated pip/setuptools from 3.5
Donald Stufft [Wed, 2 Nov 2016 19:53:58 +0000 (15:53 -0400)]
Merge new pip/setuptools from 3.4
Donald Stufft [Wed, 2 Nov 2016 19:42:49 +0000 (15:42 -0400)]
Upgrade pip to 9.0 and setuptools to 28.7.1
Serhiy Storchaka [Wed, 2 Nov 2016 19:05:49 +0000 (21:05 +0200)]
Fixed hyperlinks for tarfile CLI options.
Serhiy Storchaka [Wed, 2 Nov 2016 19:04:45 +0000 (21:04 +0200)]
Fixed hyperlinks for tarfile CLI options.
Serhiy Storchaka [Wed, 2 Nov 2016 10:11:32 +0000 (12:11 +0200)]
Issue #28513: Documented command-line interface of zipfile.
Serhiy Storchaka [Wed, 2 Nov 2016 10:06:15 +0000 (12:06 +0200)]
Issue #28513: Documented command-line interface of zipfile.
INADA Naoki [Wed, 2 Nov 2016 09:45:16 +0000 (18:45 +0900)]
Issue #28583: PyDict_SetDefault didn't combine split table when needed.
Patch by Xiang Zhang.
Raymond Hettinger [Wed, 2 Nov 2016 05:23:11 +0000 (22:23 -0700)]
Minor code beautification
Raymond Hettinger [Tue, 1 Nov 2016 05:53:52 +0000 (22:53 -0700)]
Add cum_weights example (simulation of a cumulative binomial distribution).
Ned Deily [Tue, 1 Nov 2016 04:35:39 +0000 (00:35 -0400)]
Start 3.6.0b4
Ned Deily [Tue, 1 Nov 2016 00:45:16 +0000 (20:45 -0400)]
Added tag v3.6.0b3 for changeset
8345e066c0ed
Ned Deily [Tue, 1 Nov 2016 00:43:30 +0000 (20:43 -0400)]
Version bump for 3.6.0b3