]> granicus.if.org Git - python/log
python
9 years agoIssue #27393: Merge from 3.5
Berker Peksag [Mon, 27 Jun 2016 06:52:07 +0000 (09:52 +0300)]
Issue #27393: Merge from 3.5

9 years agoIssue #27393: Fix escaping of venv activate commands on Windows
Berker Peksag [Mon, 27 Jun 2016 06:51:40 +0000 (09:51 +0300)]
Issue #27393: Fix escaping of venv activate commands on Windows

Patch by Manuel Kaufmann.

9 years agoMerge from 3.5.
Larry Hastings [Mon, 27 Jun 2016 03:00:51 +0000 (20:00 -0700)]
Merge from 3.5.

9 years agoNull merge from 3.4 (well, except, pull in the tag for 3.4.5.)
Larry Hastings [Mon, 27 Jun 2016 02:57:48 +0000 (19:57 -0700)]
Null merge from 3.4 (well, except, pull in the tag for 3.4.5.)

9 years agoMerge.
Larry Hastings [Mon, 27 Jun 2016 02:53:18 +0000 (19:53 -0700)]
Merge.

9 years agoPost-release fixups for Python 3.5.2.
Larry Hastings [Mon, 27 Jun 2016 02:47:22 +0000 (19:47 -0700)]
Post-release fixups for Python 3.5.2.

9 years agoMerge.
Larry Hastings [Mon, 27 Jun 2016 02:43:00 +0000 (19:43 -0700)]
Merge.

9 years agoPost-release fixups for Python 3.4.5.
Larry Hastings [Mon, 27 Jun 2016 02:41:21 +0000 (19:41 -0700)]
Post-release fixups for Python 3.4.5.

9 years agoIssue #27380: IDLE: add base Query dialog, with ttk widgets and subclass
Terry Jan Reedy [Mon, 27 Jun 2016 02:05:10 +0000 (22:05 -0400)]
Issue #27380: IDLE: add base Query dialog, with ttk widgets and subclass
SectionName.  These split class GetCfgSectionNameDialog from
configSectionNameDialog.py, temporarily renamed config_sec.py in 3.7.9a2.
More Query subclasses are planned.

9 years agoMerge Update NEWS and idlelib NEWS.text.
Terry Jan Reedy [Sun, 26 Jun 2016 22:22:32 +0000 (18:22 -0400)]
Merge Update NEWS and idlelib NEWS.text.

9 years agoUpdate NEWS and idlelib NEWS.text.
Terry Jan Reedy [Sun, 26 Jun 2016 22:20:20 +0000 (18:20 -0400)]
Update NEWS and idlelib NEWS.text.

9 years agoIssue 27372: Stop test_idle from changing locale, so test passes.
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.

9 years agoIssue #22115: Updated Misc/NEWS.
Serhiy Storchaka [Sun, 26 Jun 2016 14:47:46 +0000 (17:47 +0300)]
Issue #22115: Updated Misc/NEWS.

9 years agoIssue #22115: Fixed tracing Tkinter variables:
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

9 years agoIssue #22115: Added methods trace_add, trace_remove and trace_info in the
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.

9 years agoMerge from 3.5
Steve Dower [Sat, 25 Jun 2016 23:43:26 +0000 (16:43 -0700)]
Merge from 3.5

9 years agoSimplifies nuget build with better parameters.
Steve Dower [Sat, 25 Jun 2016 23:13:30 +0000 (16:13 -0700)]
Simplifies nuget build with better parameters.

9 years agoAdded tag v3.4.5 for changeset 619b61e505d0
Larry Hastings [Sat, 25 Jun 2016 21:44:49 +0000 (14:44 -0700)]
Added tag v3.4.5 for changeset 619b61e505d0

9 years agoVersion bump for 3.4.5 final. v3.4.5
Larry Hastings [Sat, 25 Jun 2016 21:44:30 +0000 (14:44 -0700)]
Version bump for 3.4.5 final.

9 years agoRegenerate pydoc topics for 3.4.5 final.
Larry Hastings [Sat, 25 Jun 2016 21:42:04 +0000 (14:42 -0700)]
Regenerate pydoc topics for 3.4.5 final.

