]> granicus.if.org Git - python/log
python
9 years agoRewrite re.VERBOSE section.
Zachary Ware [Thu, 12 Nov 2015 05:32:14 +0000 (23:32 -0600)]
Rewrite re.VERBOSE section.

It now has slightly better rationale and a less awkward wording in the
explanation.

Inspired by a report of a neither/or conflict by 'animalize' on docs@.

9 years agoIssue #6598: Avoid clock wrapping around in test_make_msgid_collisions.
Serhiy Storchaka [Tue, 10 Nov 2015 17:50:14 +0000 (19:50 +0200)]
Issue #6598: Avoid clock wrapping around in test_make_msgid_collisions.
Use time.monotonic or time.time instead of time.clock.

9 years agoIssue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest test
Serhiy Storchaka [Tue, 10 Nov 2015 13:30:35 +0000 (15:30 +0200)]
Issue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest test
failure when the test is ran the second time.

The root attribute was set in parent class in setUpClass and then
overridded in child class in tearDownClass.

9 years agoAdded missed periods at the ends of sentences in Misc/NEWS.
Serhiy Storchaka [Mon, 9 Nov 2015 22:20:43 +0000 (00:20 +0200)]
Added missed periods at the ends of sentences in Misc/NEWS.

9 years agoFixed markup in Misc/NEWS.
Serhiy Storchaka [Mon, 9 Nov 2015 21:41:39 +0000 (23:41 +0200)]
Fixed markup in Misc/NEWS.

9 years agoIssue #25582: Fixed 100 MB memory leak in test_ctypes.
Serhiy Storchaka [Mon, 9 Nov 2015 20:31:10 +0000 (22:31 +0200)]
Issue #25582: Fixed 100 MB memory leak in test_ctypes.

9 years agoIssue #24306: Sets component ID for launcher to match 3.5 and later to avoid downgrading.
Steve Dower [Sat, 7 Nov 2015 18:07:04 +0000 (10:07 -0800)]
Issue #24306: Sets component ID for launcher to match 3.5 and later to avoid downgrading.

9 years agoIssue #22643: Skip test_case_operation_overflow on computers with low memory.
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.

9 years agoIssue #892902: Added new tests for pickling recursive collections.
Serhiy Storchaka [Sat, 7 Nov 2015 09:16:10 +0000 (11:16 +0200)]
Issue #892902: Added new tests for pickling recursive collections.

9 years agoIssue #24802: Copy bytes-like objects to null-terminated buffers if necessary
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.

9 years agoIssue #18010: Fix pydoc web server search to handle package exceptions
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.

9 years agoasyncio: Optimize asyncio.sleep(0)
Yury Selivanov [Thu, 5 Nov 2015 19:29:04 +0000 (14:29 -0500)]
asyncio: Optimize asyncio.sleep(0)

9 years agoremove trailing ws
Benjamin Peterson [Wed, 4 Nov 2015 06:43:31 +0000 (22:43 -0800)]
remove trailing ws

9 years agolink to modern PUG url
Benjamin Peterson [Wed, 4 Nov 2015 06:42:02 +0000 (22:42 -0800)]
link to modern PUG url

9 years agoUse sys.platform instead of os.name to detect Windows in asyncio docs. Patch by Akira Li.
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.

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 #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 #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 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 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 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 #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 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 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 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 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 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 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 #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 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:39:36 +0000 (17:39 +0300)]
Issue21160: Correct comments in nturl2path.  Patch by Jurko Gospodnetić.

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 #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 agoIssue #24782: Limit width of canvas and hence IDLE settings dialog.
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.

9 years agoIssue #24782: Don't try to run now-removed extension dialog test.
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.

9 years agorstlint: Fix "default role used" warning
Berker Peksag [Tue, 20 Oct 2015 00:41:38 +0000 (03:41 +0300)]
rstlint: Fix "default role used" warning

This should make buildbots green.

9 years agoIssue #24885: Update note in docs about stream convenience functions.
Guido van Rossum [Mon, 19 Oct 2015 20:18:04 +0000 (13:18 -0700)]
Issue #24885: Update note in docs about stream convenience functions.

9 years agoFix whitespace.
Guido van Rossum [Mon, 19 Oct 2015 19:00:04 +0000 (12:00 -0700)]
Fix whitespace.

9 years agoIssue #25441: asyncio: Raise error from drain() when socket is closed.
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.

9 years ago- 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.

9 years agoCloses #25411: Improved Unicode support in SMTPHandler.
Vinay Sajip [Sat, 17 Oct 2015 15:13:10 +0000 (16:13 +0100)]
Closes #25411: Improved Unicode support in SMTPHandler.

