Commit graph

40721 commits

Author SHA1 Message Date
Serhiy Storchaka
9b02731af7 Issue #28317: The disassembler now decodes FORMAT_VALUE argument. 2016-10-08 12:34:59 +03:00
Serhiy Storchaka
dd102f7af8 Issue #28317: The disassembler now decodes FORMAT_VALUE argument. 2016-10-08 12:34:25 +03:00
Serhiy Storchaka
250cf81f4a Issue #25783: Fixed test_traceback when run directly (without regrtest). 2016-10-07 23:47:17 +03:00
Serhiy Storchaka
2b801456fb Issue #25783: Fixed test_traceback when run directly (without regrtest). 2016-10-07 23:46:22 +03:00
Serhiy Storchaka
1c1130fb5f Issue #25783: Fixed test_traceback when run directly (without regrtest). 2016-10-07 23:45:42 +03:00
Serhiy Storchaka
5665301bae Issue #28257: Improved error message when pass a non-mapping as a var-keyword
argument.
2016-10-07 23:32:41 +03:00
Serhiy Storchaka
f068415c51 Issue #26293: Fixed writing ZIP files that starts not from the start of the
file.  Offsets in ZIP file now are relative to the start of the archive in
conforming to the specification.
2016-10-07 22:25:05 +03:00
Serhiy Storchaka
242c170f87 Issue #26293: Fixed writing ZIP files that starts not from the start of the
file.  Offsets in ZIP file now are relative to the start of the archive in
conforming to the specification.
2016-10-07 22:24:20 +03:00
Serhiy Storchaka
8793b21525 Issue #26293: Fixed writing ZIP files that starts not from the start of the
file.  Offsets in ZIP file now are relative to the start of the archive in
conforming to the specification.
2016-10-07 22:20:50 +03:00
Yury Selivanov
caae4dbbc6 Merge 3.6 (asyncio) 2016-10-07 12:40:44 -04:00
Yury Selivanov
3df053e556 Merge 3.5 (asyncio) 2016-10-07 12:40:22 -04:00
Yury Selivanov
36e7e97d62 asyncio: Only allow Unix Stream sockets for loop.create_unix_server/connection 2016-10-07 12:39:57 -04:00
Gregory P. Smith
7bd4afec86 Issue #28380: unittest.mock Mock autospec functions now properly support
assert_called, assert_not_called, and assert_called_once.
2016-10-06 14:32:10 -07:00
Gregory P. Smith
ac5084b6c7 Fixes issue28380: unittest.mock Mock autospec functions now properly support
assert_called, assert_not_called, and assert_called_once.
2016-10-06 14:31:23 -07: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
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
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