Commit graph

96690 commits

Author SHA1 Message Date
Serhiy Storchaka
a94ed55dbd Issue #26906: Resolving special methods of uninitialized type now causes
implicit initialization of the type instead of a fail.
2016-10-08 12:28:25 +03:00
Serhiy Storchaka
56588b7055 Issue #26906: Resolving special methods of uninitialized type now causes
implicit initialization of the type instead of a fail.
2016-10-08 12:26:25 +03:00
Serhiy Storchaka
8ef34600c7 Issue #26906: Resolving special methods of uninitialized type now causes
implicit initialization of the type instead of a fail.
2016-10-08 12:24:09 +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
4c1bb39dc9 Null merge 2016-10-07 23:34:12 +03:00
Serhiy Storchaka
1d7d6221e5 Null merge 2016-10-07 23:33:55 +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
52597d91e2 Issue #18287: PyType_Ready() now checks that tp_name is not NULL.
Original patch by Niklas Koep.
2016-10-07 23:26:16 +03:00
Serhiy Storchaka
e45b7c09ec Issue #18287: PyType_Ready() now checks that tp_name is not NULL.
Original patch by Niklas Koep.
2016-10-07 23:25:46 +03:00
Serhiy Storchaka
de0574bdab Issue #18287: PyType_Ready() now checks that tp_name is not NULL.
Original patch by Niklas Koep.
2016-10-07 23:24:35 +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
Serhiy Storchaka
579de19228 Issue #24098: Fixed possible crash when AST is changed in process of
compiling it.
2016-10-07 21:56:24 +03:00
Serhiy Storchaka
5e80855af3 Issue #24098: Fixed possible crash when AST is changed in process of
compiling it.
2016-10-07 21:55:49 +03:00
Serhiy Storchaka
cf3806026b Issue #24098: Fixed possible crash when AST is changed in process of
compiling it.
2016-10-07 21:51:28 +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
Yury Selivanov
a7bb9cc2b7 Null merge with 3.6 2016-10-06 14:06:20 -04:00
Yury Selivanov
0ebdd0776c Null merge with 3.5 2016-10-06 14:05:42 -04:00
Yury Selivanov
95cdf364c8 Null merge with 3.4 2016-10-06 14:05:17 -04:00
Yury Selivanov
cb9424f643 Issue #27759: Fix selectors incorrectly retain invalid file descriptors.
(Backported to 3.4 as this bug might be exploited to for DoS)
2016-10-06 14:03:03 -04:00
Ned Deily
0733720548 Fix vestigial spelling. 2016-10-06 10:51:29 -04:00
Benjamin Peterson
369d911402 merge 3.6 2016-10-05 23:32:20 -07:00
Benjamin Peterson
e4c222c040 merge 3.5 2016-10-05 23:32:15 -07:00
Benjamin Peterson
8f1cdc65ee ensure read size is initialized 2016-10-05 23:32:09 -07:00
Benjamin Peterson
578f1bd578 merge 3.6 2016-10-05 23:29:22 -07:00
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