]> granicus.if.org Git - python/log
python
9 years agoIssues #22989, #21228: Document HTTP response object for urlopen()
Martin Panter [Thu, 26 Nov 2015 11:01:58 +0000 (11:01 +0000)]
Issues #22989, #21228: Document HTTP response object for urlopen()

Previous documentation was not clear if the geturl(), info() and getcode()
were valid for HTTP responses. The “msg” attribute is different to the usual
HTTPResponse.msg attribute. Based on patch by Evens Fortuné.

9 years agoIssue #25622: Rename to PythonValuesTestCase and enable for non-Windows
Martin Panter [Thu, 26 Nov 2015 02:36:26 +0000 (02:36 +0000)]
Issue #25622: Rename to PythonValuesTestCase and enable for non-Windows

9 years agoIssue #19687: Fixed possible integer overflows in ElementTree.
Serhiy Storchaka [Wed, 25 Nov 2015 18:12:37 +0000 (20:12 +0200)]
Issue #19687: Fixed possible integer overflows in ElementTree.
Based on patch by Christian Heimes.

9 years agoIssue #24097: Fixed crash in object.__reduce__() if slot name is freed inside
Serhiy Storchaka [Wed, 25 Nov 2015 16:33:29 +0000 (18:33 +0200)]
Issue #24097: Fixed crash in object.__reduce__() if slot name is freed inside
__getattr__.  Original patch by Antoine Pitrou.

9 years agoIssue #25616: Tests for OrderedDict are extracted from test_collections
Serhiy Storchaka [Wed, 25 Nov 2015 15:09:01 +0000 (17:09 +0200)]
Issue #25616: Tests for OrderedDict are extracted from test_collections
into separate file test_ordered_dict.

9 years agoIssue #25697: Fixed rough alphabetical order in Misc/ACKS.
Serhiy Storchaka [Wed, 25 Nov 2015 14:11:29 +0000 (16:11 +0200)]
Issue #25697: Fixed rough alphabetical order in Misc/ACKS.

9 years agoIssue #24731: Fixed crash on converting objects with special methods
Serhiy Storchaka [Wed, 25 Nov 2015 13:47:01 +0000 (15:47 +0200)]
Issue #24731: Fixed crash on converting objects with special methods
__bytes__, __trunc__, and __float__ returning instances of subclasses of
bytes, int, and float to subclasses of bytes, int, and float correspondingly.

9 years agoIssue #25725: Fixed a reference leak in pickle.loads() when unpickling
Serhiy Storchaka [Wed, 25 Nov 2015 13:01:53 +0000 (15:01 +0200)]
Issue #25725: Fixed a reference leak in pickle.loads() when unpickling
invalid data including tuple instructions.

9 years agoIssue #25508: Clarify documentation on LogRecord args attribute.
Vinay Sajip [Tue, 24 Nov 2015 23:21:15 +0000 (23:21 +0000)]
Issue #25508: Clarify documentation on LogRecord args attribute.

9 years agoIssue #25576: Remove application/x-www-form-urlencoded charset advice
Martin Panter [Tue, 24 Nov 2015 22:33:18 +0000 (22:33 +0000)]
Issue #25576: Remove application/x-www-form-urlencoded charset advice

No charset parameter is standardized for this Content-Type value. Also
clarify that urlencode() outputs ASCII.

9 years agoIssue #25663: Make rlcompleter avoid duplicate global names
Martin Panter [Mon, 23 Nov 2015 23:50:26 +0000 (23:50 +0000)]
Issue #25663: Make rlcompleter avoid duplicate global names

9 years agoIssue #25706: Fixed markup in the documentation.
Serhiy Storchaka [Mon, 23 Nov 2015 14:43:05 +0000 (16:43 +0200)]
Issue #25706: Fixed markup in the documentation.

9 years agoIssue #25688: Fixed file leak in ElementTree.iterparse() raising an error.
Serhiy Storchaka [Mon, 23 Nov 2015 13:44:03 +0000 (15:44 +0200)]
Issue #25688: Fixed file leak in ElementTree.iterparse() raising an error.

9 years agoIssue #23914: Fixed SystemError raised by unpickler on broken pickle data.
Serhiy Storchaka [Mon, 23 Nov 2015 13:17:43 +0000 (15:17 +0200)]
Issue #23914: Fixed SystemError raised by unpickler on broken pickle data.

