Commit graph

91856 commits

Author SHA1 Message Date
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
06198789a2 stop talking about svn 2016-05-26 23:18:51 -07:00
Benjamin Peterson
047ada4ef3 remove cruft from Schwarzian transform section 2016-05-26 22:55:49 -07:00
Benjamin Peterson
6d3ad2f64d "Numeric Python" -> "NumPy" 2016-05-26 22:51:32 -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
b22c708989 Comment/docstring tweaks for typing.py. 2016-05-26 09:56:19 -07: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
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
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
Guido van Rossum
eb9aca3c07 Added Type[C] implementation to typing.py. 2016-05-24 16:38:22 -07:00
Benjamin Peterson
5a093c158a fix indentation and add curlies (closes #27093) 2016-05-23 22:47:50 -07: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
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
Serhiy Storchaka
0a91e43820 Fixed an error in previous commit. 2016-05-22 18:23:36 +03:00
Serhiy Storchaka
53a00353b6 Temporary skip curses tests on non-tty (issue #27067). 2016-05-22 18:16:20 +03: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
f0200e06f0 asyncio: Fix BytesWarning (use typed=True in lru_cache for _ipaddr_info) 2016-05-21 16:50:16 -04:00
Serhiy Storchaka
0eb39e7886 Issue #27067: Improved curses tests. 2016-05-21 21:36:11 +03:00
Berker Peksag
732ba821ca Issue #27075: Link to StreamReader and StreamWriter docs
Patch by Ville Skyttä.
2016-05-21 14:56:35 +03:00
Yury Selivanov
eaaaee8c56 asyncio: Fix getaddrinfo to accept None/str/bytes for 'port' arg
Patch by A. Jesse Jiryu Davis.
2016-05-20 17:44:19 -04:00
Serhiy Storchaka
0dad755600 Issue #27063: Some unittest loader tests were silently skipped. 2016-05-20 23:28:37 +03:00
Serhiy Storchaka
13e602ea0f Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N"
format unit.
2016-05-20 22:31:14 +03:00
Yury Selivanov
3dc5129d4f asyncio: Fix an SSL warning in StreamReaderProtocol.eof_received 2016-05-20 11:31:40 -04:00
Victor Stinner
b0d43ce890 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.
2016-05-20 13:05:48 +02:00
Guido van Rossum
387e6e3817 Back out pathlib.Path.path attr. (Merge 3.4->3.5) 2016-05-19 13:10:20 -07:00
Guido van Rossum
3d4d01f614 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.)
2016-05-19 13:00:21 -07:00
Steve Dower
d8bf09c6cd Issue #27053: Updates make_zip.py to correctly generate library ZIP file. 2016-05-19 10:47:47 -07:00
Victor Stinner
3116cc44af 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.
2016-05-19 16:46:18 +02:00
Steve Dower
4962141804 Removes versioning from py.exe launcher installer and ensures that old launchers are replaced by newer ones. 2016-05-18 15:54:05 -07:00
Guido van Rossum
1cea70f08c Fix #27014 -- infinite recursion using typing.py. 2016-05-18 08:35:00 -07:00
Serhiy Storchaka
e5ea1abf91 Issue #27036: Fixed formatting references to "bytes-like object" in plural. 2016-05-18 13:54:54 +03:00
Serhiy Storchaka
e23c90c344 Fixed test_sizeof for deque. 2016-05-18 13:00:56 +03:00
Senthil Kumaran
c9bfc13aa9 issue27045 - Use backslash in windows path to script file. 2016-05-17 20:50:43 -07:00
Terry Jan Reedy
092473eef9 Issue #21939: Test IDLE percolator. Original patch by Saimadhav Heblikar. 2016-05-17 22:48:22 -04:00
Ned Deily
cec95813b2 Issue #27049: fix doc typo 2016-05-17 21:44:46 -04:00
Terry Jan Reedy
fdec2a3424 Issue #21676: test IDLE replace dialog. Original patch by Saimadhav Heblikar. 2016-05-17 19:58:02 -04:00
Terry Jan Reedy
c359af1530 Issue #18410: add missing parent argument. 2016-05-17 18:35:07 -04:00
Terry Jan Reedy
b236fe4515 Issue #18410: Test IDLE's search dialog; original patch by Westley Martínez. 2016-05-17 18:18:37 -04:00
Steve Dower
c710826ef2 Fixes unnecessary rebuild when building Windows releases with PGO 2016-05-17 08:57:53 -07:00
Benjamin Peterson
54044d605f class definitions only get argument lists (closes #27042) 2016-05-16 23:20:22 -07:00
Benjamin Peterson
bc7ee43a6d Backed out changeset 71ff2235bb4c (closes #27042) 2016-05-16 23:18:33 -07:00
Benjamin Peterson
ed64d6b4a5 regen importlib bytecode 2016-05-16 22:54:05 -07:00
Benjamin Peterson
ad887cf7d1 fix possible refleak in MAKE_FUNCTION (closes #26991)
Patch by Xiang Zhang.
2016-05-16 22:52:40 -07:00
Terry Jan Reedy
0495fa81e6 Issue #21703: Add test for undo delegator. Patch most by Saimadhav Heblikar . 2016-05-16 23:32:28 -04:00
Terry Jan Reedy
6b98ce23f6 Issue #27044: stop test_idle from leaking by deleting callbacks. 2016-05-16 22:27:28 -04:00
Yury Selivanov
b461791b91 asyncio/streams: Fix code style; delete LimitOverrunError.message attr 2016-05-16 16:32:38 -04:00
Yury Selivanov
950204df9c docs: Update asyncio docs & whatsnew 2016-05-16 16:23:00 -04:00
Yury Selivanov
7661db6228 Issue #27041: asyncio: Add loop.create_future method 2016-05-16 15:38:39 -04:00
Yury Selivanov
7ed7ce6ee7 Issue #27040: Add loop.get_exception_handler method 2016-05-16 15:20:38 -04:00
Serhiy Storchaka
7bf36dace8 Issue #27039: Fixed bytearray.remove() for values greater than 127.
Patch by Joe Jevnik.
2016-05-16 22:15:38 +03:00