]>
granicus.if.org Git - python/log
Berker Peksag [Fri, 30 Sep 2016 22:03:01 +0000 (01:03 +0300)]
Merge from 3.5
Berker Peksag [Fri, 30 Sep 2016 22:02:39 +0000 (01:02 +0300)]
Fix Path.glob() link, reported by SilentGhost
Berker Peksag [Fri, 30 Sep 2016 21:54:18 +0000 (00:54 +0300)]
Issue #28226: compileall now supports pathlib
Terry Jan Reedy [Fri, 30 Sep 2016 19:39:05 +0000 (15:39 -0400)]
Merge with 3.5
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.
Guido van Rossum [Fri, 30 Sep 2016 15:18:34 +0000 (08:18 -0700)]
Misc asyncio improvements from upstream (merge 3.5->3.6)
Guido van Rossum [Fri, 30 Sep 2016 15:17:15 +0000 (08:17 -0700)]
Misc asyncio improvements from upstream
Serhiy Storchaka [Fri, 30 Sep 2016 07:39:26 +0000 (10:39 +0300)]
Null merge
Serhiy Storchaka [Fri, 30 Sep 2016 07:38:54 +0000 (10:38 +0300)]
Merge heads
Serhiy Storchaka [Fri, 30 Sep 2016 07:38:31 +0000 (10:38 +0300)]
Merge heads
Serhiy Storchaka [Fri, 30 Sep 2016 07:23:01 +0000 (10:23 +0300)]
Issue #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.
Terry Jan Reedy [Fri, 30 Sep 2016 06:56:46 +0000 (02:56 -0400)]
Issue #25488: merge idle.py from 3.5.
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.
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.
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.
Victor Stinner [Thu, 29 Sep 2016 20:31:20 +0000 (22:31 +0200)]
Merge 3.5
Victor Stinner [Thu, 29 Sep 2016 20:31:06 +0000 (22:31 +0200)]
Issue #28258: Explain the LC_ALL change in a comment
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.
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.
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.
Benjamin Peterson [Thu, 29 Sep 2016 06:17:04 +0000 (23:17 -0700)]
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.
Martin Panter [Thu, 29 Sep 2016 04:40:56 +0000 (04:40 +0000)]
Merge test cleanup from 3.5 into 3.6
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
Terry Jan Reedy [Thu, 29 Sep 2016 01:55:55 +0000 (21:55 -0400)]
IDLE NEWS item and ack.
Alexander Belopolsky [Wed, 28 Sep 2016 21:39:29 +0000 (17:39 -0400)]
Issue #28148: Added a NEWS entry.
Alexander Belopolsky [Wed, 28 Sep 2016 21:31:35 +0000 (17:31 -0400)]
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.
Berker Peksag [Wed, 28 Sep 2016 19:49:27 +0000 (22:49 +0300)]
Issue #28306: Merge from 3.5
Berker Peksag [Wed, 28 Sep 2016 19:48:57 +0000 (22:48 +0300)]
Issue #28306: Update exception message of ZeroDivisionError
Berker Peksag [Wed, 28 Sep 2016 16:35:55 +0000 (19:35 +0300)]
Issue #27740: Merge from 3.5
Berker Peksag [Wed, 28 Sep 2016 16:35:25 +0000 (19:35 +0300)]
Issue #27740: Fix typo in Py_CompileStringExFlags
Berker Peksag [Wed, 28 Sep 2016 14:38:53 +0000 (17:38 +0300)]
Issue #27322: Set sys.path to a temp dir in test_compile_path
Berker Peksag [Wed, 28 Sep 2016 14:29:12 +0000 (17:29 +0300)]
Issue #28303: Merge from 3.5
Berker Peksag [Wed, 28 Sep 2016 14:28:41 +0000 (17:28 +0300)]
Issue #28303: Fix grammar in unittest.__doc__, patch by Shlomi Fish
Berker Peksag [Wed, 28 Sep 2016 14:22:26 +0000 (17:22 +0300)]
Issue #28300: Merge from 3.5
Berker Peksag [Wed, 28 Sep 2016 14:21:52 +0000 (17:21 +0300)]
Issue #28300: Fix typos, patch by Shlomi Fish
Berker Peksag [Wed, 28 Sep 2016 14:07:40 +0000 (17:07 +0300)]
Issue #21903: Merge from 3.5
Berker Peksag [Wed, 28 Sep 2016 14:07:01 +0000 (17:07 +0300)]
Issue #21903: Update ctypes example to use MessageBoxW
Serhiy Storchaka [Wed, 28 Sep 2016 04:44:46 +0000 (07:44 +0300)]
Null merge
Alexander Belopolsky [Wed, 28 Sep 2016 00:34:17 +0000 (20:34 -0400)]
Issue #28253: Added a NEWS entry.
Alexander Belopolsky [Wed, 28 Sep 2016 00:34:11 +0000 (20:34 -0400)]
Issue #28253: Added a NEWS entry.
Alexander Belopolsky [Wed, 28 Sep 2016 00:27:55 +0000 (20:27 -0400)]
Issue #28253: Fixed calendar functions for extreme months: 0001-01 and 9999-12.
Methods itermonthdays() and itermonthdays2() are reimplemented so that they
don't call itermonthdates() which can cause datetime.date under/overflow.
Alexander Belopolsky [Wed, 28 Sep 2016 00:26:39 +0000 (20:26 -0400)]
Issue #28253: Fixed calendar functions for extreme months: 0001-01 and 9999-12.
Methods itermonthdays() and itermonthdays2() are reimplemented so that they
don't call itermonthdates() which can cause datetime.date under/overflow.
Guido van Rossum [Tue, 27 Sep 2016 22:22:40 +0000 (15:22 -0700)]
Update typing.py and test_typing.py from upstream (https://github.com/python/typing) (merge 3.5->3.6)
Guido van Rossum [Tue, 27 Sep 2016 22:20:12 +0000 (15:20 -0700)]
Update typing.py and test_typing.py from upstream (https://github.com/python/typing)
Berker Peksag [Tue, 27 Sep 2016 21:40:18 +0000 (00:40 +0300)]
Issue #28283: Merge from 3.5
Berker Peksag [Tue, 27 Sep 2016 21:39:36 +0000 (00:39 +0300)]
Issue #28283: Remove flaky test test_sock_connect_sock_write_race
Serhiy Storchaka [Tue, 27 Sep 2016 19:04:45 +0000 (22:04 +0300)]
Issue #20947: Fixed a gcc warning with -Wstrict-overflow.
Serhiy Storchaka [Tue, 27 Sep 2016 19:03:51 +0000 (22:03 +0300)]
Issue #20947: Fixed a gcc warning with -Wstrict-overflow.
Serhiy Storchaka [Tue, 27 Sep 2016 17:51:04 +0000 (20:51 +0300)]
Issue #21578: Fixed misleading error message when ImportError called with
invalid keyword args.
Serhiy Storchaka [Tue, 27 Sep 2016 17:45:35 +0000 (20:45 +0300)]
Issue #21578: Fixed misleading error message when ImportError called with
invalid keyword args.
Serhiy Storchaka [Tue, 27 Sep 2016 17:23:41 +0000 (20:23 +0300)]
Issue #28275: Fixed possible use adter free in LZMADecompressor.decompress().
Original patch by John Leitch.
Serhiy Storchaka [Tue, 27 Sep 2016 17:14:26 +0000 (20:14 +0300)]
Issue #28275: Fixed possible use adter free in LZMADecompressor.decompress().
Original patch by John Leitch.
Martin Panter [Tue, 27 Sep 2016 05:26:12 +0000 (05:26 +0000)]
Issue #26439: Merge ctypes doc from 3.5 into 3.6
Martin Panter [Tue, 27 Sep 2016 05:10:40 +0000 (05:10 +0000)]
Issue #26439: Document that RTLD_NOW is always added
Raymond Hettinger [Tue, 27 Sep 2016 04:45:57 +0000 (21:45 -0700)]
Issue #18844: Make the number of selections a keyword-only argument for random.choices().
Serhiy Storchaka [Mon, 26 Sep 2016 21:14:24 +0000 (00:14 +0300)]
Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation()
if pass invalid string-like object as a name. Patch by Xiang Zhang.
Serhiy Storchaka [Mon, 26 Sep 2016 21:10:03 +0000 (00:10 +0300)]
Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation()
if pass invalid string-like object as a name. Patch by Xiang Zhang.
Berker Peksag [Mon, 26 Sep 2016 20:22:44 +0000 (23:22 +0300)]
Issue #10673: Merge from 3.5
Berker Peksag [Mon, 26 Sep 2016 20:22:22 +0000 (23:22 +0300)]
Issue #10673: Document that Process.exitcode can be used to determine timeout
Patch by Tom Clark.
Serhiy Storchaka [Mon, 26 Sep 2016 20:14:44 +0000 (23:14 +0300)]
Issue #27914: Fixed a comment in PyModule_ExcDef.
Patch by Xiang Zhang.
Berker Peksag [Mon, 26 Sep 2016 20:07:38 +0000 (23:07 +0300)]
Issue #18893: Merge from 3.5
Berker Peksag [Mon, 26 Sep 2016 20:06:32 +0000 (23:06 +0300)]
Issue #18893: Fix invalid exception handling in Lib/ctypes/macholib/dyld.py
Patch by Madison May.
Serhiy Storchaka [Mon, 26 Sep 2016 20:01:23 +0000 (23:01 +0300)]
issue #28144: Decrease empty_keys_struct's dk_refcnt
since there is no dummy_struct any more.
Patch by Xiang Zhang.
Berker Peksag [Mon, 26 Sep 2016 19:50:32 +0000 (22:50 +0300)]
Merge from 3.5
Berker Peksag [Mon, 26 Sep 2016 19:50:11 +0000 (22:50 +0300)]
Document that os.mknod() is not available on Windows
Reported by Regina Ochotzki on docs@p.o.
Berker Peksag [Mon, 26 Sep 2016 19:44:32 +0000 (22:44 +0300)]
Merge from 3.5
Berker Peksag [Mon, 26 Sep 2016 19:44:07 +0000 (22:44 +0300)]
os.genenvb() is not availabnle under Windows
Serhiy Storchaka [Mon, 26 Sep 2016 18:29:34 +0000 (21:29 +0300)]
Issue #28194: Clean up some checks in dict implementation.
Patch by Xiang Zhang.
Serhiy Storchaka [Mon, 26 Sep 2016 17:53:27 +0000 (20:53 +0300)]
Issues #25909, #28211: Restored correct documentation of PyMapping_Items,
PyMapping_Keys and PyMapping_Values. Based on patch by Xiang Zhang.
Serhiy Storchaka [Mon, 26 Sep 2016 17:52:41 +0000 (20:52 +0300)]
Issues #25909, #28211: Restored correct documentation of PyMapping_Items,
PyMapping_Keys and PyMapping_Values. Based on patch by Xiang Zhang.
Christian Heimes [Mon, 26 Sep 2016 12:08:47 +0000 (14:08 +0200)]
Issue #28277: remove linefeed character from iomodule.h. Patch by Michael Felt
Serhiy Storchaka [Sun, 25 Sep 2016 17:39:04 +0000 (20:39 +0300)]
Issue #11957: Restored re tests for passing count and maxsplit as positional
arguments.
Serhiy Storchaka [Sun, 25 Sep 2016 17:36:23 +0000 (20:36 +0300)]
Issue #11957: Restored re tests for passing count and maxsplit as positional
arguments.
Serhiy Storchaka [Sun, 25 Sep 2016 13:52:13 +0000 (16:52 +0300)]
Issue #27611: Fixed support of default root window in the tkinter.tix module.
Added the master parameter in the DisplayStyle constructor.
Serhiy Storchaka [Sun, 25 Sep 2016 13:46:10 +0000 (16:46 +0300)]
Issue #27611: Fixed support of default root window in the tkinter.tix module.
Guido van Rossum [Sat, 24 Sep 2016 16:31:23 +0000 (09:31 -0700)]
Remove mention of asyncio.timeout context manager (it was removed)
Mark Dickinson [Sat, 24 Sep 2016 14:28:34 +0000 (15:28 +0100)]
Issue #28203: Merge from 3.5
Mark Dickinson [Sat, 24 Sep 2016 14:26:36 +0000 (15:26 +0100)]
Issue #28203: Fix incorrect type in error message from complex(1.0, {2:3}). Patch by Soumya Sharma.
Christian Heimes [Sat, 24 Sep 2016 10:34:25 +0000 (12:34 +0200)]
Write configure message to AS_MESSAGE_FD
Christian Heimes [Sat, 24 Sep 2016 10:07:21 +0000 (12:07 +0200)]
Typo
Christian Heimes [Sat, 24 Sep 2016 08:48:05 +0000 (10:48 +0200)]
Finish GC code for SSLSession and increase test coverage
Martin Panter [Sat, 24 Sep 2016 03:03:07 +0000 (03:03 +0000)]
Issue #28221: Merge SSL test cleanup from 3.5 into 3.6
Martin Panter [Fri, 23 Sep 2016 23:45:56 +0000 (23:45 +0000)]
Issue #28221: Remove unused assignment from test_asyncore_server()
The later value of FOO is fine. The test just needs to verify that the server
converted it to lowercase.
Christian Heimes [Fri, 23 Sep 2016 18:26:30 +0000 (20:26 +0200)]
Issue #28100: Refactor error messages, patch by Ivan Levkivskyi
Christian Heimes [Fri, 23 Sep 2016 18:24:39 +0000 (20:24 +0200)]
Increase buffer for readlink() in case OS will support longer names one day.
Christian Heimes [Fri, 23 Sep 2016 18:24:28 +0000 (20:24 +0200)]
Increase buffer for readlink() in case OS will support longer names one day.
Christian Heimes [Fri, 23 Sep 2016 18:21:20 +0000 (20:21 +0200)]
Add an extra byte for null in case we ever get very long unicode names.
Christian Heimes [Fri, 23 Sep 2016 18:20:27 +0000 (20:20 +0200)]
Add an extra byte for null in case we ever get very long unicode names.
Christian Heimes [Fri, 23 Sep 2016 09:32:30 +0000 (11:32 +0200)]
Add test cases for internal SHA3 helpers
Victor Stinner [Fri, 23 Sep 2016 09:15:50 +0000 (11:15 +0200)]
Merge 3.5 (issue #27829)
Victor Stinner [Fri, 23 Sep 2016 09:13:53 +0000 (11:13 +0200)]
Issue #27829: regrtest -W displays stderr if env changed
regrtest -W hides output if a test pass, but also when env changed and so the
env changed warning is hidden. So it's hard to debug. With this change, stderr
is now always displayed when a test doesn't pass.
Benjamin Peterson [Fri, 23 Sep 2016 06:39:59 +0000 (23:39 -0700)]
remove unneeded cast
Steve Dower [Fri, 23 Sep 2016 00:09:56 +0000 (17:09 -0700)]
Issue #28251: Improvements to help manuals on Windows.
Steve Dower [Fri, 23 Sep 2016 00:07:56 +0000 (17:07 -0700)]
Issue #28251: Improvements to help manuals on Windows.
Serhiy Storchaka [Thu, 22 Sep 2016 17:01:15 +0000 (20:01 +0300)]
Null merge
Serhiy Storchaka [Thu, 22 Sep 2016 16:59:46 +0000 (19:59 +0300)]
Silence GCC warning.
The code was correct, but GCC is not enough clever.
Serhiy Storchaka [Thu, 22 Sep 2016 16:41:20 +0000 (19:41 +0300)]
Issue #28086: Single var-positional argument of tuple subtype was passed
unscathed to the C-defined function. Now it is converted to exact tuple.
Christian Heimes [Thu, 22 Sep 2016 14:49:51 +0000 (16:49 +0200)]
Make Lib/test/ssltests.py more useful and faster for OpenSSL testing