9 years agoIssue #25691: Fixed crash on deleting ElementTree.Element attributes.
Serhiy Storchaka [Mon, 23 Nov 2015 06:42:25 +0000 (08:42 +0200)]
Issue #25691: Fixed crash on deleting ElementTree.Element attributes.

9 years agoIssue #25624: ZipFile now always writes a ZIP_STORED header for directory
Serhiy Storchaka [Sun, 22 Nov 2015 12:49:58 +0000 (14:49 +0200)]
Issue #25624: ZipFile now always writes a ZIP_STORED header for directory
entries.  Patch by Dingyuan Wang.

9 years agoIssue #19687: Fixed memory leak on failed Element slice assignment.
Serhiy Storchaka [Sun, 22 Nov 2015 10:18:38 +0000 (12:18 +0200)]
Issue #19687: Fixed memory leak on failed Element slice assignment.
Added new tests for Element slice assignments.

9 years agoIssue #25689: Fix language in ftplib and nntplib docs
Martin Panter [Sat, 21 Nov 2015 22:03:08 +0000 (22:03 +0000)]
Issue #25689: Fix language in ftplib and nntplib docs

Original patch by Silent Ghost.

9 years agoUpdate idlelib/NEWS.txt.
Terry Jan Reedy [Sat, 21 Nov 2015 18:31:27 +0000 (13:31 -0500)]
Update idlelib/NEWS.txt.

9 years agoMisc/NEWS entries for IDLE.
Terry Jan Reedy [Sat, 21 Nov 2015 18:19:03 +0000 (13:19 -0500)]
Misc/NEWS entries for IDLE.

9 years agoIssue #25686: test_shutil no longer uses the distutils package for searching
Serhiy Storchaka [Sat, 21 Nov 2015 12:09:26 +0000 (14:09 +0200)]
Issue #25686: test_shutil no longer uses the distutils package for searching
and running external archivers.

9 years agoIssue 15348: Stop debugger engine (normally in user process)
Terry Jan Reedy [Sat, 21 Nov 2015 05:05:03 +0000 (00:05 -0500)]
Issue 15348: Stop debugger engine (normally in user process)
before closing debugger window in IDLE process.

9 years agoIssue #24455: Prevent IDLE from hanging when a) closing the shell while the
Terry Jan Reedy [Sat, 21 Nov 2015 00:36:43 +0000 (19:36 -0500)]
Issue #24455: Prevent IDLE from hanging when a) closing the shell while the
debugger is active (15347); b) closing the debugger with the [X] button
(15348); and c) activating the debugger when already active (24455).
The patch by Mark Roseman does this by making two changes.
1. To suspend and resume the gui.interaction method, use the tcl vwait
mechanism interded for this purpose instead of root.mainloop & .quit.
2. In gui.run, allow any existing interaction to terminate first.

9 years agoasyncio: Fix with github
Yury Selivanov [Fri, 20 Nov 2015 17:57:34 +0000 (12:57 -0500)]
asyncio: Fix with github

See https://github.com/python/asyncio/pull/295 for details

9 years agoasyncio.tests: Fix whitespace
Yury Selivanov [Fri, 20 Nov 2015 17:43:52 +0000 (12:43 -0500)]
asyncio.tests: Fix whitespace

9 years agoasyncio: Drop "value" parameter from Task._step method.
Yury Selivanov [Fri, 20 Nov 2015 17:41:03 +0000 (12:41 -0500)]
asyncio: Drop "value" parameter from Task._step method.

9 years agoasyncio: Sync with github
Yury Selivanov [Fri, 20 Nov 2015 17:39:43 +0000 (12:39 -0500)]
asyncio: Sync with github

9 years agoMake it slightly clearer that IDLE close message is referring to user program,
Terry Jan Reedy [Fri, 20 Nov 2015 17:21:48 +0000 (12:21 -0500)]
Make it slightly clearer that IDLE close message is referring to user program,
not to IDLE itself.

9 years ago#25679: spelling fix
R David Murray [Fri, 20 Nov 2015 14:57:20 +0000 (09:57 -0500)]
#25679: spelling fix

9 years agoIssue #25583: Avoid incorrect errors raised by os.makedirs(exist_ok=True)
Martin Panter [Thu, 19 Nov 2015 04:48:44 +0000 (04:48 +0000)]
Issue #25583: Avoid incorrect errors raised by os.makedirs(exist_ok=True)

9 years agoIssue #25593: Change semantics of EventLoop.stop().
Guido van Rossum [Thu, 19 Nov 2015 21:28:47 +0000 (13:28 -0800)]
Issue #25593: Change semantics of EventLoop.stop().

