]> granicus.if.org Git - python/log
python
8 years agoIssue #28317: The disassembler now decodes FORMAT_VALUE argument.
Serhiy Storchaka [Sat, 8 Oct 2016 09:34:59 +0000 (12:34 +0300)]
Issue #28317: The disassembler now decodes FORMAT_VALUE argument.

8 years agoIssue #28317: The disassembler now decodes FORMAT_VALUE argument.
Serhiy Storchaka [Sat, 8 Oct 2016 09:34:25 +0000 (12:34 +0300)]
Issue #28317: The disassembler now decodes FORMAT_VALUE argument.

8 years agoIssue #26906: Resolving special methods of uninitialized type now causes
Serhiy Storchaka [Sat, 8 Oct 2016 09:28:25 +0000 (12:28 +0300)]
Issue #26906: Resolving special methods of uninitialized type now causes
implicit initialization of the type instead of a fail.

8 years agoIssue #26906: Resolving special methods of uninitialized type now causes
Serhiy Storchaka [Sat, 8 Oct 2016 09:26:25 +0000 (12:26 +0300)]
Issue #26906: Resolving special methods of uninitialized type now causes
implicit initialization of the type instead of a fail.

8 years agoIssue #26906: Resolving special methods of uninitialized type now causes
Serhiy Storchaka [Sat, 8 Oct 2016 09:24:09 +0000 (12:24 +0300)]
Issue #26906: Resolving special methods of uninitialized type now causes
implicit initialization of the type instead of a fail.

8 years agoIssue #25783: Fixed test_traceback when run directly (without regrtest).
Serhiy Storchaka [Fri, 7 Oct 2016 20:47:17 +0000 (23:47 +0300)]
Issue #25783: Fixed test_traceback when run directly (without regrtest).

8 years agoIssue #25783: Fixed test_traceback when run directly (without regrtest).
Serhiy Storchaka [Fri, 7 Oct 2016 20:46:22 +0000 (23:46 +0300)]
Issue #25783: Fixed test_traceback when run directly (without regrtest).

8 years agoIssue #25783: Fixed test_traceback when run directly (without regrtest).
Serhiy Storchaka [Fri, 7 Oct 2016 20:45:42 +0000 (23:45 +0300)]
Issue #25783: Fixed test_traceback when run directly (without regrtest).

8 years agoNull merge
Serhiy Storchaka [Fri, 7 Oct 2016 20:34:12 +0000 (23:34 +0300)]
Null merge

8 years agoNull merge
Serhiy Storchaka [Fri, 7 Oct 2016 20:33:55 +0000 (23:33 +0300)]
Null merge

8 years agoIssue #28257: Improved error message when pass a non-mapping as a var-keyword
Serhiy Storchaka [Fri, 7 Oct 2016 20:32:41 +0000 (23:32 +0300)]
Issue #28257: Improved error message when pass a non-mapping as a var-keyword
argument.

8 years agoIssue #18287: PyType_Ready() now checks that tp_name is not NULL.
Serhiy Storchaka [Fri, 7 Oct 2016 20:26:16 +0000 (23:26 +0300)]
Issue #18287: PyType_Ready() now checks that tp_name is not NULL.
Original patch by Niklas Koep.

8 years agoIssue #18287: PyType_Ready() now checks that tp_name is not NULL.
Serhiy Storchaka [Fri, 7 Oct 2016 20:25:46 +0000 (23:25 +0300)]
Issue #18287: PyType_Ready() now checks that tp_name is not NULL.
Original patch by Niklas Koep.

8 years agoIssue #18287: PyType_Ready() now checks that tp_name is not NULL.
Serhiy Storchaka [Fri, 7 Oct 2016 20:24:35 +0000 (23:24 +0300)]
Issue #18287: PyType_Ready() now checks that tp_name is not NULL.
Original patch by Niklas Koep.

8 years agoIssue #26293: Fixed writing ZIP files that starts not from the start of the
Serhiy Storchaka [Fri, 7 Oct 2016 19:25:05 +0000 (22:25 +0300)]
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.

8 years agoIssue #26293: Fixed writing ZIP files that starts not from the start of the
Serhiy Storchaka [Fri, 7 Oct 2016 19:24:20 +0000 (22:24 +0300)]
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.

8 years agoIssue #26293: Fixed writing ZIP files that starts not from the start of the
Serhiy Storchaka [Fri, 7 Oct 2016 19:20:50 +0000 (22:20 +0300)]
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.

8 years agoIssue #24098: Fixed possible crash when AST is changed in process of
Serhiy Storchaka [Fri, 7 Oct 2016 18:56:24 +0000 (21:56 +0300)]
Issue #24098: Fixed possible crash when AST is changed in process of
compiling it.