9 years agoAdded tag v3.5.2 for changeset 4def2a2901a5
Larry Hastings [Sat, 25 Jun 2016 21:11:29 +0000 (14:11 -0700)]
Added tag v3.5.2 for changeset 4def2a2901a5

9 years agoVersion number bump for 3.5.2 final. v3.5.2
Larry Hastings [Sat, 25 Jun 2016 21:11:09 +0000 (14:11 -0700)]
Version number bump for 3.5.2 final.

9 years agoUpdate pydoc topics for 3.5.2 final.
Larry Hastings [Sat, 25 Jun 2016 21:09:37 +0000 (14:09 -0700)]
Update pydoc topics for 3.5.2 final.

9 years agoIssue #20350. tkapp.splitlist() is now always used instead of unreliable
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.

9 years agoIssue #24137: Fixed IDLE on Linux with tkinter default root disabled.
Serhiy Storchaka [Sat, 25 Jun 2016 20:52:51 +0000 (23:52 +0300)]
Issue #24137: Fixed IDLE on Linux with tkinter default root disabled.

9 years agoIssue #26243: Correct a wording in docs.
Serhiy Storchaka [Sat, 25 Jun 2016 19:47:04 +0000 (22:47 +0300)]
Issue #26243: Correct a wording in docs.
Thanks Berker.

9 years agoIssue #26243: Only the level argument to zlib.compress() is keyword argument
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.

9 years agoIssue #26186: Remove the restriction that built-in and extension
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.

9 years agoMerge from 3.5
Brett Cannon [Sat, 25 Jun 2016 17:50:24 +0000 (10:50 -0700)]
Merge from 3.5

9 years agoFix a scoping issue where an UnboundLocalError was triggered if a
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.

9 years agoRemove duplicate AF_INET6 addition
Martin Panter [Sat, 25 Jun 2016 03:06:58 +0000 (03:06 +0000)]
Remove duplicate AF_INET6 addition

9 years agoMinor beautification
Raymond Hettinger [Sat, 25 Jun 2016 02:36:42 +0000 (05:36 +0300)]
Minor beautification

9 years agoIssue #27038: Expose DirEntry as os.DirEntry.
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.

9 years agoMerge from 3.5
Brett Cannon [Fri, 24 Jun 2016 19:23:23 +0000 (12:23 -0700)]
Merge from 3.5

9 years agoRemove a stale reference to pathlib.PurePath.path
Brett Cannon [Fri, 24 Jun 2016 19:22:14 +0000 (12:22 -0700)]
Remove a stale reference to pathlib.PurePath.path

9 years agoIssue #27186: Define what a "path-like object" is.
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.

9 years agoIssue #27186: Update os.fspath()/PyOS_FSPath() to check the return
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.

9 years agoMerge from 3.5
Steve Dower [Fri, 24 Jun 2016 18:38:00 +0000 (11:38 -0700)]
Merge from 3.5

9 years agoPreinstalls pip into the nuget package so that pip.exe is available after installation.
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.

9 years agoMerge from 3.5
Steve Dower [Fri, 24 Jun 2016 17:32:54 +0000 (10:32 -0700)]
Merge from 3.5

9 years agoAdds scripts for producing Nuget packages.
Steve Dower [Fri, 24 Jun 2016 17:32:15 +0000 (10:32 -0700)]
Adds scripts for producing Nuget packages.

9 years agoIssue #27381: Merge from 3.5
Berker Peksag [Fri, 24 Jun 2016 09:57:18 +0000 (12:57 +0300)]
Issue #27381: Merge from 3.5

9 years agoIssue #27381: Remove superfluous paren in zipfile documentation
Berker Peksag [Fri, 24 Jun 2016 09:56:50 +0000 (12:56 +0300)]
Issue #27381: Remove superfluous paren in zipfile documentation

9 years agoIssue #18300: Merge from 3.5
Berker Peksag [Fri, 24 Jun 2016 06:29:21 +0000 (09:29 +0300)]
Issue #18300: Merge from 3.5

9 years agoIssue #18300: Set TERM='' by default in assert_python_*
Berker Peksag [Fri, 24 Jun 2016 06:28:50 +0000 (09:28 +0300)]
Issue #18300: Set TERM='' by default in assert_python_*

