]>
granicus.if.org Git - python/log
Yury Selivanov [Mon, 16 May 2016 20:23:20 +0000 (16:23 -0400)]
Merge 3.5
Yury Selivanov [Mon, 16 May 2016 20:23:00 +0000 (16:23 -0400)]
docs: Update asyncio docs & whatsnew
Yury Selivanov [Mon, 16 May 2016 19:40:38 +0000 (15:40 -0400)]
Merge heads
Yury Selivanov [Mon, 16 May 2016 19:39:39 +0000 (15:39 -0400)]
Merge 3.5 (Issue #27041)
Yury Selivanov [Mon, 16 May 2016 19:38:39 +0000 (15:38 -0400)]
Issue #27041: asyncio: Add loop.create_future method
Serhiy Storchaka [Mon, 16 May 2016 19:35:46 +0000 (22:35 +0300)]
Issue #27031: Removed dummy methods in Tkinter widget classes: tk_menuBar()
and tk_bindForTraversal().
Yury Selivanov [Mon, 16 May 2016 19:32:26 +0000 (15:32 -0400)]
Merge 3.5 (issue #27040)
Serhiy Storchaka [Mon, 16 May 2016 19:24:03 +0000 (22:24 +0300)]
Issue #27039: Fixed bytearray.remove() for values greater than 127.
Based on patch by Joe Jevnik.
Yury Selivanov [Mon, 16 May 2016 19:20:38 +0000 (15:20 -0400)]
Issue #27040: Add loop.get_exception_handler method
Serhiy Storchaka [Mon, 16 May 2016 19:15:38 +0000 (22:15 +0300)]
Issue #27039: Fixed bytearray.remove() for values greater than 127.
Patch by Joe Jevnik.
Steve Dower [Mon, 16 May 2016 18:05:00 +0000 (11:05 -0700)]
Merge with 3.5
Steve Dower [Mon, 16 May 2016 18:04:44 +0000 (11:04 -0700)]
Fixes magic numbers for 3.6.
Steve Dower [Mon, 16 May 2016 16:35:18 +0000 (09:35 -0700)]
Issue #26073: Updates magic number comment in _bootstrap_external.py and changes numbers in launcher.py to decimal to match official table.
Steve Dower [Mon, 16 May 2016 16:34:20 +0000 (09:34 -0700)]
Issue #26073: Updates magic number comment in _bootstrap_external.py and changes numbers in launcher.py to decimal to match official table.
Martin Panter [Mon, 16 May 2016 07:45:28 +0000 (07:45 +0000)]
Issue #14132, Issue #17214: Merge two redirect handling fixes from 3.5
Serhiy Storchaka [Mon, 16 May 2016 07:12:15 +0000 (10:12 +0300)]
Issue #26995: Added tests for "f", "d", "D", "S", "Y", and "U" format codes
in PyArg_ParseTuple().
Serhiy Storchaka [Mon, 16 May 2016 07:11:47 +0000 (10:11 +0300)]
Issue #26995: Added tests for "f", "d", "D", "S", "Y", and "U" format codes
in PyArg_ParseTuple().
Serhiy Storchaka [Mon, 16 May 2016 06:59:21 +0000 (09:59 +0300)]
Null merge
Serhiy Storchaka [Mon, 16 May 2016 06:55:32 +0000 (09:55 +0300)]
Backported tests for issue #18531.
Serhiy Storchaka [Mon, 16 May 2016 06:42:29 +0000 (09:42 +0300)]
Issue #26765: Ensure that bytes- and unicode-specific stringlib files are used
with correct type.
Serhiy Storchaka [Mon, 16 May 2016 06:36:31 +0000 (09:36 +0300)]
Issue #27033: The default value of the decode_data parameter for
smtpd.SMTPChannel and smtpd.SMTPServer constructors is changed to False.
Serhiy Storchaka [Mon, 16 May 2016 06:31:54 +0000 (09:31 +0300)]
Expand abbreviations FIFO and LIFO.
Serhiy Storchaka [Mon, 16 May 2016 06:10:43 +0000 (09:10 +0300)]
Issue #27034: Removed deprecated class asynchat.fifo.
Terry Jan Reedy [Mon, 16 May 2016 03:53:10 +0000 (23:53 -0400)]
Merge with 3.5
Terry Jan Reedy [Mon, 16 May 2016 03:52:56 +0000 (23:52 -0400)]
Issue 18910: Edit idle_test/README.txt to add 'requires' usage at module scope.
Uppercase 'GUI', remove 2.7 references and reflow text.
Robert Collins [Mon, 16 May 2016 03:22:45 +0000 (15:22 +1200)]
Issue #26807: mock_open 'files' no longer error on readline at end of file.
Patch from Yolanda Robla.
Robert Collins [Mon, 16 May 2016 03:22:01 +0000 (15:22 +1200)]
Issue #26807: mock_open 'files' no longer error on readline at end of file.
Patch from Yolanda Robla.
Terry Jan Reedy [Mon, 16 May 2016 02:07:12 +0000 (22:07 -0400)]
Merge with 3.5
Terry Jan Reedy [Mon, 16 May 2016 02:06:49 +0000 (22:06 -0400)]
Issue #23977: Tweak IDLE Delegator and its test.
Martin Panter [Mon, 16 May 2016 01:14:20 +0000 (01:14 +0000)]
Issue #17214: Percent-encode non-ASCII bytes in redirect targets
Some servers send Location header fields with non-ASCII bytes, but "http.
client" requires the request target to be ASCII-encodable, otherwise a
UnicodeEncodeError is raised. Based on patch by Christian Heimes.
Python 2 does not suffer any problem because it allows non-ASCII bytes in the
HTTP request target.
Martin Panter [Mon, 16 May 2016 01:07:13 +0000 (01:07 +0000)]
Issue #14132: Fix redirect handling when target is just a query string
Terry Jan Reedy [Sun, 15 May 2016 18:20:13 +0000 (14:20 -0400)]
Merge with 3.5
Terry Jan Reedy [Sun, 15 May 2016 18:19:59 +0000 (14:19 -0400)]
Issue #25747: remove undependable and possibly useless test.
Terry Jan Reedy [Sun, 15 May 2016 17:25:39 +0000 (13:25 -0400)]
Merge with 3.5
Terry Jan Reedy [Sun, 15 May 2016 17:25:23 +0000 (13:25 -0400)]
Issue #20640: Add https: to url prefixes so test passes on Darwin.
Martin Panter [Sun, 15 May 2016 15:04:58 +0000 (15:04 +0000)]
Issue #26870: Poll() also fails on OS X; try select()
Also work around separate Open BSD bug with kill() of a zombie.
Martin Panter [Sun, 15 May 2016 13:21:25 +0000 (13:21 +0000)]
Issue #26870: Avoid using kqueue() with pseudo-terminals
Also force terminate the child process in case it hangs for any reason.
Serhiy Storchaka [Sun, 15 May 2016 09:27:16 +0000 (12:27 +0300)]
Issue #26039: Document ZipInfo.is_dir() and make force_zip64 keyword-only.
Patch by Thomas Kluyver.
Terry Jan Reedy [Sun, 15 May 2016 05:31:01 +0000 (01:31 -0400)]
Merge with 3.5
Terry Jan Reedy [Sun, 15 May 2016 05:30:47 +0000 (01:30 -0400)]
Issue #20640: Add tests for idlelib.configHelpSourceEdit.
Patch by Saimadhav Heblikar.
Senthil Kumaran [Sun, 15 May 2016 04:29:03 +0000 (21:29 -0700)]
merge from 3.5
issue27018 - Fix the documentation of select.epoll.register method.
Senthil Kumaran [Sun, 15 May 2016 04:28:22 +0000 (21:28 -0700)]
issue27018 - Fix the documentation of select.epoll.register method.
Martin Panter [Sun, 15 May 2016 03:59:59 +0000 (03:59 +0000)]
Issue #26870: Temporary debugging for OS X Snow Leopard lockup
Martin Panter [Sun, 15 May 2016 03:05:36 +0000 (03:05 +0000)]
Issue #26870: Close pty master in case of exception
Martin Panter [Sun, 15 May 2016 01:26:25 +0000 (01:26 +0000)]
Issue #26870: Add readline.set_auto_history(), originally by Tyler Crompton
Martin Panter [Sun, 15 May 2016 00:41:40 +0000 (00:41 +0000)]
Issue #25533: Merge frozen module docs from 3.5
Martin Panter [Sun, 15 May 2016 00:13:04 +0000 (00:13 +0000)]
Issue #25533: Update documentation regarding the frozen modules table
* "ctypes" documentation was using Python 2 bytes-str equivalence.
* PyImport_FrozenModules is a pointer to const as of Python 3.4
Martin Panter [Sat, 14 May 2016 06:17:43 +0000 (06:17 +0000)]
Remove old Python 2 compatibility from ctypes test
Martin Panter [Sat, 14 May 2016 06:17:30 +0000 (06:17 +0000)]
Merge ctypes from 3.5
Martin Panter [Sat, 14 May 2016 05:55:38 +0000 (05:55 +0000)]
Remove outdated PEP 291 compatibility requirement comment
Yury Selivanov [Fri, 13 May 2016 20:11:00 +0000 (16:11 -0400)]
Merge 3.5 (asyncio)
Yury Selivanov [Fri, 13 May 2016 20:10:43 +0000 (16:10 -0400)]
asyncio/tests: Ensure a gc_collect for __del__ testing
Patch by Philip Jenvey
Yury Selivanov [Fri, 13 May 2016 20:05:05 +0000 (16:05 -0400)]
Merge 3.5 (asyncio)
Yury Selivanov [Fri, 13 May 2016 20:04:43 +0000 (16:04 -0400)]
asyncio: Fix unix pipe transport 'repr' methods
Patch by Vincent Michel.
See also https://github.com/python/asyncio/pull/326
Yury Selivanov [Fri, 13 May 2016 19:59:48 +0000 (15:59 -0400)]
Merge 3.5 (asyncio)
Yury Selivanov [Fri, 13 May 2016 19:58:00 +0000 (15:58 -0400)]
asyncio: Break reference cycle in StreamReaderProtocol.connection_lost
Yury Selivanov [Fri, 13 May 2016 19:43:05 +0000 (15:43 -0400)]
Merge 3.5 (asyncio)
Yury Selivanov [Fri, 13 May 2016 19:42:39 +0000 (15:42 -0400)]
asyncio: ease the cert failed regex
Patch by Philip Jenvey
Yury Selivanov [Fri, 13 May 2016 19:39:09 +0000 (15:39 -0400)]
Merge 3.5 (issue #26848)
Yury Selivanov [Fri, 13 May 2016 19:35:28 +0000 (15:35 -0400)]
Issue #26848: Fix asyncio/subprocess.communicate() to handle empty input.
Serhiy Storchaka [Fri, 13 May 2016 18:19:22 +0000 (21:19 +0300)]
Restored test_interleaved. After issue #8886 it was a duplicate of
test_different_file.
Serhiy Storchaka [Fri, 13 May 2016 18:18:58 +0000 (21:18 +0300)]
Restored test_interleaved. After issue #8886 it was a duplicate of
test_different_file.
Serhiy Storchaka [Fri, 13 May 2016 10:52:49 +0000 (13:52 +0300)]
Issue #26039: zipfile.ZipFile.open() can now be used to write data into a ZIP
file, as well as for extracting data. Patch by Thomas Kluyver.
Senthil Kumaran [Fri, 13 May 2016 08:35:29 +0000 (01:35 -0700)]
merge from 3.5
Issue #26892: Honor debuglevel flag in urllib.request.HTTPHandler.
Patch contributed by Chi Hsuan Yen.
Senthil Kumaran [Fri, 13 May 2016 08:32:42 +0000 (01:32 -0700)]
Issue #26892: Honor debuglevel flag in urllib.request.HTTPHandler.
Patch contributed by Chi Hsuan Yen.
Martin Panter [Fri, 13 May 2016 07:45:21 +0000 (07:45 +0000)]
Issue #22274: Merge stderr=STDOUT fix from 3.5
Benjamin Peterson [Fri, 13 May 2016 06:14:28 +0000 (23:14 -0700)]
merge 3.5
Benjamin Peterson [Fri, 13 May 2016 06:12:21 +0000 (23:12 -0700)]
fix indentation of comments in cellobject.c (closes #27011)
Martin Panter [Fri, 13 May 2016 01:54:44 +0000 (01:54 +0000)]
Issue #22274: Redirect stderr=STDOUT when stdout not redirected, by Akira Li
Serhiy Storchaka [Thu, 12 May 2016 09:33:21 +0000 (12:33 +0300)]
Make bytes and bytearray subclass tests compatible with base types tests.
Serhiy Storchaka [Thu, 12 May 2016 07:37:58 +0000 (10:37 +0300)]
Issue #23640: int.from_bytes() no longer bypasses constructors for subclasses.
Serhiy Storchaka [Wed, 11 May 2016 19:25:05 +0000 (22:25 +0300)]
Removed duplicated NEWS entity for issue #26881.
Serhiy Storchaka [Wed, 11 May 2016 19:19:49 +0000 (22:19 +0300)]
Issue #26881: Restored the name of scan_opcodes_25().
It is better to not change this in bugfix release.
Steven D'Aprano [Wed, 11 May 2016 02:41:19 +0000 (12:41 +1000)]
NEWS message for issue #26977.
Steven D'Aprano [Wed, 11 May 2016 01:50:13 +0000 (11:50 +1000)]
Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).
Eric Snow [Tue, 10 May 2016 22:21:03 +0000 (16:21 -0600)]
Issue #21099: Switch applicable importlib tests to use PEP 451 API.
Serhiy Storchaka [Thu, 12 May 2016 09:33:41 +0000 (12:33 +0300)]
Make bytes and bytearray subclass tests compatible with base types tests.
Serhiy Storchaka [Thu, 12 May 2016 07:39:32 +0000 (10:39 +0300)]
Issue #23640: int.from_bytes() no longer bypasses constructors for subclasses.
Serhiy Storchaka [Thu, 12 May 2016 07:32:30 +0000 (10:32 +0300)]
Issue #27005: Fixed the call of PyObject_CallFunctionObjArgs().
Serhiy Storchaka [Thu, 12 May 2016 07:21:14 +0000 (10:21 +0300)]
Issue #27005: Optimized the float.fromhex() class method for exact float.
Serhiy Storchaka [Wed, 11 May 2016 19:25:31 +0000 (22:25 +0300)]
Merge 3.5.
Serhiy Storchaka [Wed, 11 May 2016 19:20:57 +0000 (22:20 +0300)]
Null merge
Steven D'Aprano [Wed, 11 May 2016 03:01:42 +0000 (13:01 +1000)]
Update NEWS.
Steven D'Aprano [Wed, 11 May 2016 02:46:40 +0000 (12:46 +1000)]
Merge NEWS update from 3.5 for issue #26977.
Steven D'Aprano [Wed, 11 May 2016 01:53:01 +0000 (11:53 +1000)]
Branch merge for issue 26977
Eric Snow [Tue, 10 May 2016 21:29:05 +0000 (15:29 -0600)]
Fixes #19711: Add tests for reloading namespace packages.
Serhiy Storchaka [Tue, 10 May 2016 09:01:56 +0000 (12:01 +0300)]
Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.
Serhiy Storchaka [Tue, 10 May 2016 09:01:23 +0000 (12:01 +0300)]
Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.
Benjamin Peterson [Tue, 10 May 2016 06:44:30 +0000 (23:44 -0700)]
merge 3.5 (#26986)
Benjamin Peterson [Tue, 10 May 2016 06:43:53 +0000 (23:43 -0700)]
improve PyFunction_New docs (closes #26986)
Patch from Xiang Zhang.
Zachary Ware [Mon, 9 May 2016 19:50:36 +0000 (14:50 -0500)]
Closes #26987: Merge with 3.5
Zachary Ware [Mon, 9 May 2016 19:49:31 +0000 (14:49 -0500)]
Issue #26987: Correct implementation to match comment
This was inadvertently changed in
644b677c2ae5 to use self._stderr
instead of _sys.stderr.
Serhiy Storchaka [Sun, 8 May 2016 21:14:22 +0000 (00:14 +0300)]
Issue #25745: Fixed leaking a userptr in curses panel destructor.
Serhiy Storchaka [Sun, 8 May 2016 21:11:59 +0000 (00:11 +0300)]
Issue #25745: Fixed leaking a userptr in curses panel destructor.
Serhiy Storchaka [Sun, 8 May 2016 20:44:54 +0000 (23:44 +0300)]
Issue #26881: The modulefinder module now supports extended opcode arguments.
Serhiy Storchaka [Sun, 8 May 2016 20:43:50 +0000 (23:43 +0300)]
Issue #26881: The modulefinder module now supports extended opcode arguments.
Serhiy Storchaka [Sun, 8 May 2016 20:36:44 +0000 (23:36 +0300)]
Issue #18531: Single var-keyword argument of dict subtype was passed
unscathed to the C-defined function. Now it is converted to exact dict.
Serhiy Storchaka [Sun, 8 May 2016 19:00:09 +0000 (22:00 +0300)]
Issue #26156: Make expressions grammar description more semantically correct.
Serhiy Storchaka [Sun, 8 May 2016 18:59:46 +0000 (21:59 +0300)]
Issue #26156: Make expressions grammar description more semantically correct.
Serhiy Storchaka [Sun, 8 May 2016 17:46:55 +0000 (20:46 +0300)]
Issue #23815: Fixed crashes related to directly created instances of types in
_tkinter and curses.panel modules.