Commit graph

39670 commits

Author SHA1 Message Date
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
Terry Jan Reedy
b1c9b64850 IDLE NEWS entries 2016-06-11 04:36:34 -04:00
Terry Jan Reedy
661c0329d3 Merge Issue #5124: NEWS entries. 2016-06-11 04:32:30 -04:00
Terry Jan Reedy
8ace13be39 Issue #5124: NEWS entries. 2016-06-11 04:31:22 -04:00
Ned Deily
139fb7c71c Issue #27262: fix missing parameter typo 2016-06-11 02:57:56 -04:00
Terry Jan Reedy
50288f964a Issue #5124: rename PyShell back to pyshell and patch test for 3.6 2016-06-11 02:10:59 -04:00
Terry Jan Reedy
b5c43f4c01 Merge with 3.5 2016-06-11 02:06:40 -04:00
Terry Jan Reedy
5ad8599caa Issue #5124: Paste with selection should always replace.
This is how paste work on Windows, Mac, modern Linux apps, and ttk widgets.
The exception was X11 tk widgets.  Original patch by Serhiy Storchake.
2016-06-11 02:06:26 -04:00
Terry Jan Reedy
c39e330993 Issue #5124: Temporary pyshell rename to avoid case-folding collision in merge. 2016-06-11 02:05:52 -04:00
Terry Jan Reedy
01e35754fb Issue *24750: Switch all scrollbars in IDLE to ttk versions.
Where needed, add minimal tests to cover changes.
2016-06-10 18:19:21 -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
Berker Peksag
419e8ede19 Issue #20900: Merge from 3.5 2016-06-10 23:02:04 +03:00
Berker Peksag
904a2ef2e2 Issue #20900: distutils register command now decodes HTTP responses correctly
Initial patch by ingrid.
2016-06-10 23:00:52 +03: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
Terry Jan Reedy
82ae15597f Issue #24759: Add test for IDLE syntax colorizoer. 2016-06-09 21:04:09 -04:00
Brett Cannon
5f74ebc2e4 Fix some PEP 8 violations. 2016-06-09 14:29:25 -07: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
Terry Jan Reedy
fb51e65289 Issue #27239: idlelib.macosx.isXyzTk functions initialize as needed. 2016-06-08 18:09:22 -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
Barry Warsaw
480e28538d Issue #27066: Fixed SystemError if a custom opener (for open()) returns
a negative number without setting an exception.
2016-06-08 17:47:26 -04:00
Terry Jan Reedy
24f3a1829f Issue #27262: move Aqua unbinding code, which enable context menus, to maxosx. 2016-06-08 14:37:05 -04:00
Guido van Rossum
8c0e046023 Sync typing.py with upstream (merge 3.5->3.6). 2016-06-08 11:20:02 -07:00
Guido van Rossum
91185fe028 Sync typing.py with upstream.
(Upstream is https://github.com/python/typing)

- Add TYPE_CHECKING (false at runtime, true in type checkers) (upstream #230).
- Avoid error on Union[xml.etree.cElementTree.Element, str] (upstream #229).
- Repr of Tuple[()] should be 'Tuple[()]' (upstream #231).
- Add NewType() (upstream #189).
2016-06-08 11:19:11 -07:00
Yury Selivanov
7a713386d8 Merge 3.5 (asyncio) 2016-06-08 13:57:23 -04:00
Yury Selivanov
c1cf296de6 asyncio: Remove asyncio.timeout() context manager.
It will probably be added back in Python 3.6, once its compatibility
issues are resolved; see [1] for more details.

[1] https://mail.python.org/pipermail/async-sig/2016-June/000045.html
2016-06-08 13:57:03 -04:00
Yury Selivanov
552bf94648 Merge 3.5 (issue #27136, asyncio) 2016-06-08 12:33:59 -04:00
Yury Selivanov
f1c6fa9866 Issue #27136: Fix DNS static resolution; don't use it in getaddrinfo
Patch by A. Jesse Jiryu Davis
2016-06-08 12:33:31 -04:00
Martin Panter
40de69ac58 Issue #25738: Merge HTTP server from 3.5 2016-06-08 09:45:58 +00:00
Martin Panter
58f016909e Issue #21313: Merge version parsing from 3.5 2016-06-08 09:44:21 +00:00
Martin Panter
e42e129ebe Issue #25738: Don’t send message body for 205 Reset Content
Patch by Susumu Koshiba.
2016-06-08 08:29:13 +00:00
Martin Panter
4e50553823 Issue #21313: Tolerate truncated buildinfo in sys.version 2016-06-08 06:12:22 +00:00
Vinay Sajip
24a72ca239 Fixed #27251: merged fix from 3.5. 2016-06-07 21:20:39 +01:00
Vinay Sajip
1bf197eb14 Fixed #27251: corrected string/bytes handling in credentials. 2016-06-07 21:19:55 +01:00
Terry Jan Reedy
ea938baf5e Items for NEWS and idlelib/NEWS.txt. 2016-06-07 15:35:37 -04:00
Terry Jan Reedy
8bff8f6953 Items for NEWS and idlelib/NEWS.txt. 2016-06-07 15:33:53 -04:00
Serhiy Storchaka
6db1f6f7ae Issue #26983: Fixed test_format failure.
Patch by SilentGhost.
2016-06-06 13:00:03 +03:00
Martin Panter
83815aeee8 Issue #27107: mailbox.fcntl = None on Windows 2016-06-06 02:49:54 +00:00
Martin Panter
380ef01299 Issue #27110: Add smtpd.SMTPChannel to __all__, by Jacek Kołodziej 2016-06-06 02:03:11 +00:00
Martin Panter
d04d21373f Issue #27109: Add InvalidFileException to __all__, by Jacek Kołodziej 2016-06-06 02:00:50 +00:00
Martin Panter
f8f3121775 Issue #27108: Add missing names to mimetypes.__all__, by Jacek Kołodziej 2016-06-06 01:59:19 +00:00
Martin Panter
ed84ab3335 Issue #27107: Add exception classes to mailbox.__all__, by Jacek Kołodziej 2016-06-06 01:56:09 +00:00
Martin Panter
1cd2772246 Issue #27105: Add cgi.test() to __all__, based on Jacek Kołodziej’s patch 2016-06-06 01:53:28 +00:00