]> granicus.if.org Git - python/log
python
8 years agoNull merge with 3.5
Yury Selivanov [Thu, 6 Oct 2016 18:05:42 +0000 (14:05 -0400)]
Null merge with 3.5

8 years agoNull merge with 3.4
Yury Selivanov [Thu, 6 Oct 2016 18:05:17 +0000 (14:05 -0400)]
Null merge with 3.4

8 years agoIssue #27759: Fix selectors incorrectly retain invalid file descriptors.
Yury Selivanov [Thu, 6 Oct 2016 18:03:03 +0000 (14:03 -0400)]
Issue #27759: Fix selectors incorrectly retain invalid file descriptors.

(Backported to 3.4 as this bug might be exploited to for DoS)

8 years agomerge 3.5
Benjamin Peterson [Thu, 6 Oct 2016 06:32:15 +0000 (23:32 -0700)]
merge 3.5

8 years agoensure read size is initialized
Benjamin Peterson [Thu, 6 Oct 2016 06:32:09 +0000 (23:32 -0700)]
ensure read size is initialized

8 years agomerge 3.5
Benjamin Peterson [Thu, 6 Oct 2016 06:29:16 +0000 (23:29 -0700)]
merge 3.5

8 years agodo not leak buffer if mmap is not writable
Benjamin Peterson [Thu, 6 Oct 2016 06:29:07 +0000 (23:29 -0700)]
do not leak buffer if mmap is not writable

8 years agoIssue #28201: Dict reduces possibility of 2nd conflict in hash table.
INADA Naoki [Thu, 6 Oct 2016 06:19:07 +0000 (15:19 +0900)]
Issue #28201: Dict reduces possibility of 2nd conflict in hash table.

Do perturb shift after first conflict.

8 years agomerge 3.5
Benjamin Peterson [Thu, 6 Oct 2016 05:54:19 +0000 (22:54 -0700)]
merge 3.5

8 years agoskip test on windows
Benjamin Peterson [Thu, 6 Oct 2016 05:09:31 +0000 (22:09 -0700)]
skip test on windows

8 years agofix bug in 48797808a302
Benjamin Peterson [Thu, 6 Oct 2016 05:00:24 +0000 (22:00 -0700)]
fix bug in 48797808a302

8 years agoskip test if resizing is not supported
Benjamin Peterson [Thu, 6 Oct 2016 05:00:05 +0000 (22:00 -0700)]
skip test if resizing is not supported

8 years agommap: do all internal arithmetic with Py_ssize_t while being very careful about overflow
Benjamin Peterson [Thu, 6 Oct 2016 04:45:48 +0000 (21:45 -0700)]
mmap: do all internal arithmetic with Py_ssize_t while being very careful about overflow

