]>
granicus.if.org Git - python/log
Guido van Rossum [Sun, 9 Oct 2016 03:09:56 +0000 (20:09 -0700)]
Issue #28388: update typing module documentation. (merge 3.5->3.6)
Guido van Rossum [Sun, 9 Oct 2016 03:06:56 +0000 (20:06 -0700)]
Issue #28388: update typing module documentation.
Serhiy Storchaka [Sat, 8 Oct 2016 19:46:01 +0000 (22:46 +0300)]
Merge from 3.5.
Serhiy Storchaka [Sat, 8 Oct 2016 19:45:38 +0000 (22:45 +0300)]
Issue #28379: Added sanity checks and tests for PyUnicode_CopyCharacters().
Patch by Xiang Zhang.
Steve Dower [Sat, 8 Oct 2016 19:37:33 +0000 (12:37 -0700)]
Issue #28162: Fixes Ctrl+Z handling in console readall()
Steve Dower [Sat, 8 Oct 2016 19:24:30 +0000 (12:24 -0700)]
Add proper credit to NEWS file.
Steve Dower [Sat, 8 Oct 2016 19:20:45 +0000 (12:20 -0700)]
Issue #28333: Remove unnecessary increment.
Steve Dower [Sat, 8 Oct 2016 19:18:16 +0000 (12:18 -0700)]
Issue #28333: Enables Unicode for ps1/ps2 and input() prompts. (Patch by Eryk Sun)
Serhiy Storchaka [Sat, 8 Oct 2016 19:06:52 +0000 (22:06 +0300)]
Merge from 3.5.
Serhiy Storchaka [Sat, 8 Oct 2016 19:04:12 +0000 (22:04 +0300)]
Issue #28376: The type of long range iterator is now registered as Iterator.
Patch by Oren Milman.
Serhiy Storchaka [Sat, 8 Oct 2016 18:50:45 +0000 (21:50 +0300)]
Issue #28376: Creating instances of range_iterator by calling range_iterator
type now is deprecated. Patch by Oren Milman.
Serhiy Storchaka [Sat, 8 Oct 2016 18:45:07 +0000 (21:45 +0300)]
Merge from 3.5.
Serhiy Storchaka [Sat, 8 Oct 2016 18:43:11 +0000 (21:43 +0300)]
Issue #28376: The constructor of range_iterator now checks that step is not 0.
Patch by Oren Milman.
Serhiy Storchaka [Sat, 8 Oct 2016 18:34:44 +0000 (21:34 +0300)]
Merge from 3.5.
Serhiy Storchaka [Sat, 8 Oct 2016 18:33:59 +0000 (21:33 +0300)]
Issue #28376: Fixed typos.
Based on patch by Oren Milman.
Serhiy Storchaka [Sat, 8 Oct 2016 17:16:57 +0000 (20:16 +0300)]
Issue #27998: Fixed bytes path support in os.scandir() on Windows.
Patch by Eryk Sun.
Berker Peksag [Sat, 8 Oct 2016 13:15:15 +0000 (16:15 +0300)]
Issue #28390: Fix header levels in whatsnew/3.6.rst
Patch by SilentGhost.
Serhiy Storchaka [Sat, 8 Oct 2016 09:34:25 +0000 (12:34 +0300)]
Issue #28317: The disassembler now decodes FORMAT_VALUE argument.
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.
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.
Serhiy Storchaka [Fri, 7 Oct 2016 20:46:22 +0000 (23:46 +0300)]
Issue #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).
Serhiy Storchaka [Fri, 7 Oct 2016 20:33:55 +0000 (23:33 +0300)]
Null merge
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.
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.
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.
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.
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.
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.
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.
Yury Selivanov [Fri, 7 Oct 2016 16:40:22 +0000 (12:40 -0400)]
Merge 3.5 (asyncio)
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
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.
Yury Selivanov [Thu, 6 Oct 2016 18:05:42 +0000 (14:05 -0400)]
Null merge with 3.5
Yury Selivanov [Thu, 6 Oct 2016 18:05:17 +0000 (14:05 -0400)]
Null merge with 3.4
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)
Benjamin Peterson [Thu, 6 Oct 2016 06:32:15 +0000 (23:32 -0700)]
merge 3.5
Benjamin Peterson [Thu, 6 Oct 2016 06:32:09 +0000 (23:32 -0700)]
ensure read size is initialized
Benjamin Peterson [Thu, 6 Oct 2016 06:29:16 +0000 (23:29 -0700)]
merge 3.5
Benjamin Peterson [Thu, 6 Oct 2016 06:29:07 +0000 (23:29 -0700)]
do not leak buffer if mmap is not writable
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.
Benjamin Peterson [Thu, 6 Oct 2016 05:54:19 +0000 (22:54 -0700)]
merge 3.5
Benjamin Peterson [Thu, 6 Oct 2016 05:09:31 +0000 (22:09 -0700)]
skip test on windows
Benjamin Peterson [Thu, 6 Oct 2016 05:00:24 +0000 (22:00 -0700)]
Benjamin Peterson [Thu, 6 Oct 2016 05:00:05 +0000 (22:00 -0700)]
skip test if resizing is not supported
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
Yury Selivanov [Wed, 5 Oct 2016 23:40:19 +0000 (19:40 -0400)]
Merge 3.5 (issue #23749)
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.
Yury Selivanov [Wed, 5 Oct 2016 23:33:36 +0000 (19:33 -0400)]
Merge 3.5 (issue #28372)
Yury Selivanov [Wed, 5 Oct 2016 23:32:49 +0000 (19:32 -0400)]
Issue #28372: Fix asyncio to support formatting of non-python coroutines
Yury Selivanov [Wed, 5 Oct 2016 22:29:04 +0000 (18:29 -0400)]
Merge 3.5 (issue #28371)
Yury Selivanov [Wed, 5 Oct 2016 22:28:09 +0000 (18:28 -0400)]
Issue #28371: Deprecate passing asyncio.Handles to run_in_executor.
Yury Selivanov [Wed, 5 Oct 2016 22:04:35 +0000 (18:04 -0400)]
Merge 3.5 (issue #28370)
Yury Selivanov [Wed, 5 Oct 2016 22:01:12 +0000 (18:01 -0400)]
Issue #28370: Speedup asyncio.StreamReader.readexactly
Patch by Коренберг Марк.
Yury Selivanov [Wed, 5 Oct 2016 21:49:54 +0000 (17:49 -0400)]
Merge 3.5 (issue #28369)
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
Yury Selivanov [Wed, 5 Oct 2016 21:01:01 +0000 (17:01 -0400)]
Merge 3.5 (issue #28368)
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.
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.
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().
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.
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.
Steven D'Aprano [Tue, 4 Oct 2016 16:24:45 +0000 (03:24 +1100)]
Issue #27181 remove geometric_mean and defer for 3.7.
Berker Peksag [Tue, 4 Oct 2016 17:55:26 +0000 (20:55 +0300)]
Issue #28222: Merge from 3.5
Berker Peksag [Tue, 4 Oct 2016 17:46:22 +0000 (20:46 +0300)]
Issue #28348: Merge from 3.5
Berker Peksag [Tue, 4 Oct 2016 17:41:20 +0000 (20:41 +0300)]
Issue #28229: lzma module now supports pathlib
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.
Serhiy Storchaka [Tue, 4 Oct 2016 15:24:21 +0000 (18:24 +0300)]
Null merge
Serhiy Storchaka [Tue, 4 Oct 2016 15:23:55 +0000 (18:23 +0300)]
Merge heads
Serhiy Storchaka [Tue, 4 Oct 2016 15:21:25 +0000 (18:21 +0300)]
Issue #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.
Benjamin Peterson [Tue, 4 Oct 2016 07:00:23 +0000 (00:00 -0700)]
merge 3.5 (#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)
Steve Dower [Mon, 3 Oct 2016 16:15:27 +0000 (09:15 -0700)]
Issue #28218: Fixes versionadded description in using/windows.rst
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.
Guido van Rossum [Mon, 3 Oct 2016 15:41:37 +0000 (08:41 -0700)]
More updates from upstream typing.py (3.5->3.6)
Guido van Rossum [Mon, 3 Oct 2016 15:40:50 +0000 (08:40 -0700)]
More updates from upstream typing.py
Serhiy Storchaka [Sun, 2 Oct 2016 18:59:44 +0000 (21:59 +0300)]
test_invalid_sequences seems don't have to stay in CAPITest.
Reported by Xiang Zhang.
Serhiy Storchaka [Sun, 2 Oct 2016 18:30:35 +0000 (21:30 +0300)]
Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().
Original patch by Xiang Zhang.
Serhiy Storchaka [Sun, 2 Oct 2016 18:29:26 +0000 (21:29 +0300)]
Issue #28295: Fixed the documentation and added tests for PyUnicode_AsUCS4().
Original patch by Xiang Zhang.
Serhiy Storchaka [Sun, 2 Oct 2016 18:18:14 +0000 (21:18 +0300)]
Moved Unicode C API related tests to separate test class.
Serhiy Storchaka [Sun, 2 Oct 2016 18:16:38 +0000 (21:16 +0300)]
Moved Unicode C API related tests to separate test class.
Berker Peksag [Sun, 2 Oct 2016 17:07:06 +0000 (20:07 +0300)]
Issue #28225: bz2 module now supports pathlib
Initial patch by Ethan Furman.
Berker Peksag [Sun, 2 Oct 2016 10:47:58 +0000 (13:47 +0300)]
Issue #28227: gzip now supports pathlib
Patch by Ethan Furman.
Berker Peksag [Sun, 2 Oct 2016 10:08:25 +0000 (13:08 +0300)]
Issue #27358: Fix typo in error message
Xavier de Gaye [Sun, 2 Oct 2016 09:42:22 +0000 (11:42 +0200)]
Issue #28338: Restore test_pdb doctests.
Berker Peksag [Sun, 2 Oct 2016 08:40:10 +0000 (11:40 +0300)]
Issue #20254: Merge from 3.5
Berker Peksag [Sun, 2 Oct 2016 08:39:41 +0000 (11:39 +0300)]
Issue #20254: Fix duplicate tests in test_socket
Patch by Vajrasky Kok.
Serhiy Storchaka [Sun, 2 Oct 2016 08:11:46 +0000 (11:11 +0300)]
Null merge
Serhiy Storchaka [Sun, 2 Oct 2016 08:10:18 +0000 (11:10 +0300)]
Issue #27358: Backported tests.
Serhiy Storchaka [Sun, 2 Oct 2016 08:06:43 +0000 (11:06 +0300)]
Issue #27358: Optimized merging var-keyword arguments and improved error
message when pass a non-mapping as a var-keyword argument.
Serhiy Storchaka [Sun, 2 Oct 2016 07:37:43 +0000 (10:37 +0300)]
Null merge
Serhiy Storchaka [Sun, 2 Oct 2016 07:36:33 +0000 (10:36 +0300)]
Issue #28257: Backported a test.
Serhiy Storchaka [Sun, 2 Oct 2016 07:33:46 +0000 (10:33 +0300)]
Issue #28257: Improved error message when pass a non-iterable as
a var-positional argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL.
Serhiy Storchaka [Sun, 2 Oct 2016 06:13:14 +0000 (09:13 +0300)]
Issue #28322: Fixed possible crashes when unpickle itertools objects from
incorrect pickle data. Based on patch by John Leitch.
Serhiy Storchaka [Sun, 2 Oct 2016 05:34:53 +0000 (08:34 +0300)]
Issue #28322: Fixed possible crashes when unpickle itertools objects from
incorrect pickle data. Based on patch by John Leitch.
Ned Deily [Sun, 2 Oct 2016 01:12:35 +0000 (21:12 -0400)]
Issue #28324: Remove vestigal MacOS 9 references in os.py docstring.
Patch by Chi Hsuan Yen.
Ned Deily [Sun, 2 Oct 2016 01:12:16 +0000 (21:12 -0400)]
Issue #28323: Remove vestigal MacOS 9 checks from exit() and quit().
Patch by Chi Hsuan Yen.
Martin Panter [Sat, 1 Oct 2016 03:11:04 +0000 (03:11 +0000)]
Issue #28275: Merge bz2 fix from 3.5 into 3.6
Martin Panter [Sat, 1 Oct 2016 02:45:17 +0000 (02:45 +0000)]
Issue #28275: Clean up to avoid use-after-free after bzip decompress failure