9 years agoAdded entry to logging cookbook.
Vinay Sajip [Sat, 17 Oct 2015 12:58:19 +0000 (13:58 +0100)]
Added entry to logging cookbook.

9 years agoIssue #25418: Fix markup in object.__hash__ documentation
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.

9 years agoIssue #24782: whitespace
Terry Jan Reedy [Wed, 14 Oct 2015 02:09:06 +0000 (22:09 -0400)]
Issue #24782: whitespace

9 years agoIssue #24782: Finish converting the Configure Extension dialog into a new
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.

9 years agoIssue #25380: Fixed protocol for the STACK_GLOBAL opcode in
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.

9 years agoIssue #25093: Fix test_tcl's testloadWithUNC for paths with spaces
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.

9 years agoactually link to the version attributes documentation
Benjamin Peterson [Mon, 12 Oct 2015 06:03:22 +0000 (23:03 -0700)]
actually link to the version attributes documentation

9 years agoIssue #22726: Re-activate config dialog help button with some content about
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.

9 years agoCleanup test_descr: remove C8 that is the same as C3.
Serhiy Storchaka [Sun, 11 Oct 2015 14:42:39 +0000 (17:42 +0300)]
Cleanup test_descr: remove C8 that is the same as C3.

9 years agodon't mention Python 2.2 (closes #25375)
Benjamin Peterson [Sun, 11 Oct 2015 06:23:55 +0000 (23:23 -0700)]
don't mention Python 2.2 (closes #25375)

