]> granicus.if.org Git - python/log
python
9 years agoIssue #25523: Merge a-to-an corrections from 3.5.
Serhiy Storchaka [Mon, 2 Nov 2015 12:44:29 +0000 (14:44 +0200)]
Issue #25523: Merge a-to-an corrections from 3.5.

9 years agoIssue #25523: Further a-to-an corrections new in 3.5.
Serhiy Storchaka [Mon, 2 Nov 2015 12:40:41 +0000 (14:40 +0200)]
Issue #25523: Further a-to-an corrections new in 3.5.

9 years agoIssue #25523: Merge a-to-an corrections from 3.4.
Serhiy Storchaka [Mon, 2 Nov 2015 12:39:05 +0000 (14:39 +0200)]
Issue #25523: Merge a-to-an corrections from 3.4.

9 years agoMinor cleanup.
Raymond Hettinger [Mon, 2 Nov 2015 12:27:40 +0000 (07:27 -0500)]
Minor cleanup.

9 years agoIssue #25523: Further a-to-an corrections.
Serhiy Storchaka [Mon, 2 Nov 2015 12:10:23 +0000 (14:10 +0200)]
Issue #25523: Further a-to-an corrections.

9 years agoIssue #24379: Revert the operator.subscript patch (dccc4e63aef5) pending resolution...
Raymond Hettinger [Mon, 2 Nov 2015 05:39:56 +0000 (00:39 -0500)]
Issue #24379:  Revert the operator.subscript patch (dccc4e63aef5) pending resolution of the related refcnt leak.

9 years agomerge
Raymond Hettinger [Mon, 2 Nov 2015 05:04:46 +0000 (00:04 -0500)]
merge

9 years agoMove the initial start-search out of the main loop so it can be factored-out later.
Raymond Hettinger [Mon, 2 Nov 2015 04:57:37 +0000 (23:57 -0500)]
Move the initial start-search out of the main loop so it can be factored-out later.

9 years agoIssue #25523: Merge a-to-an corrections from 3.5
Martin Panter [Mon, 2 Nov 2015 04:27:17 +0000 (04:27 +0000)]
Issue #25523: Merge a-to-an corrections from 3.5

9 years agoIssue #25523: Further a-to-an corrections new in 3.5
Martin Panter [Mon, 2 Nov 2015 04:20:33 +0000 (04:20 +0000)]
Issue #25523: Further a-to-an corrections new in 3.5

9 years agoIssue #25523: Merge "a" to "an" fixes from 3.4 into 3.5
Martin Panter [Mon, 2 Nov 2015 04:04:57 +0000 (04:04 +0000)]
Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5

9 years agoIssue #25523: Correct "a" article to "an" article
Martin Panter [Mon, 2 Nov 2015 03:37:02 +0000 (03:37 +0000)]
Issue #25523: Correct "a" article to "an" article

This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.

9 years agoIssue #18973: Command-line interface of the calendar module now uses argparse
Serhiy Storchaka [Sun, 1 Nov 2015 15:14:27 +0000 (17:14 +0200)]
Issue #18973: Command-line interface of the calendar module now uses argparse
instead of optparse.

9 years agoIssue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
Serhiy Storchaka [Sun, 1 Nov 2015 14:45:54 +0000 (16:45 +0200)]
Issue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
at the end if the FileInput was opened with binary mode.
Patch by Ryosuke Ito.

9 years agoIssue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
Serhiy Storchaka [Sun, 1 Nov 2015 14:45:26 +0000 (16:45 +0200)]
Issue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
at the end if the FileInput was opened with binary mode.
Patch by Ryosuke Ito.

9 years agoIssue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
Serhiy Storchaka [Sun, 1 Nov 2015 14:43:58 +0000 (16:43 +0200)]
Issue #25510: fileinput.FileInput.readline() now returns b'' instead of ''
at the end if the FileInput was opened with binary mode.
Patch by Ryosuke Ito.

