Commit graph

22070 commits

Author SHA1 Message Date
Steve Dower
ea93ac013d Issue #26536: socket.ioctl now supports SIO_LOOPBACK_FAST_PATH. Patch by Daniel Stokes. 2016-06-17 12:52:18 -07:00
Gregory P. Smith
881aa38972 Issue #27123: When an exception is raised within the context being
managed by a contextlib.ExitStack() and one of the exit stack
generators catches and raises it in a chain, do not re-raise the
original exception when exiting, let the new chained one through.
This avoids the PEP 479 bug described in issue25782.
2016-06-14 09:24:31 -07:00
Gregory P. Smith
ba2ecd6841 Issue #27123: When an exception is raised within the context being
managed by a contextlib.ExitStack() and one of the exit stack
generators catches and raises it in a chain, do not re-raise the
original exception when exiting, let the new chained one through.
This avoids the PEP 479 bug described in issue25782.
2016-06-14 09:19:20 -07:00
Martin Panter
34f12d7315 Issue #16182: Merge test_readline from 3.5 2016-06-14 11:31:39 +00:00
Martin Panter
a8cadb2243 Issue #16182: One more check for set_pre_input_hook() 2016-06-14 11:29:31 +00:00
Martin Panter
6d1d2f229e Issue #16182: Merge readline update from 3.5 2016-06-14 08:49:51 +00:00
Martin Panter
6afbc653a7 Issue #16182: set_pre_input_hook() may not exist; document, and update test 2016-06-14 08:45:43 +00:00
Martin Panter
8e4b7ac7fe Issue #16182: Merge test_readline from 3.5 2016-06-14 05:46:17 +00:00
Martin Panter
056f76d978 Issue #16182: Attempted workarounds for Apple Editline 2016-06-14 05:45:31 +00:00
Martin Panter
4074f93b33 Issue #16182: Merge readline locale fix from 3.5 2016-06-14 02:47:56 +00:00
Martin Panter
f00c49df10 Issue #16182: Fix readline begidx, endidx, and use locale encoding
Based on patch by Serhiy Storchaka.
2016-06-14 01:16:16 +00:00
Martin Panter
9b1f4431c7 Issue #27136: Merge test_asyncio fix from 3.5 2016-06-13 23:51:02 +00:00
Martin Panter
0c9ad59dab Issue #27186: Skip scandir(bytes) test with os.name == "nt" 2016-06-13 03:28:35 +00:00
Martin Panter
5fc7c4dce1 Issue #27136: Change test to use ::1 for better OS X Tiger compatibility 2016-06-13 03:17:47 +00:00
Brett Cannon
41ae559108 Issue #27186: skip bytes path test for os.scandir() on Windows 2016-06-12 11:11:20 -07:00
Serhiy Storchaka
64204de04c Issue #27095: Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes.
Patch by Demur Rumed.
2016-06-12 17:36:24 +03:00
Berker Peksag
4746080921 Issue #27289: Merge from 3.5 2016-06-12 16:28:16 +03:00
Berker Peksag
c74cdc7170 Issue #27289: Prevent test_urllib2net failures due to EOFError raised by ftplib 2016-06-12 16:27:48 +03:00
Serhiy Storchaka
8918b89e61 Issue #25455: Clean up reference loops created in tests for recursive
functools.partial objects.
2016-06-12 15:53:09 +03:00
Serhiy Storchaka
46fe29de31 Issue #25455: Clean up reference loops created in tests for recursive
functools.partial objects.
2016-06-12 15:45:14 +03:00
Serhiy Storchaka
b62ff6eb57 Issue #25455: Fixed a crash in repr of recursive functools.partial objects. 2016-06-12 11:51:26 +03:00
Serhiy Storchaka
179f960d47 Issue #25455: Fixed a crash in repr of recursive functools.partial objects. 2016-06-12 11:44:06 +03:00
Serhiy Storchaka
4aa15a0d0d Merge heads 2016-06-12 09:48:19 +03:00
Serhiy Storchaka
cbe6142135 Merge heads 2016-06-12 09:47:57 +03:00
Serhiy Storchaka
f0ee5ccd19 Issue #25455: Fixed a crash in repr of ElementTree.Element with recursive tag. 2016-06-12 09:47:20 +03:00
Serhiy Storchaka
9062c261a4 Issue #25455: Fixed a crash in repr of ElementTree.Element with recursive tag. 2016-06-12 09:43:55 +03:00
Serhiy Storchaka
cf2ad55511 Issue #27286: Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. Calling
function with generalized unpacking (PEP 448) and conflicting keyword names
could cause undefined behavior.
2016-06-12 09:35:13 +03:00
Serhiy Storchaka
3c317e76a2 Issue #27286: Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. Calling
function with generalized unpacking (PEP 448) and conflicting keyword names
could cause undefined behavior.
2016-06-12 09:22:01 +03:00
Martin Panter
aea671efc6 Merge typo fixes from 3.5 2016-06-12 06:16:51 +00:00
Martin Panter
70c502aacf Fix typos and English grammar in documentation and code comment 2016-06-12 06:14:03 +00:00
Martin Panter
5285545271 Issue #16484: Merge pydoc Windows fixes from 3.5 2016-06-12 04:31:25 +00:00
Martin Panter
4f8aaf6440 Issue #16484: Fix pydoc link and test on Windows, by Kaushik Nadikuditi 2016-06-12 04:24:06 +00:00
Ɓukasz Langa
34ad2ef8f9 Merge 3.5, issue #14209 2016-06-11 18:05:42 -07:00
Ɓukasz Langa
0d18c15fbf Issue #14209: pkgutil.iter_zipimport_modules ignores the prefix for packages
Patch by James Pickering.
2016-06-11 18:02:46 -07:00
Berker Peksag
28dc1186a8 Issue #20508: Improve exception message of IPv{4,6}Network.__getitem__
Patch by Gareth Rees.
2016-06-11 22:30:05 +03:00
Berker Peksag
24b102e6e8 Issue #21386: Merge from 3.5 2016-06-11 22:12:36 +03:00
Berker Peksag
742192a4fe Issue #21386: Implement missing IPv4Address.is_global property
It was documented since 07a5610bae9d.