9 years agoIssue #26547: Merge from 3.5
Berker Peksag [Fri, 24 Jun 2016 06:12:20 +0000 (09:12 +0300)]
Issue #26547: Merge from 3.5

9 years agoIssue #26547: Remove outdated term dictproxy from vars() documentation
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.

9 years agoIssue #27378: Merge from 3.5
Berker Peksag [Fri, 24 Jun 2016 05:55:06 +0000 (08:55 +0300)]
Issue #27378: Merge from 3.5

9 years agoIssue #27378: Remove an outdated reference from regex HOWTO
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.

9 years agoMerge from 3.5
Berker Peksag [Fri, 24 Jun 2016 05:48:46 +0000 (08:48 +0300)]
Merge from 3.5

9 years agoMake PyPIRCCommandTestCase derive from a base class
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.

9 years agoFixed integer overflow in array.buffer_info().
Serhiy Storchaka [Thu, 23 Jun 2016 20:56:46 +0000 (23:56 +0300)]
Fixed integer overflow in array.buffer_info().

9 years agoFixed 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().

9 years agoMerge with 3.5
Terry Jan Reedy [Thu, 23 Jun 2016 02:46:51 +0000 (22:46 -0400)]
Merge with 3.5

9 years agoIssue #27304: Source code links for sub-packages in the same file.
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

9 years agoIssue #27365: Finish merge so tests pass.
Terry Jan Reedy [Wed, 22 Jun 2016 09:49:15 +0000 (05:49 -0400)]
Issue #27365: Finish merge so tests pass.

9 years agoIssue #27365: revert temporary rename
Terry Jan Reedy [Wed, 22 Jun 2016 08:57:23 +0000 (04:57 -0400)]
Issue #27365: revert  temporary rename

9 years agoIssue #27365: add chunk
Terry Jan Reedy [Wed, 22 Jun 2016 08:54:18 +0000 (04:54 -0400)]
Issue #27365: add chunk

9 years agoIssue #27365: add chunk
Terry Jan Reedy [Wed, 22 Jun 2016 08:50:16 +0000 (04:50 -0400)]
Issue #27365: add chunk

9 years agoIssue #27365: revert temporary rename
Terry Jan Reedy [Wed, 22 Jun 2016 08:32:06 +0000 (04:32 -0400)]
Issue #27365: revert  temporary rename

9 years agoIssue #27365: partial merge
Terry Jan Reedy [Wed, 22 Jun 2016 08:24:27 +0000 (04:24 -0400)]
Issue #27365: partial merge

9 years agoIssue #27365: temporary rename
Terry Jan Reedy [Wed, 22 Jun 2016 08:21:22 +0000 (04:21 -0400)]
Issue #27365: temporary rename

9 years agoIssue #27365: Allow non-ascii in idlelib/NEWS.txt, for contributor names.
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.

9 years agoIssue #27365: Merge minimal part.
Terry Jan Reedy [Wed, 22 Jun 2016 07:57:32 +0000 (03:57 -0400)]
Issue #27365:  Merge minimal part.

9 years agoIssue #27365: Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2.
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.

9 years agoIssue #27365: Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2.
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.

9 years agomerge 3.5
Benjamin Peterson [Wed, 22 Jun 2016 06:47:24 +0000 (23:47 -0700)]
merge 3.5

9 years agoalter header; '%' really throws latex through a loop
Benjamin Peterson [Wed, 22 Jun 2016 06:47:16 +0000 (23:47 -0700)]
alter header; '%' really throws latex through a loop

9 years agoalter header; '%' really throws latex through a loop
Benjamin Peterson [Wed, 22 Jun 2016 06:47:16 +0000 (23:47 -0700)]
alter header; '%' really throws latex through a loop

9 years agoIssue #24137: Run IDLE, test_idle, and htest with tkinter default root disabled.
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.

9 years agoIssue #18726: All optional parameters of the dump(), dumps(),
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.

9 years agoIssue #20120: Merge from 3.5
Berker Peksag [Mon, 20 Jun 2016 18:42:05 +0000 (21:42 +0300)]
Issue #20120: Merge from 3.5

