]> granicus.if.org Git - python/log
python
8 years agoMerge 3.5 (asyncio)
Yury Selivanov [Sat, 21 May 2016 20:50:31 +0000 (16:50 -0400)]
Merge 3.5 (asyncio)

8 years agoasyncio: Fix BytesWarning (use typed=True in lru_cache for _ipaddr_info)
Yury Selivanov [Sat, 21 May 2016 20:50:16 +0000 (16:50 -0400)]
asyncio: Fix BytesWarning (use typed=True in lru_cache for _ipaddr_info)

8 years agoIssue #27067: Improved curses tests.
Serhiy Storchaka [Sat, 21 May 2016 18:36:29 +0000 (21:36 +0300)]
Issue #27067: Improved curses tests.

8 years agoIssue #27067: Improved curses tests.
Serhiy Storchaka [Sat, 21 May 2016 18:36:11 +0000 (21:36 +0300)]
Issue #27067: Improved curses tests.

8 years agoIssue #27075: Link to StreamReader and StreamWriter docs
Berker Peksag [Sat, 21 May 2016 11:56:53 +0000 (14:56 +0300)]
Issue #27075: Link to StreamReader and StreamWriter docs

Patch by Ville Skyttä.

8 years agoIssue #27075: Link to StreamReader and StreamWriter docs
Berker Peksag [Sat, 21 May 2016 11:56:35 +0000 (14:56 +0300)]
Issue #27075: Link to StreamReader and StreamWriter docs

Patch by Ville Skyttä.

8 years agoMerge 3.5 (asyncio)
Yury Selivanov [Fri, 20 May 2016 21:44:44 +0000 (17:44 -0400)]
Merge 3.5 (asyncio)

8 years agoasyncio: Fix getaddrinfo to accept None/str/bytes for 'port' arg
Yury Selivanov [Fri, 20 May 2016 21:44:19 +0000 (17:44 -0400)]
asyncio: Fix getaddrinfo to accept None/str/bytes for 'port' arg

Patch by A. Jesse Jiryu Davis.

8 years agoIssue #27063: Some unittest loader tests were silently skipped.
Serhiy Storchaka [Fri, 20 May 2016 20:29:07 +0000 (23:29 +0300)]
Issue #27063: Some unittest loader tests were silently skipped.

8 years agoIssue #27063: Some unittest loader tests were silently skipped.
Serhiy Storchaka [Fri, 20 May 2016 20:28:37 +0000 (23:28 +0300)]
Issue #27063: Some unittest loader tests were silently skipped.

8 years agoIssue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N"
Serhiy Storchaka [Fri, 20 May 2016 19:31:50 +0000 (22:31 +0300)]
Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N"
format unit.

8 years agoIssue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N"
Serhiy Storchaka [Fri, 20 May 2016 19:31:14 +0000 (22:31 +0300)]
Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N"
format unit.

8 years agoIssue #27056: Fix _Unpickler_Read() to avoid integer overflow
Victor Stinner [Fri, 20 May 2016 19:16:59 +0000 (21:16 +0200)]
Issue #27056: Fix _Unpickler_Read() to avoid integer overflow

8 years agoMerge 3.5 (asyncio)
Yury Selivanov [Fri, 20 May 2016 15:31:55 +0000 (11:31 -0400)]
Merge 3.5 (asyncio)

8 years agoasyncio: Fix an SSL warning in StreamReaderProtocol.eof_received
Yury Selivanov [Fri, 20 May 2016 15:31:40 +0000 (11:31 -0400)]
asyncio: Fix an SSL warning in StreamReaderProtocol.eof_received

8 years agoregrtest: display test result (passed, failed, ...)
Victor Stinner [Fri, 20 May 2016 11:37:40 +0000 (13:37 +0200)]
regrtest: display test result (passed, failed, ...)

* in multiprocessing mode: always display the result
* sequential mode: only display the result if the test did not pass

8 years agoregrtest doesn't ignore -j1 anymore
Victor Stinner [Fri, 20 May 2016 11:15:55 +0000 (13:15 +0200)]
regrtest doesn't ignore -j1 anymore

* regrtest now uses subprocesses when the -j1 command line option
  is used: each test file runs in a fresh child process. Before, the -j1 option
  was ignored.
* Tools/buildbot/test.bat script now uses -j1 by default to run
  each test file in fresh child process.

