Commit Graph

96854 Commits

Author SHA1 Message Date
Serhiy Storchaka df53392f0d Issue #28376: Creating instances of range_iterator by calling range_iterator
type now is disallowed.  Calling iter() on range instance is the only way.
Patch by Oren Milman.
2016-10-08 22:01:18 +03:00
Serhiy Storchaka aa078674e0 Merge with 3.6. 2016-10-08 21:52:41 +03:00
Serhiy Storchaka c7f490c8b1 Issue #28376: Creating instances of range_iterator by calling range_iterator
type now is deprecated.  Patch by Oren Milman.
2016-10-08 21:50:45 +03:00
Serhiy Storchaka 639098c591 Merge from 3.5. 2016-10-08 21:45:07 +03:00
Serhiy Storchaka 44759bcf13 Issue #28376: The constructor of range_iterator now checks that step is not 0.
Patch by Oren Milman.
2016-10-08 21:43:11 +03:00
Serhiy Storchaka 1d56113ed7 Merge from 3.6. 2016-10-08 21:35:07 +03:00
Serhiy Storchaka 88212ae10a Merge from 3.5. 2016-10-08 21:34:44 +03:00
Serhiy Storchaka 3bd9fde4df Issue #28376: Fixed typos.
Based on patch by Oren Milman.
2016-10-08 21:33:59 +03:00
Serhiy Storchaka f2abc8f2c2 Issue #27998: Fixed bytes path support in os.scandir() on Windows.
Patch by Eryk Sun.
2016-10-08 20:17:26 +03:00
Serhiy Storchaka 2674bc7229 Issue #27998: Fixed bytes path support in os.scandir() on Windows.
Patch by Eryk Sun.
2016-10-08 20:16:57 +03:00
Berker Peksag bbc638cd55 Issue #28390: Merge from 3.6 2016-10-08 16:15:38 +03:00
Berker Peksag 3e49264dfb Issue #28390: Fix header levels in whatsnew/3.6.rst
Patch by SilentGhost.
2016-10-08 16:15:15 +03:00
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 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