8 years agoMerge 3.5 (issue #23749)
Yury Selivanov [Wed, 5 Oct 2016 23:40:19 +0000 (19:40 -0400)]
Merge 3.5 (issue #23749)

8 years agoasyncio: Add "call_connection_made" arg to SSLProtocol.__init__
Yury Selivanov [Wed, 5 Oct 2016 23:39:54 +0000 (19:39 -0400)]
asyncio: Add "call_connection_made" arg to SSLProtocol.__init__

Issue #23749: With this change it's possible to implement starttls
as a separate package on PyPI, or even by copying/pasting a small
snipped of code in your project.

It's expected that we'll figure out the API design for starttls
during 3.6, so that we can add it in 3.7.

8 years agoMerge 3.5 (issue #28372)
Yury Selivanov [Wed, 5 Oct 2016 23:33:36 +0000 (19:33 -0400)]
Merge 3.5 (issue #28372)

8 years agoIssue #28372: Fix asyncio to support formatting of non-python coroutines
Yury Selivanov [Wed, 5 Oct 2016 23:32:49 +0000 (19:32 -0400)]
Issue #28372: Fix asyncio to support formatting of non-python coroutines

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.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.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.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: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 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: 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 #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 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 #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 #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 #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:29 +0000 (20:08 +0300)]
Issue #28321: Fixed writing non-BMP characters with binary format in plistlib.

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: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 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 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. 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.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 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: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: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: 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: 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: 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: 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 #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: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: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: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: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: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 #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 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: 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.5
Berker Peksag [Sat, 1 Oct 2016 01:17:33 +0000 (04:17 +0300)]
Issue #28283: Merge from 3.5

8 years agoIssue #28283: Remove flaky test test_sock_connect_sock_write_race again
Berker Peksag [Sat, 1 Oct 2016 01:16:59 +0000 (04:16 +0300)]
Issue #28283: Remove flaky test test_sock_connect_sock_write_race again

It was added back in 53a578f51f21.

8 years agoIssue #28226: Fix test_compileall on Windows
Berker Peksag [Fri, 30 Sep 2016 23:44:37 +0000 (02:44 +0300)]
Issue #28226: Fix test_compileall on Windows

8 years agoIssue #28319: Merge from 3.5
Berker Peksag [Fri, 30 Sep 2016 22:19:35 +0000 (01:19 +0300)]
Issue #28319: Merge from 3.5

8 years agoIssue #28319: Fix typo in lzma.rst
Berker Peksag [Fri, 30 Sep 2016 22:19:04 +0000 (01:19 +0300)]
Issue #28319: Fix typo in lzma.rst

Reported by Vladimir Rutsky.

8 years agoMerge from 3.5
Berker Peksag [Fri, 30 Sep 2016 22:07:17 +0000 (01:07 +0300)]
Merge from 3.5

8 years agoFix markup in pathlib.rst
Berker Peksag [Fri, 30 Sep 2016 22:06:52 +0000 (01:06 +0300)]
Fix markup in pathlib.rst

8 years agoMerge from 3.5
Berker Peksag [Fri, 30 Sep 2016 22:03:01 +0000 (01:03 +0300)]
Merge from 3.5

8 years agoFix Path.glob() link, reported by SilentGhost
Berker Peksag [Fri, 30 Sep 2016 22:02:39 +0000 (01:02 +0300)]
Fix Path.glob() link, reported by SilentGhost

8 years agoIssue #28226: compileall now supports pathlib
Berker Peksag [Fri, 30 Sep 2016 21:54:18 +0000 (00:54 +0300)]
Issue #28226: compileall now supports pathlib

8 years agoMerge with 3.5
Terry Jan Reedy [Fri, 30 Sep 2016 19:39:05 +0000 (15:39 -0400)]
Merge with 3.5

8 years agoIssue #28815: Change '?' to '<module>' in some doc examples.
Terry Jan Reedy [Fri, 30 Sep 2016 19:38:48 +0000 (15:38 -0400)]
Issue #28815: Change '?' to '<module>' in some doc examples.
Patch by Mariatta Wijaya.

8 years agoMisc asyncio improvements from upstream (merge 3.5->3.6)
Guido van Rossum [Fri, 30 Sep 2016 15:18:34 +0000 (08:18 -0700)]
Misc asyncio improvements from upstream (merge 3.5->3.6)

8 years agoMisc asyncio improvements from upstream
Guido van Rossum [Fri, 30 Sep 2016 15:17:15 +0000 (08:17 -0700)]
Misc asyncio improvements from upstream

8 years agoNull merge
Serhiy Storchaka [Fri, 30 Sep 2016 07:39:26 +0000 (10:39 +0300)]
Null merge

8 years agoMerge heads
Serhiy Storchaka [Fri, 30 Sep 2016 07:38:54 +0000 (10:38 +0300)]
Merge heads

8 years agoMerge heads
Serhiy Storchaka [Fri, 30 Sep 2016 07:38:31 +0000 (10:38 +0300)]
Merge heads

8 years agoIssue #27942: String constants now interned recursively in tuples and frozensets.
Serhiy Storchaka [Fri, 30 Sep 2016 07:23:01 +0000 (10:23 +0300)]
Issue #27942: String constants now interned recursively in tuples and frozensets.

8 years agoIssue #27942: String constants now interned recursively in tuples and frozensets.
Serhiy Storchaka [Fri, 30 Sep 2016 07:07:26 +0000 (10:07 +0300)]
Issue #27942: String constants now interned recursively in tuples and frozensets.

8 years agoIssue #25488: merge idle.py from 3.5.
Terry Jan Reedy [Fri, 30 Sep 2016 06:56:46 +0000 (02:56 -0400)]
Issue #25488: merge idle.py from 3.5.

8 years agoIssue #25488: Stpp idle.py from adding a entry when it is a duplicate.
Terry Jan Reedy [Fri, 30 Sep 2016 06:53:44 +0000 (02:53 -0400)]
Issue #25488: Stpp idle.py from adding a entry when it is a duplicate.
Also, make idlelib.idle.main() work after import idlelib.idle.

8 years agoMove idlelib/NEWS.txt entries for 2.x into a separate file -- NEWS2x.txt.
Terry Jan Reedy [Fri, 30 Sep 2016 04:02:28 +0000 (00:02 -0400)]
Move idlelib/NEWS.txt entries for 2.x into a separate file -- NEWS2x.txt.
Reformat a few early 3.x entries in HEWS.txt. Merge from 3.5.

8 years agoMove idlelib/NEWS.txt entries for 2.x into a separate file -- NEWS2x.txt.
Terry Jan Reedy [Fri, 30 Sep 2016 03:59:55 +0000 (23:59 -0400)]
Move idlelib/NEWS.txt entries for 2.x into a separate file -- NEWS2x.txt.
Reformat a few early 3.x entries in HEWS.txt.

8 years agoMerge 3.5
Victor Stinner [Thu, 29 Sep 2016 20:31:20 +0000 (22:31 +0200)]
Merge 3.5

8 years agoIssue #28258: Explain the LC_ALL change in a comment
Victor Stinner [Thu, 29 Sep 2016 20:31:06 +0000 (22:31 +0200)]
Issue #28258: Explain the LC_ALL change in a comment

8 years agoFix xml.etree.ElementTree.Element.getiterator()
Victor Stinner [Thu, 29 Sep 2016 20:12:35 +0000 (22:12 +0200)]
Fix xml.etree.ElementTree.Element.getiterator()

Issue #28314: Fix function declaration (C flags) for the getiterator() method
of xml.etree.ElementTree.Element.

8 years agoIssue #28258: Fixed build with Estonian locale (python-config and distclean
Serhiy Storchaka [Thu, 29 Sep 2016 17:39:45 +0000 (20:39 +0300)]
Issue #28258: Fixed build with Estonian locale (python-config and distclean
targets in Makefile).  Patch by Arfrever Frehtes Taifersar Arahesis.

8 years agoIssue #28258: Fixed build with Estonian locale (python-config and distclean
Serhiy Storchaka [Thu, 29 Sep 2016 17:29:23 +0000 (20:29 +0300)]
Issue #28258: Fixed build with Estonian locale (python-config and distclean
targets in Makefile).  Patch by Arfrever Frehtes Taifersar Arahesis.

8 years agomerge 3.5 (#1703178)
Benjamin Peterson [Thu, 29 Sep 2016 06:17:04 +0000 (23:17 -0700)]
merge 3.5 (#1703178)

8 years agobuild_ext: correctly parse the link_objects user option (closes #1703178)
Benjamin Peterson [Thu, 29 Sep 2016 06:13:58 +0000 (23:13 -0700)]
build_ext: correctly parse the link_objects user option (closes #1703178)

Patch by Valerie Lambert.

8 years agoMerge test cleanup from 3.5 into 3.6
Martin Panter [Thu, 29 Sep 2016 04:40:56 +0000 (04:40 +0000)]
Merge test cleanup from 3.5 into 3.6

8 years agoRemove disabled ctypes test
Martin Panter [Thu, 29 Sep 2016 02:50:20 +0000 (02:50 +0000)]
Remove disabled ctypes test

The test was commented out in 2005 before ctypes was added to Python, because
the “cdll” attribute loading feature “will no longer work this way”:
http://svn.python.org/view?view=revision&revision=49102