9 years agoIssue #25395: Fixed crash when highly nested OrderedDict structures were
Serhiy Storchaka [Sun, 1 Nov 2015 14:13:45 +0000 (16:13 +0200)]
Issue #25395: Fixed crash when highly nested OrderedDict structures were
garbage collected.

9 years agoIssue #25395: Fixed crash when highly nested OrderedDict structures were
Serhiy Storchaka [Sun, 1 Nov 2015 14:12:34 +0000 (16:12 +0200)]
Issue #25395: Fixed crash when highly nested OrderedDict structures were
garbage collected.

9 years agoFix typo noticed by Alec Nunn
Berker Peksag [Sat, 31 Oct 2015 21:55:31 +0000 (00:55 +0300)]
Fix typo noticed by Alec Nunn

9 years agoFix typo noticed by Alec Nunn
Berker Peksag [Sat, 31 Oct 2015 21:55:12 +0000 (00:55 +0300)]
Fix typo noticed by Alec Nunn

9 years agoMerge from 3.5
Steve Dower [Sat, 31 Oct 2015 20:07:44 +0000 (13:07 -0700)]
Merge from 3.5

9 years agoIssue #25450: Updates shortcuts to start Python in installation directory.
Steve Dower [Sat, 31 Oct 2015 19:41:46 +0000 (12:41 -0700)]
Issue #25450: Updates shortcuts to start Python in installation directory.

9 years agoImproves handling of test markers for building Python without intefering with actual...
Steve Dower [Sat, 31 Oct 2015 19:17:11 +0000 (12:17 -0700)]
Improves handling of test markers for building Python without intefering with actual installs.

9 years agoMerge 3.5
Yury Selivanov [Sat, 31 Oct 2015 17:34:01 +0000 (13:34 -0400)]
Merge 3.5

9 years agowhatsnew/3.5: NumPy 1.10 has been released
Yury Selivanov [Sat, 31 Oct 2015 17:33:49 +0000 (13:33 -0400)]
whatsnew/3.5: NumPy 1.10 has been released

9 years agoMerge 3.5
Yury Selivanov [Sat, 31 Oct 2015 17:29:35 +0000 (13:29 -0400)]
Merge 3.5

9 years agodocs/inspect: Document __annotations__
Yury Selivanov [Sat, 31 Oct 2015 17:29:15 +0000 (13:29 -0400)]
docs/inspect: Document __annotations__

9 years agoMerge typo fixes from 3.5
Martin Panter [Sat, 31 Oct 2015 12:23:03 +0000 (12:23 +0000)]
Merge typo fixes from 3.5

9 years agoFix more typos in whatsnew/3.5.rst
Martin Panter [Sat, 31 Oct 2015 12:18:10 +0000 (12:18 +0000)]
Fix more typos in whatsnew/3.5.rst

9 years agoMerge spelling fixes from 3.4 into 3.5
Martin Panter [Sat, 31 Oct 2015 12:16:18 +0000 (12:16 +0000)]
Merge spelling fixes from 3.4 into 3.5

9 years agoFix some spelling errors in documentation and code comments
Martin Panter [Sat, 31 Oct 2015 11:48:53 +0000 (11:48 +0000)]
Fix some spelling errors in documentation and code comments