9 years agoasyncio.docs: Fix versionadded
Yury Selivanov [Wed, 18 Nov 2015 17:44:31 +0000 (12:44 -0500)]
asyncio.docs: Fix versionadded

9 years agoasyncio: Error if awaiting in parallel on the same coroutine
Yury Selivanov [Wed, 18 Nov 2015 17:39:45 +0000 (12:39 -0500)]
asyncio: Error if awaiting in parallel on the same coroutine

This change won't do anything in CPython 3.4

See https://github.com/python/asyncio/pull/293 for details.

9 years agoIssue #23200: Document that max_length=0 is not supported
Martin Panter [Wed, 18 Nov 2015 00:59:17 +0000 (00:59 +0000)]
Issue #23200: Document that max_length=0 is not supported

9 years agoIssue #20468: Remove incorrect information about maxrss and page size
Martin Panter [Tue, 17 Nov 2015 22:13:47 +0000 (22:13 +0000)]
Issue #20468: Remove incorrect information about maxrss and page size

Extract of patch by Ronald Oussoren.

9 years agoasyncio: Cleanup Future API
Yury Selivanov [Tue, 17 Nov 2015 17:19:41 +0000 (12:19 -0500)]
asyncio: Cleanup Future API

See https://github.com/python/asyncio/pull/292 for details.

9 years agoasyncio: Sync with github
Yury Selivanov [Tue, 17 Nov 2015 17:02:21 +0000 (12:02 -0500)]
asyncio: Sync with github

9 years agoIssue #25615: Document unsorted behaviour of glob; patch by Dave Jones
Martin Panter [Mon, 16 Nov 2015 23:46:22 +0000 (23:46 +0000)]
Issue #25615: Document unsorted behaviour of glob; patch by Dave Jones

9 years agoasyncio: Optimize Task._wakeup
Yury Selivanov [Mon, 16 Nov 2015 20:12:10 +0000 (15:12 -0500)]
asyncio: Optimize Task._wakeup

See https://github.com/python/asyncio/pull/289 for details.

9 years agoasyncio.docs: Document Transport.is_closing
Yury Selivanov [Mon, 16 Nov 2015 17:46:41 +0000 (12:46 -0500)]
asyncio.docs: Document Transport.is_closing

9 years agoasyncio: Add Transport.is_closing()
Yury Selivanov [Mon, 16 Nov 2015 17:43:21 +0000 (12:43 -0500)]
asyncio: Add Transport.is_closing()

See https://github.com/python/asyncio/pull/291 for details.

9 years agoIssue #25498: Fixed contributors name.
Serhiy Storchaka [Mon, 16 Nov 2015 16:45:23 +0000 (18:45 +0200)]
Issue #25498: Fixed contributors name.

9 years agoIssue #24750: whitespace
Terry Jan Reedy [Mon, 16 Nov 2015 12:36:22 +0000 (07:36 -0500)]
Issue #24750: whitespace

9 years agoIssue #24750: Improve appearance of IDLE editor window status bar.
Terry Jan Reedy [Mon, 16 Nov 2015 12:32:26 +0000 (07:32 -0500)]
Issue #24750: Improve appearance of IDLE editor window status bar.
Patch by Mark Roseman.

9 years agoIssue #20220: Add DST rules to work around glibc quirk
Martin Panter [Mon, 16 Nov 2015 07:21:38 +0000 (07:21 +0000)]
Issue #20220: Add DST rules to work around glibc quirk

This was triggering intermittent failures in unrelated tests.

9 years agoIssue #9051: Added tests for pickling and copying the timezone objects.
Serhiy Storchaka [Mon, 16 Nov 2015 09:12:58 +0000 (11:12 +0200)]
Issue #9051: Added tests for pickling and copying the timezone objects.

9 years agoFix issue #6973: When we know a subprocess.Popen process has died, do
Gregory P. Smith [Mon, 16 Nov 2015 02:19:10 +0000 (18:19 -0800)]
Fix issue #6973: When we know a subprocess.Popen process has died, do
not allow the send_signal(), terminate(), or kill() methods to do
anything as they could potentially signal a different process.

9 years agorm trailing ws
Benjamin Peterson [Sat, 14 Nov 2015 23:12:38 +0000 (15:12 -0800)]
rm trailing ws