9 years agouse the with statement for locking the internal condition (closes #25362)
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.

9 years agoadd a missing comma (closes #25371)
Benjamin Peterson [Sun, 11 Oct 2015 02:32:20 +0000 (19:32 -0700)]
add a missing comma (closes #25371)

9 years agoCorrect Misc/NEWS.
Serhiy Storchaka [Sat, 10 Oct 2015 17:26:16 +0000 (20:26 +0300)]
Correct Misc/NEWS.

9 years agoIssue #25099: Skip relevant tests in test_compileall when an entry on
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)

9 years agoIssue #25365: test_pickle now works in threads disabled builds.
Serhiy Storchaka [Sat, 10 Oct 2015 17:10:07 +0000 (20:10 +0300)]
Issue #25365: test_pickle now works in threads disabled builds.

9 years agoIssue #25322: Fix test for nested contextlib.suppress
Martin Panter [Sat, 10 Oct 2015 11:04:44 +0000 (11:04 +0000)]
Issue #25322: Fix test for nested contextlib.suppress

9 years agoIssue #25161: Add full stops in documentation; patch by Takase Arihiro
Martin Panter [Sat, 10 Oct 2015 10:36:22 +0000 (10:36 +0000)]
Issue #25161: Add full stops in documentation; patch by Takase Arihiro

9 years agoIssue #22413: Document newline effect on StringIO initializer and getvalue
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.

9 years agoIssue #24402: Factor out PtyTests.run_child() in input() tests
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.

9 years agoIssue #24402: Fix input() when stdout.fileno() fails; diagnosed by Eryksun
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.

9 years agoCloses #25344: Added cookbook recipe to show buffering of logging events.
Vinay Sajip [Fri, 9 Oct 2015 23:52:35 +0000 (00:52 +0100)]
Closes #25344: Added cookbook recipe to show buffering of logging events.

9 years agoIssue #16802: Document fileno parameter of socket.socket()
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.

9 years agoVarious minor typos in documentation and comments
Martin Panter [Wed, 7 Oct 2015 10:26:23 +0000 (10:26 +0000)]
Various minor typos in documentation and comments

9 years agoIssue #25286: Dictionary views are not sequences
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

9 years agoprevent unacceptable bases from becoming bases through multiple inheritance (#24806)
Benjamin Peterson [Wed, 7 Oct 2015 02:36:54 +0000 (19:36 -0700)]
prevent unacceptable bases from becoming bases through multiple inheritance (#24806)

9 years agoIssue #25097: Re-raise any other pywin32 error
Zachary Ware [Tue, 6 Oct 2015 20:28:43 +0000 (15:28 -0500)]
Issue #25097: Re-raise any other pywin32 error

9 years agoIssue #25097: fix Windows error number access
Zachary Ware [Tue, 6 Oct 2015 20:22:13 +0000 (15:22 -0500)]
Issue #25097: fix Windows error number access

9 years agoMerge heads
Serhiy Storchaka [Tue, 6 Oct 2015 15:38:25 +0000 (18:38 +0300)]
Merge heads

9 years agoIssue #23972: Fix tests for Windows and Debian.
Guido van Rossum [Tue, 6 Oct 2015 15:24:10 +0000 (08:24 -0700)]
Issue #23972: Fix tests for Windows and Debian.

9 years agoIssue #25317: Converted doctests in test_tokenize to unittests.
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.

9 years agoreinitialize an Event's Condition with a regular lock (closes #25319)
Benjamin Peterson [Tue, 6 Oct 2015 04:56:22 +0000 (21:56 -0700)]
reinitialize an Event's Condition with a regular lock (closes #25319)

9 years agoDocs and one small improvement for issue #25304, by Vincent Michel.
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.

9 years agoIssue #23972: updates to asyncio datagram API. By Chris Laws.
Guido van Rossum [Mon, 5 Oct 2015 16:15:28 +0000 (09:15 -0700)]
Issue #23972: updates to asyncio datagram API. By Chris Laws.

9 years agoIssue #24820: Update IDLE NEWS items.
Terry Jan Reedy [Sun, 4 Oct 2015 05:14:51 +0000 (01:14 -0400)]
Issue #24820: Update IDLE NEWS items.

9 years agoIssue #24820: Add 'IDLE Dark' text color theme, warning, and solution.
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.

9 years agoIssue #25304: Add asyncio.run_coroutine_threadsafe(). By Vincent Michel.
Guido van Rossum [Sat, 3 Oct 2015 15:31:42 +0000 (08:31 -0700)]
Issue #25304: Add asyncio.run_coroutine_threadsafe(). By Vincent Michel.

9 years agoIssue #16701: Document += and *= for mutable sequences
Martin Panter [Sat, 3 Oct 2015 07:46:04 +0000 (07:46 +0000)]
Issue #16701: Document += and *= for mutable sequences

9 years agoIssue #24657: Prevent CGIRequestHandler from collapsing the URL query
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.

9 years agoIssue #25232: Fix CGIRequestHandler's splitting of URL query
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.

9 years agoIssue #25224: README.txt is now an idlelib index for IDLE developers and
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'.

9 years agoIssue #24820: Users can now set breakpoint colors in Settings ->
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.

9 years agoasyncio: ensure_future() now understands awaitables
Yury Selivanov [Fri, 2 Oct 2015 19:00:19 +0000 (15:00 -0400)]
asyncio: ensure_future() now understands awaitables

9 years agoIssue #25290: Fix typo in csv.reader() docstring
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.

9 years agoIssue #24848: Fixed bugs in UTF-7 decoding of misformed data:
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.

9 years agoFixes #25097: Windows test is skipped if there are insufficient privileges, rather...
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.

9 years agoCloses #25185: Use UTF-8 encoding when reading pyvenv.cfg.
Vinay Sajip [Thu, 1 Oct 2015 10:27:00 +0000 (11:27 +0100)]
Closes #25185: Use UTF-8 encoding when reading pyvenv.cfg.

9 years agoIssue #25280: Import trace messages emitted in verbose (-v) mode are no
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.

9 years agoIssue #25003: os.urandom() doesn't use getentropy() on Solaris because
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.

9 years agoIssue #25274: test_recursionlimit_recovery() of test_sys now checks
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.

9 years agoReflect parameter name change in the doc
Andrew Svetlov [Thu, 1 Oct 2015 06:48:08 +0000 (09:48 +0300)]
Reflect parameter name change in the doc

9 years agoIssue #25182: Fix compilation on Windows
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().

9 years agoIssue #25182: The stdprinter (used as sys.stderr before the io module is
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.

9 years agoIssue #22958: Constructor and update method of weakref.WeakValueDictionary
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.

9 years agoIssue #22609: Constructor of collections.UserDict now accepts the self keyword
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.

9 years agoIssue #25262. Added support for BINBYTES8 opcode in Python implementation of
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.

9 years agoAlso rewrote the guts of asyncio.Semaphore (patch by manipopopo).
Guido van Rossum [Tue, 29 Sep 2015 18:54:45 +0000 (11:54 -0700)]
Also rewrote the guts of asyncio.Semaphore (patch by manipopopo).

9 years agoFix StreamReader.__repr__
Andrew Svetlov [Tue, 29 Sep 2015 15:36:00 +0000 (18:36 +0300)]
Fix StreamReader.__repr__

9 years agoFixed issue #25034: Fix string.Formatter problem with auto-numbering
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.

9 years agoAdded additional unpickling tests.
Serhiy Storchaka [Tue, 29 Sep 2015 12:49:58 +0000 (15:49 +0300)]
Added additional unpickling tests.