8 years agoMerge 3.5 (issue #26741)
Victor Stinner [Fri, 20 May 2016 11:06:55 +0000 (13:06 +0200)]
Merge 3.5 (issue #26741)

8 years agoasyncio: fix ResourceWarning related to subprocesses
Victor Stinner [Fri, 20 May 2016 11:05:48 +0000 (13:05 +0200)]
asyncio: fix ResourceWarning related to subprocesses

Issue #26741: asyncio: BaseSubprocessTransport._process_exited() now copies the
return code from the child watched to the returncode attribute of the Popen
object. On Python 3.6, it is required to avoid a ResourceWarning.

8 years agosubprocess now emits a ResourceWarning warning
Victor Stinner [Fri, 20 May 2016 10:11:15 +0000 (12:11 +0200)]
subprocess now emits a ResourceWarning warning

Issue #26741: subprocess.Popen destructor now emits a ResourceWarning warning
if the child process is still running.

8 years agoIssue #26741: POSIX implementation of subprocess.Popen._execute_child() now
Victor Stinner [Fri, 20 May 2016 10:08:12 +0000 (12:08 +0200)]
Issue #26741: POSIX implementation of subprocess.Popen._execute_child() now
sets the returncode attribute using the child process exit status when exec
failed.

8 years agoUse "with popen:" in test_subprocess
Victor Stinner [Fri, 20 May 2016 10:43:15 +0000 (12:43 +0200)]
Use "with popen:" in test_subprocess

Issue #26741.

8 years agoOptimize pickle.load() and pickle.loads()
Victor Stinner [Fri, 20 May 2016 09:42:37 +0000 (11:42 +0200)]
Optimize pickle.load() and pickle.loads()

Issue #27056: Optimize pickle.load() and pickle.loads(), up to 10% faster to
deserialize a lot of small objects.

8 years agoCleanup import.c
Victor Stinner [Fri, 20 May 2016 09:36:13 +0000 (11:36 +0200)]
Cleanup import.c

* Replace PyUnicode_RPartition() with PyUnicode_FindChar() and
  PyUnicode_Substring() to avoid the creation of a temporary tuple.
* Use PyUnicode_FromFormat() to build a string and avoid the single_dot ('.')
  singleton

Thanks Serhiy Storchaka for your review.

8 years agoBack out pathlib.Path.path attr. (Merge 3.5->3.6)
Guido van Rossum [Thu, 19 May 2016 20:11:17 +0000 (13:11 -0700)]
Back out pathlib.Path.path attr. (Merge 3.5->3.6)

8 years agoBack out pathlib.Path.path attr. (Merge 3.4->3.5)
Guido van Rossum [Thu, 19 May 2016 20:10:20 +0000 (13:10 -0700)]
Back out pathlib.Path.path attr. (Merge 3.4->3.5)

8 years agoBack out 7e9605697dfc, 2e3c31ab586a, 759b2cecc289.
Guido van Rossum [Thu, 19 May 2016 20:00:21 +0000 (13:00 -0700)]
Back out 7e9605697dfc2e3c31ab586a759b2cecc289.

These added a path attribute to pathlib.Path objects, and docs.
Instead, we're going to use PEP 519.

(Starting in the 3.4 branch and merging forward from there since that's what I did originally.)

8 years agoIssue #27053: Updates make_zip.py to correctly generate library ZIP file.
Steve Dower [Thu, 19 May 2016 17:47:55 +0000 (10:47 -0700)]
Issue #27053: Updates make_zip.py to correctly generate library ZIP file.

8 years agoIssue #27053: Updates make_zip.py to correctly generate library ZIP file.
Steve Dower [Thu, 19 May 2016 17:47:47 +0000 (10:47 -0700)]
Issue #27053: Updates make_zip.py to correctly generate library ZIP file.

8 years agoMerge 3.5 (issue #27057)
Victor Stinner [Thu, 19 May 2016 14:48:06 +0000 (16:48 +0200)]
Merge 3.5 (issue #27057)

8 years agoFix os.set_inheritable() on Android
Victor Stinner [Thu, 19 May 2016 14:46:18 +0000 (16:46 +0200)]
Fix os.set_inheritable() on Android

Issue #27057: Fix os.set_inheritable() on Android, ioctl() is blocked by
SELinux and fails with EACCESS. The function now falls back to fcntl().

Patch written by Michał Bednarski.

8 years agoMerge launcher change from 3.5
Steve Dower [Wed, 18 May 2016 22:54:24 +0000 (15:54 -0700)]
Merge launcher change from 3.5

8 years agoRemoves versioning from py.exe launcher installer and ensures that old launchers...
Steve Dower [Wed, 18 May 2016 22:54:05 +0000 (15:54 -0700)]
Removes versioning from py.exe launcher installer and ensures that old launchers are replaced by newer ones.

8 years agoFix #27014 -- infinite recursion using typing.py. (Merge 3.5 -> 3.6.)
Guido van Rossum [Wed, 18 May 2016 15:36:16 +0000 (08:36 -0700)]
Fix #27014 -- infinite recursion using typing.py. (Merge 3.5 -> 3.6.)

8 years agoFix #27014 -- infinite recursion using typing.py.
Guido van Rossum [Wed, 18 May 2016 15:35:00 +0000 (08:35 -0700)]
Fix #27014 -- infinite recursion using typing.py.

8 years agoIssue #27036: Fixed formatting references to "bytes-like object" in plural.
Serhiy Storchaka [Wed, 18 May 2016 10:55:11 +0000 (13:55 +0300)]
Issue #27036: Fixed formatting references to "bytes-like object" in plural.

8 years agoIssue #27036: Fixed formatting references to "bytes-like object" in plural.
Serhiy Storchaka [Wed, 18 May 2016 10:54:54 +0000 (13:54 +0300)]
Issue #27036: Fixed formatting references to "bytes-like object" in plural.

8 years agoFixed test_sizeof for deque.
Serhiy Storchaka [Wed, 18 May 2016 10:01:19 +0000 (13:01 +0300)]
Fixed test_sizeof for deque.

8 years agoFixed test_sizeof for deque.
Serhiy Storchaka [Wed, 18 May 2016 10:00:56 +0000 (13:00 +0300)]
Fixed test_sizeof for deque.

8 years agoIssue #23275: Don’t think this made it into alpha 1
Martin Panter [Wed, 18 May 2016 07:19:32 +0000 (07:19 +0000)]
Issue #23275: Don’t think this made it into alpha 1

8 years agoIssue #23275: Allow () = iterable assignment syntax
Berker Peksag [Wed, 18 May 2016 05:44:29 +0000 (08:44 +0300)]
Issue #23275: Allow () = iterable assignment syntax

Documentation updates by Martin Panter.

8 years agomerge from 3.5
Senthil Kumaran [Wed, 18 May 2016 03:51:15 +0000 (20:51 -0700)]
merge from 3.5

issue27045 - Use backslash in windows path to script file.

8 years agoissue27045 - Use backslash in windows path to script file.
Senthil Kumaran [Wed, 18 May 2016 03:50:43 +0000 (20:50 -0700)]
issue27045 - Use backslash in windows path to script file.

8 years agoMerge with 3.5
Terry Jan Reedy [Wed, 18 May 2016 02:48:34 +0000 (22:48 -0400)]
Merge with 3.5

8 years agoIssue #21939: Test IDLE percolator. Original patch by Saimadhav Heblikar.
Terry Jan Reedy [Wed, 18 May 2016 02:48:22 +0000 (22:48 -0400)]
Issue #21939: Test IDLE percolator.  Original patch by Saimadhav Heblikar.

8 years agoIssue #27049: fix doc typo
Ned Deily [Wed, 18 May 2016 01:45:13 +0000 (21:45 -0400)]
Issue #27049: fix doc typo

8 years agoIssue #27049: fix doc typo
Ned Deily [Wed, 18 May 2016 01:44:46 +0000 (21:44 -0400)]
Issue #27049: fix doc typo

8 years agoMerge with 3.5
Terry Jan Reedy [Tue, 17 May 2016 23:58:17 +0000 (19:58 -0400)]
Merge with 3.5

8 years agoIssue #21676: test IDLE replace dialog. Original patch by Saimadhav Heblikar.
Terry Jan Reedy [Tue, 17 May 2016 23:58:02 +0000 (19:58 -0400)]
Issue #21676: test IDLE replace dialog.  Original patch by Saimadhav Heblikar.

8 years ago - make some internal symbols static
doko@ubuntu.com [Tue, 17 May 2016 23:06:01 +0000 (01:06 +0200)]
 - make some internal symbols static

8 years agoMerge with 3.5
Terry Jan Reedy [Tue, 17 May 2016 22:35:33 +0000 (18:35 -0400)]
Merge with 3.5

8 years agoIssue #18410: add missing parent argument.
Terry Jan Reedy [Tue, 17 May 2016 22:35:07 +0000 (18:35 -0400)]
Issue #18410: add missing parent argument.

8 years agoMerge with 3.5
Terry Jan Reedy [Tue, 17 May 2016 22:18:55 +0000 (18:18 -0400)]
Merge with 3.5

8 years agoIssue #18410: Test IDLE's search dialog; original patch by Westley Martínez.
Terry Jan Reedy [Tue, 17 May 2016 22:18:37 +0000 (18:18 -0400)]
Issue #18410: Test IDLE's search dialog; original patch by Westley Martínez.

8 years agoMerge 3.6.0a1 updates
Ned Deily [Tue, 17 May 2016 21:09:48 +0000 (17:09 -0400)]
Merge 3.6.0a1 updates

8 years agoPost-release cleanup: 3.6.0a1 -> 3.6.0a2
Ned Deily [Tue, 17 May 2016 20:55:41 +0000 (16:55 -0400)]
Post-release cleanup: 3.6.0a1 -> 3.6.0a2

8 years agoMerge with 3.5
Steve Dower [Tue, 17 May 2016 15:58:04 +0000 (08:58 -0700)]
Merge with 3.5

8 years agoFixes unnecessary rebuild when building Windows releases with PGO
Steve Dower [Tue, 17 May 2016 15:57:53 +0000 (08:57 -0700)]
Fixes unnecessary rebuild when building Windows releases with PGO

8 years agomerge 3.5 (#27042)
Benjamin Peterson [Tue, 17 May 2016 06:20:32 +0000 (23:20 -0700)]
merge 3.5 (#27042)

8 years agoclass definitions only get argument lists (closes #27042)
Benjamin Peterson [Tue, 17 May 2016 06:20:22 +0000 (23:20 -0700)]
class definitions only get argument lists (closes #27042)

8 years agoBacked out changeset 71ff2235bb4c (closes #27042)
Benjamin Peterson [Tue, 17 May 2016 06:18:33 +0000 (23:18 -0700)]
Backed out changeset 71ff2235bb4c (closes #27042)

8 years agonull merge 3.5
Benjamin Peterson [Tue, 17 May 2016 05:54:21 +0000 (22:54 -0700)]
null merge 3.5

8 years agoregen importlib bytecode
Benjamin Peterson [Tue, 17 May 2016 05:54:05 +0000 (22:54 -0700)]
regen importlib bytecode

8 years agomerge 3.5 (#26991)
Benjamin Peterson [Tue, 17 May 2016 05:53:44 +0000 (22:53 -0700)]
merge 3.5 (#26991)

8 years agofix possible refleak in MAKE_FUNCTION (closes #26991)
Benjamin Peterson [Tue, 17 May 2016 05:52:40 +0000 (22:52 -0700)]
fix possible refleak in MAKE_FUNCTION (closes #26991)

Patch by Xiang Zhang.

8 years agoMerge with 3.5
Terry Jan Reedy [Tue, 17 May 2016 03:32:41 +0000 (23:32 -0400)]
Merge with 3.5

8 years agoIssue #21703: Add test for undo delegator. Patch most by Saimadhav Heblikar .
Terry Jan Reedy [Tue, 17 May 2016 03:32:28 +0000 (23:32 -0400)]
Issue #21703: Add test for undo delegator.  Patch most by Saimadhav Heblikar .

8 years agoMerge with 3.5
Terry Jan Reedy [Tue, 17 May 2016 02:28:00 +0000 (22:28 -0400)]
Merge with 3.5

8 years agoIssue #27044: stop test_idle from leaking by deleting callbacks.
Terry Jan Reedy [Tue, 17 May 2016 02:27:28 +0000 (22:27 -0400)]
Issue #27044: stop test_idle from leaking by deleting callbacks.

8 years agoMerge 3.5 (asyncio)
Yury Selivanov [Mon, 16 May 2016 20:32:56 +0000 (16:32 -0400)]
Merge 3.5 (asyncio)

8 years agoasyncio/streams: Fix code style; delete LimitOverrunError.message attr
Yury Selivanov [Mon, 16 May 2016 20:32:38 +0000 (16:32 -0400)]
asyncio/streams: Fix code style; delete LimitOverrunError.message attr

8 years agodocs: Update whatsnew/3.6 with asyncio changes
Yury Selivanov [Mon, 16 May 2016 20:25:16 +0000 (16:25 -0400)]
docs: Update whatsnew/3.6 with asyncio changes

8 years agoMerge 3.5
Yury Selivanov [Mon, 16 May 2016 20:23:20 +0000 (16:23 -0400)]
Merge 3.5

8 years agodocs: Update asyncio docs & whatsnew
Yury Selivanov [Mon, 16 May 2016 20:23:00 +0000 (16:23 -0400)]
docs: Update asyncio docs & whatsnew

8 years agoAdded tag v3.6.0a1 for changeset 5896da372fb0
Ned Deily [Mon, 16 May 2016 20:05:48 +0000 (16:05 -0400)]
Added tag v3.6.0a1 for changeset 5896da372fb0

8 years agoVersion bump for 3.6.0a1 v3.6.0a1
Ned Deily [Mon, 16 May 2016 20:03:51 +0000 (16:03 -0400)]
Version bump for 3.6.0a1

8 years agoUpdate Mac installer ReadMe file for 3.6.0a1
Ned Deily [Mon, 16 May 2016 20:03:12 +0000 (16:03 -0400)]
Update Mac installer ReadMe file for 3.6.0a1

8 years agoMerge heads
Yury Selivanov [Mon, 16 May 2016 19:40:38 +0000 (15:40 -0400)]
Merge heads

8 years agoMerge 3.5 (Issue #27041)
Yury Selivanov [Mon, 16 May 2016 19:39:39 +0000 (15:39 -0400)]
Merge 3.5 (Issue #27041)

8 years agoIssue #27041: asyncio: Add loop.create_future method
Yury Selivanov [Mon, 16 May 2016 19:38:39 +0000 (15:38 -0400)]
Issue #27041: asyncio: Add loop.create_future method

8 years agoIssue #27031: Removed dummy methods in Tkinter widget classes: tk_menuBar()
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().

8 years agoMerge 3.5 (issue #27040)
Yury Selivanov [Mon, 16 May 2016 19:32:26 +0000 (15:32 -0400)]
Merge 3.5 (issue #27040)

8 years agoIssue #27039: Fixed bytearray.remove() for values greater than 127.
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.

8 years agoIssue #27040: Add loop.get_exception_handler method
Yury Selivanov [Mon, 16 May 2016 19:20:38 +0000 (15:20 -0400)]
Issue #27040: Add loop.get_exception_handler method

8 years agoIssue #27039: Fixed bytearray.remove() for values greater than 127.
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.

8 years agoMerge with 3.5
Steve Dower [Mon, 16 May 2016 18:05:00 +0000 (11:05 -0700)]
Merge with 3.5

8 years agoFixes magic numbers for 3.6.
Steve Dower [Mon, 16 May 2016 18:04:44 +0000 (11:04 -0700)]
Fixes magic numbers for 3.6.

8 years agoUpdate pydoc topics for 3.6.0a1
Ned Deily [Mon, 16 May 2016 17:44:52 +0000 (13:44 -0400)]
Update pydoc topics for 3.6.0a1

8 years agoIssue #26073: Updates magic number comment in _bootstrap_external.py and changes...
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.

8 years agoIssue #26073: Updates magic number comment in _bootstrap_external.py and changes...
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.

8 years agoIssue #14132, Issue #17214: Merge two redirect handling fixes from 3.5
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

8 years agoIssue #26995: Added tests for "f", "d", "D", "S", "Y", and "U" format codes
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().

8 years agoIssue #26995: Added tests for "f", "d", "D", "S", "Y", and "U" format codes
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().

8 years agoNull merge
Serhiy Storchaka [Mon, 16 May 2016 06:59:21 +0000 (09:59 +0300)]
Null merge

8 years agoBackported tests for issue #18531.
Serhiy Storchaka [Mon, 16 May 2016 06:55:32 +0000 (09:55 +0300)]
Backported tests for issue #18531.

8 years agoIssue #26765: Ensure that bytes- and unicode-specific stringlib files are used
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.

8 years agoIssue #27033: The default value of the decode_data parameter for
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.

8 years agoExpand abbreviations FIFO and LIFO.
Serhiy Storchaka [Mon, 16 May 2016 06:31:54 +0000 (09:31 +0300)]
Expand abbreviations FIFO and LIFO.

8 years agoIssue #27034: Removed deprecated class asynchat.fifo.
Serhiy Storchaka [Mon, 16 May 2016 06:10:43 +0000 (09:10 +0300)]
Issue #27034: Removed deprecated class asynchat.fifo.

8 years agoMerge with 3.5
Terry Jan Reedy [Mon, 16 May 2016 03:53:10 +0000 (23:53 -0400)]
Merge with 3.5