8 years agoIssue #24098: Fixed possible crash when AST is changed in process of
Serhiy Storchaka [Fri, 7 Oct 2016 18:55:49 +0000 (21:55 +0300)]
Issue #24098: Fixed possible crash when AST is changed in process of
compiling it.

8 years agoIssue #24098: Fixed possible crash when AST is changed in process of
Serhiy Storchaka [Fri, 7 Oct 2016 18:51:28 +0000 (21:51 +0300)]
Issue #24098: Fixed possible crash when AST is changed in process of
compiling it.

8 years agoMerge 3.6 (asyncio)
Yury Selivanov [Fri, 7 Oct 2016 16:40:44 +0000 (12:40 -0400)]
Merge 3.6 (asyncio)

8 years agoMerge 3.5 (asyncio)
Yury Selivanov [Fri, 7 Oct 2016 16:40:22 +0000 (12:40 -0400)]
Merge 3.5 (asyncio)

8 years agoasyncio: Only allow Unix Stream sockets for loop.create_unix_server/connection
Yury Selivanov [Fri, 7 Oct 2016 16:39:57 +0000 (12:39 -0400)]
asyncio: Only allow Unix Stream sockets for loop.create_unix_server/connection

8 years agoIssue #28380: unittest.mock Mock autospec functions now properly support
Gregory P. Smith [Thu, 6 Oct 2016 21:32:10 +0000 (14:32 -0700)]
Issue #28380: unittest.mock Mock autospec functions now properly support
assert_called, assert_not_called, and assert_called_once.

8 years agoFixes issue28380: unittest.mock Mock autospec functions now properly support
Gregory P. Smith [Thu, 6 Oct 2016 21:31:23 +0000 (14:31 -0700)]
Fixes issue28380: unittest.mock Mock autospec functions now properly support
assert_called, assert_not_called, and assert_called_once.

8 years agoNull merge with 3.6
Yury Selivanov [Thu, 6 Oct 2016 18:06:20 +0000 (14:06 -0400)]
Null merge with 3.6

8 years agoNull merge with 3.5
Yury Selivanov [Thu, 6 Oct 2016 18:05:42 +0000 (14:05 -0400)]
Null merge with 3.5

8 years agoNull merge with 3.4
Yury Selivanov [Thu, 6 Oct 2016 18:05:17 +0000 (14:05 -0400)]
Null merge with 3.4

8 years agoIssue #27759: Fix selectors incorrectly retain invalid file descriptors.
Yury Selivanov [Thu, 6 Oct 2016 18:03:03 +0000 (14:03 -0400)]
Issue #27759: Fix selectors incorrectly retain invalid file descriptors.

(Backported to 3.4 as this bug might be exploited to for DoS)

8 years agoFix vestigial spelling.
Ned Deily [Thu, 6 Oct 2016 14:51:29 +0000 (10:51 -0400)]
Fix vestigial spelling.

8 years agomerge 3.6
Benjamin Peterson [Thu, 6 Oct 2016 06:32:20 +0000 (23:32 -0700)]
merge 3.6

8 years agomerge 3.5
Benjamin Peterson [Thu, 6 Oct 2016 06:32:15 +0000 (23:32 -0700)]
merge 3.5

8 years agoensure read size is initialized
Benjamin Peterson [Thu, 6 Oct 2016 06:32:09 +0000 (23:32 -0700)]
ensure read size is initialized

8 years agomerge 3.6
Benjamin Peterson [Thu, 6 Oct 2016 06:29:22 +0000 (23:29 -0700)]
merge 3.6

8 years agomerge 3.5
Benjamin Peterson [Thu, 6 Oct 2016 06:29:16 +0000 (23:29 -0700)]
merge 3.5

8 years agodo not leak buffer if mmap is not writable
Benjamin Peterson [Thu, 6 Oct 2016 06:29:07 +0000 (23:29 -0700)]
do not leak buffer if mmap is not writable

8 years agoIssue #28201: Dict reduces possibility of 2nd conflict in hash table.
INADA Naoki [Thu, 6 Oct 2016 06:22:28 +0000 (15:22 +0900)]
Issue #28201: Dict reduces possibility of 2nd conflict in hash table.

Do perturb shift after first conflict.

8 years agoIssue #28201: Dict reduces possibility of 2nd conflict in hash table.
INADA Naoki [Thu, 6 Oct 2016 06:19:07 +0000 (15:19 +0900)]
Issue #28201: Dict reduces possibility of 2nd conflict in hash table.

