]>
granicus.if.org Git - python/log
Terry Jan Reedy [Sun, 26 Jun 2016 21:48:02 +0000 (17:48 -0400)]
Issue 27372: Stop test_idle from changing locale, so test passes.
In 3.6, the warning is now called an error, making it harder to ignore.
Serhiy Storchaka [Sun, 26 Jun 2016 14:47:46 +0000 (17:47 +0300)]
Issue #22115: Updated Misc/NEWS.
Serhiy Storchaka [Sun, 26 Jun 2016 14:42:23 +0000 (17:42 +0300)]
Issue #22115: Fixed tracing Tkinter variables:
* tracing in the "u" mode now works
* trace_vdelete() with wrong mode no longer break tracing
* trace_vinfo() now always returns a list of pairs of strings
Serhiy Storchaka [Sun, 26 Jun 2016 06:46:57 +0000 (09:46 +0300)]
Issue #22115: Added methods trace_add, trace_remove and trace_info in the
tkinter.Variable class. They replace old methods trace_variable, trace,
trace_vdelete and trace_vinfo that use obsolete Tcl commands and might
not work in future versions of Tcl.
Steve Dower [Sat, 25 Jun 2016 23:43:26 +0000 (16:43 -0700)]
Merge from 3.5
Steve Dower [Sat, 25 Jun 2016 23:13:30 +0000 (16:13 -0700)]
Simplifies nuget build with better parameters.
Serhiy Storchaka [Sat, 25 Jun 2016 21:09:19 +0000 (00:09 +0300)]
Issue #20350. tkapp.splitlist() is now always used instead of unreliable
tkapp.split() in the tkinter package.
Serhiy Storchaka [Sat, 25 Jun 2016 20:52:51 +0000 (23:52 +0300)]
Issue #24137: Fixed IDLE on Linux with tkinter default root disabled.
Serhiy Storchaka [Sat, 25 Jun 2016 19:47:04 +0000 (22:47 +0300)]
Issue #26243: Correct a wording in docs.
Thanks Berker.
Serhiy Storchaka [Sat, 25 Jun 2016 19:43:05 +0000 (22:43 +0300)]
Issue #26243: Only the level argument to zlib.compress() is keyword argument
now. The first argument is positional-only.
Brett Cannon [Sat, 25 Jun 2016 17:58:17 +0000 (10:58 -0700)]
Issue #26186: Remove the restriction that built-in and extension
modules can't be lazily loaded.
Thanks to Python 3.6 allowing for types.ModuleType to have its
__class__ mutated, the restriction can be lifted by calling
create_module() on the wrapped loader.
Brett Cannon [Sat, 25 Jun 2016 17:50:24 +0000 (10:50 -0700)]
Merge from 3.5
Brett Cannon [Sat, 25 Jun 2016 17:47:53 +0000 (10:47 -0700)]
Fix a scoping issue where an UnboundLocalError was triggered if a
lazy-loaded module was already in sys.modules.
Martin Panter [Sat, 25 Jun 2016 03:06:58 +0000 (03:06 +0000)]
Remove duplicate AF_INET6 addition
Raymond Hettinger [Sat, 25 Jun 2016 02:36:42 +0000 (05:36 +0300)]
Minor beautification
Brett Cannon [Fri, 24 Jun 2016 21:14:44 +0000 (14:14 -0700)]
Issue #27038: Expose DirEntry as os.DirEntry.
Thanks to Jelle Zijlstra for the code portion of the patch.
Brett Cannon [Fri, 24 Jun 2016 19:23:23 +0000 (12:23 -0700)]
Merge from 3.5
Brett Cannon [Fri, 24 Jun 2016 19:22:14 +0000 (12:22 -0700)]
Remove a stale reference to pathlib.PurePath.path
Brett Cannon [Fri, 24 Jun 2016 19:21:47 +0000 (12:21 -0700)]
Issue #27186: Define what a "path-like object" is.
Thanks to Dusty Phillips for the initial patch.
Brett Cannon [Fri, 24 Jun 2016 19:03:43 +0000 (12:03 -0700)]
Issue #27186: Update os.fspath()/PyOS_FSPath() to check the return
type of __fspath__().
As part of this change, also make sure that the pure Python
implementation of os.fspath() is tested.
Steve Dower [Fri, 24 Jun 2016 18:38:00 +0000 (11:38 -0700)]
Merge from 3.5
Steve Dower [Fri, 24 Jun 2016 18:37:50 +0000 (11:37 -0700)]
Preinstalls pip into the nuget package so that pip.exe is available after installation.
Steve Dower [Fri, 24 Jun 2016 17:32:54 +0000 (10:32 -0700)]
Merge from 3.5
Steve Dower [Fri, 24 Jun 2016 17:32:15 +0000 (10:32 -0700)]
Adds scripts for producing Nuget packages.
Berker Peksag [Fri, 24 Jun 2016 09:57:18 +0000 (12:57 +0300)]
Issue #27381: Merge from 3.5
Berker Peksag [Fri, 24 Jun 2016 09:56:50 +0000 (12:56 +0300)]
Issue #27381: Remove superfluous paren in zipfile documentation
Berker Peksag [Fri, 24 Jun 2016 06:29:21 +0000 (09:29 +0300)]
Issue #18300: Merge from 3.5
Berker Peksag [Fri, 24 Jun 2016 06:28:50 +0000 (09:28 +0300)]
Issue #18300: Set TERM='' by default in assert_python_*
Berker Peksag [Fri, 24 Jun 2016 06:12:20 +0000 (09:12 +0300)]
Issue #26547: Merge from 3.5
Berker Peksag [Fri, 24 Jun 2016 06:12:01 +0000 (09:12 +0300)]
Issue #26547: Remove outdated term dictproxy from vars() documentation
dictproxy was used in Python 2 and it was renamed to mappingproxy
in Python 3.3.
Patch by Julien.
Berker Peksag [Fri, 24 Jun 2016 05:55:06 +0000 (08:55 +0300)]
Issue #27378: Merge from 3.5
Berker Peksag [Fri, 24 Jun 2016 05:54:43 +0000 (08:54 +0300)]
Issue #27378: Remove an outdated reference from regex HOWTO
Patch by Matt Morrison.
Berker Peksag [Fri, 24 Jun 2016 05:48:46 +0000 (08:48 +0300)]
Merge from 3.5
Berker Peksag [Fri, 24 Jun 2016 05:48:27 +0000 (08:48 +0300)]
Make PyPIRCCommandTestCase derive from a base class
Several test cases in distutils use PyPIRCCommandTestCase as
their base class and as a result of that the following tests
were ran more than once:
* test_server_registration
* test_server_empty_registration
* test_config_interpolation
This commit moves the infrastructure used by other tests
into a new BasePyPIRCCommandTestCase class.
Serhiy Storchaka [Thu, 23 Jun 2016 20:56:46 +0000 (23:56 +0300)]
Fixed integer overflow in array.buffer_info().
Serhiy Storchaka [Thu, 23 Jun 2016 20:55:34 +0000 (23:55 +0300)]
Fixed integer overflow in array.buffer_info().
Terry Jan Reedy [Thu, 23 Jun 2016 02:46:51 +0000 (22:46 -0400)]
Merge with 3.5
Terry Jan Reedy [Thu, 23 Jun 2016 02:46:34 +0000 (22:46 -0400)]
Issue #27304: Source code links for sub-packages in the same file.
Patch by Yoni Lavi
Terry Jan Reedy [Wed, 22 Jun 2016 09:49:15 +0000 (05:49 -0400)]
Issue #27365: Finish merge so tests pass.
Terry Jan Reedy [Wed, 22 Jun 2016 08:57:23 +0000 (04:57 -0400)]
Issue #27365: revert temporary rename
Terry Jan Reedy [Wed, 22 Jun 2016 08:54:18 +0000 (04:54 -0400)]
Issue #27365: add chunk
Terry Jan Reedy [Wed, 22 Jun 2016 08:50:16 +0000 (04:50 -0400)]
Issue #27365: add chunk
Terry Jan Reedy [Wed, 22 Jun 2016 08:32:06 +0000 (04:32 -0400)]
Issue #27365: revert temporary rename
Terry Jan Reedy [Wed, 22 Jun 2016 08:24:27 +0000 (04:24 -0400)]
Issue #27365: partial merge
Terry Jan Reedy [Wed, 22 Jun 2016 08:21:22 +0000 (04:21 -0400)]
Issue #27365: temporary rename
Terry Jan Reedy [Wed, 22 Jun 2016 08:17:28 +0000 (04:17 -0400)]
Issue #27365: Allow non-ascii in idlelib/NEWS.txt, for contributor names.
Rest of patch that should not be cherry picked into 3.5.2 final.
Terry Jan Reedy [Wed, 22 Jun 2016 07:57:32 +0000 (03:57 -0400)]
Issue #27365: Merge minimal part.
Terry Jan Reedy [Wed, 22 Jun 2016 07:55:20 +0000 (03:55 -0400)]
Issue #27365: Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2.
Benjamin Peterson [Wed, 22 Jun 2016 06:47:24 +0000 (23:47 -0700)]
merge 3.5
Benjamin Peterson [Wed, 22 Jun 2016 06:47:16 +0000 (23:47 -0700)]
alter header; '%' really throws latex through a loop
Terry Jan Reedy [Tue, 21 Jun 2016 22:41:38 +0000 (18:41 -0400)]
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.
Serhiy Storchaka [Tue, 21 Jun 2016 21:03:20 +0000 (00:03 +0300)]
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.
Berker Peksag [Mon, 20 Jun 2016 18:42:05 +0000 (21:42 +0300)]
Issue #20120: Merge from 3.5
Berker Peksag [Mon, 20 Jun 2016 18:41:34 +0000 (21:41 +0300)]
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.
Stefan Krah [Mon, 20 Jun 2016 12:13:12 +0000 (14:13 +0200)]
Merge 3.5.
Stefan Krah [Mon, 20 Jun 2016 12:12:52 +0000 (14:12 +0200)]
Issue #27006: Do not use PyDec_CheckExact() on a type.
Stefan Krah [Mon, 20 Jun 2016 10:10:42 +0000 (12:10 +0200)]
Merge 3.5.
Stefan Krah [Mon, 20 Jun 2016 10:10:13 +0000 (12:10 +0200)]
Issue #27006: from_float(): call the subclass' __new__() and __init__().
Martin Panter [Mon, 20 Jun 2016 08:00:45 +0000 (08:00 +0000)]
Fix “allow(s) to”
Martin Panter [Mon, 20 Jun 2016 07:55:14 +0000 (07:55 +0000)]
Merge spelling fixes from 3.5
Martin Panter [Mon, 20 Jun 2016 07:52:50 +0000 (07:52 +0000)]
Fix spelling errors in code comments
Serhiy Storchaka [Mon, 20 Jun 2016 02:30:31 +0000 (05:30 +0300)]
Added more tests for issue #27122.
Serhiy Storchaka [Mon, 20 Jun 2016 02:29:54 +0000 (05:29 +0300)]
Added more tests for issue #27122.
Serhiy Storchaka [Sun, 19 Jun 2016 21:05:40 +0000 (00:05 +0300)]
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.
Serhiy Storchaka [Sun, 19 Jun 2016 15:32:07 +0000 (18:32 +0300)]
Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes.
Serhiy Storchaka [Sun, 19 Jun 2016 15:30:43 +0000 (18:30 +0300)]
Issue #23641: Added __getnewargs_ex__ to the list of special mock attributes.
Serhiy Storchaka [Sun, 19 Jun 2016 08:22:47 +0000 (11:22 +0300)]
Use macros instead of corresponding functions (they never fail) in _tkinter.c.
Ned Deily [Sat, 18 Jun 2016 19:58:52 +0000 (15:58 -0400)]
Issue #23968: Fix installs of the renamed config directory for OS X
framework builds.
Serhiy Storchaka [Sat, 18 Jun 2016 19:09:30 +0000 (22:09 +0300)]
Issue #27294: Numerical state in the repr for Tkinter event objects is now
represented as a compination of known flags.
Serhiy Storchaka [Sat, 18 Jun 2016 19:08:11 +0000 (22:08 +0300)]
Issue #27294: Numerical state in the repr for Tkinter event objects is now
represented as a compination of known flags.
Serhiy Storchaka [Sat, 18 Jun 2016 18:55:26 +0000 (21:55 +0300)]
Issue #27294: Numerical state in the repr for Tkinter event objects is now
represented as a compination of known flags.
Berker Peksag [Sat, 18 Jun 2016 18:43:16 +0000 (21:43 +0300)]
Issue #27349: Merge from 3.5
Berker Peksag [Sat, 18 Jun 2016 18:42:37 +0000 (21:42 +0300)]
Issue #27349: Fix typo in distutils upload command
Senthil Kumaran [Sat, 18 Jun 2016 18:23:04 +0000 (11:23 -0700)]
[merge from 3.5] - issue27021 - Document SC_IOV_MAX limitation imposed by OS on os.writev.
Patch contributed Марк Коренберг.
Senthil Kumaran [Sat, 18 Jun 2016 18:21:50 +0000 (11:21 -0700)]
issue27021 - Document SC_IOV_MAX limitation imposed by OS on os.writev.
Patch contributed Марк Коренберг.
Serhiy Storchaka [Sat, 18 Jun 2016 13:48:07 +0000 (16:48 +0300)]
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.
Berker Peksag [Sat, 18 Jun 2016 13:43:25 +0000 (16:43 +0300)]
Issue #26536: Use spaces instead of tabs
Berker Peksag [Sat, 18 Jun 2016 13:10:07 +0000 (16:10 +0300)]
Issue #26536: Skip test_sio_loopback_fast_path under Windows 7
Serhiy Storchaka [Sat, 18 Jun 2016 10:56:16 +0000 (13:56 +0300)]
Issue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded as
an iterable of integers. Now only strings and byte-like objects are accepted.
Serhiy Storchaka [Sat, 18 Jun 2016 10:53:36 +0000 (13:53 +0300)]
Issue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded as
an iterable of integers. Now only strings and byte-like objects are accepted.
Martin Panter [Sat, 18 Jun 2016 08:20:22 +0000 (08:20 +0000)]
Issue #24314: Merge doc links from 3.5
Serhiy Storchaka [Sat, 18 Jun 2016 06:58:55 +0000 (09:58 +0300)]
Issue #27343: Fixed error message for conflicting initializers of ctypes.Structure.
Serhiy Storchaka [Sat, 18 Jun 2016 06:58:24 +0000 (09:58 +0300)]
Issue #27343: Fixed error message for conflicting initializers of ctypes.Structure.
Serhiy Storchaka [Sat, 18 Jun 2016 06:51:55 +0000 (09:51 +0300)]
Issue #27333: Simplified testing step on 0.
Serhiy Storchaka [Sat, 18 Jun 2016 06:44:03 +0000 (09:44 +0300)]
Issue #27342: Replaced some Py_XDECREFs with Py_DECREFs.
Patch by Xiang Zhang.
Martin Panter [Sat, 18 Jun 2016 03:57:31 +0000 (03:57 +0000)]
Issue #24314: Fix doc links for general attributes like __name__, __dict__
Berker Peksag [Sat, 18 Jun 2016 01:18:24 +0000 (04:18 +0300)]
Issue #27312: Fix TypeError in test_setupapp
Terry Jan Reedy [Fri, 17 Jun 2016 23:55:46 +0000 (19:55 -0400)]
Issue #27312: mock out function that fails when called from setupApp during
IDLE test_macosx and see if addOpenEventSupport() fails.
Steve Dower [Fri, 17 Jun 2016 19:52:18 +0000 (12:52 -0700)]
Issue #26536: socket.ioctl now supports SIO_LOOPBACK_FAST_PATH. Patch by Daniel Stokes.
Steve Dower [Fri, 17 Jun 2016 16:33:11 +0000 (09:33 -0700)]
Issue #27048: Prevents distutils failing on Windows when environment variables contain non-ASCII characters
Steve Dower [Fri, 17 Jun 2016 16:32:38 +0000 (09:32 -0700)]
Issue #27048: Prevents distutils failing on Windows when environment variables contain non-ASCII characters
Victor Stinner [Fri, 17 Jun 2016 10:29:00 +0000 (12:29 +0200)]
Issue #27336: Fix compilation on Windows
Replace "#if WITH_THREAD" with "#ifdef WITH_THREAD".
Berker Peksag [Fri, 17 Jun 2016 10:25:01 +0000 (13:25 +0300)]
Issue #27336: Fix compilation failures --without-threads
Serhiy Storchaka [Fri, 17 Jun 2016 08:13:03 +0000 (11:13 +0300)]
ctypes: the type of b_size is Py_ssize_t.
Serhiy Storchaka [Fri, 17 Jun 2016 08:11:07 +0000 (11:11 +0300)]
ctypes: the type of b_size is Py_ssize_t.
Victor Stinner [Thu, 16 Jun 2016 22:01:30 +0000 (00:01 +0200)]
Merge 3.5
Victor Stinner [Thu, 16 Jun 2016 21:53:47 +0000 (23:53 +0200)]
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.
Serhiy Storchaka [Thu, 16 Jun 2016 19:10:13 +0000 (22:10 +0300)]
Issue #27330: Fixed possible leaks in the ctypes module.
Serhiy Storchaka [Thu, 16 Jun 2016 19:08:46 +0000 (22:08 +0300)]
Issue #27330: Fixed possible leaks in the ctypes module.
Zachary Ware [Wed, 15 Jun 2016 22:16:16 +0000 (17:16 -0500)]
Issue #26930: Merge with 3.5