]>
granicus.if.org Git - python/log
Raymond Hettinger [Sat, 28 May 2016 07:17:54 +0000 (00:17 -0700)]
Issue 25926: Clarify that the pure python equivalents are only approximate.
Martin Panter [Sat, 28 May 2016 02:25:07 +0000 (02:25 +0000)]
Issue #26553: Merge capitalization from 3.5
Martin Panter [Sat, 28 May 2016 02:20:39 +0000 (02:20 +0000)]
Issue #26553: Capitalization of HTTP, HTTPS, FTP, and URL
Patch by Anish Shah and Aatish Neupane.
Martin Panter [Sat, 28 May 2016 01:07:08 +0000 (01:07 +0000)]
Issue #20699: Merge io bytes-like fixes from 3.5
Martin Panter [Sat, 28 May 2016 00:41:57 +0000 (00:41 +0000)]
Issue #20699: Document that “io” methods accept bytes-like objects
This matches the usage of ZipFile and BufferedWriter. This still requires
return values to be bytes() objects.
Also document and test that the write() methods should only access their
argument before they return.
Eric Snow [Fri, 27 May 2016 18:56:41 +0000 (12:56 -0600)]
Issue #27138: Fix the doc comment for FileFinder.find_spec().
Eric Snow [Fri, 27 May 2016 18:36:28 +0000 (12:36 -0600)]
Issue #27138: Fix the doc comment for FileFinder.find_spec().
Martin Panter [Fri, 27 May 2016 11:30:59 +0000 (11:30 +0000)]
Issue #5784: Merge zlib from 3.5
Martin Panter [Fri, 27 May 2016 11:20:21 +0000 (11:20 +0000)]
Issue #5784: wbits=0 apparently added in zlib v1.2.3.5
Martin Panter [Fri, 27 May 2016 08:00:24 +0000 (08:00 +0000)]
Issue #5784: Merge zlib from 3.5
Martin Panter [Fri, 27 May 2016 07:32:11 +0000 (07:32 +0000)]
Issue #5784: Expand documentation and tests for zlib wbits parameter
Based on documentation by AM Kuchling.
Benjamin Peterson [Fri, 27 May 2016 06:19:02 +0000 (23:19 -0700)]
merge 3.5
Benjamin Peterson [Fri, 27 May 2016 06:18:51 +0000 (23:18 -0700)]
stop talking about svn
Benjamin Peterson [Fri, 27 May 2016 05:56:51 +0000 (22:56 -0700)]
merge 3.5
Benjamin Peterson [Fri, 27 May 2016 05:55:49 +0000 (22:55 -0700)]
remove cruft from Schwarzian transform section
Benjamin Peterson [Fri, 27 May 2016 05:51:44 +0000 (22:51 -0700)]
merge 3.5
Benjamin Peterson [Fri, 27 May 2016 05:51:32 +0000 (22:51 -0700)]
"Numeric Python" -> "NumPy"
Steve Dower [Thu, 26 May 2016 19:19:42 +0000 (12:19 -0700)]
Issue #27114: Fix SSLContext._load_windows_store_certs fails with PermissionError
Steve Dower [Thu, 26 May 2016 19:18:12 +0000 (12:18 -0700)]
Issue #27114: Fix SSLContext._load_windows_store_certs fails with PermissionError
Guido van Rossum [Thu, 26 May 2016 16:56:46 +0000 (09:56 -0700)]
Comment/docstring tweaks for typing.py. (Merge 3.5->3.6)
Guido van Rossum [Thu, 26 May 2016 16:56:19 +0000 (09:56 -0700)]
Comment/docstring tweaks for typing.py.
Victor Stinner [Thu, 26 May 2016 13:22:14 +0000 (15:22 +0200)]
Merge 3.5 (test_warnings)
Victor Stinner [Thu, 26 May 2016 13:21:25 +0000 (15:21 +0200)]
test_warnings: catch stderr and check warning
Check the user warning in test_error_after_default() to not pollute the output,
and check the warning logged into stderr.
Martin Panter [Thu, 26 May 2016 09:39:41 +0000 (09:39 +0000)]
Issue #18383: Merge warnings fix from 3.5
Martin Panter [Thu, 26 May 2016 09:10:55 +0000 (09:10 +0000)]
Issue #18383: Avoid adding duplicate filters when warnings is reloaded
Based on patch by Alex Shkop.
Martin Panter [Thu, 26 May 2016 06:03:33 +0000 (06:03 +0000)]
Issue #27076: More doc and comment spelling fixes for 3.6, by Ville Skyttä
Martin Panter [Thu, 26 May 2016 06:03:19 +0000 (06:03 +0000)]
Issue #27076: Merge spelling from 3.5
Martin Panter [Thu, 26 May 2016 05:35:26 +0000 (05:35 +0000)]
Issue #27076: Doc, comment and tests spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
Steve Dower [Wed, 25 May 2016 18:26:07 +0000 (11:26 -0700)]
Closes #23026: Documentation improvements and code formatting
Serhiy Storchaka [Wed, 25 May 2016 17:35:44 +0000 (20:35 +0300)]
Fixed the use of _Py_IS_ALIGNED (issue #27097).
Serhiy Storchaka [Wed, 25 May 2016 17:02:01 +0000 (20:02 +0300)]
Issue #27097: Python interpreter is now about 7% faster due to optimized
instruction decoding. Based on patch by Demur Rumed.
Serhiy Storchaka [Wed, 25 May 2016 13:14:55 +0000 (16:14 +0300)]
Issue #27118: Clean up Py_XINCREF/Py_XDECREF in typeobject.c.
Patch by Xiang Zhang.
Guido van Rossum [Tue, 24 May 2016 23:39:23 +0000 (16:39 -0700)]
Added Type[C] implementation to typing.py. (Merge 3.5->3.6)
Guido van Rossum [Tue, 24 May 2016 23:38:22 +0000 (16:38 -0700)]
Added Type[C] implementation to typing.py.
Steve Dower [Tue, 24 May 2016 22:42:04 +0000 (15:42 -0700)]
Issue #23026: winreg.QueryValueEx() now return an integer for REG_QWORD type. (Patch by hakril)
Serhiy Storchaka [Tue, 24 May 2016 06:15:14 +0000 (09:15 +0300)]
Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode.
Patch by Demur Rumed.
Benjamin Peterson [Tue, 24 May 2016 05:48:05 +0000 (22:48 -0700)]
merge 3.5 (#27093)
Benjamin Peterson [Tue, 24 May 2016 05:47:50 +0000 (22:47 -0700)]
fix indentation and add curlies (closes #27093)
Serhiy Storchaka [Mon, 23 May 2016 05:42:09 +0000 (08:42 +0300)]
Issue #26927: Fixed test_mmap on platforms with 32-bit off_t (like Android).
Patch by Xavier de Gaye.
Serhiy Storchaka [Mon, 23 May 2016 05:41:48 +0000 (08:41 +0300)]
Issue #26927: Fixed test_mmap on platforms with 32-bit off_t (like Android).
Patch by Xavier de Gaye.
Terry Jan Reedy [Sun, 22 May 2016 18:35:43 +0000 (14:35 -0400)]
Merge with 3.5
Terry Jan Reedy [Sun, 22 May 2016 18:35:24 +0000 (14:35 -0400)]
Issue #26673: Protect IDLE from Linux fonts with reported default size 0.
Such fonts on Linux prevented the configuration dialog from opening.
Stefan Krah [Sun, 22 May 2016 15:35:34 +0000 (17:35 +0200)]
Issue #26857: The gethostbyaddr_r() workaround is no longer needed with
api-level >= 23. Patch by Xavier de Gaye.
Serhiy Storchaka [Sun, 22 May 2016 15:23:51 +0000 (18:23 +0300)]
Fixed an error in previous commit.
Serhiy Storchaka [Sun, 22 May 2016 15:23:36 +0000 (18:23 +0300)]
Fixed an error in previous commit.
Serhiy Storchaka [Sun, 22 May 2016 15:17:25 +0000 (18:17 +0300)]
Temporary skip curses tests on non-tty (issue #27067).
Serhiy Storchaka [Sun, 22 May 2016 15:16:20 +0000 (18:16 +0300)]
Temporary skip curses tests on non-tty (issue #27067).
Paul Moore [Sun, 22 May 2016 11:28:41 +0000 (12:28 +0100)]
Issue #27064: The py.exe launcher now defaults to Python 3.
The Windows launcher ``py.exe`` no longer prefers an installed
Python 2 version over Python 3 by default when used interactively.
Martin Panter [Sun, 22 May 2016 03:10:11 +0000 (03:10 +0000)]
Extra NEWS formatting fix for 3.6
Martin Panter [Sun, 22 May 2016 03:05:44 +0000 (03:05 +0000)]
Merge NEWS formatting from 3.5
Martin Panter [Sun, 22 May 2016 03:01:52 +0000 (03:01 +0000)]
Fix minor inconsistencies with Issue #N references in NEWS and HISTORY
Yury Selivanov [Sat, 21 May 2016 20:50:31 +0000 (16:50 -0400)]
Merge 3.5 (asyncio)
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)
Serhiy Storchaka [Sat, 21 May 2016 18:36:29 +0000 (21:36 +0300)]
Issue #27067: Improved curses tests.
Serhiy Storchaka [Sat, 21 May 2016 18:36:11 +0000 (21:36 +0300)]
Issue #27067: Improved curses tests.
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ä.
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ä.
Yury Selivanov [Fri, 20 May 2016 21:44:44 +0000 (17:44 -0400)]
Merge 3.5 (asyncio)
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.
Serhiy Storchaka [Fri, 20 May 2016 20:29:07 +0000 (23:29 +0300)]
Issue #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.
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.
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.
Victor Stinner [Fri, 20 May 2016 19:16:59 +0000 (21:16 +0200)]
Issue #27056: Fix _Unpickler_Read() to avoid integer overflow
Yury Selivanov [Fri, 20 May 2016 15:31:55 +0000 (11:31 -0400)]
Merge 3.5 (asyncio)
Yury Selivanov [Fri, 20 May 2016 15:31:40 +0000 (11:31 -0400)]
asyncio: Fix an SSL warning in StreamReaderProtocol.eof_received
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
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.
Victor Stinner [Fri, 20 May 2016 11:06:55 +0000 (13:06 +0200)]
Merge 3.5 (issue #26741)
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.
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.
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.
Victor Stinner [Fri, 20 May 2016 10:43:15 +0000 (12:43 +0200)]
Use "with popen:" in test_subprocess
Issue #26741.
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.
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.
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)
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)
Guido van Rossum [Thu, 19 May 2016 20:00:21 +0000 (13:00 -0700)]
Back out
7e9605697dfc ,
2e3c31ab586a ,
759b2cecc289 .
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.)
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.
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.
Victor Stinner [Thu, 19 May 2016 14:48:06 +0000 (16:48 +0200)]
Merge 3.5 (issue #27057)
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.
Steve Dower [Wed, 18 May 2016 22:54:24 +0000 (15:54 -0700)]
Merge launcher change from 3.5
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.
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.)
Guido van Rossum [Wed, 18 May 2016 15:35:00 +0000 (08:35 -0700)]
Fix #27014 -- infinite recursion using typing.py.
Serhiy Storchaka [Wed, 18 May 2016 10:55:11 +0000 (13:55 +0300)]
Issue #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.
Serhiy Storchaka [Wed, 18 May 2016 10:01:19 +0000 (13:01 +0300)]
Fixed test_sizeof for deque.
Serhiy Storchaka [Wed, 18 May 2016 10:00:56 +0000 (13:00 +0300)]
Fixed test_sizeof for deque.
Martin Panter [Wed, 18 May 2016 07:19:32 +0000 (07:19 +0000)]
Issue #23275: Don’t think this made it into alpha 1
Berker Peksag [Wed, 18 May 2016 05:44:29 +0000 (08:44 +0300)]
Issue #23275: Allow () = iterable assignment syntax
Documentation updates by Martin Panter.
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.
Senthil Kumaran [Wed, 18 May 2016 03:50:43 +0000 (20:50 -0700)]
issue27045 - Use backslash in windows path to script file.
Terry Jan Reedy [Wed, 18 May 2016 02:48:34 +0000 (22:48 -0400)]
Merge with 3.5
Terry Jan Reedy [Wed, 18 May 2016 02:48:22 +0000 (22:48 -0400)]
Issue #21939: Test IDLE percolator. Original patch by Saimadhav Heblikar.
Ned Deily [Wed, 18 May 2016 01:45:13 +0000 (21:45 -0400)]
Issue #27049: fix doc typo
Ned Deily [Wed, 18 May 2016 01:44:46 +0000 (21:44 -0400)]
Issue #27049: fix doc typo
Terry Jan Reedy [Tue, 17 May 2016 23:58:17 +0000 (19:58 -0400)]
Merge with 3.5
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.