Do perturb shift after first conflict.

8 years agomerge 3.6
Benjamin Peterson [Thu, 6 Oct 2016 05:54:27 +0000 (22:54 -0700)]
merge 3.6

8 years agomerge 3.5
Benjamin Peterson [Thu, 6 Oct 2016 05:54:19 +0000 (22:54 -0700)]
merge 3.5

8 years agoskip test on windows
Benjamin Peterson [Thu, 6 Oct 2016 05:09:31 +0000 (22:09 -0700)]
skip test on windows

8 years agofix bug in 48797808a302
Benjamin Peterson [Thu, 6 Oct 2016 05:00:24 +0000 (22:00 -0700)]
fix bug in 48797808a302

8 years agoskip test if resizing is not supported
Benjamin Peterson [Thu, 6 Oct 2016 05:00:05 +0000 (22:00 -0700)]
skip test if resizing is not supported

8 years agommap: do all internal arithmetic with Py_ssize_t while being very careful about overflow
Benjamin Peterson [Thu, 6 Oct 2016 04:45:48 +0000 (21:45 -0700)]
mmap: do all internal arithmetic with Py_ssize_t while being very careful about overflow

8 years agoMerge 3.6 (issue #23749)
Yury Selivanov [Wed, 5 Oct 2016 23:40:40 +0000 (19:40 -0400)]
Merge 3.6 (issue #23749)

8 years agoMerge 3.5 (issue #23749)
Yury Selivanov [Wed, 5 Oct 2016 23:40:19 +0000 (19:40 -0400)]
Merge 3.5 (issue #23749)

8 years agoasyncio: Add "call_connection_made" arg to SSLProtocol.__init__
Yury Selivanov [Wed, 5 Oct 2016 23:39:54 +0000 (19:39 -0400)]
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.

8 years agoMerge 3.6 (issue #28372)
Yury Selivanov [Wed, 5 Oct 2016 23:33:52 +0000 (19:33 -0400)]
Merge 3.6 (issue #28372)

8 years agoMerge 3.5 (issue #28372)
Yury Selivanov [Wed, 5 Oct 2016 23:33:36 +0000 (19:33 -0400)]
Merge 3.5 (issue #28372)

8 years agoIssue #28372: Fix asyncio to support formatting of non-python coroutines
Yury Selivanov [Wed, 5 Oct 2016 23:32:49 +0000 (19:32 -0400)]
Issue #28372: Fix asyncio to support formatting of non-python coroutines

8 years agoMerge 3.6 (issue #28371)
Yury Selivanov [Wed, 5 Oct 2016 22:29:33 +0000 (18:29 -0400)]
Merge 3.6 (issue #28371)

8 years agoMerge 3.5 (issue #28371)
Yury Selivanov [Wed, 5 Oct 2016 22:29:04 +0000 (18:29 -0400)]
Merge 3.5 (issue #28371)

8 years agoIssue #28371: Deprecate passing asyncio.Handles to run_in_executor.
Yury Selivanov [Wed, 5 Oct 2016 22:28:09 +0000 (18:28 -0400)]
Issue #28371: Deprecate passing asyncio.Handles to run_in_executor.

8 years agoMerge 3.6 (issue #28370)
Yury Selivanov [Wed, 5 Oct 2016 22:04:48 +0000 (18:04 -0400)]
Merge 3.6 (issue #28370)

8 years agoMerge 3.5 (issue #28370)
Yury Selivanov [Wed, 5 Oct 2016 22:04:35 +0000 (18:04 -0400)]
Merge 3.5 (issue #28370)

8 years agoIssue #28370: Speedup asyncio.StreamReader.readexactly
Yury Selivanov [Wed, 5 Oct 2016 22:01:12 +0000 (18:01 -0400)]
Issue #28370: Speedup asyncio.StreamReader.readexactly

Patch by Коренберг Марк.

8 years agoMerge 3.6 (issue #28369)
Yury Selivanov [Wed, 5 Oct 2016 21:50:19 +0000 (17:50 -0400)]
Merge 3.6 (issue #28369)

8 years agoMerge 3.5 (issue #28369)
Yury Selivanov [Wed, 5 Oct 2016 21:49:54 +0000 (17:49 -0400)]
Merge 3.5 (issue #28369)

8 years agoIssue #28369: Raise an error when transport's FD is used with add_reader
Yury Selivanov [Wed, 5 Oct 2016 21:48:59 +0000 (17:48 -0400)]
Issue #28369: Raise an error when transport's FD is used with add_reader

8 years agoMerge 3.6 (issue #28368)
Yury Selivanov [Wed, 5 Oct 2016 21:02:07 +0000 (17:02 -0400)]
Merge 3.6 (issue #28368)

8 years agoMerge 3.5 (issue #28368)
Yury Selivanov [Wed, 5 Oct 2016 21:01:01 +0000 (17:01 -0400)]
Merge 3.5 (issue #28368)

8 years agoIssue #28368: Refuse monitoring processes if the child watcher has no loop attached.
Yury Selivanov [Wed, 5 Oct 2016 20:57:12 +0000 (16:57 -0400)]
Issue #28368: Refuse monitoring processes if the child watcher has no loop attached.

Patch by Vincent Michel.

8 years agoIssue #27998: Removed workarounds for supporting bytes paths on Windows in
Serhiy Storchaka [Wed, 5 Oct 2016 20:18:32 +0000 (23:18 +0300)]
Issue #27998: Removed workarounds for supporting bytes paths on Windows in
os.walk() function and glob module since os.scandir() now directly supports
them.

8 years agoIssue #27998: Removed workarounds for supporting bytes paths on Windows in
Serhiy Storchaka [Wed, 5 Oct 2016 20:17:10 +0000 (23:17 +0300)]
Issue #27998: Removed workarounds for supporting bytes paths on Windows in
os.walk() function and glob module since os.scandir() now directly supports
them.

8 years agonull merge from 3.6
Ned Deily [Tue, 4 Oct 2016 18:52:01 +0000 (14:52 -0400)]
null merge from 3.6

8 years agoIssue #28222: Merge from 3.6
Berker Peksag [Tue, 4 Oct 2016 17:55:52 +0000 (20:55 +0300)]
Issue #28222: Merge from 3.6

8 years agoIssue #28222: Merge from 3.5
Berker Peksag [Tue, 4 Oct 2016 17:55:26 +0000 (20:55 +0300)]
Issue #28222: Merge from 3.5

8 years agoIssue #28222: Don't fail if pygments is not available
Berker Peksag [Tue, 4 Oct 2016 17:54:44 +0000 (20:54 +0300)]
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().

8 years agoIssue #28348: Merge from 3.6
Berker Peksag [Tue, 4 Oct 2016 17:46:43 +0000 (20:46 +0300)]
Issue #28348: Merge from 3.6

8 years agoIssue #28348: Merge from 3.5
Berker Peksag [Tue, 4 Oct 2016 17:46:22 +0000 (20:46 +0300)]
Issue #28348: Merge from 3.5

8 years agoIssue #28348: Fix typo in asyncio.Task() documentation
Berker Peksag [Tue, 4 Oct 2016 17:45:47 +0000 (20:45 +0300)]
Issue #28348: Fix typo in asyncio.Task() documentation

Patch by Mariatta Wijaya.

8 years agoIssue #28229: Merge from 3.6
Berker Peksag [Tue, 4 Oct 2016 17:41:56 +0000 (20:41 +0300)]
Issue #28229: Merge from 3.6

8 years agoIssue #28229: lzma module now supports pathlib
Berker Peksag [Tue, 4 Oct 2016 17:41:20 +0000 (20:41 +0300)]
Issue #28229: lzma module now supports pathlib

8 years agoIssue #28321: Fixed writing non-BMP characters with binary format in plistlib.
Serhiy Storchaka [Tue, 4 Oct 2016 17:08:59 +0000 (20:08 +0300)]
Issue #28321: Fixed writing non-BMP characters with binary format in plistlib.

8 years agoIssue #28321: Fixed writing non-BMP characters with binary format in plistlib.
Serhiy Storchaka [Tue, 4 Oct 2016 17:08:29 +0000 (20:08 +0300)]
Issue #28321: Fixed writing non-BMP characters with binary format in plistlib.

8 years agoIssue #28321: Fixed writing non-BMP characters with binary format in plistlib.
Serhiy Storchaka [Tue, 4 Oct 2016 17:04:30 +0000 (20:04 +0300)]
Issue #28321: Fixed writing non-BMP characters with binary format in plistlib.

8 years agoAutomated merge with ssh://hg.python.org/cpython
Steven D'Aprano [Tue, 4 Oct 2016 16:25:05 +0000 (03:25 +1100)]
Automated merge with ssh://hg.python.org/cpython

8 years agoIssue #27181 remove geometric_mean and defer for 3.7.
Steven D'Aprano [Tue, 4 Oct 2016 16:24:45 +0000 (03:24 +1100)]
Issue #27181 remove geometric_mean and defer for 3.7.

8 years agoIssue #27181 remove geometric_mean and defer for 3.7.
Steven D'Aprano [Tue, 4 Oct 2016 16:24:45 +0000 (03:24 +1100)]
Issue #27181 remove geometric_mean and defer for 3.7.

8 years agoNull merge
Serhiy Storchaka [Tue, 4 Oct 2016 15:24:41 +0000 (18:24 +0300)]
Null merge

8 years agoNull merge
Serhiy Storchaka [Tue, 4 Oct 2016 15:24:21 +0000 (18:24 +0300)]
Null merge

8 years agoMerge heads
Serhiy Storchaka [Tue, 4 Oct 2016 15:23:55 +0000 (18:23 +0300)]
Merge heads

8 years agoIssue #28350: String constants with null character no longer interned.
Serhiy Storchaka [Tue, 4 Oct 2016 15:21:53 +0000 (18:21 +0300)]
Issue #28350: String constants with null character no longer interned.

8 years agoIssue #28350: String constants with null character no longer interned.
Serhiy Storchaka [Tue, 4 Oct 2016 15:21:25 +0000 (18:21 +0300)]
Issue #28350: String constants with null character no longer interned.

8 years agoIssue #28350: String constants with null character no longer interned.
Serhiy Storchaka [Tue, 4 Oct 2016 15:17:22 +0000 (18:17 +0300)]
Issue #28350: String constants with null character no longer interned.

8 years agomerge heads
Benjamin Peterson [Tue, 4 Oct 2016 07:01:03 +0000 (00:01 -0700)]
merge heads

8 years agomerge 3.6 (#26617)
Benjamin Peterson [Tue, 4 Oct 2016 07:00:35 +0000 (00:00 -0700)]
merge 3.6 (#26617)

8 years agomerge 3.5 (#26617)
Benjamin Peterson [Tue, 4 Oct 2016 07:00:23 +0000 (00:00 -0700)]
merge 3.5 (#26617)

8 years agoensure gc tracking is off when invoking weakref callbacks (closes #26617)
Benjamin Peterson [Tue, 4 Oct 2016 07:00:02 +0000 (00:00 -0700)]
ensure gc tracking is off when invoking weakref callbacks (closes #26617)

8 years agoCloses #21124, #28337: Call PyType_Ready on unpackiter_type.
Zachary Ware [Tue, 4 Oct 2016 06:20:21 +0000 (01:20 -0500)]
Closes #21124, #28337: Call PyType_Ready on unpackiter_type.

Patch by Masayuki Yamamoto.

8 years agoIssue #28335: made minor improvement to implementation.
Vinay Sajip [Mon, 3 Oct 2016 18:50:56 +0000 (19:50 +0100)]
Issue #28335: made minor improvement to implementation.

8 years agoCloses #28335: used 'raise from' in logging configuration code.
Vinay Sajip [Mon, 3 Oct 2016 18:45:50 +0000 (19:45 +0100)]
Closes #28335: used 'raise from' in logging configuration code.

8 years agoAdd myself to the ACKS file.
Steve Dower [Mon, 3 Oct 2016 18:16:17 +0000 (11:16 -0700)]
Add myself to the ACKS file.

8 years agoMerge from 3.6
Steve Dower [Mon, 3 Oct 2016 16:15:39 +0000 (09:15 -0700)]
Merge from 3.6

8 years agoIssue #28218: Fixes versionadded description in using/windows.rst
Steve Dower [Mon, 3 Oct 2016 16:15:27 +0000 (09:15 -0700)]
Issue #28218: Fixes versionadded description in using/windows.rst

8 years agoIssue #28217: Adds _testconsole module to test console input.
Steve Dower [Mon, 3 Oct 2016 16:12:42 +0000 (09:12 -0700)]
Issue #28217: Adds _testconsole module to test console input.

8 years agoIssue #28217: Adds _testconsole module to test console input. Fixes some issues found...
Steve Dower [Mon, 3 Oct 2016 16:04:58 +0000 (09:04 -0700)]
Issue #28217: Adds _testconsole module to test console input. Fixes some issues found by the tests.

8 years agoMore updates from upstream typing.py (3.6->3.7)
Guido van Rossum [Mon, 3 Oct 2016 15:42:17 +0000 (08:42 -0700)]
More updates from upstream typing.py (3.6->3.7)

8 years agoMore updates from upstream typing.py (3.5->3.6)
Guido van Rossum [Mon, 3 Oct 2016 15:41:37 +0000 (08:41 -0700)]
More updates from upstream typing.py (3.5->3.6)

8 years agoMore updates from upstream typing.py
Guido van Rossum [Mon, 3 Oct 2016 15:40:50 +0000 (08:40 -0700)]
More updates from upstream typing.py