9 years agofix possible memory lea k in _get_aia_uri (closes #25578)
Benjamin Peterson [Sat, 14 Nov 2015 23:12:18 +0000 (15:12 -0800)]
fix possible memory lea k in _get_aia_uri (closes #25578)

9 years agoIssue #25388: Fixed tokenizer crash when processing undecodable source code
Serhiy Storchaka [Sat, 14 Nov 2015 13:10:35 +0000 (15:10 +0200)]
Issue #25388: Fixed tokenizer crash when processing undecodable source code
with a null byte.

9 years agofix build with older openssl (#25569)
Benjamin Peterson [Sat, 14 Nov 2015 08:09:22 +0000 (00:09 -0800)]
fix build with older openssl (#25569)

9 years agoFix a few grammar problems in the documentation and comments
Martin Panter [Sat, 14 Nov 2015 01:07:43 +0000 (01:07 +0000)]
Fix a few grammar problems in the documentation and comments

9 years agoCorrect Content-Type syntax in documentation
Martin Panter [Sat, 14 Nov 2015 00:58:32 +0000 (00:58 +0000)]
Correct Content-Type syntax in documentation

9 years agoIssue #25590: Make rlcompleter only call getattr() once per attribute
Martin Panter [Fri, 13 Nov 2015 22:47:00 +0000 (22:47 +0000)]
Issue #25590: Make rlcompleter only call getattr() once per attribute

Previously it was called another time via hasattr(), and both calls were
made once for dir(f) and again for dir(f.__class__).  This includes a
backport of changing from a list to a set from revision 4dbb315fe667.

9 years agoIssue #25498: Fix GC crash due to ctypes objects wrapping a memoryview
Martin Panter [Fri, 13 Nov 2015 21:43:39 +0000 (21:43 +0000)]
Issue #25498: Fix GC crash due to ctypes objects wrapping a memoryview

This was a regression caused by revision 1da9630e9b7f.  Based on patch by
Eryksun.

9 years agoasyncio: Fix sporadic failing unittests in debug mode
Yury Selivanov [Fri, 13 Nov 2015 17:28:48 +0000 (12:28 -0500)]
asyncio: Fix sporadic failing unittests in debug mode

9 years agoIssue #25605: Document exceptions raised by fcntl.ioctl() and fcntl.flock()
Victor Stinner [Fri, 13 Nov 2015 08:13:48 +0000 (09:13 +0100)]
Issue #25605: Document exceptions raised by fcntl.ioctl() and fcntl.flock()

9 years agoIndent
Terry Jan Reedy [Thu, 12 Nov 2015 20:24:33 +0000 (15:24 -0500)]
Indent

9 years agoWhitespace
Terry Jan Reedy [Thu, 12 Nov 2015 20:06:07 +0000 (15:06 -0500)]
Whitespace

9 years agoIssue #25313: Change the handling of new built-in text color themes to better
Terry Jan Reedy [Thu, 12 Nov 2015 20:02:57 +0000 (15:02 -0500)]
Issue #25313: Change the handling of new built-in text color themes to better
address the compatibility problem introduced by the addition of IDLE Dark.
Consistently use the revised idleConf.CurrentTheme everywhere in idlelib.

9 years agoIssue #25607: Restore old distutils logging threshold after running tests that
Serhiy Storchaka [Thu, 12 Nov 2015 17:46:23 +0000 (19:46 +0200)]
Issue #25607: Restore old distutils logging threshold after running tests that
parse command line arguments.

9 years agoRestore old distutils logging threshold after running test_log.
Serhiy Storchaka [Thu, 12 Nov 2015 11:15:41 +0000 (13:15 +0200)]
Restore old distutils logging threshold after running test_log.

9 years agoIssue #22995: Default implementation of __reduce__ and __reduce_ex__ now
Serhiy Storchaka [Thu, 12 Nov 2015 09:23:04 +0000 (11:23 +0200)]
Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now
rejects builtin types with not defined __new__.
Added tests for non-pickleable types.

9 years agoalways set OP_NO_SSLv3 by default (closes #25530)
Benjamin Peterson [Thu, 12 Nov 2015 06:38:41 +0000 (22:38 -0800)]
always set OP_NO_SSLv3 by default (closes #25530)

9 years agofix memory leak in _get_crl_dp (closes #25569)
Benjamin Peterson [Thu, 12 Nov 2015 06:07:38 +0000 (22:07 -0800)]
fix memory leak in _get_crl_dp (closes #25569)

Patch started by Stéphane Wirtel.

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.