]> granicus.if.org Git - python/log
python
8 years agoMerge 3.6 (issue #28371)
Yury Selivanov [Wed, 5 Oct 2016 22:29:33 +0000 (18:29 -0400)]
Merge 3.6 (issue #28371)

8 years agoMerge 3.5 (issue #28371)
Yury Selivanov [Wed, 5 Oct 2016 22:29:04 +0000 (18:29 -0400)]
Merge 3.5 (issue #28371)

8 years agoIssue #28371: Deprecate passing asyncio.Handles to run_in_executor.
Yury Selivanov [Wed, 5 Oct 2016 22:28:09 +0000 (18:28 -0400)]
Issue #28371: Deprecate passing asyncio.Handles to run_in_executor.

8 years agoMerge 3.6 (issue #28370)
Yury Selivanov [Wed, 5 Oct 2016 22:04:48 +0000 (18:04 -0400)]
Merge 3.6 (issue #28370)

8 years agoMerge 3.5 (issue #28370)
Yury Selivanov [Wed, 5 Oct 2016 22:04:35 +0000 (18:04 -0400)]
Merge 3.5 (issue #28370)

8 years agoIssue #28370: Speedup asyncio.StreamReader.readexactly
Yury Selivanov [Wed, 5 Oct 2016 22:01:12 +0000 (18:01 -0400)]
Issue #28370: Speedup asyncio.StreamReader.readexactly

Patch by Коренберг Марк.

8 years agoMerge 3.6 (issue #28369)
Yury Selivanov [Wed, 5 Oct 2016 21:50:19 +0000 (17:50 -0400)]
Merge 3.6 (issue #28369)

8 years agoMerge 3.5 (issue #28369)
Yury Selivanov [Wed, 5 Oct 2016 21:49:54 +0000 (17:49 -0400)]
Merge 3.5 (issue #28369)

8 years agoIssue #28369: Raise an error when transport's FD is used with add_reader
Yury Selivanov [Wed, 5 Oct 2016 21:48:59 +0000 (17:48 -0400)]
Issue #28369: Raise an error when transport's FD is used with add_reader

8 years agoMerge 3.6 (issue #28368)
Yury Selivanov [Wed, 5 Oct 2016 21:02:07 +0000 (17:02 -0400)]
Merge 3.6 (issue #28368)

8 years agoMerge 3.5 (issue #28368)
Yury Selivanov [Wed, 5 Oct 2016 21:01:01 +0000 (17:01 -0400)]
Merge 3.5 (issue #28368)

8 years agoIssue #28368: Refuse monitoring processes if the child watcher has no loop attached.
Yury Selivanov [Wed, 5 Oct 2016 20:57:12 +0000 (16:57 -0400)]
Issue #28368: Refuse monitoring processes if the child watcher has no loop attached.

Patch by Vincent Michel.

8 years agoIssue #27998: Removed workarounds for supporting bytes paths on Windows in
Serhiy Storchaka [Wed, 5 Oct 2016 20:18:32 +0000 (23:18 +0300)]
Issue #27998: Removed workarounds for supporting bytes paths on Windows in
os.walk() function and glob module since os.scandir() now directly supports
them.

8 years agoIssue #27998: Removed workarounds for supporting bytes paths on Windows in
Serhiy Storchaka [Wed, 5 Oct 2016 20:17:10 +0000 (23:17 +0300)]
Issue #27998: Removed workarounds for supporting bytes paths on Windows in
os.walk() function and glob module since os.scandir() now directly supports
them.

8 years agonull merge from 3.6
Ned Deily [Tue, 4 Oct 2016 18:52:01 +0000 (14:52 -0400)]
null merge from 3.6

8 years agoIssue #28222: Merge from 3.6
Berker Peksag [Tue, 4 Oct 2016 17:55:52 +0000 (20:55 +0300)]
Issue #28222: Merge from 3.6

8 years agoIssue #28222: Merge from 3.5
Berker Peksag [Tue, 4 Oct 2016 17:55:26 +0000 (20:55 +0300)]
Issue #28222: Merge from 3.5

8 years agoIssue #28222: Don't fail if pygments is not available
Berker Peksag [Tue, 4 Oct 2016 17:54:44 +0000 (20:54 +0300)]
Issue #28222: Don't fail if pygments is not available

We can't just skip the test if docutils is available,
but pygments is not because the purpose of the test
was testing a bug in _check_rst_data().

8 years agoIssue #28348: Merge from 3.6
Berker Peksag [Tue, 4 Oct 2016 17:46:43 +0000 (20:46 +0300)]
Issue #28348: Merge from 3.6

8 years agoIssue #28348: Merge from 3.5
Berker Peksag [Tue, 4 Oct 2016 17:46:22 +0000 (20:46 +0300)]
Issue #28348: Merge from 3.5

8 years agoIssue #28348: Fix typo in asyncio.Task() documentation
Berker Peksag [Tue, 4 Oct 2016 17:45:47 +0000 (20:45 +0300)]
Issue #28348: Fix typo in asyncio.Task() documentation

Patch by Mariatta Wijaya.

8 years agoIssue #28229: Merge from 3.6
Berker Peksag [Tue, 4 Oct 2016 17:41:56 +0000 (20:41 +0300)]
Issue #28229: Merge from 3.6

8 years agoIssue #28229: lzma module now supports pathlib
Berker Peksag [Tue, 4 Oct 2016 17:41:20 +0000 (20:41 +0300)]
Issue #28229: lzma module now supports pathlib

8 years agoIssue #28321: Fixed writing non-BMP characters with binary format in plistlib.
Serhiy Storchaka [Tue, 4 Oct 2016 17:08:59 +0000 (20:08 +0300)]
Issue #28321: Fixed writing non-BMP characters with binary format in plistlib.

8 years agoIssue #28321: Fixed writing non-BMP characters with binary format in plistlib.
Serhiy Storchaka [Tue, 4 Oct 2016 17:08:29 +0000 (20:08 +0300)]
Issue #28321: Fixed writing non-BMP characters with binary format in plistlib.

8 years agoIssue #28321: Fixed writing non-BMP characters with binary format in plistlib.
Serhiy Storchaka [Tue, 4 Oct 2016 17:04:30 +0000 (20:04 +0300)]
Issue #28321: Fixed writing non-BMP characters with binary format in plistlib.

8 years agoAutomated merge with ssh://hg.python.org/cpython
Steven D'Aprano [Tue, 4 Oct 2016 16:25:05 +0000 (03:25 +1100)]
Automated merge with ssh://hg.python.org/cpython

8 years agoIssue #27181 remove geometric_mean and defer for 3.7.
Steven D'Aprano [Tue, 4 Oct 2016 16:24:45 +0000 (03:24 +1100)]
Issue #27181 remove geometric_mean and defer for 3.7.

8 years agoIssue #27181 remove geometric_mean and defer for 3.7.
Steven D'Aprano [Tue, 4 Oct 2016 16:24:45 +0000 (03:24 +1100)]
Issue #27181 remove geometric_mean and defer for 3.7.

8 years agoNull merge
Serhiy Storchaka [Tue, 4 Oct 2016 15:24:41 +0000 (18:24 +0300)]
Null merge

8 years agoNull merge
Serhiy Storchaka [Tue, 4 Oct 2016 15:24:21 +0000 (18:24 +0300)]
Null merge

8 years agoMerge heads
Serhiy Storchaka [Tue, 4 Oct 2016 15:23:55 +0000 (18:23 +0300)]
Merge heads

8 years agoIssue #28350: String constants with null character no longer interned.
Serhiy Storchaka [Tue, 4 Oct 2016 15:21:53 +0000 (18:21 +0300)]
Issue #28350: String constants with null character no longer interned.

8 years agoIssue #28350: String constants with null character no longer interned.
Serhiy Storchaka [Tue, 4 Oct 2016 15:21:25 +0000 (18:21 +0300)]
Issue #28350: String constants with null character no longer interned.

8 years agoIssue #28350: String constants with null character no longer interned.
Serhiy Storchaka [Tue, 4 Oct 2016 15:17:22 +0000 (18:17 +0300)]
Issue #28350: String constants with null character no longer interned.

8 years agomerge heads
Benjamin Peterson [Tue, 4 Oct 2016 07:01:03 +0000 (00:01 -0700)]
merge heads

8 years agomerge 3.6 (#26617)
Benjamin Peterson [Tue, 4 Oct 2016 07:00:35 +0000 (00:00 -0700)]
merge 3.6 (#26617)

8 years agomerge 3.5 (#26617)
Benjamin Peterson [Tue, 4 Oct 2016 07:00:23 +0000 (00:00 -0700)]
merge 3.5 (#26617)

8 years agoensure gc tracking is off when invoking weakref callbacks (closes #26617)
Benjamin Peterson [Tue, 4 Oct 2016 07:00:02 +0000 (00:00 -0700)]
ensure gc tracking is off when invoking weakref callbacks (closes #26617)

8 years agoCloses #21124, #28337: Call PyType_Ready on unpackiter_type.
Zachary Ware [Tue, 4 Oct 2016 06:20:21 +0000 (01:20 -0500)]
Closes #21124, #28337: Call PyType_Ready on unpackiter_type.

Patch by Masayuki Yamamoto.

8 years agoIssue #28335: made minor improvement to implementation.
Vinay Sajip [Mon, 3 Oct 2016 18:50:56 +0000 (19:50 +0100)]
Issue #28335: made minor improvement to implementation.

8 years agoCloses #28335: used 'raise from' in logging configuration code.
Vinay Sajip [Mon, 3 Oct 2016 18:45:50 +0000 (19:45 +0100)]
Closes #28335: used 'raise from' in logging configuration code.

8 years agoAdd myself to the ACKS file.
Steve Dower [Mon, 3 Oct 2016 18:16:17 +0000 (11:16 -0700)]
Add myself to the ACKS file.

8 years agoMerge from 3.6
Steve Dower [Mon, 3 Oct 2016 16:15:39 +0000 (09:15 -0700)]
Merge from 3.6

8 years agoIssue #28218: Fixes versionadded description in using/windows.rst
Steve Dower [Mon, 3 Oct 2016 16:15:27 +0000 (09:15 -0700)]
Issue #28218: Fixes versionadded description in using/windows.rst

8 years agoIssue #28217: Adds _testconsole module to test console input.
Steve Dower [Mon, 3 Oct 2016 16:12:42 +0000 (09:12 -0700)]
Issue #28217: Adds _testconsole module to test console input.

8 years agoIssue #28217: Adds _testconsole module to test console input. Fixes some issues found...
Steve Dower [Mon, 3 Oct 2016 16:04:58 +0000 (09:04 -0700)]
Issue #28217: Adds _testconsole module to test console input. Fixes some issues found by the tests.

8 years agoMore updates from upstream typing.py (3.6->3.7)
Guido van Rossum [Mon, 3 Oct 2016 15:42:17 +0000 (08:42 -0700)]
More updates from upstream typing.py (3.6->3.7)

8 years agoMore updates from upstream typing.py (3.5->3.6)
Guido van Rossum [Mon, 3 Oct 2016 15:41:37 +0000 (08:41 -0700)]
More updates from upstream typing.py (3.5->3.6)

8 years agoMore updates from upstream typing.py
Guido van Rossum [Mon, 3 Oct 2016 15:40:50 +0000 (08:40 -0700)]
More updates from upstream typing.py

8 years agotest_invalid_sequences seems don't have to stay in CAPITest.
Serhiy Storchaka [Sun, 2 Oct 2016 19:00:05 +0000 (22:00 +0300)]
test_invalid_sequences seems don't have to stay in CAPITest.

Reported by Xiang Zhang.

8 years agotest_invalid_sequences seems don't have to stay in CAPITest.
Serhiy Storchaka [Sun, 2 Oct 2016 18:59:44 +0000 (21:59 +0300)]
test_invalid_sequences seems don't have to stay in CAPITest.

Reported by Xiang Zhang.

8 years agoIssue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().
Serhiy Storchaka [Sun, 2 Oct 2016 18:30:59 +0000 (21:30 +0300)]
Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().
Original patch by Xiang Zhang.

8 years agoIssue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().
Serhiy Storchaka [Sun, 2 Oct 2016 18:30:35 +0000 (21:30 +0300)]
Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().
Original patch by Xiang Zhang.

8 years agoIssue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().
Serhiy Storchaka [Sun, 2 Oct 2016 18:29:26 +0000 (21:29 +0300)]
Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().
Original patch by Xiang Zhang.

8 years agoMoved Unicode C API related tests to separate test class.
Serhiy Storchaka [Sun, 2 Oct 2016 18:19:38 +0000 (21:19 +0300)]
Moved Unicode C API related tests to separate test class.

8 years agoMoved Unicode C API related tests to separate test class.
Serhiy Storchaka [Sun, 2 Oct 2016 18:18:14 +0000 (21:18 +0300)]
Moved Unicode C API related tests to separate test class.

8 years agoMoved Unicode C API related tests to separate test class.
Serhiy Storchaka [Sun, 2 Oct 2016 18:16:38 +0000 (21:16 +0300)]
Moved Unicode C API related tests to separate test class.

8 years agoIssue #28225: Merge from 3.6
Berker Peksag [Sun, 2 Oct 2016 17:07:38 +0000 (20:07 +0300)]
Issue #28225: Merge from 3.6

8 years agoIssue #28225: bz2 module now supports pathlib
Berker Peksag [Sun, 2 Oct 2016 17:07:06 +0000 (20:07 +0300)]
Issue #28225: bz2 module now supports pathlib

Initial patch by Ethan Furman.

8 years agoIssue #28227: Merge from 3.6
Berker Peksag [Sun, 2 Oct 2016 10:49:05 +0000 (13:49 +0300)]
Issue #28227: Merge from 3.6

8 years agoIssue #28227: gzip now supports pathlib
Berker Peksag [Sun, 2 Oct 2016 10:47:58 +0000 (13:47 +0300)]
Issue #28227: gzip now supports pathlib

Patch by Ethan Furman.

8 years agoIssue #27358: Merge from 3.6
Berker Peksag [Sun, 2 Oct 2016 10:08:47 +0000 (13:08 +0300)]
Issue #27358: Merge from 3.6

8 years agoIssue #27358: Fix typo in error message
Berker Peksag [Sun, 2 Oct 2016 10:08:25 +0000 (13:08 +0300)]
Issue #27358: Fix typo in error message

8 years agoIssue #28338: Merge from 3.6.
Xavier de Gaye [Sun, 2 Oct 2016 09:43:25 +0000 (11:43 +0200)]
Issue #28338: Merge from 3.6.

8 years agoIssue #28338: Restore test_pdb doctests.
Xavier de Gaye [Sun, 2 Oct 2016 09:42:22 +0000 (11:42 +0200)]
Issue #28338: Restore test_pdb doctests.

8 years agoIssue #28332: Deprecated silent truncations in socket.htons and socket.ntohs.
Serhiy Storchaka [Sun, 2 Oct 2016 09:34:40 +0000 (12:34 +0300)]
Issue #28332: Deprecated silent truncations in socket.htons and socket.ntohs.
Original patch by Oren Milman.

8 years agoIssue #20254: Merge from 3.6
Berker Peksag [Sun, 2 Oct 2016 08:40:30 +0000 (11:40 +0300)]
Issue #20254: Merge from 3.6

8 years agoIssue #20254: Merge from 3.5
Berker Peksag [Sun, 2 Oct 2016 08:40:10 +0000 (11:40 +0300)]
Issue #20254: Merge from 3.5

8 years agoIssue #20254: Fix duplicate tests in test_socket
Berker Peksag [Sun, 2 Oct 2016 08:39:41 +0000 (11:39 +0300)]
Issue #20254: Fix duplicate tests in test_socket

Patch by Vajrasky Kok.

8 years agoNull merge
Serhiy Storchaka [Sun, 2 Oct 2016 08:12:03 +0000 (11:12 +0300)]
Null merge

8 years agoNull merge
Serhiy Storchaka [Sun, 2 Oct 2016 08:11:46 +0000 (11:11 +0300)]
Null merge

8 years agoIssue #27358: Backported tests.
Serhiy Storchaka [Sun, 2 Oct 2016 08:10:18 +0000 (11:10 +0300)]
Issue #27358: Backported tests.

8 years agoIssue #27358: Optimized merging var-keyword arguments and improved error
Serhiy Storchaka [Sun, 2 Oct 2016 08:07:29 +0000 (11:07 +0300)]
Issue #27358: Optimized merging var-keyword arguments and improved error
message when pass a non-mapping as a var-keyword argument.

8 years agoIssue #27358: Optimized merging var-keyword arguments and improved error
Serhiy Storchaka [Sun, 2 Oct 2016 08:06:43 +0000 (11:06 +0300)]
Issue #27358: Optimized merging var-keyword arguments and improved error
message when pass a non-mapping as a var-keyword argument.

8 years agoNull merge
Serhiy Storchaka [Sun, 2 Oct 2016 07:37:54 +0000 (10:37 +0300)]
Null merge

8 years agoNull merge
Serhiy Storchaka [Sun, 2 Oct 2016 07:37:43 +0000 (10:37 +0300)]
Null merge

8 years agoIssue #28257: Backported a test.
Serhiy Storchaka [Sun, 2 Oct 2016 07:36:33 +0000 (10:36 +0300)]
Issue #28257: Backported a test.

8 years agoIssue #28257: Improved error message when pass a non-iterable as
Serhiy Storchaka [Sun, 2 Oct 2016 07:34:46 +0000 (10:34 +0300)]
Issue #28257: Improved error message when pass a non-iterable as
a var-positional argument.  Added opcode BUILD_TUPLE_UNPACK_WITH_CALL.

8 years agoIssue #28257: Improved error message when pass a non-iterable as
Serhiy Storchaka [Sun, 2 Oct 2016 07:33:46 +0000 (10:33 +0300)]
Issue #28257: Improved error message when pass a non-iterable as
a var-positional argument.  Added opcode BUILD_TUPLE_UNPACK_WITH_CALL.

8 years agoIssue #28322: Fixed possible crashes when unpickle itertools objects from
Serhiy Storchaka [Sun, 2 Oct 2016 06:17:08 +0000 (09:17 +0300)]
Issue #28322: Fixed possible crashes when unpickle itertools objects from
incorrect pickle data.  Based on patch by John Leitch.

8 years agoIssue #28322: Fixed possible crashes when unpickle itertools objects from
Serhiy Storchaka [Sun, 2 Oct 2016 06:13:14 +0000 (09:13 +0300)]
Issue #28322: Fixed possible crashes when unpickle itertools objects from
incorrect pickle data.  Based on patch by John Leitch.

8 years agoIssue #28322: Fixed possible crashes when unpickle itertools objects from
Serhiy Storchaka [Sun, 2 Oct 2016 05:34:53 +0000 (08:34 +0300)]
Issue #28322: Fixed possible crashes when unpickle itertools objects from
incorrect pickle data.  Based on patch by John Leitch.

8 years agoIssue #21124: Fix building _struct on Cygwin.
Zachary Ware [Sun, 2 Oct 2016 05:33:39 +0000 (00:33 -0500)]
Issue #21124: Fix building _struct on Cygwin.

Patch by Masayuki Yamamoto.

8 years agoIssue #28325: Remove vestigal MacOS 9 macurl2path module and its tests.
Ned Deily [Sun, 2 Oct 2016 02:05:07 +0000 (22:05 -0400)]
Issue #28325: Remove vestigal MacOS 9 macurl2path module and its tests.

8 years agoIssue #28324: Merge from 3.6
Ned Deily [Sun, 2 Oct 2016 01:33:34 +0000 (21:33 -0400)]
Issue #28324: Merge from 3.6

8 years agoIssue #28323: Merge from 3.6
Ned Deily [Sun, 2 Oct 2016 01:21:44 +0000 (21:21 -0400)]
Issue #28323: Merge from 3.6

8 years agoIssue #28324: Remove vestigal MacOS 9 references in os.py docstring.
Ned Deily [Sun, 2 Oct 2016 01:12:35 +0000 (21:12 -0400)]
Issue #28324: Remove vestigal MacOS 9 references in os.py docstring.
Patch by Chi Hsuan Yen.

8 years agoIssue #28323: Remove vestigal MacOS 9 checks from exit() and quit().
Ned Deily [Sun, 2 Oct 2016 01:12:16 +0000 (21:12 -0400)]
Issue #28323: Remove vestigal MacOS 9 checks from exit() and quit().
Patch by Chi Hsuan Yen.

8 years agopgen lives in Parser, not Programs.
Zachary Ware [Sat, 1 Oct 2016 22:18:03 +0000 (17:18 -0500)]
pgen lives in Parser, not Programs.

Apparently, I can't read.

8 years agoUpdate .{hg,git}ignore for Cygwin builds
Zachary Ware [Sat, 1 Oct 2016 22:00:51 +0000 (17:00 -0500)]
Update .{hg,git}ignore for Cygwin builds

8 years agoIssue #13756: Fix building extensions modules on Cygwin
Zachary Ware [Sat, 1 Oct 2016 21:15:09 +0000 (16:15 -0500)]
Issue #13756: Fix building extensions modules on Cygwin

Patch by Roumen Petrov, based on original patch by Jason Tishler.

8 years agoIssue #21085: Fix accidental leading +'s in configure.ac
Zachary Ware [Sat, 1 Oct 2016 06:06:51 +0000 (01:06 -0500)]
Issue #21085: Fix accidental leading +'s in configure.ac

8 years agoIssue #21085: add configure check for siginfo_t.si_band
Zachary Ware [Sat, 1 Oct 2016 05:47:27 +0000 (00:47 -0500)]
Issue #21085: add configure check for siginfo_t.si_band

Patch by Masayuki Yamamoto, reviewed and rebased by Erik Bray.

This is a first step on the long road toward resupporting Cygwin, which does
not provide siginfo_t.si_band.

8 years agoIssue #28275: Merge bz2 fix from 3.6
Martin Panter [Sat, 1 Oct 2016 03:21:22 +0000 (03:21 +0000)]
Issue #28275: Merge bz2 fix from 3.6

8 years agoIssue #28275: Merge bz2 fix from 3.5 into 3.6
Martin Panter [Sat, 1 Oct 2016 03:11:04 +0000 (03:11 +0000)]
Issue #28275: Merge bz2 fix from 3.5 into 3.6

8 years agoIssue #28275: Clean up to avoid use-after-free after bzip decompress failure
Martin Panter [Sat, 1 Oct 2016 02:45:17 +0000 (02:45 +0000)]
Issue #28275: Clean up to avoid use-after-free after bzip decompress failure

8 years agoIssue #28228: Merge from 3.6
Berker Peksag [Sat, 1 Oct 2016 02:02:22 +0000 (05:02 +0300)]
Issue #28228: Merge from 3.6

8 years agoIssue #28228: imghdr now supports pathlib
Berker Peksag [Sat, 1 Oct 2016 02:01:54 +0000 (05:01 +0300)]
Issue #28228: imghdr now supports pathlib

8 years agoIssue #28283: Merge from 3.6
Berker Peksag [Sat, 1 Oct 2016 01:17:56 +0000 (04:17 +0300)]
Issue #28283: Merge from 3.6