96369 Commits

Author SHA1 Message Date
Serhiy Storchaka
e036ef8fa2 Issue #27358: Optimized merging var-keyword arguments and improved error
message when pass a non-mapping as a var-keyword argument.
2016-10-02 11:06:43 +03:00
Serhiy Storchaka
0a3beffc8f Null merge 2016-10-02 10:37:43 +03:00
Serhiy Storchaka
6498e5270e Issue #28257: Backported a test. 2016-10-02 10:36:33 +03:00
Serhiy Storchaka
7344285c19 Issue #28257: Improved error message when pass a non-iterable as
a var-positional argument.  Added opcode BUILD_TUPLE_UNPACK_WITH_CALL.
2016-10-02 10:33:46 +03:00
Serhiy Storchaka
8f0f205649 Issue #28322: Fixed possible crashes when unpickle itertools objects from
incorrect pickle data.  Based on patch by John Leitch.
2016-10-02 09:13:14 +03:00
Serhiy Storchaka
85c3f268f4 Issue #28322: Fixed possible crashes when unpickle itertools objects from
incorrect pickle data.  Based on patch by John Leitch.
2016-10-02 08:34:53 +03:00
Ned Deily
bf090e31ad Issue #28324: Remove vestigal MacOS 9 references in os.py docstring.
Patch by Chi Hsuan Yen.
2016-10-01 21:12:35 -04:00
Ned Deily
c6ef503b49 Issue #28323: Remove vestigal MacOS 9 checks from exit() and quit().
Patch by Chi Hsuan Yen.
2016-10-01 21:12:16 -04:00
Martin Panter
55c9239af6 Issue #28275: Merge bz2 fix from 3.5 into 3.6 2016-10-01 03:11:04 +00:00
Martin Panter
38317d3318 Issue #28275: Clean up to avoid use-after-free after bzip decompress failure 2016-10-01 02:45:17 +00:00
Berker Peksag
ef223a19f7 Issue #28228: imghdr now supports pathlib 2016-10-01 05:01:54 +03:00
Berker Peksag
6c63f197df Issue #28283: Merge from 3.5 2016-10-01 04:17:33 +03:00
Berker Peksag
34b9d14be6 Issue #28283: Remove flaky test test_sock_connect_sock_write_race again
It was added back in 53a578f51f21.
2016-10-01 04:16:59 +03:00
Berker Peksag
d8e9713cf1 Issue #28226: Fix test_compileall on Windows 2016-10-01 02:44:37 +03:00
Berker Peksag
41937bcea5 Issue #28319: Merge from 3.5 2016-10-01 01:19:35 +03:00
Berker Peksag
b334ee0063 Issue #28319: Fix typo in lzma.rst
Reported by Vladimir Rutsky.
2016-10-01 01:19:04 +03:00
Berker Peksag
009bc05fdc Merge from 3.5 2016-10-01 01:07:17 +03:00
Berker Peksag
5e3677d7af Fix markup in pathlib.rst 2016-10-01 01:06:52 +03:00
Berker Peksag
50bb940ab8 Merge from 3.5 2016-10-01 01:03:01 +03:00
Berker Peksag
06a8ac0f26 Fix Path.glob() link, reported by SilentGhost 2016-10-01 01:02:39 +03:00
Berker Peksag
812a2b65af Issue #28226: compileall now supports pathlib 2016-10-01 00:54:18 +03:00
Terry Jan Reedy
b4b55eb582 Merge with 3.5 2016-09-30 15:39:05 -04:00
Terry Jan Reedy
30eee4deec Issue #28815: Change '?' to '<module>' in some doc examples.
Patch by Mariatta Wijaya.
2016-09-30 15:38:48 -04:00
Guido van Rossum
0035be3fee Misc asyncio improvements from upstream (merge 3.5->3.6) 2016-09-30 08:18:34 -07:00
Guido van Rossum
e3c65a7a22 Misc asyncio improvements from upstream 2016-09-30 08:17:15 -07:00
Serhiy Storchaka
61cd726d1a Null merge 2016-09-30 10:39:26 +03:00
Serhiy Storchaka
8cb6091394 Merge heads 2016-09-30 10:38:54 +03:00
Serhiy Storchaka
07cfd504e4 Merge heads 2016-09-30 10:38:31 +03:00
Serhiy Storchaka
3738c2d8ae Issue #27942: String constants now interned recursively in tuples and frozensets. 2016-09-30 10:23:01 +03:00
Serhiy Storchaka
00a0fc1144 Issue #27942: String constants now interned recursively in tuples and frozensets. 2016-09-30 10:07:26 +03:00
Terry Jan Reedy
b63c4fc18b Issue #25488: merge idle.py from 3.5. 2016-09-30 02:56:46 -04:00
Terry Jan Reedy
1813aa1a0c Issue #25488: Stpp idle.py from adding a entry when it is a duplicate.
Also, make idlelib.idle.main() work after import idlelib.idle.
2016-09-30 02:53:44 -04:00
Terry Jan Reedy
c6b5f08f04 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.
2016-09-30 00:02:28 -04:00
Terry Jan Reedy
55f3ae68bb Move idlelib/NEWS.txt entries for 2.x into a separate file -- NEWS2x.txt.
Reformat a few early 3.x entries in HEWS.txt.
2016-09-29 23:59:55 -04:00
Victor Stinner
e234fce57b Merge 3.5 2016-09-29 22:31:20 +02:00
Victor Stinner
8d50d628b8 Issue #28258: Explain the LC_ALL change in a comment 2016-09-29 22:31:06 +02:00
Victor Stinner
84d8baadbe Fix xml.etree.ElementTree.Element.getiterator()
Issue #28314: Fix function declaration (C flags) for the getiterator() method
of xml.etree.ElementTree.Element.
2016-09-29 22:12:35 +02:00
Serhiy Storchaka
cf6d2d90c5 Issue #28258: Fixed build with Estonian locale (python-config and distclean
targets in Makefile).  Patch by Arfrever Frehtes Taifersar Arahesis.
2016-09-29 20:39:45 +03:00
Serhiy Storchaka
80bc7dc59e Issue #28258: Fixed build with Estonian locale (python-config and distclean
targets in Makefile).  Patch by Arfrever Frehtes Taifersar Arahesis.
2016-09-29 20:29:23 +03:00
Benjamin Peterson
095e32bfc5 merge 3.5 (#1703178) 2016-09-28 23:17:04 -07:00
Benjamin Peterson
4254e8c548 build_ext: correctly parse the link_objects user option (closes #1703178)
Patch by Valerie Lambert.
2016-09-28 23:13:58 -07:00
Martin Panter
6a8e1ea80c Merge test cleanup from 3.5 into 3.6 2016-09-29 04:40:56 +00:00
Martin Panter
c49b4d8ef3 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
2016-09-29 02:50:20 +00:00
Terry Jan Reedy
6c58c34dd3 IDLE NEWS item and ack. 2016-09-28 21:55:55 -04:00
Alexander Belopolsky
3b7cfd4ffe Issue #28148: Added a NEWS entry. 2016-09-28 17:39:29 -04:00
Alexander Belopolsky
3e7a3cb903 Issue #28148: Stop using localtime() and gmtime() in the time module.
Introduced platform independent _PyTime_localtime API that is similar
to POSIX localtime_r, but available on all platforms.  Patch by Ed
Schouten.
2016-09-28 17:31:35 -04:00
Berker Peksag
e5ccf3d699 Issue #28306: Merge from 3.5 2016-09-28 22:49:27 +03:00
Berker Peksag
cf79cdb79d Issue #28306: Update exception message of ZeroDivisionError 2016-09-28 22:48:57 +03:00
Berker Peksag
db83f72a7f Issue #27740: Merge from 3.5 2016-09-28 19:35:55 +03:00
Berker Peksag
ab39b09958 Issue #27740: Fix typo in Py_CompileStringExFlags 2016-09-28 19:35:25 +03:00