9 years agoMerge with 3.5
Terry Jan Reedy [Fri, 30 Oct 2015 23:41:41 +0000 (19:41 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Fri, 30 Oct 2015 23:41:28 +0000 (19:41 -0400)]
Merge with 3.4

9 years agoIssue #25519: Mark difflib.ndiff as a functions where not already.
Terry Jan Reedy [Fri, 30 Oct 2015 23:41:16 +0000 (19:41 -0400)]
Issue #25519: Mark difflib.ndiff as a functions where not already.

9 years agoMerge with 3.5
Terry Jan Reedy [Fri, 30 Oct 2015 23:26:03 +0000 (19:26 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Fri, 30 Oct 2015 23:25:50 +0000 (19:25 -0400)]
Merge with 3.4

9 years agoIssue #25505: Remove unused buggy method.
Terry Jan Reedy [Fri, 30 Oct 2015 23:25:34 +0000 (19:25 -0400)]
Issue #25505: Remove unused buggy method.

9 years agoIssue #25487: Fix tests not updated when the imp module moved to a
Brett Cannon [Fri, 30 Oct 2015 21:41:06 +0000 (14:41 -0700)]
Issue #25487: Fix tests not updated when the imp module moved to a
DeprecationWarning.

Thanks to Martin Panter for finding the tests.

9 years agoMerge with 3.5
Terry Jan Reedy [Fri, 30 Oct 2015 06:47:48 +0000 (02:47 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Fri, 30 Oct 2015 06:47:33 +0000 (02:47 -0400)]
Merge with 3.4

9 years agoIssue #25507: move test-specific imports to test function (idlelib.IOBinding).
Terry Jan Reedy [Fri, 30 Oct 2015 06:47:06 +0000 (02:47 -0400)]
Issue #25507: move test-specific imports to test function (idlelib.IOBinding).

9 years agomerge 3.5 (#25504)
Benjamin Peterson [Fri, 30 Oct 2015 04:11:29 +0000 (21:11 -0700)]
merge 3.5 (#25504)

9 years agomerge 3.4 (#25504)
Benjamin Peterson [Fri, 30 Oct 2015 04:11:22 +0000 (21:11 -0700)]
merge 3.4 (#25504)

9 years agofix usage of undefined name (#25504)
Benjamin Peterson [Fri, 30 Oct 2015 04:10:57 +0000 (21:10 -0700)]
fix usage of undefined name (#25504)

9 years agomerge 3.5 (#25515)
Benjamin Peterson [Fri, 30 Oct 2015 03:40:34 +0000 (20:40 -0700)]
merge 3.5 (#25515)

9 years agoalways use os.urandom for the uuid4 algorithm (closes #25515)
Benjamin Peterson [Fri, 30 Oct 2015 03:38:04 +0000 (20:38 -0700)]
always use os.urandom for the uuid4 algorithm (closes #25515)

9 years agoIssue25506: Fixed a copy-pasting error in test_pprint.
Serhiy Storchaka [Thu, 29 Oct 2015 07:53:33 +0000 (09:53 +0200)]
Issue25506: Fixed a copy-pasting error in test_pprint.
Patch by John Mark Vandenberg.

9 years agoIssue25506: Fixed a copy-pasting error in test_pprint.
Serhiy Storchaka [Thu, 29 Oct 2015 07:52:20 +0000 (09:52 +0200)]
Issue25506: Fixed a copy-pasting error in test_pprint.
Patch by John Mark Vandenberg.

9 years agoNull merge
Serhiy Storchaka [Thu, 29 Oct 2015 06:19:59 +0000 (08:19 +0200)]
Null merge

9 years agoMerge heads
Serhiy Storchaka [Thu, 29 Oct 2015 06:19:44 +0000 (08:19 +0200)]
Merge heads

9 years agoMerge heads
Serhiy Storchaka [Thu, 29 Oct 2015 06:19:22 +0000 (08:19 +0200)]
Merge heads

9 years agoIssue #25503: Fixed inspect.getdoc() for inherited docstrings of properties.
Serhiy Storchaka [Thu, 29 Oct 2015 06:17:10 +0000 (08:17 +0200)]
Issue #25503: Fixed inspect.getdoc() for inherited docstrings of properties.
Original patch by John Mark Vandenberg.

9 years agoIssue #25503: Fixed inspect.getdoc() for inherited docstrings of properties.
Serhiy Storchaka [Thu, 29 Oct 2015 06:15:50 +0000 (08:15 +0200)]
Issue #25503: Fixed inspect.getdoc() for inherited docstrings of properties.
Original patch by John Mark Vandenberg.

9 years agomerge 3.5 (#25502)
Benjamin Peterson [Thu, 29 Oct 2015 06:15:22 +0000 (23:15 -0700)]
merge 3.5 (#25502)

9 years agoremove duplicated imports (closes #25502)
Benjamin Peterson [Thu, 29 Oct 2015 06:15:13 +0000 (23:15 -0700)]
remove duplicated imports (closes #25502)

9 years agoIssue #21827: Fixed textwrap.dedent() for the case when largest common
Serhiy Storchaka [Wed, 28 Oct 2015 19:45:01 +0000 (21:45 +0200)]
Issue #21827: Fixed textwrap.dedent() for the case when largest common
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.

9 years agoIssue #21827: Fixed textwrap.dedent() for the case when largest common
Serhiy Storchaka [Wed, 28 Oct 2015 19:43:12 +0000 (21:43 +0200)]
Issue #21827: Fixed textwrap.dedent() for the case when largest common
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.

9 years agoIssue #21827: Fixed textwrap.dedent() for the case when largest common
Serhiy Storchaka [Wed, 28 Oct 2015 19:39:36 +0000 (21:39 +0200)]
Issue #21827: Fixed textwrap.dedent() for the case when largest common
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.

9 years agoMerge with 3.5
Terry Jan Reedy [Wed, 28 Oct 2015 07:15:38 +0000 (03:15 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Wed, 28 Oct 2015 07:15:20 +0000 (03:15 -0400)]
Merge with 3.4

9 years agoIssue #25432: Explain isinstance behaviour when type is a tuple.
Terry Jan Reedy [Wed, 28 Oct 2015 07:14:56 +0000 (03:14 -0400)]
Issue #25432: Explain isinstance behaviour when type is a tuple.

9 years agoCloses #25494: Merge with 3.5
Zachary Ware [Wed, 28 Oct 2015 03:05:09 +0000 (22:05 -0500)]
Closes #25494: Merge with 3.5

9 years agoIssue #25494: Merge with 3.4
Zachary Ware [Wed, 28 Oct 2015 03:01:02 +0000 (22:01 -0500)]
Issue #25494: Merge with 3.4

9 years agoIssue #25494: Remove extra quote from docstring.
Zachary Ware [Wed, 28 Oct 2015 03:00:41 +0000 (22:00 -0500)]
Issue #25494: Remove extra quote from docstring.

Patch by John Mark Vandenberg.

9 years agoMerge with 3.5
Terry Jan Reedy [Tue, 27 Oct 2015 07:38:31 +0000 (03:38 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Tue, 27 Oct 2015 07:38:18 +0000 (03:38 -0400)]
Merge with 3.4

9 years agoDisplay IDLE warning as a warning rather than as an error.
Terry Jan Reedy [Tue, 27 Oct 2015 07:38:02 +0000 (03:38 -0400)]
Display IDLE warning as a warning rather than as an error.
Clarify message and expected action for beginners.
Guard against astral chars in path incorporated in message.

9 years agoFix a variable typo by switching to a f-string.
Brett Cannon [Tue, 27 Oct 2015 00:11:04 +0000 (17:11 -0700)]
Fix a variable typo by switching to a f-string.

9 years agoIssue #23391: Merge OSError doc from 3.5
Martin Panter [Mon, 26 Oct 2015 23:35:43 +0000 (23:35 +0000)]
Issue #23391: Merge OSError doc from 3.5

9 years agoIssue #23391: Merge OSError doc from 3.4 into 3.5
Martin Panter [Mon, 26 Oct 2015 23:35:07 +0000 (23:35 +0000)]
Issue #23391: Merge OSError doc from 3.4 into 3.5

9 years agoIssue #23391: Restore OSError constructor argument documentation
Martin Panter [Mon, 26 Oct 2015 11:05:42 +0000 (11:05 +0000)]
Issue #23391: Restore OSError constructor argument documentation

This restores details lost in revision 097f4fda61a4 (since Python 3.3,
related to the new OSError subclasses). Further additions:

* Markup for attributes and constructor signature
* Explain "winerror" and "filename2"
* Extend test to check for filename2 defaulting to None
* Clarify that the constructor can return a subclass

I have intentionally left out any details of allowing more than five
arguments, or how the "args" attribute is set for four or more arguments.
These details seem to be dependent on the Python version and platform.

9 years agoIssue 25311: Add support for f-strings to tokenize.py. Also added some comments to...
Eric V. Smith [Mon, 26 Oct 2015 08:37:55 +0000 (04:37 -0400)]
Issue 25311: Add support for f-strings to tokenize.py. Also added some comments to explain what's happening, since it's not so obvious.

9 years agoIssue #25154: Make the file argument apply to the print function and
Brett Cannon [Mon, 26 Oct 2015 00:40:31 +0000 (17:40 -0700)]
Issue #25154: Make the file argument apply to the print function and
not str.format call.

9 years agoMerge with 3.5
Zachary Ware [Sun, 25 Oct 2015 04:27:03 +0000 (23:27 -0500)]
Merge with 3.5

9 years agoNull merge with 3.4
Zachary Ware [Sun, 25 Oct 2015 04:26:42 +0000 (23:26 -0500)]
Null merge with 3.4

(tkinter._fix no longer exists in 3.5+)

9 years agoIssue #25456: Fix test_idle when Tcl/Tk DLLs are loaded from python.exe's home
Zachary Ware [Sun, 25 Oct 2015 04:22:16 +0000 (23:22 -0500)]
Issue #25456: Fix test_idle when Tcl/Tk DLLs are loaded from python.exe's home
rather than from elsewhere on PATH.

9 years agomerge 3.5 (#25471)
Benjamin Peterson [Sun, 25 Oct 2015 03:07:28 +0000 (20:07 -0700)]
merge 3.5 (#25471)

9 years agomerge 3.4 (#25471)
Benjamin Peterson [Sun, 25 Oct 2015 03:07:08 +0000 (20:07 -0700)]
merge 3.4 (#25471)

9 years agoaccepted sockets shouldn't inherit the SOCK_NONBLOCK flag (closes #25471)
Benjamin Peterson [Sun, 25 Oct 2015 03:06:04 +0000 (20:06 -0700)]
accepted sockets shouldn't inherit the SOCK_NONBLOCK flag (closes #25471)

9 years agoIssue21160: Correct comments in nturl2path. Patch by Jurko Gospodnetić.
Serhiy Storchaka [Sat, 24 Oct 2015 14:43:28 +0000 (17:43 +0300)]
Issue21160: Correct comments in nturl2path.  Patch by Jurko Gospodnetić.

9 years agoIssue21160: Correct comments in nturl2path. Patch by Jurko Gospodnetić.
Serhiy Storchaka [Sat, 24 Oct 2015 14:42:44 +0000 (17:42 +0300)]
Issue21160: Correct comments in nturl2path.  Patch by Jurko Gospodnetić.

9 years agoIssue21160: Correct comments in nturl2path. Patch by Jurko Gospodnetić.
Serhiy Storchaka [Sat, 24 Oct 2015 14:39:36 +0000 (17:39 +0300)]
Issue21160: Correct comments in nturl2path.  Patch by Jurko Gospodnetić.

9 years agoRemoved redundant call of update_wrapper().
Serhiy Storchaka [Sat, 24 Oct 2015 06:52:09 +0000 (09:52 +0300)]
Removed redundant call of update_wrapper().

9 years agoRemoved redundant call of update_wrapper().
Serhiy Storchaka [Sat, 24 Oct 2015 06:51:53 +0000 (09:51 +0300)]
Removed redundant call of update_wrapper().

9 years agoIssue #25447: The lru_cache() wrapper objects now can be copied and pickled
Serhiy Storchaka [Sat, 24 Oct 2015 06:50:19 +0000 (09:50 +0300)]
Issue #25447: The lru_cache() wrapper objects now can be copied and pickled
(by returning the original object unchanged).

9 years agoIssue #25447: The lru_cache() wrapper objects now can be copied and pickled
Serhiy Storchaka [Sat, 24 Oct 2015 06:49:56 +0000 (09:49 +0300)]
Issue #25447: The lru_cache() wrapper objects now can be copied and pickled
(by returning the original object unchanged).

9 years agoNull merge with 3.5
Zachary Ware [Sat, 24 Oct 2015 06:36:23 +0000 (01:36 -0500)]
Null merge with 3.5

9 years agoNull merge with 3.4
Zachary Ware [Sat, 24 Oct 2015 06:35:44 +0000 (01:35 -0500)]
Null merge with 3.4

9 years agoCloses #25456: Copy Tcl/Tk DLLs to build directory on Windows
Zachary Ware [Sat, 24 Oct 2015 06:34:22 +0000 (01:34 -0500)]
Closes #25456: Copy Tcl/Tk DLLs to build directory on Windows

This removes the need to add externals/tcltk[64]/bin to PATH to be able
to import tkinter.  Also documents the necessity for the DLLs to be
on PATH or in python.exe's directory.

9 years agoIssue #24633: Removes automatic rename of site-packages/README since README.txt is...
Steve Dower [Fri, 23 Oct 2015 20:24:03 +0000 (13:24 -0700)]
Issue #24633: Removes automatic rename of site-packages/README since README.txt is now committed.

9 years agoMoves Windows installer externals onto SVN and updates the build process to grab...
Steve Dower [Fri, 23 Oct 2015 16:51:16 +0000 (09:51 -0700)]
Moves Windows installer externals onto SVN and updates the build process to grab them automatically.

9 years agoMoves Windows installer externals onto SVN and updates the build process to grab...
Steve Dower [Fri, 23 Oct 2015 16:50:49 +0000 (09:50 -0700)]
Moves Windows installer externals onto SVN and updates the build process to grab them automatically.

9 years agoMerge 3.4 (Issue #25461)
Victor Stinner [Fri, 23 Oct 2015 10:39:20 +0000 (12:39 +0200)]
Merge 3.4 (Issue #25461)

9 years agoMerge 3.4 (Issue #25461)
Victor Stinner [Fri, 23 Oct 2015 10:39:01 +0000 (12:39 +0200)]
Merge 3.4 (Issue #25461)

9 years agoIssue #25461: Rephrase os.walk() doc
Victor Stinner [Fri, 23 Oct 2015 10:38:11 +0000 (12:38 +0200)]
Issue #25461: Rephrase os.walk() doc

Patch written by Bernt Røskar Brenna.

9 years agoRemoved unused parameter
Raymond Hettinger [Fri, 23 Oct 2015 05:48:16 +0000 (22:48 -0700)]
Removed unused parameter

9 years agoIssue #25410: C implementation of OrderedDict now uses type(self) instead of
Serhiy Storchaka [Thu, 22 Oct 2015 17:19:14 +0000 (20:19 +0300)]
Issue #25410: C implementation of OrderedDict now uses type(self) instead of
self.__class__ in __repr__() and __reduce__() for simplicity and reliability.

9 years agoIssue #25410: C implementation of OrderedDict now uses type(self) instead of
Serhiy Storchaka [Thu, 22 Oct 2015 17:18:24 +0000 (20:18 +0300)]
Issue #25410: C implementation of OrderedDict now uses type(self) instead of
self.__class__ in __repr__() and __reduce__() for simplicity and reliability.

9 years agoMerge with 3.5
Terry Jan Reedy [Thu, 22 Oct 2015 07:27:57 +0000 (03:27 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Thu, 22 Oct 2015 07:27:44 +0000 (03:27 -0400)]
Merge with 3.4