Commit graph

94340 commits

Author SHA1 Message Date
Martin Panter
c249221dfd Issue #20699: Merge io bytes-like fixes from 3.5 2016-05-28 01:07:08 +00:00
Martin Panter
6bb91f3b6e 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.
2016-05-28 00:41:57 +00:00
Eric Snow
0472217d43 Issue #27138: Fix the doc comment for FileFinder.find_spec(). 2016-05-27 12:56:41 -06:00
Eric Snow
fc36e66af4 Issue #27138: Fix the doc comment for FileFinder.find_spec(). 2016-05-27 12:36:28 -06:00
Martin Panter
5677aa75f0 Issue #5784: Merge zlib from 3.5 2016-05-27 11:30:59 +00:00
Martin Panter
c618ae8ed7 Issue #5784: wbits=0 apparently added in zlib v1.2.3.5 2016-05-27 11:20:21 +00:00
Martin Panter
f4affb71bc Issue #5784: Merge zlib from 3.5 2016-05-27 08:00:24 +00:00
Martin Panter
0fdf41d847 Issue #5784: Expand documentation and tests for zlib wbits parameter
Based on documentation by AM Kuchling.
2016-05-27 07:32:11 +00:00
Benjamin Peterson
f527aa5040 merge 3.5 2016-05-26 23:19:02 -07:00
Benjamin Peterson
06198789a2 stop talking about svn 2016-05-26 23:18:51 -07:00
Benjamin Peterson
f50cc9ad66 merge 3.5 2016-05-26 22:56:51 -07:00
Benjamin Peterson
047ada4ef3 remove cruft from Schwarzian transform section 2016-05-26 22:55:49 -07:00
Benjamin Peterson
3f69f02792 merge 3.5 2016-05-26 22:51:44 -07:00
Benjamin Peterson
6d3ad2f64d "Numeric Python" -> "NumPy" 2016-05-26 22:51:32 -07:00
Steve Dower
48df37dbb8 Issue #27114: Fix SSLContext._load_windows_store_certs fails with PermissionError 2016-05-26 12:19:42 -07:00
Steve Dower
33bc4a2983 Issue #27114: Fix SSLContext._load_windows_store_certs fails with PermissionError 2016-05-26 12:18:12 -07:00
Guido van Rossum
e67c92ea70 Comment/docstring tweaks for typing.py. (Merge 3.5->3.6) 2016-05-26 09:56:46 -07:00
Guido van Rossum
b22c708989 Comment/docstring tweaks for typing.py. 2016-05-26 09:56:19 -07:00
Victor Stinner
b69d3fea88 Merge 3.5 (test_warnings) 2016-05-26 15:22:14 +02:00
Victor Stinner
0025eb145f 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.
2016-05-26 15:21:25 +02:00
Martin Panter
b6ae2ae47c Issue #18383: Merge warnings fix from 3.5 2016-05-26 09:39:41 +00:00
Martin Panter
43593a1892 Issue #18383: Avoid adding duplicate filters when warnings is reloaded
Based on patch by Alex Shkop.
2016-05-26 09:10:55 +00:00
Martin Panter
f157982b2c Issue #27076: More doc and comment spelling fixes for 3.6, by Ville Skyttä 2016-05-26 06:03:33 +00:00
Martin Panter
3e04d5b306 Issue #27076: Merge spelling from 3.5 2016-05-26 06:03:19 +00:00
Martin Panter
46f50726a0 Issue #27076: Doc, comment and tests spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:35:26 +00:00
Steve Dower
4d4bc42c8b Closes #23026: Documentation improvements and code formatting 2016-05-25 11:26:07 -07:00
Serhiy Storchaka
74f2fe6489 Fixed the use of _Py_IS_ALIGNED (issue #27097). 2016-05-25 20:35:44 +03:00
Serhiy Storchaka
f60bf5f7d6 Issue #27097: Python interpreter is now about 7% faster due to optimized
instruction decoding.  Based on patch by Demur Rumed.
2016-05-25 20:02:01 +03:00
Serhiy Storchaka
27ba8864a4 Issue #27118: Clean up Py_XINCREF/Py_XDECREF in typeobject.c.
Patch by Xiang Zhang.
2016-05-25 16:14:55 +03:00
Guido van Rossum
70223d9b09 Added Type[C] implementation to typing.py. (Merge 3.5->3.6) 2016-05-24 16:39:23 -07:00
Guido van Rossum
eb9aca3c07 Added Type[C] implementation to typing.py. 2016-05-24 16:38:22 -07:00
Steve Dower
80ac11d01e Issue #23026: winreg.QueryValueEx() now return an integer for REG_QWORD type. (Patch by hakril) 2016-05-24 15:42:04 -07:00
Serhiy Storchaka
b0f80b0312 Issue #26647: Python interpreter now uses 16-bit wordcode instead of bytecode.
Patch by Demur Rumed.
2016-05-24 09:15:14 +03:00
Benjamin Peterson
c35f491a06 merge 3.5 (#27093) 2016-05-23 22:48:05 -07:00
Benjamin Peterson
5a093c158a fix indentation and add curlies (closes #27093) 2016-05-23 22:47:50 -07:00
Serhiy Storchaka
8ec1175204 Issue #26927: Fixed test_mmap on platforms with 32-bit off_t (like Android).
Patch by Xavier de Gaye.
2016-05-23 08:42:09 +03:00
Serhiy Storchaka
05d3921cc1 Issue #26927: Fixed test_mmap on platforms with 32-bit off_t (like Android).
Patch by Xavier de Gaye.
2016-05-23 08:41:48 +03:00
Terry Jan Reedy
0d9220e162 Issue #24225: Rename many idlelib/*.py and idlelib/idle_test/test_*.py files. 2016-05-22 19:10:31 -04:00
Terry Jan Reedy
9fa149dd24 Merge with 3.5 2016-05-22 14:35:43 -04:00
Terry Jan Reedy
5917f973ac Issue #26673: Protect IDLE from Linux fonts with reported default size 0.
Such fonts on Linux prevented the configuration dialog from opening.
2016-05-22 14:35:24 -04:00
Stefan Krah
1f9eb879d5 Issue #26857: The gethostbyaddr_r() workaround is no longer needed with
api-level >= 23. Patch by Xavier de Gaye.
2016-05-22 17:35:34 +02:00
Serhiy Storchaka
70b49f60f4 Fixed an error in previous commit. 2016-05-22 18:23:51 +03:00
Serhiy Storchaka
0a91e43820 Fixed an error in previous commit. 2016-05-22 18:23:36 +03:00
Serhiy Storchaka
66e26eaeac Temporary skip curses tests on non-tty (issue #27067). 2016-05-22 18:17:25 +03:00
Serhiy Storchaka
53a00353b6 Temporary skip curses tests on non-tty (issue #27067). 2016-05-22 18:16:20 +03:00
Paul Moore
835416cf7c 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.
2016-05-22 12:28:41 +01:00
Martin Panter
7f3d16f8f5 Extra NEWS formatting fix for 3.6 2016-05-22 03:10:11 +00:00
Martin Panter
f4af15b3b3 Merge NEWS formatting from 3.5 2016-05-22 03:05:44 +00:00
Martin Panter
4e52558fb1 Fix minor inconsistencies with Issue #N references in NEWS and HISTORY 2016-05-22 03:01:52 +00:00
Yury Selivanov
72005f1744 Merge 3.5 (asyncio) 2016-05-21 16:50:31 -04:00