9 years agoIssue #20120: Add a test case to verify the % char can be used in .pypirc
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.

9 years agoMerge 3.5.
Stefan Krah [Mon, 20 Jun 2016 12:13:12 +0000 (14:13 +0200)]
Merge 3.5.

9 years agoIssue #27006: Do not use PyDec_CheckExact() on a type.
Stefan Krah [Mon, 20 Jun 2016 12:12:52 +0000 (14:12 +0200)]
Issue #27006: Do not use PyDec_CheckExact() on a type.

9 years agoMerge 3.5.
Stefan Krah [Mon, 20 Jun 2016 10:10:42 +0000 (12:10 +0200)]
Merge 3.5.

9 years agoIssue #27006: from_float(): call the subclass' __new__() and __init__().
Stefan Krah [Mon, 20 Jun 2016 10:10:13 +0000 (12:10 +0200)]
Issue #27006: from_float(): call the subclass' __new__() and __init__().

9 years agoFix “allow(s) to”
Martin Panter [Mon, 20 Jun 2016 08:00:45 +0000 (08:00 +0000)]
Fix “allow(s) to”

9 years agoMerge spelling fixes from 3.5
Martin Panter [Mon, 20 Jun 2016 07:55:14 +0000 (07:55 +0000)]
Merge spelling fixes from 3.5

9 years agoFix spelling errors in code comments
Martin Panter [Mon, 20 Jun 2016 07:52:50 +0000 (07:52 +0000)]
Fix spelling errors in code comments

9 years agoAdded more tests for issue #27122.
Serhiy Storchaka [Mon, 20 Jun 2016 02:30:31 +0000 (05:30 +0300)]
Added more tests for issue #27122.

9 years agoAdded more tests for issue #27122.
Serhiy Storchaka [Mon, 20 Jun 2016 02:29:54 +0000 (05:29 +0300)]
Added more tests for issue #27122.

9 years agoIssue #27319: Methods selection_set(), selection_add(), selection_remove()
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.

9 years agoIssue #23641: Added __getnewargs_ex__ to the list of special mock attributes.
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.

9 years agoIssue #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.

9 years agoUse macros instead of corresponding functions (they never fail) in _tkinter.c.
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.

9 years agoIssue #23968: Fix installs of the renamed config directory for OS X
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.

9 years agoIssue #27294: Numerical state in the repr for Tkinter event objects is now
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.

9 years agoIssue #27294: Numerical state in the repr for Tkinter event objects is now
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.

9 years agoIssue #27294: Numerical state in the repr for Tkinter event objects is now
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.

9 years agoIssue #27349: Merge from 3.5
Berker Peksag [Sat, 18 Jun 2016 18:43:16 +0000 (21:43 +0300)]
Issue #27349: Merge from 3.5

9 years agoIssue #27349: Fix typo in distutils upload command
Berker Peksag [Sat, 18 Jun 2016 18:42:37 +0000 (21:42 +0300)]
Issue #27349: Fix typo in distutils upload command

9 years ago[merge from 3.5] - issue27021 - Document SC_IOV_MAX limitation imposed by OS on os...
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 Марк Коренберг.

9 years agoissue27021 - Document SC_IOV_MAX limitation imposed by OS on os.writev.
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 Марк Коренберг.

9 years agoIssue #27177: Match objects in the re module now support index-like objects
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.

9 years agoIssue #26536: Use spaces instead of tabs
Berker Peksag [Sat, 18 Jun 2016 13:43:25 +0000 (16:43 +0300)]
Issue #26536: Use spaces instead of tabs

9 years agoIssue #26536: Skip test_sio_loopback_fast_path under Windows 7
Berker Peksag [Sat, 18 Jun 2016 13:10:07 +0000 (16:10 +0300)]
Issue #26536: Skip test_sio_loopback_fast_path under Windows 7

9 years agoIssue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded as
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.

9 years agoIssue #26754: PyUnicode_FSDecoder() accepted a filename argument encoded as
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.

9 years agoIssue #24314: Merge doc links from 3.5
Martin Panter [Sat, 18 Jun 2016 08:20:22 +0000 (08:20 +0000)]
Issue #24314: Merge doc links from 3.5