Commit Graph

94743 Commits

Author SHA1 Message Date
Terry Jan Reedy b60adc54d4 Issue #24137: Run IDLE, test_idle, and htest with tkinter default root disabled.
Fix code and tests that fail with this restriction.
Fix htests to not create a second and redundant root and mainloop.
2016-06-21 18:41:38 -04:00
Serhiy Storchaka aacd53f6cb Issue #18726: All optional parameters of the dump(), dumps(),
load() and loads() functions and JSONEncoder and JSONDecoder class
constructors in the json module are now keyword-only.
2016-06-22 00:03:20 +03:00
Berker Peksag 4335437506 Issue #20120: Merge from 3.5 2016-06-20 21:42:05 +03:00
Berker Peksag c529af3fcb Issue #20120: Add a test case to verify the % char can be used in .pypirc
I noticed that there is no test for this feature while doing
triaging work on pypa/pypi-legacy.
2016-06-20 21:41:34 +03:00
Stefan Krah 1d245fabaf Merge 3.5. 2016-06-20 14:13:12 +02:00
Stefan Krah 947f099d99 Issue #27006: Do not use PyDec_CheckExact() on a type. 2016-06-20 14:12:52 +02:00
Stefan Krah 8113f490c5 Merge 3.5. 2016-06-20 12:10:42 +02:00
Stefan Krah 6817c59cf0 Issue #27006: from_float(): call the subclass' __new__() and __init__(). 2016-06-20 12:10:13 +02:00
Martin Panter df1d31c2cd Fix “allow(s) to” 2016-06-20 08:00:45 +00:00
Martin Panter 590dcab95a Merge spelling fixes from 3.5 2016-06-20 07:55:14 +00:00
Martin Panter 2275e626b1 Fix spelling errors in code comments 2016-06-20 07:52:50 +00:00
Serhiy Storchaka 9a573a0c23 Added more tests for issue #27122. 2016-06-20 05:30:31 +03:00
Serhiy Storchaka ce1a9f309f Added more tests for issue #27122. 2016-06-20 05:29:54 +03:00
Serhiy Storchaka b84f029baa Issue #27319: Methods selection_set(), selection_add(), selection_remove()
and selection_toggle() of ttk.TreeView now allow to pass multiple items as
multiple arguments instead of passing them as a tuple.  Deprecated
undocumented ability of calling the selection() method with arguments.
2016-06-20 00:05:40 +03:00
Serhiy Storchaka 6c85091b5b Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes. 2016-06-19 18:32:07 +03:00
Serhiy Storchaka 5943ea76d5 Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes. 2016-06-19 18:30:43 +03:00
Serhiy Storchaka 696c8af41f Use macros instead of corresponding functions (they never fail) in _tkinter.c. 2016-06-19 11:22:47 +03:00
Ned Deily b8d3e40567 Issue #23968: Fix installs of the renamed config directory for OS X
framework builds.
2016-06-18 15:58:52 -04:00
Serhiy Storchaka f81a266df9 Issue #27294: Numerical state in the repr for Tkinter event objects is now
represented as a compination of known flags.
2016-06-18 22:09:30 +03:00
Serhiy Storchaka 514f9736a7 Issue #27294: Numerical state in the repr for Tkinter event objects is now
represented as a compination of known flags.
2016-06-18 22:08:11 +03:00
Serhiy Storchaka 9c6c3fb435 Issue #27294: Numerical state in the repr for Tkinter event objects is now
represented as a compination of known flags.
2016-06-18 21:55:26 +03:00
Berker Peksag 45ff4a5487 Issue #27349: Merge from 3.5 2016-06-18 21:43:16 +03:00
Berker Peksag 56fe4749fb Issue #27349: Fix typo in distutils upload command 2016-06-18 21:42:37 +03:00
Senthil Kumaran 4c3e687745 [merge from 3.5] - issue27021 - Document SC_IOV_MAX limitation imposed by OS on os.writev.
Patch contributed Марк Коренберг.
2016-06-18 11:23:04 -07:00
Senthil Kumaran d37de3c41d issue27021 - Document SC_IOV_MAX limitation imposed by OS on os.writev.
Patch contributed Марк Коренберг.
2016-06-18 11:21:50 -07:00
Serhiy Storchaka 977b3ac1c1 Issue #27177: Match objects in the re module now support index-like objects
as group indices.  Based on patches by Jeroen Demeyer and Xiang Zhang.
2016-06-18 16:48:07 +03:00
Berker Peksag 3583c3bd1d Issue #26536: Use spaces instead of tabs 2016-06-18 16:43:25 +03:00
Berker Peksag ce4271a3e5 Issue #26536: Skip test_sio_loopback_fast_path under Windows 7 2016-06-18 16:10:07 +03:00
Serhiy Storchaka f95de0e8cc Issue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded as
an iterable of integers. Now only strings and byte-like objects are accepted.
2016-06-18 13:56:16 +03:00
Serhiy Storchaka 9305d83425 Issue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded as
an iterable of integers. Now only strings and byte-like objects are accepted.
2016-06-18 13:53:36 +03:00
Martin Panter 2fec611a70 Issue #24314: Merge doc links from 3.5 2016-06-18 08:20:22 +00:00
Serhiy Storchaka d91e676fd5 Issue #27343: Fixed error message for conflicting initializers of ctypes.Structure. 2016-06-18 09:58:55 +03:00
Serhiy Storchaka 886a5f352f Issue #27343: Fixed error message for conflicting initializers of ctypes.Structure. 2016-06-18 09:58:24 +03:00
Serhiy Storchaka 5d062d7ba3 Issue #27333: Simplified testing step on 0. 2016-06-18 09:51:55 +03:00
Serhiy Storchaka cfdfbb4d3c Issue #27342: Replaced some Py_XDECREFs with Py_DECREFs.
Patch by Xiang Zhang.
2016-06-18 09:44:03 +03:00
Martin Panter bae5d81f5d Issue #24314: Fix doc links for general attributes like __name__, __dict__ 2016-06-18 03:57:31 +00:00
Berker Peksag 75a25867ab Issue #27312: Fix TypeError in test_setupapp 2016-06-18 04:18:24 +03:00
Terry Jan Reedy fdb6ef774a Issue #27312: mock out function that fails when called from setupApp during
IDLE test_macosx and see if addOpenEventSupport() fails.
2016-06-17 19:55:46 -04:00
Steve Dower ea93ac013d Issue #26536: socket.ioctl now supports SIO_LOOPBACK_FAST_PATH. Patch by Daniel Stokes. 2016-06-17 12:52:18 -07:00
Steve Dower 99d66f917a Issue #27048: Prevents distutils failing on Windows when environment variables contain non-ASCII characters 2016-06-17 09:33:11 -07:00
Steve Dower 08bb8a41cc Issue #27048: Prevents distutils failing on Windows when environment variables contain non-ASCII characters 2016-06-17 09:32:38 -07:00
Victor Stinner d7292b5e9f Issue #27336: Fix compilation on Windows
Replace "#if WITH_THREAD" with "#ifdef WITH_THREAD".
2016-06-17 12:29:00 +02:00
Berker Peksag 531396c764 Issue #27336: Fix compilation failures --without-threads 2016-06-17 13:25:01 +03:00
Serhiy Storchaka d4b45cb9ca ctypes: the type of b_size is Py_ssize_t. 2016-06-17 11:13:03 +03:00
Serhiy Storchaka 85e6635edf ctypes: the type of b_size is Py_ssize_t. 2016-06-17 11:11:07 +03:00
Victor Stinner a63073a807 Merge 3.5 2016-06-17 00:01:30 +02:00
Victor Stinner ec721f3305 py_getrandom(): use long type for the syscall() result
Issue #27278. It should fix a conversion warning.

In practice, the Linux kernel doesn't return more than 32 MB per call to the
getrandom() syscall.
2016-06-16 23:53:47 +02:00
Serhiy Storchaka 74108614b1 Issue #27330: Fixed possible leaks in the ctypes module. 2016-06-16 22:10:13 +03:00
Serhiy Storchaka adef6460d7 Issue #27330: Fixed possible leaks in the ctypes module. 2016-06-16 22:08:46 +03:00
Zachary Ware 0475ffa64d Issue #26930: Merge with 3.5 2016-06-15 17:16:16 -05:00