Initial patch by Roger Luethi.
2016-06-11 22:11:47 +03:00
Serhiy Storchaka
e670be2273 Issue #27029: Removed deprecated support of universal newlines mode from ZipFile.open(). 2016-06-11 19:32:44 +03:00
Serhiy Storchaka
9bd85b83f6 Issue #27030: Unknown escapes consisting of `'\'` and ASCII letter in
regular expressions now are errors.
2016-06-11 19:15:00 +03:00
Yury Selivanov
d35bf03284 Merge 3.5 (issue #22970) 2016-06-11 12:01:19 -04:00
Yury Selivanov
c92bf83a82 Issue #22970: asyncio: Fix inconsistency cancelling Condition.wait.
Patch by David Coles.
2016-06-11 12:00:07 -04:00
Yury Selivanov
6588712bf0 Merge 3.5 (issue #27223) 2016-06-11 11:20:50 -04:00
Yury Selivanov
ca2e0a48cf Issue #27223: aio: Fix _read_ready and _write_ready to respect _conn_lost.
Patch by Ɓukasz Langa.
2016-06-11 11:19:47 -04:00
Brett Cannon
96881cd621 Issue #27186: Add os.PathLike support to DirEntry
Initial patch thanks to Jelle Zijlstra.
2016-06-10 14:37:21 -07:00
Brett Cannon
568be63248 Issue #27186: Add os.PathLike support to pathlib.
This adds support both to pathlib.PurePath's constructor as well as
implementing __fspath__(). This removes the provisional status for
pathlib.

Initial patch by Dusty Phillips.
2016-06-10 12:20:49 -07:00
Serhiy Storchaka
f41b82fb19 Issue #26282: PyArg_ParseTupleAndKeywords() and Argument Clinic now support
positional-only and keyword parameters in the same function.
2016-06-09 16:30:29 +03:00
Terry Jan Reedy
1080d13a7d Issue #24759: IDLE requires tk 8.5 and availability ttk widgets.
Delete now unneeded tk version tests and code for older versions.
2016-06-09 21:09:15 -04:00
Yury Selivanov
711d25db48 Merge 3.5 (issue #27243) 2016-06-09 15:13:16 -04:00
Yury Selivanov
a6f6edbda8 Issue #27243: Fix __aiter__ protocol 2016-06-09 15:08:31 -04:00
Barry Warsaw
118598a072 Issue #27066: Fixed SystemError if a custom opener (for open()) returns a
negative number without setting an exception.
2016-06-08 17:54:43 -04:00