]> granicus.if.org Git - python/log
python
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

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: Merge from 3.6
Berker Peksag [Fri, 30 Sep 2016 23:45:03 +0000 (02:45 +0300)]
Issue #28226: Merge from 3.6

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.6
Berker Peksag [Fri, 30 Sep 2016 22:19:57 +0000 (01:19 +0300)]
Issue #28319: Merge from 3.6

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.6
Berker Peksag [Fri, 30 Sep 2016 22:07:42 +0000 (01:07 +0300)]
Merge from 3.6

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.6
Berker Peksag [Fri, 30 Sep 2016 22:03:20 +0000 (01:03 +0300)]
Merge from 3.6

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: Merge from 3.6
Berker Peksag [Fri, 30 Sep 2016 21:54:55 +0000 (00:54 +0300)]
Issue #28226: Merge from 3.6

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.6
Terry Jan Reedy [Fri, 30 Sep 2016 19:39:22 +0000 (15:39 -0400)]
Merge with 3.6

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.6->3.7)
Guido van Rossum [Fri, 30 Sep 2016 15:19:09 +0000 (08:19 -0700)]
Misc asyncio improvements from upstream (merge 3.6->3.7)

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:35 +0000 (10:39 +0300)]
Null merge

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:39:12 +0000 (10:39 +0300)]
Merge heads

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:36:15 +0000 (10:36 +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: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 agoMerge with 3.6
Terry Jan Reedy [Fri, 30 Sep 2016 06:57:01 +0000 (02:57 -0400)]
Merge with 3.6

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 agoMerge with 3.6
Terry Jan Reedy [Fri, 30 Sep 2016 04:02:42 +0000 (00:02 -0400)]
Merge with 3.6

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.6
Victor Stinner [Thu, 29 Sep 2016 20:31:28 +0000 (22:31 +0200)]
Merge 3.6

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 agoMerge 3.6
Victor Stinner [Thu, 29 Sep 2016 20:14:02 +0000 (22:14 +0200)]
Merge 3.6

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

8 years agoIDLE NEWS item and ack.
Terry Jan Reedy [Thu, 29 Sep 2016 01:55:55 +0000 (21:55 -0400)]
IDLE NEWS item and ack.