Commit Graph

96808 Commits

Author SHA1 Message Date
Benjamin Peterson 43441c77b5 merge 3.5 2016-10-05 23:29:16 -07:00
Benjamin Peterson 3776836f67 do not leak buffer if mmap is not writable 2016-10-05 23:29:07 -07:00
INADA Naoki ecdd36ff88 Issue #28201: Dict reduces possibility of 2nd conflict in hash table.
Do perturb shift after first conflict.
2016-10-06 15:22:28 +09:00
INADA Naoki 267941c675 Issue #28201: Dict reduces possibility of 2nd conflict in hash table.
Do perturb shift after first conflict.
2016-10-06 15:19:07 +09:00
Benjamin Peterson a1d58efc43 merge 3.6 2016-10-05 22:54:27 -07:00
Benjamin Peterson 87845bcb4d merge 3.5 2016-10-05 22:54:19 -07:00
Benjamin Peterson 4c8b2cd126 skip test on windows 2016-10-05 22:09:31 -07:00
Benjamin Peterson cf0b9da988 fix bug in 48797808a302 2016-10-05 22:00:24 -07:00
Benjamin Peterson e06cc67c19 skip test if resizing is not supported 2016-10-05 22:00:05 -07:00
Benjamin Peterson cd04db03de mmap: do all internal arithmetic with Py_ssize_t while being very careful about overflow 2016-10-05 21:45:48 -07:00
Yury Selivanov d4ed4374b2 Merge 3.6 (issue #23749) 2016-10-05 19:40:40 -04:00
Yury Selivanov a88614233e Merge 3.5 (issue #23749) 2016-10-05 19:40:19 -04:00
Yury Selivanov 92e7c7f99c asyncio: Add "call_connection_made" arg to SSLProtocol.__init__
Issue #23749: With this change it's possible to implement starttls
as a separate package on PyPI, or even by copying/pasting a small
snipped of code in your project.

It's expected that we'll figure out the API design for starttls
during 3.6, so that we can add it in 3.7.
2016-10-05 19:39:54 -04:00
Yury Selivanov ddf9a24678 Merge 3.6 (issue #28372) 2016-10-05 19:33:52 -04:00
Yury Selivanov 996dd4a666 Merge 3.5 (issue #28372) 2016-10-05 19:33:36 -04:00
Yury Selivanov 8dc3e43839 Issue #28372: Fix asyncio to support formatting of non-python coroutines 2016-10-05 19:32:49 -04:00
Yury Selivanov 2f298f71f3 Merge 3.6 (issue #28371) 2016-10-05 18:29:33 -04:00
Yury Selivanov d2c5fab7c6 Merge 3.5 (issue #28371) 2016-10-05 18:29:04 -04:00
Yury Selivanov 0de3de6cbf Issue #28371: Deprecate passing asyncio.Handles to run_in_executor. 2016-10-05 18:28:09 -04:00
Yury Selivanov 3883f17f7c Merge 3.6 (issue #28370) 2016-10-05 18:04:48 -04:00
Yury Selivanov 139914a058 Merge 3.5 (issue #28370) 2016-10-05 18:04:35 -04:00
Yury Selivanov 3e56ff0d08 Issue #28370: Speedup asyncio.StreamReader.readexactly
Patch by Коренберг Марк.
2016-10-05 18:01:12 -04:00
Yury Selivanov eb6cb20c1b Merge 3.6 (issue #28369) 2016-10-05 17:50:19 -04:00
Yury Selivanov bb8eb92f46 Merge 3.5 (issue #28369) 2016-10-05 17:49:54 -04:00
Yury Selivanov 5b8d4f97f8 Issue #28369: Raise an error when transport's FD is used with add_reader 2016-10-05 17:48:59 -04:00
Yury Selivanov fb9c5186b6 Merge 3.6 (issue #28368) 2016-10-05 17:02:07 -04:00
Yury Selivanov 67ea61818e Merge 3.5 (issue #28368) 2016-10-05 17:01:01 -04:00
Yury Selivanov 9eb6c67776 Issue #28368: Refuse monitoring processes if the child watcher has no loop attached.
Patch by Vincent Michel.
2016-10-05 16:57:12 -04:00
Serhiy Storchaka 3c946599d0 Issue #27998: Removed workarounds for supporting bytes paths on Windows in
os.walk() function and glob module since os.scandir() now directly supports
them.
2016-10-05 23:18:32 +03:00
Serhiy Storchaka 3ae41554c6 Issue #27998: Removed workarounds for supporting bytes paths on Windows in
os.walk() function and glob module since os.scandir() now directly supports
them.
2016-10-05 23:17:10 +03:00
Ned Deily 5041a04ee3 null merge from 3.6 2016-10-04 14:52:01 -04:00
Berker Peksag f7b8d5d4eb Issue #28222: Merge from 3.6 2016-10-04 20:55:52 +03:00
Berker Peksag d3dbba4174 Issue #28222: Merge from 3.5 2016-10-04 20:55:26 +03:00
Berker Peksag b5bb404cca Issue #28222: Don't fail if pygments is not available
We can't just skip the test if docutils is available,
but pygments is not because the purpose of the test
was testing a bug in _check_rst_data().
2016-10-04 20:54:44 +03:00
Berker Peksag ea1f9b934c Issue #28348: Merge from 3.6 2016-10-04 20:46:43 +03:00
Berker Peksag 5cb63ae3ca Issue #28348: Merge from 3.5 2016-10-04 20:46:22 +03:00
Berker Peksag 002b0a7ecd Issue #28348: Fix typo in asyncio.Task() documentation
Patch by Mariatta Wijaya.
2016-10-04 20:45:47 +03:00
Berker Peksag d7f47ed28c Issue #28229: Merge from 3.6 2016-10-04 20:41:56 +03:00
Berker Peksag 5f59ddddcd Issue #28229: lzma module now supports pathlib 2016-10-04 20:41:20 +03:00
Serhiy Storchaka a854090c13 Issue #28321: Fixed writing non-BMP characters with binary format in plistlib. 2016-10-04 20:08:59 +03:00
Serhiy Storchaka db8d6265fa Issue #28321: Fixed writing non-BMP characters with binary format in plistlib. 2016-10-04 20:08:29 +03:00
Serhiy Storchaka 7338ebc4ba Issue #28321: Fixed writing non-BMP characters with binary format in plistlib. 2016-10-04 20:04:30 +03:00
Steven D'Aprano a6017786e9 Automated merge with ssh://hg.python.org/cpython 2016-10-05 03:25:05 +11:00
Steven D'Aprano fae2829c7a Issue #27181 remove geometric_mean and defer for 3.7. 2016-10-05 03:24:45 +11:00
Steven D'Aprano fb315dbe82 Issue #27181 remove geometric_mean and defer for 3.7. 2016-10-05 03:24:45 +11:00
Serhiy Storchaka 67c469bfb1 Null merge 2016-10-04 18:24:41 +03:00
Serhiy Storchaka 27b40981f7 Null merge 2016-10-04 18:24:21 +03:00
Serhiy Storchaka 7fd9f4b458 Merge heads 2016-10-04 18:23:55 +03:00
Serhiy Storchaka a67e5cad1d Issue #28350: String constants with null character no longer interned. 2016-10-04 18:21:53 +03:00
Serhiy Storchaka e81b0d335b Issue #28350: String constants with null character no longer interned. 2016-10-04 18:21:25 +03:00