]>
granicus.if.org Git - python/log
Serhiy Storchaka [Sat, 7 Nov 2015 14:54:48 +0000 (16:54 +0200)]
Issue #22643: Skip test_case_operation_overflow on computers with low memory.
Serhiy Storchaka [Sat, 7 Nov 2015 09:16:10 +0000 (11:16 +0200)]
Issue #892902: Added new tests for pickling recursive collections.
Martin Panter [Sat, 7 Nov 2015 02:32:21 +0000 (02:32 +0000)]
Issue #24802: Copy bytes-like objects to null-terminated buffers if necessary
This avoids possible buffer overreads when int(), float(), compile(), exec()
and eval() are passed bytes-like objects. Similar code is removed from the
complex() constructor, where it was not reachable.
Patch by John Leitch, Serhiy Storchaka and Martin Panter.
Martin Panter [Fri, 6 Nov 2015 00:27:14 +0000 (00:27 +0000)]
Issue #18010: Fix pydoc web server search to handle package exceptions
Implementation by Antoine Pitrou.
Yury Selivanov [Thu, 5 Nov 2015 19:29:04 +0000 (14:29 -0500)]
asyncio: Optimize asyncio.sleep(0)
Benjamin Peterson [Wed, 4 Nov 2015 06:43:31 +0000 (22:43 -0800)]
remove trailing ws
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: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:10:23 +0000 (14:10 +0200)]
Issue #25523: Further a-to-an corrections.
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: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.
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: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:34 +0000 (19:25 -0400)]
Issue #25505: Remove unused buggy method.
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:10:57 +0000 (21:10 -0700)]
fix usage of undefined name (#25504)
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:14:56 +0000 (03:14 -0400)]
Issue #25432: Explain isinstance behaviour when type is a tuple.
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: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 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: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:06:04 +0000 (20:06 -0700)]
accepted sockets shouldn't inherit the SOCK_NONBLOCK flag (closes #25471)
Serhiy Storchaka [Sat, 24 Oct 2015 14:39:36 +0000 (17:39 +0300)]
Issue21160: Correct comments in nturl2path. Patch by Jurko Gospodnetić.
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.
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.
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.
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:41:38 +0000 (03:41 +0300)]
rstlint: Fix "default role used" warning
This should make buildbots green.
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:04 +0000 (12:00 -0700)]
Fix whitespace.
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:07:57 +0000 (14:07 +0200)]
- Issue #25440: Fix output of python-config --extension-suffix.
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:58:19 +0000 (13:58 +0100)]
Added entry to logging cookbook.
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.
Terry Jan Reedy [Wed, 14 Oct 2015 02:09:06 +0000 (22:09 -0400)]
Issue #24782: whitespace
Terry Jan Reedy [Wed, 14 Oct 2015 02:03:51 +0000 (22:03 -0400)]
Issue #24782: Finish converting the Configure Extension dialog into a new
tab in the IDLE Preferences dialog. Code patch by Mark Roseman.
Serhiy Storchaka [Tue, 13 Oct 2015 18:12:32 +0000 (21:12 +0300)]
Issue #25380: Fixed protocol for the STACK_GLOBAL opcode in
pickletools.opcodes.
Zachary Ware [Tue, 13 Oct 2015 04:27:58 +0000 (23:27 -0500)]
Issue #25093: Fix test_tcl's testloadWithUNC for paths with spaces
Patch by Serhiy Storchaka.
Benjamin Peterson [Mon, 12 Oct 2015 06:03:22 +0000 (23:03 -0700)]
actually link to the version attributes documentation
Terry Jan Reedy [Mon, 12 Oct 2015 02:07:31 +0000 (22:07 -0400)]
Issue #22726: Re-activate config dialog help button with some content about
the other buttons and the new IDLE Dark theme.
Serhiy Storchaka [Sun, 11 Oct 2015 14:42:39 +0000 (17:42 +0300)]
Cleanup test_descr: remove C8 that is the same as C3.
Benjamin Peterson [Sun, 11 Oct 2015 06:23:55 +0000 (23:23 -0700)]
don't mention Python 2.2 (closes #25375)
Benjamin Peterson [Sun, 11 Oct 2015 02:34:46 +0000 (19:34 -0700)]
use the with statement for locking the internal condition (closes #25362)
Patch by Nir Soffer.
Benjamin Peterson [Sun, 11 Oct 2015 02:32:20 +0000 (19:32 -0700)]
add a missing comma (closes #25371)
Serhiy Storchaka [Sat, 10 Oct 2015 17:26:16 +0000 (20:26 +0300)]
Correct Misc/NEWS.
Brett Cannon [Fri, 9 Oct 2015 22:09:43 +0000 (15:09 -0700)]
Issue #25099: Skip relevant tests in test_compileall when an entry on
sys.path has an unwritable __pycache__ directory.
This typically comes up when someone runs the test suite from an
administrative install of Python on Windows where the user does not
have write permissions to the stdlib's directory.
Thanks to Zachary Ware and Matthias Klose for reporting bugs related
to this issue.
(grafted from
34bbd537b3e688dfbb6498e9083445a6a72fc4b1 )
Serhiy Storchaka [Sat, 10 Oct 2015 17:10:07 +0000 (20:10 +0300)]
Issue #25365: test_pickle now works in threads disabled builds.
Martin Panter [Sat, 10 Oct 2015 11:04:44 +0000 (11:04 +0000)]
Issue #25322: Fix test for nested contextlib.suppress
Martin Panter [Sat, 10 Oct 2015 10:36:22 +0000 (10:36 +0000)]
Issue #25161: Add full stops in documentation; patch by Takase Arihiro
Martin Panter [Sat, 10 Oct 2015 03:01:20 +0000 (03:01 +0000)]
Issue #22413: Document newline effect on StringIO initializer and getvalue
Also add to comment in the C code.
Martin Panter [Sat, 10 Oct 2015 05:27:15 +0000 (05:27 +0000)]
Issue #24402: Factor out PtyTests.run_child() in input() tests
This reuses existing code to hopefully make the new test_input_no_stdout_
fileno() test work. It is hanging Free BSD 9 and OS X Tiger buildbots, and I
don't know why.
Martin Panter [Sat, 10 Oct 2015 01:25:38 +0000 (01:25 +0000)]
Issue #24402: Fix input() when stdout.fileno() fails; diagnosed by Eryksun
Also factored out some test cases into a new PtyTests class.
Vinay Sajip [Fri, 9 Oct 2015 23:52:35 +0000 (00:52 +0100)]
Closes #25344: Added cookbook recipe to show buffering of logging events.
Berker Peksag [Thu, 8 Oct 2015 03:34:01 +0000 (06:34 +0300)]
Issue #16802: Document fileno parameter of socket.socket()
Patch by Henrik Heimbuerger and Bar Harel.
Martin Panter [Wed, 7 Oct 2015 10:26:23 +0000 (10:26 +0000)]
Various minor typos in documentation and comments
Martin Panter [Wed, 7 Oct 2015 09:56:46 +0000 (09:56 +0000)]
Issue #25286: Dictionary views are not sequences
Also change glossary heading from view
Benjamin Peterson [Wed, 7 Oct 2015 02:36:54 +0000 (19:36 -0700)]
prevent unacceptable bases from becoming bases through multiple inheritance (#24806)
Zachary Ware [Tue, 6 Oct 2015 20:28:43 +0000 (15:28 -0500)]
Issue #25097: Re-raise any other pywin32 error
Zachary Ware [Tue, 6 Oct 2015 20:22:13 +0000 (15:22 -0500)]
Issue #25097: fix Windows error number access
Serhiy Storchaka [Tue, 6 Oct 2015 15:38:25 +0000 (18:38 +0300)]
Merge heads
Guido van Rossum [Tue, 6 Oct 2015 15:24:10 +0000 (08:24 -0700)]
Issue #23972: Fix tests for Windows and Debian.
Serhiy Storchaka [Tue, 6 Oct 2015 15:16:28 +0000 (18:16 +0300)]
Issue #25317: Converted doctests in test_tokenize to unittests.
Made test_tokenize discoverable.
Benjamin Peterson [Tue, 6 Oct 2015 04:56:22 +0000 (21:56 -0700)]
reinitialize an Event's Condition with a regular lock (closes #25319)
Guido van Rossum [Mon, 5 Oct 2015 23:20:00 +0000 (16:20 -0700)]
Docs and one small improvement for issue #25304, by Vincent Michel.
Guido van Rossum [Mon, 5 Oct 2015 16:15:28 +0000 (09:15 -0700)]
Issue #23972: updates to asyncio datagram API. By Chris Laws.
Terry Jan Reedy [Sun, 4 Oct 2015 05:14:51 +0000 (01:14 -0400)]
Issue #24820: Update IDLE NEWS items.
Terry Jan Reedy [Sun, 4 Oct 2015 04:31:05 +0000 (00:31 -0400)]
Issue #24820: Add 'IDLE Dark' text color theme, warning, and solution.
Guido van Rossum [Sat, 3 Oct 2015 15:31:42 +0000 (08:31 -0700)]
Issue #25304: Add asyncio.run_coroutine_threadsafe(). By Vincent Michel.
Martin Panter [Sat, 3 Oct 2015 07:46:04 +0000 (07:46 +0000)]
Issue #16701: Document += and *= for mutable sequences
Martin Panter [Sat, 3 Oct 2015 05:55:46 +0000 (05:55 +0000)]
Issue #24657: Prevent CGIRequestHandler from collapsing the URL query
Initial patch from Xiang Zhang. Also fix out-of-date _url_collapse_path() doc
string.
Martin Panter [Sat, 3 Oct 2015 05:38:07 +0000 (05:38 +0000)]
Issue #25232: Fix CGIRequestHandler's splitting of URL query
Patch from Xiang Zhang.
Terry Jan Reedy [Sat, 3 Oct 2015 03:22:59 +0000 (23:22 -0400)]
Issue #25224: README.txt is now an idlelib index for IDLE developers and
curious users. The previous user content is now in the IDLE doc and is
redundant. IDLE now means 'Integrated Development and Learning Environment'.
Terry Jan Reedy [Sat, 3 Oct 2015 02:12:17 +0000 (22:12 -0400)]
Issue #24820: Users can now set breakpoint colors in Settings ->
Custom Highlighting. Original patch by Mark Roseman.
Yury Selivanov [Fri, 2 Oct 2015 19:00:19 +0000 (15:00 -0400)]
asyncio: ensure_future() now understands awaitables
Berker Peksag [Fri, 2 Oct 2015 16:25:32 +0000 (19:25 +0300)]
Issue #25290: Fix typo in csv.reader() docstring
Patch by Johannes Niediek.
Serhiy Storchaka [Fri, 2 Oct 2015 10:07:28 +0000 (13:07 +0300)]
Issue #24848: Fixed bugs in UTF-7 decoding of misformed data:
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
Vinay Sajip [Thu, 1 Oct 2015 19:37:54 +0000 (20:37 +0100)]
Fixes #25097: Windows test is skipped if there are insufficient privileges, rather than failing.
Vinay Sajip [Thu, 1 Oct 2015 10:27:00 +0000 (11:27 +0100)]
Closes #25185: Use UTF-8 encoding when reading pyvenv.cfg.
Serhiy Storchaka [Thu, 1 Oct 2015 08:08:50 +0000 (11:08 +0300)]
Issue #25280: Import trace messages emitted in verbose (-v) mode are no
longer formatted twice.
Victor Stinner [Thu, 1 Oct 2015 07:59:32 +0000 (09:59 +0200)]
Issue #25003: os.urandom() doesn't use getentropy() on Solaris because
getentropy() is blocking, whereas os.urandom() should not block. getentropy()
is supported since Solaris 11.3.
Victor Stinner [Thu, 1 Oct 2015 06:55:33 +0000 (08:55 +0200)]
Issue #25274: test_recursionlimit_recovery() of test_sys now checks
sys.gettrace() when the test is executed, not when the module is loaded.
sys.settrace() may be after after the test is loaded.
Andrew Svetlov [Thu, 1 Oct 2015 06:48:08 +0000 (09:48 +0300)]
Reflect parameter name change in the doc
Victor Stinner [Wed, 30 Sep 2015 13:01:34 +0000 (15:01 +0200)]
Issue #25182: Fix compilation on Windows
Restore also errno value before calling PyErr_SetFromErrno().
Serhiy Storchaka [Wed, 30 Sep 2015 12:46:53 +0000 (15:46 +0300)]
Issue #25182: The stdprinter (used as sys.stderr before the io module is
imported at startup) now uses the backslashreplace error handler.
Serhiy Storchaka [Tue, 29 Sep 2015 20:52:09 +0000 (23:52 +0300)]
Issue #22958: Constructor and update method of weakref.WeakValueDictionary
now accept the self and the dict keyword arguments.
Serhiy Storchaka [Tue, 29 Sep 2015 20:36:06 +0000 (23:36 +0300)]
Issue #22609: Constructor of collections.UserDict now accepts the self keyword
argument.
Serhiy Storchaka [Tue, 29 Sep 2015 19:10:07 +0000 (22:10 +0300)]
Issue #25262. Added support for BINBYTES8 opcode in Python implementation of
unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8
opcodes no longer silently ignored on 32-bit platforms in C implementation.
Guido van Rossum [Tue, 29 Sep 2015 18:54:45 +0000 (11:54 -0700)]
Also rewrote the guts of asyncio.Semaphore (patch by manipopopo).
Andrew Svetlov [Tue, 29 Sep 2015 15:36:00 +0000 (18:36 +0300)]
Fix StreamReader.__repr__
Eric V. Smith [Tue, 29 Sep 2015 14:27:38 +0000 (10:27 -0400)]
Fixed issue #25034: Fix string.Formatter problem with auto-numbering
and nested format_specs. Patch by Anthon van der Neut.
Serhiy Storchaka [Tue, 29 Sep 2015 12:49:58 +0000 (15:49 +0300)]
Added additional unpickling tests.
Serhiy Storchaka [Tue, 29 Sep 2015 12:33:24 +0000 (15:33 +0300)]
Moved unpickling tests with prepickled data to separate class.
Terry Jan Reedy [Tue, 29 Sep 2015 05:55:57 +0000 (01:55 -0400)]
Issue #24028: Add subsection about Idle calltips.
Terry Jan Reedy [Tue, 29 Sep 2015 05:00:31 +0000 (01:00 -0400)]
Remove indent in news item. Error when building 3.x docs.
Terry Jan Reedy [Tue, 29 Sep 2015 03:38:57 +0000 (23:38 -0400)]
Add recent IDLE NEWS items.
Guido van Rossum [Mon, 28 Sep 2015 23:50:38 +0000 (16:50 -0700)]
Correct Misc/NEWS about asyncio.Queue rewrite.
Guido van Rossum [Mon, 28 Sep 2015 14:42:34 +0000 (07:42 -0700)]
Issue #25233: Rewrite the guts of Queue to be more understandable and correct.
Berker Peksag [Mon, 28 Sep 2015 10:33:14 +0000 (13:33 +0300)]
Issue #25249: Remove unneeded mkstemp helper in test_subprocess
The helper was added in
76641824cf05 11 years ago and it can be
removed now since all supported Python versions have tempfile.mkstemp().
Patch by Nir Soffer.