]>
granicus.if.org Git - python/log
Raymond Hettinger [Mon, 24 Oct 2016 14:32:23 +0000 (07:32 -0700)]
merge
Raymond Hettinger [Mon, 24 Oct 2016 14:31:55 +0000 (07:31 -0700)]
Issue #5830: Remove old comment. Add empty slots.
Serhiy Storchaka [Mon, 24 Oct 2016 11:53:58 +0000 (14:53 +0300)]
Null merge
Serhiy Storchaka [Mon, 24 Oct 2016 11:53:36 +0000 (14:53 +0300)]
Merge heads
Serhiy Storchaka [Mon, 24 Oct 2016 11:53:25 +0000 (14:53 +0300)]
Merge heads
Yury Selivanov [Mon, 24 Oct 2016 02:35:29 +0000 (22:35 -0400)]
Merge 3.6 (asyncio)
Yury Selivanov [Mon, 24 Oct 2016 02:34:35 +0000 (22:34 -0400)]
asyncio: Increase asyncio.Future test coverage; test both implementations.
Also, add 'isfuture' to 'asyncio.futures.__all__', so that it's
exposed as 'asyncio.isfuture'.
Serhiy Storchaka [Sun, 23 Oct 2016 19:58:23 +0000 (22:58 +0300)]
Some distutils tests require zlib for creating tar.gz source distribution.
Serhiy Storchaka [Sun, 23 Oct 2016 19:58:06 +0000 (22:58 +0300)]
Some distutils tests require zlib for creating tar.gz source distribution.
Serhiy Storchaka [Sun, 23 Oct 2016 19:56:14 +0000 (22:56 +0300)]
Some distutils tests require zlib for creating tar.gz source distribution.
Serhiy Storchaka [Sun, 23 Oct 2016 19:33:12 +0000 (22:33 +0300)]
Issue #28115: ZIP creation test requires zlib.
Serhiy Storchaka [Sun, 23 Oct 2016 19:32:48 +0000 (22:32 +0300)]
Issue #28115: ZIP creation test requires zlib.
Serhiy Storchaka [Sun, 23 Oct 2016 19:32:30 +0000 (22:32 +0300)]
Issue #28115: ZIP creation test requires zlib.
Serhiy Storchaka [Sun, 23 Oct 2016 12:58:10 +0000 (15:58 +0300)]
Issue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive.
Serhiy Storchaka [Sun, 23 Oct 2016 12:57:42 +0000 (15:57 +0300)]
Issue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive.
Serhiy Storchaka [Sun, 23 Oct 2016 12:55:09 +0000 (15:55 +0300)]
Issue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive.
Serhiy Storchaka [Sun, 23 Oct 2016 12:41:36 +0000 (15:41 +0300)]
Issue #28439: Remove redundant checks in PyUnicode_EncodeLocale and
PyUnicode_DecodeLocaleAndSize. Patch by Xiang Zhang.
Serhiy Storchaka [Sun, 23 Oct 2016 12:17:05 +0000 (15:17 +0300)]
Issue #28469: timeit now uses the sequence 1, 2, 5, 10, 20, 50,... instead
of 1, 10, 100,... for autoranging.
Serhiy Storchaka [Sun, 23 Oct 2016 12:12:25 +0000 (15:12 +0300)]
Issue #28511: Use the "U" format instead of "O!" in PyArg_Parse*.
Serhiy Storchaka [Sun, 23 Oct 2016 10:32:12 +0000 (13:32 +0300)]
Issue #28115: Command-line interface of the zipfile module now uses argparse.
Added support of long options.
Serhiy Storchaka [Sun, 23 Oct 2016 10:14:27 +0000 (13:14 +0300)]
Issue #28115: Added tests for CLI of the zipfile module.
Serhiy Storchaka [Sun, 23 Oct 2016 10:12:39 +0000 (13:12 +0300)]
Issue #28115: Added tests for CLI of the zipfile module.
Serhiy Storchaka [Sun, 23 Oct 2016 10:07:59 +0000 (13:07 +0300)]
Issue #28115: Added tests for CLI of the zipfile module.
Serhiy Storchaka [Sun, 23 Oct 2016 09:12:05 +0000 (12:12 +0300)]
Issue #25953: re.sub() now raises an error for invalid numerical group
reference in replacement template even if the pattern is not found in
the string. Error message for invalid group reference now includes the
group index and the position of the reference.
Based on patch by SilentGhost.
Serhiy Storchaka [Sun, 23 Oct 2016 09:11:19 +0000 (12:11 +0300)]
Issue #25953: re.sub() now raises an error for invalid numerical group
reference in replacement template even if the pattern is not found in
the string. Error message for invalid group reference now includes the
group index and the position of the reference.
Based on patch by SilentGhost.
Serhiy Storchaka [Sun, 23 Oct 2016 06:44:50 +0000 (09:44 +0300)]
Issue #28510: Clean up decoding error handlers.
Since PyUnicodeDecodeError_GetObject() always returns bytes, following
PyBytes_AsString() can be replaced with PyBytes_AS_STRING().
Serhiy Storchaka [Sat, 22 Oct 2016 20:18:31 +0000 (23:18 +0300)]
Issue #28504: Cleanup unicode_decode_call_errorhandler_wchar/writer.
Patch by Xiang Zhang.
Raymond Hettinger [Sat, 22 Oct 2016 16:58:14 +0000 (09:58 -0700)]
Reference the original compact-and-ordered proposal
Guido van Rossum [Sat, 22 Oct 2016 14:57:24 +0000 (07:57 -0700)]
Issue #27989: Tweak inspect.formatannotation() to improve pydoc rendering of function annotations. Ivan L. (3.6->3.7)
Guido van Rossum [Sat, 22 Oct 2016 14:56:58 +0000 (07:56 -0700)]
Issue #27989: Tweak inspect.formatannotation() to improve pydoc rendering of function annotations. Ivan L. (3.5->3.6)
Guido van Rossum [Sat, 22 Oct 2016 14:55:18 +0000 (07:55 -0700)]
Issue #27989: Tweak inspect.formatannotation() to improve pydoc rendering of function annotations. Ivan L.
Martin Panter [Sat, 22 Oct 2016 03:21:55 +0000 (03:21 +0000)]
Issue #28435: Merge urllib test fixes from 3.6
Martin Panter [Sat, 22 Oct 2016 03:21:36 +0000 (03:21 +0000)]
Issue #28435: Merge urllib test fixes from 3.5 into 3.6
Martin Panter [Sat, 22 Oct 2016 01:42:06 +0000 (01:42 +0000)]
Issue #28435: Avoid no_proxy environment variable interfering with tests
Patch by Piotr Szczepaniak.
Martin Panter [Sat, 22 Oct 2016 01:28:21 +0000 (01:28 +0000)]
Issue #26620: Fix ResourceWarning in test_urllib2_localnet
* Use context manager on urllib objects to ensure that they are closed on error
* Use self.addCleanup() to cleanup resources even if a test is interrupted
with CTRL+c
This backports a patch by Victor Stinner.
Guido van Rossum [Sat, 22 Oct 2016 00:30:31 +0000 (17:30 -0700)]
Two minor typing.py fixes (upstream #305) (3.6->3.7)
Guido van Rossum [Sat, 22 Oct 2016 00:30:30 +0000 (17:30 -0700)]
Two minor typing.py fixes (upstream #305) (3.5->3.6)
Guido van Rossum [Sat, 22 Oct 2016 00:30:29 +0000 (17:30 -0700)]
Two minor typing.py fixes (upstream #305)
Guido van Rossum [Fri, 21 Oct 2016 23:13:17 +0000 (16:13 -0700)]
Issue #28482: Skip a few test_typing tests if asyncio unavailable (3.6->3.7)
Guido van Rossum [Fri, 21 Oct 2016 23:12:50 +0000 (16:12 -0700)]
Issue #28482: Skip a few test_typing tests if asyncio unavailable (3.5->3.6)
Guido van Rossum [Fri, 21 Oct 2016 23:12:17 +0000 (16:12 -0700)]
Issue #28482: Skip a few test_typing tests if asyncio unavailable
Martin Panter [Fri, 21 Oct 2016 23:00:10 +0000 (23:00 +0000)]
Issue #23214: Fix formatting of -1
Yury Selivanov [Fri, 21 Oct 2016 21:42:00 +0000 (17:42 -0400)]
Merge 3.6 (issue #26796)
Yury Selivanov [Fri, 21 Oct 2016 21:41:23 +0000 (17:41 -0400)]
Merge 3.5 (issue #26796)
Yury Selivanov [Fri, 21 Oct 2016 21:40:42 +0000 (17:40 -0400)]
Issue #26796: Don't configure the number of workers for default threadpool executor.
Initial patch by Hans Lawrenz.
Guido van Rossum [Fri, 21 Oct 2016 21:31:37 +0000 (14:31 -0700)]
Fix indent (merge)
Guido van Rossum [Fri, 21 Oct 2016 21:31:18 +0000 (14:31 -0700)]
Fix indent (merge)
Guido van Rossum [Fri, 21 Oct 2016 21:30:50 +0000 (14:30 -0700)]
Fix indent
Guido van Rossum [Fri, 21 Oct 2016 21:29:02 +0000 (14:29 -0700)]
Sync typing.py from upstream (3.6->3.7)
Guido van Rossum [Fri, 21 Oct 2016 21:28:29 +0000 (14:28 -0700)]
Sync typing.py from upstream (3.5->3.6)
Guido van Rossum [Fri, 21 Oct 2016 21:27:58 +0000 (14:27 -0700)]
Sync typing.py from upstream
Yury Selivanov [Fri, 21 Oct 2016 21:25:02 +0000 (17:25 -0400)]
Merge 3.6 (issue #26923)
Yury Selivanov [Fri, 21 Oct 2016 21:23:35 +0000 (17:23 -0400)]
Merge 3.5 (issue #26923)
Yury Selivanov [Fri, 21 Oct 2016 21:22:17 +0000 (17:22 -0400)]
Issue #26923: Fix asyncio.Gather to refuse being cancelled once all children are done.
Patch by Johannes Ebke.
Yury Selivanov [Fri, 21 Oct 2016 21:14:17 +0000 (17:14 -0400)]
Merge 3.6 (issue #28500)
Yury Selivanov [Fri, 21 Oct 2016 21:13:40 +0000 (17:13 -0400)]
Issue #28500: Fix asyncio to handle async gens GC from another thread.
Brett Cannon [Fri, 21 Oct 2016 19:54:31 +0000 (12:54 -0700)]
Merge (issue #25152)
Brett Cannon [Fri, 21 Oct 2016 19:54:02 +0000 (12:54 -0700)]
Merge (issue #25152)
Brett Cannon [Fri, 21 Oct 2016 19:53:40 +0000 (12:53 -0700)]
Issue #25152: Mention the deprecation of pyvenv
Brett Cannon [Fri, 21 Oct 2016 19:16:14 +0000 (12:16 -0700)]
Merge (issue #28396)
Brett Cannon [Fri, 21 Oct 2016 19:15:48 +0000 (12:15 -0700)]
Merge (issue #28396)
Brett Cannon [Fri, 21 Oct 2016 19:15:14 +0000 (12:15 -0700)]
Issue #28396: Remove any mention of .pyo files from the man page.
Thanks to Ville Skyttä for the patch.
Serhiy Storchaka [Fri, 21 Oct 2016 14:15:20 +0000 (17:15 +0300)]
Issue #28214: Improved exception reporting for problematic __set_name__
attributes.
Serhiy Storchaka [Fri, 21 Oct 2016 14:13:31 +0000 (17:13 +0300)]
Issue #28214: Improved exception reporting for problematic __set_name__
attributes.
Serhiy Storchaka [Fri, 21 Oct 2016 14:10:42 +0000 (17:10 +0300)]
Issue #28410: Added _PyErr_FormatFromCause() -- the helper for raising
new exception with setting current exception as __cause__.
_PyErr_FormatFromCause(exception, format, args...) is equivalent to Python
raise exception(format % args) from sys.exc_info()[1]
Serhiy Storchaka [Fri, 21 Oct 2016 14:09:17 +0000 (17:09 +0300)]
Issue #28410: Added _PyErr_FormatFromCause() -- the helper for raising
new exception with setting current exception as __cause__.
_PyErr_FormatFromCause(exception, format, args...) is equivalent to Python
raise exception(format % args) from sys.exc_info()[1]
Serhiy Storchaka [Fri, 21 Oct 2016 13:21:02 +0000 (16:21 +0300)]
Issue #28410: Keep the traceback of original exception in _PyErr_ChainExceptions().
Serhiy Storchaka [Fri, 21 Oct 2016 13:20:43 +0000 (16:20 +0300)]
Issue #28410: Keep the traceback of original exception in _PyErr_ChainExceptions().
Serhiy Storchaka [Fri, 21 Oct 2016 13:19:59 +0000 (16:19 +0300)]
Issue #28410: Keep the traceback of original exception in _PyErr_ChainExceptions().
INADA Naoki [Fri, 21 Oct 2016 10:53:30 +0000 (19:53 +0900)]
Issue #18219: Optimize csv.DictWriter for large number of columns.
Patch by Mariatta Wijaya.
INADA Naoki [Fri, 21 Oct 2016 10:47:57 +0000 (19:47 +0900)]
Issue #18219: Optimize csv.DictWriter for large number of columns.
Patch by Mariatta Wijaya.
Benjamin Peterson [Fri, 21 Oct 2016 05:39:39 +0000 (22:39 -0700)]
merge 3.6
Benjamin Peterson [Fri, 21 Oct 2016 05:37:00 +0000 (22:37 -0700)]
mark dtrace stubs as static inline; remove stubs
C99 inline semantics don't work everywhere. (https://bugs.python.org/issue28092)
We don't want these to have external visibility anyway.
INADA Naoki [Fri, 21 Oct 2016 03:32:46 +0000 (12:32 +0900)]
Issue #28448: Fix C implemented asyncio.Future didn't work on Windows (merge 3.6)
INADA Naoki [Fri, 21 Oct 2016 03:30:15 +0000 (12:30 +0900)]
Issue #28448: Fix C implemented asyncio.Future didn't work on Windows
Martin Panter [Fri, 21 Oct 2016 00:52:04 +0000 (00:52 +0000)]
Issue #23214: Remove BufferedReader.read1(-1) workaround
Martin Panter [Thu, 20 Oct 2016 23:48:14 +0000 (23:48 +0000)]
Issue #23214: Implement optional BufferedReader, BytesIO read1() argument
Martin Panter [Thu, 20 Oct 2016 22:36:18 +0000 (22:36 +0000)]
Merge test suite fixes from 3.6
Martin Panter [Thu, 20 Oct 2016 21:45:49 +0000 (21:45 +0000)]
Issue #28484: Skip tests if GIL is not used or multithreading is disabled
Yury Selivanov [Thu, 20 Oct 2016 20:33:39 +0000 (16:33 -0400)]
Merge 3.6 (issue #28493)
Yury Selivanov [Thu, 20 Oct 2016 20:33:19 +0000 (16:33 -0400)]
Issue #28493: Fix typos in _asynciomodule.c
Thanks to Stéphane Wirtel!
Yury Selivanov [Thu, 20 Oct 2016 20:31:15 +0000 (16:31 -0400)]
Merge 3.6 (issue #26010)
Yury Selivanov [Thu, 20 Oct 2016 20:30:51 +0000 (16:30 -0400)]
Issue #26010: fix typos; rewording
Yury Selivanov [Thu, 20 Oct 2016 19:54:51 +0000 (15:54 -0400)]
Merge 3.6 (issue #28492)
Yury Selivanov [Thu, 20 Oct 2016 19:54:20 +0000 (15:54 -0400)]
Issue #28492: Fix how StopIteration is raised in _asyncio.Future
Ned Deily [Thu, 20 Oct 2016 19:40:56 +0000 (15:40 -0400)]
Issue #24381: merge from 3.6
Ned Deily [Thu, 20 Oct 2016 19:40:22 +0000 (15:40 -0400)]
Issue #24381: merge from 3.5
Ned Deily [Thu, 20 Oct 2016 19:38:27 +0000 (15:38 -0400)]
Issue #24381: Avoid unused function warning when building bundled macOS libffi.
Patch by Vajrasky Kok.
Yury Selivanov [Thu, 20 Oct 2016 17:11:48 +0000 (13:11 -0400)]
Merge 3.6 (issue #26010)
Yury Selivanov [Thu, 20 Oct 2016 17:11:34 +0000 (13:11 -0400)]
Merge 3.5 + document CO_ASYNC_GENERATOR; issue #26010
Yury Selivanov [Thu, 20 Oct 2016 17:06:30 +0000 (13:06 -0400)]
Issue #26010: Document CO_* constants
Victor Stinner [Thu, 20 Oct 2016 10:18:10 +0000 (12:18 +0200)]
Issue #21955: Please don't try to optimize int+int
Raymond Hettinger [Thu, 20 Oct 2016 08:36:52 +0000 (01:36 -0700)]
Add cum_weights example (simulation of a cumulative binomial distribution).
Martin Panter [Thu, 20 Oct 2016 07:44:29 +0000 (07:44 +0000)]
Issue #28471: Avoid ResourceWarning by detaching test socket
Martin Panter [Thu, 20 Oct 2016 05:25:14 +0000 (05:25 +0000)]
Issue #28480: Merge multithreading fixes from 3.6
Martin Panter [Thu, 20 Oct 2016 05:10:44 +0000 (05:10 +0000)]
Issue #28480: Adjust or skip tests if multithreading is disabled
Martin Panter [Thu, 20 Oct 2016 00:48:23 +0000 (00:48 +0000)]
Issue #28480: Avoid label at end of compound statement --without-threads
Based on patch by Masayuki Yamamoto.
Victor Stinner [Wed, 19 Oct 2016 22:46:38 +0000 (00:46 +0200)]
Merge 3.6
Victor Stinner [Wed, 19 Oct 2016 22:45:50 +0000 (00:45 +0200)]
Close #28479: Fix reST syntax in windows.rst
Patch written by Julien Palard.
Serhiy Storchaka [Wed, 19 Oct 2016 16:38:22 +0000 (19:38 +0300)]
Issue #19795: Fixed formatting a table.