]>
granicus.if.org Git - python/log
Victor Stinner [Thu, 5 Nov 2015 12:55:20 +0000 (13:55 +0100)]
Issue #25556: Fix LOAD_GLOBAL bytecode when globals type is not dict and the
requested name doesn't exist in globals: clear the KeyError exception before
calling PyObject_GetItem(). Fail also if the raised exception is not a
KeyError.
Serhiy Storchaka [Wed, 4 Nov 2015 20:37:46 +0000 (22:37 +0200)]
Issue #24726: Fixed issue number for previous changeset
59c7615ea921 .
Serhiy Storchaka [Wed, 4 Nov 2015 20:33:07 +0000 (22:33 +0200)]
Issue #25449: Fixed a crash and leaking NULL in repr() of OrderedDict that
was mutated by direct calls of dict methods.
Serhiy Storchaka [Wed, 4 Nov 2015 20:05:38 +0000 (22:05 +0200)]
Issue #25449: Iterating OrderedDict with keys with unstable hash now raises
KeyError in C implementations as well as in Python implementation.
Added tests for OrderedDict subclasses.
Benjamin Peterson [Wed, 4 Nov 2015 06:43:41 +0000 (22:43 -0800)]
merge 3.4
Benjamin Peterson [Wed, 4 Nov 2015 06:43:31 +0000 (22:43 -0800)]
remove trailing ws
Benjamin Peterson [Wed, 4 Nov 2015 06:42:35 +0000 (22:42 -0800)]
merge 3.4
Benjamin Peterson [Wed, 4 Nov 2015 06:42:02 +0000 (22:42 -0800)]
link to modern PUG url
Guido van Rossum [Mon, 2 Nov 2015 17:16:37 +0000 (09:16 -0800)]
Use sys.platform instead of os.name to detect Windows in asyncio docs. Patch by Akira Li. (Merge 3.4->3.5)
Guido van Rossum [Mon, 2 Nov 2015 17:15:47 +0000 (09:15 -0800)]
Use sys.platform instead of os.name to detect Windows in asyncio docs. Patch by Akira Li.
Serhiy Storchaka [Mon, 2 Nov 2015 12:40:41 +0000 (14:40 +0200)]
Issue #25523: Further a-to-an corrections new in 3.5.
Serhiy Storchaka [Mon, 2 Nov 2015 12:39:05 +0000 (14:39 +0200)]
Issue #25523: Merge a-to-an corrections from 3.4.
Serhiy Storchaka [Mon, 2 Nov 2015 12:10:23 +0000 (14:10 +0200)]
Issue #25523: Further a-to-an corrections.
Martin Panter [Mon, 2 Nov 2015 04:20:33 +0000 (04:20 +0000)]
Issue #25523: Further a-to-an corrections new in 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
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.
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.
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.
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.
Berker Peksag [Sat, 31 Oct 2015 21:55:12 +0000 (00:55 +0300)]
Fix typo noticed by Alec Nunn
Steve Dower [Sat, 31 Oct 2015 19:41:46 +0000 (12:41 -0700)]
Issue #25450: Updates shortcuts to start Python in installation directory.
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.
Yury Selivanov [Sat, 31 Oct 2015 17:33:49 +0000 (13:33 -0400)]
whatsnew/3.5: NumPy 1.10 has been released
Yury Selivanov [Sat, 31 Oct 2015 17:29:15 +0000 (13:29 -0400)]
docs/inspect: Document __annotations__
Martin Panter [Sat, 31 Oct 2015 12:18:10 +0000 (12:18 +0000)]
Fix more typos in whatsnew/3.5.rst
Martin Panter [Sat, 31 Oct 2015 12:16:18 +0000 (12:16 +0000)]
Merge spelling fixes from 3.4 into 3.5
Martin Panter [Sat, 31 Oct 2015 11:48:53 +0000 (11:48 +0000)]
Fix some spelling errors in documentation and code comments
Terry Jan Reedy [Fri, 30 Oct 2015 23:41:28 +0000 (19:41 -0400)]
Merge with 3.4
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.
Terry Jan Reedy [Fri, 30 Oct 2015 23:25:50 +0000 (19:25 -0400)]
Merge with 3.4
Terry Jan Reedy [Fri, 30 Oct 2015 23:25:34 +0000 (19:25 -0400)]
Issue #25505: Remove unused buggy method.
Terry Jan Reedy [Fri, 30 Oct 2015 06:47:33 +0000 (02:47 -0400)]
Merge with 3.4
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).
Benjamin Peterson [Fri, 30 Oct 2015 04:11:22 +0000 (21:11 -0700)]
merge 3.4 (#25504)
Benjamin Peterson [Fri, 30 Oct 2015 04:10:57 +0000 (21:10 -0700)]
fix usage of undefined name (#25504)
Benjamin Peterson [Fri, 30 Oct 2015 03:38:04 +0000 (20:38 -0700)]
always use os.urandom for the uuid4 algorithm (closes #25515)
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.
Serhiy Storchaka [Thu, 29 Oct 2015 06:19:22 +0000 (08:19 +0200)]
Merge heads
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.
Benjamin Peterson [Thu, 29 Oct 2015 06:15:13 +0000 (23:15 -0700)]
remove duplicated imports (closes #25502)
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.
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.
Terry Jan Reedy [Wed, 28 Oct 2015 07:15:20 +0000 (03:15 -0400)]
Merge with 3.4
Terry Jan Reedy [Wed, 28 Oct 2015 07:14:56 +0000 (03:14 -0400)]
Issue #25432: Explain isinstance behaviour when type is a tuple.
Zachary Ware [Wed, 28 Oct 2015 03:01:02 +0000 (22:01 -0500)]
Issue #25494: Merge with 3.4
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.
Terry Jan Reedy [Tue, 27 Oct 2015 07:38:18 +0000 (03:38 -0400)]
Merge with 3.4
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.
Martin Panter [Mon, 26 Oct 2015 23:35:07 +0000 (23:35 +0000)]
Issue #23391: Merge OSError doc from 3.4 into 3.5
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.
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+)
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.
Benjamin Peterson [Sun, 25 Oct 2015 03:07:08 +0000 (20:07 -0700)]
merge 3.4 (#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)
Serhiy Storchaka [Sat, 24 Oct 2015 14:42:44 +0000 (17:42 +0300)]
Issue21160: 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ć.
Serhiy Storchaka [Sat, 24 Oct 2015 06:51:53 +0000 (09:51 +0300)]
Removed redundant call of update_wrapper().
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).
Zachary Ware [Sat, 24 Oct 2015 06:35:44 +0000 (01:35 -0500)]
Null merge with 3.4
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.
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.
Victor Stinner [Fri, 23 Oct 2015 10:39:01 +0000 (12:39 +0200)]
Merge 3.4 (Issue #25461)
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.
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.
Terry Jan Reedy [Thu, 22 Oct 2015 07:27:44 +0000 (03:27 -0400)]
Merge with 3.4
Terry Jan Reedy [Thu, 22 Oct 2015 07:27:31 +0000 (03:27 -0400)]
Issue #24782: Limit width of canvas and hence IDLE settings dialog.
Berker Peksag [Thu, 22 Oct 2015 00:34:16 +0000 (03:34 +0300)]
Issue #25417: Remove the extra dot from docstring
Berker Peksag [Thu, 22 Oct 2015 00:29:10 +0000 (03:29 +0300)]
Issue #23981: Update test_unicodedata to use script_helpers
Patch by Christie.
Berker Peksag [Wed, 21 Oct 2015 17:10:24 +0000 (20:10 +0300)]
Issue #25417: Fix typo in Path.samefile() docstring
Reported by Antony Lee.
Berker Peksag [Wed, 21 Oct 2015 13:38:36 +0000 (16:38 +0300)]
Fix merge conflict artifacts and move the entry to correct place
Victor Stinner [Tue, 20 Oct 2015 22:15:08 +0000 (00:15 +0200)]
Issue #21515: Elaborate tempfile.TemporaryFile() comment
Explain why calling os.open() with os.O_TMPFILE is a safe test to check if
O_TMPFILE is supported by the running kernel.
Serhiy Storchaka [Tue, 20 Oct 2015 15:21:48 +0000 (18:21 +0300)]
Issue #25410: Fixed a memory leak in OrderedDict in the case when key's hash
calculation fails.
Terry Jan Reedy [Tue, 20 Oct 2015 06:15:43 +0000 (02:15 -0400)]
Merge with 3.4
Terry Jan Reedy [Tue, 20 Oct 2015 06:15:28 +0000 (02:15 -0400)]
Issue #24782: Don't try to run now-removed extension dialog test.
Berker Peksag [Tue, 20 Oct 2015 00:59:24 +0000 (03:59 +0300)]
Silence a "unused rule" warning
This one should make Docs 3.5 and Docs 3.x green again.
Berker Peksag [Tue, 20 Oct 2015 00:41:59 +0000 (03:41 +0300)]
rstlint: Fix "default role used" warning
This should make buildbots green.
Berker Peksag [Tue, 20 Oct 2015 00:41:38 +0000 (03:41 +0300)]
rstlint: Fix "default role used" warning
This should make buildbots green.
Guido van Rossum [Mon, 19 Oct 2015 21:55:47 +0000 (14:55 -0700)]
Issue #25390: typing: Don't crash on Union[str, Pattern].
Guido van Rossum [Mon, 19 Oct 2015 20:18:40 +0000 (13:18 -0700)]
Issue #24885: Update note in docs about stream convenience functions. (Merge 3.4->3.5)
Guido van Rossum [Mon, 19 Oct 2015 20:18:04 +0000 (13:18 -0700)]
Issue #24885: Update note in docs about stream convenience functions.
Guido van Rossum [Mon, 19 Oct 2015 19:00:25 +0000 (12:00 -0700)]
Fix whitespace.
Guido van Rossum [Mon, 19 Oct 2015 19:00:04 +0000 (12:00 -0700)]
Fix whitespace.
Guido van Rossum [Mon, 19 Oct 2015 18:54:04 +0000 (11:54 -0700)]
Issue #25441: asyncio: Raise error from drain() when socket is closed. (Merge 3.4->3.5)
Guido van Rossum [Mon, 19 Oct 2015 18:49:30 +0000 (11:49 -0700)]
Issue #25441: asyncio: Raise error from drain() when socket is closed.
doko@ubuntu.com [Mon, 19 Oct 2015 12:13:35 +0000 (14:13 +0200)]
- Issue #25440: Fix output of python-config --extension-suffix.
doko@ubuntu.com [Mon, 19 Oct 2015 12:07:57 +0000 (14:07 +0200)]
- Issue #25440: Fix output of python-config --extension-suffix.
Berker Peksag [Sun, 18 Oct 2015 21:56:39 +0000 (00:56 +0300)]
Fix another typo noticed by SilentGhost
Berker Peksag [Sun, 18 Oct 2015 17:22:15 +0000 (20:22 +0300)]
Issue #25434: Fix typo in whatsnew/3.5rst
Patch by Louis Sautier.
Serhiy Storchaka [Sun, 18 Oct 2015 06:53:17 +0000 (09:53 +0300)]
Issue #25410: Cleaned up and fixed minor bugs in C implementation of OrderedDict.
Vinay Sajip [Sat, 17 Oct 2015 15:17:52 +0000 (16:17 +0100)]
Closes #25411: Merged fix from 3.4.
Vinay Sajip [Sat, 17 Oct 2015 15:13:10 +0000 (16:13 +0100)]
Closes #25411: Improved Unicode support in SMTPHandler.
Vinay Sajip [Sat, 17 Oct 2015 12:59:12 +0000 (13:59 +0100)]
Merged cookbook update from 3.4.
Vinay Sajip [Sat, 17 Oct 2015 12:58:19 +0000 (13:58 +0100)]
Added entry to logging cookbook.
Brett Cannon [Fri, 16 Oct 2015 19:09:33 +0000 (12:09 -0700)]
Issue #25407: Drop the mention of the formatter module being removed
in Python 3.6.
The new PEP 4 policy of any module existing in both 2.7 and 3.5
applies here, hence the module will be with us for a bit longer.
Berker Peksag [Fri, 16 Oct 2015 08:23:11 +0000 (11:23 +0300)]
Issue #25418: Fix markup in object.__hash__ documentation
Patch by TAKASE Arihiro.
Berker Peksag [Fri, 16 Oct 2015 08:22:50 +0000 (11:22 +0300)]
Issue #25418: Fix markup in object.__hash__ documentation
Patch by TAKASE Arihiro.
Steve Dower [Wed, 14 Oct 2015 17:40:09 +0000 (10:40 -0700)]
Enabled --pgo option for building 64-bit PGO enabled releases.
Steve Dower [Wed, 14 Oct 2015 17:36:36 +0000 (10:36 -0700)]
Issue #25164: Changes default all-users install directory to match per-user directory.
Serhiy Storchaka [Wed, 14 Oct 2015 16:21:24 +0000 (19:21 +0300)]
Issue #25406: Fixed a bug in C implementation of OrderedDict.move_to_end()
that caused segmentation fault or hang in iterating after moving several
items to the start of ordered dict.
Terry Jan Reedy [Wed, 14 Oct 2015 02:09:19 +0000 (22:09 -0400)]
Merge with 3.4