]>
granicus.if.org Git - python/log
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: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: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: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: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:39:57 +0000 (12:39 -0400)]
asyncio: Only allow Unix Stream sockets for loop.create_unix_server/connection
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:09 +0000 (23:32 -0700)]
ensure read size is initialized
Benjamin Peterson [Thu, 6 Oct 2016 06:29:07 +0000 (23:29 -0700)]
do not leak buffer if mmap is not writable
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: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:32:49 +0000 (19:32 -0400)]
Issue #28372: Fix asyncio to support formatting of non-python coroutines
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:01:12 +0000 (18:01 -0400)]
Issue #28370: Speedup asyncio.StreamReader.readexactly
Patch by Коренберг Марк.
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 20:57:12 +0000 (16:57 -0400)]
Issue #28368: Refuse monitoring processes if the child watcher has no loop attached.
Patch by Vincent Michel.
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.
Serhiy Storchaka [Tue, 4 Oct 2016 15:23:55 +0000 (18:23 +0300)]
Merge heads
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:02 +0000 (00:00 -0700)]
ensure gc tracking is off when invoking weakref callbacks (closes #26617)
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: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:16:38 +0000 (21:16 +0300)]
Moved Unicode C API related tests to separate test class.
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:10:18 +0000 (11:10 +0300)]
Issue #27358: Backported tests.
Serhiy Storchaka [Sun, 2 Oct 2016 07:36:33 +0000 (10:36 +0300)]
Issue #28257: Backported a test.
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.
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
Berker Peksag [Sat, 1 Oct 2016 01:16:59 +0000 (04:16 +0300)]
Issue #28283: Remove flaky test test_sock_connect_sock_write_race again
It was added back in
53a578f51f21 .
Berker Peksag [Fri, 30 Sep 2016 22:19:04 +0000 (01:19 +0300)]
Issue #28319: Fix typo in lzma.rst
Reported by Vladimir Rutsky.
Berker Peksag [Fri, 30 Sep 2016 22:06:52 +0000 (01:06 +0300)]
Fix markup in pathlib.rst
Berker Peksag [Fri, 30 Sep 2016 22:02:39 +0000 (01:02 +0300)]
Fix Path.glob() link, reported by SilentGhost
Terry Jan Reedy [Fri, 30 Sep 2016 19:38:48 +0000 (15:38 -0400)]
Issue #28815: Change '?' to '<module>' in some doc examples.
Patch by Mariatta Wijaya.
Guido van Rossum [Fri, 30 Sep 2016 15:17:15 +0000 (08:17 -0700)]
Misc asyncio improvements from upstream
Serhiy Storchaka [Fri, 30 Sep 2016 07:38:31 +0000 (10:38 +0300)]
Merge heads
Serhiy Storchaka [Fri, 30 Sep 2016 07:07:26 +0000 (10:07 +0300)]
Issue #27942: String constants now interned recursively in tuples and frozensets.
Terry Jan Reedy [Fri, 30 Sep 2016 06:53:44 +0000 (02:53 -0400)]
Issue #25488: Stpp idle.py from adding a entry when it is a duplicate.
Also, make idlelib.idle.main() work after import idlelib.idle.
Terry Jan Reedy [Fri, 30 Sep 2016 03:59:55 +0000 (23:59 -0400)]
Move idlelib/NEWS.txt entries for 2.x into a separate file -- NEWS2x.txt.
Reformat a few early 3.x entries in HEWS.txt.
Victor Stinner [Thu, 29 Sep 2016 20:31:06 +0000 (22:31 +0200)]
Issue #28258: Explain the LC_ALL change in a comment
Serhiy Storchaka [Thu, 29 Sep 2016 17:29:23 +0000 (20:29 +0300)]
Issue #28258: Fixed build with Estonian locale (python-config and distclean
targets in Makefile). Patch by Arfrever Frehtes Taifersar Arahesis.
Benjamin Peterson [Thu, 29 Sep 2016 06:13:58 +0000 (23:13 -0700)]
build_ext: correctly parse the link_objects user option (closes #
1703178 )
Patch by Valerie Lambert.
Martin Panter [Thu, 29 Sep 2016 02:50:20 +0000 (02:50 +0000)]
Remove disabled ctypes test
The test was commented out in 2005 before ctypes was added to Python, because
the “cdll” attribute loading feature “will no longer work this way”:
http://svn.python.org/view?view=revision&revision=49102
Terry Jan Reedy [Thu, 29 Sep 2016 01:55:55 +0000 (21:55 -0400)]
IDLE NEWS item and ack.
Berker Peksag [Wed, 28 Sep 2016 19:48:57 +0000 (22:48 +0300)]
Issue #28306: Update exception message of ZeroDivisionError
Berker Peksag [Wed, 28 Sep 2016 16:35:25 +0000 (19:35 +0300)]
Issue #27740: Fix typo in Py_CompileStringExFlags
Berker Peksag [Wed, 28 Sep 2016 14:28:41 +0000 (17:28 +0300)]
Issue #28303: Fix grammar in unittest.__doc__, patch by Shlomi Fish
Berker Peksag [Wed, 28 Sep 2016 14:21:52 +0000 (17:21 +0300)]
Issue #28300: Fix typos, patch by Shlomi Fish
Berker Peksag [Wed, 28 Sep 2016 14:07:01 +0000 (17:07 +0300)]
Issue #21903: Update ctypes example to use MessageBoxW
Alexander Belopolsky [Wed, 28 Sep 2016 00:34:11 +0000 (20:34 -0400)]
Issue #28253: Added a NEWS entry.
Alexander Belopolsky [Wed, 28 Sep 2016 00:26:39 +0000 (20:26 -0400)]
Issue #28253: Fixed calendar functions for extreme months: 0001-01 and 9999-12.
Methods itermonthdays() and itermonthdays2() are reimplemented so that they
don't call itermonthdates() which can cause datetime.date under/overflow.
Guido van Rossum [Tue, 27 Sep 2016 22:20:12 +0000 (15:20 -0700)]
Update typing.py and test_typing.py from upstream (https://github.com/python/typing)
Berker Peksag [Tue, 27 Sep 2016 21:39:36 +0000 (00:39 +0300)]
Issue #28283: Remove flaky test test_sock_connect_sock_write_race
Serhiy Storchaka [Tue, 27 Sep 2016 19:03:51 +0000 (22:03 +0300)]
Issue #20947: Fixed a gcc warning with -Wstrict-overflow.
Serhiy Storchaka [Tue, 27 Sep 2016 17:45:35 +0000 (20:45 +0300)]
Issue #21578: Fixed misleading error message when ImportError called with
invalid keyword args.
Serhiy Storchaka [Tue, 27 Sep 2016 17:14:26 +0000 (20:14 +0300)]
Issue #28275: Fixed possible use adter free in LZMADecompressor.decompress().
Original patch by John Leitch.
Martin Panter [Tue, 27 Sep 2016 05:10:40 +0000 (05:10 +0000)]
Issue #26439: Document that RTLD_NOW is always added
Serhiy Storchaka [Mon, 26 Sep 2016 21:10:03 +0000 (00:10 +0300)]
Issue #27897: Fixed possible crash in sqlite3.Connection.create_collation()
if pass invalid string-like object as a name. Patch by Xiang Zhang.
Berker Peksag [Mon, 26 Sep 2016 20:22:22 +0000 (23:22 +0300)]
Issue #10673: Document that Process.exitcode can be used to determine timeout
Patch by Tom Clark.
Berker Peksag [Mon, 26 Sep 2016 20:06:32 +0000 (23:06 +0300)]
Issue #18893: Fix invalid exception handling in Lib/ctypes/macholib/dyld.py
Patch by Madison May.
Berker Peksag [Mon, 26 Sep 2016 19:50:11 +0000 (22:50 +0300)]
Document that os.mknod() is not available on Windows
Reported by Regina Ochotzki on docs@p.o.
Berker Peksag [Mon, 26 Sep 2016 19:44:07 +0000 (22:44 +0300)]
os.genenvb() is not availabnle under Windows
Serhiy Storchaka [Mon, 26 Sep 2016 17:52:41 +0000 (20:52 +0300)]
Issues #25909, #28211: Restored correct documentation of PyMapping_Items,
PyMapping_Keys and PyMapping_Values. Based on patch by Xiang Zhang.
Serhiy Storchaka [Sun, 25 Sep 2016 17:36:23 +0000 (20:36 +0300)]
Issue #11957: Restored re tests for passing count and maxsplit as positional
arguments.
Serhiy Storchaka [Sun, 25 Sep 2016 13:46:10 +0000 (16:46 +0300)]
Issue #27611: Fixed support of default root window in the tkinter.tix module.
Mark Dickinson [Sat, 24 Sep 2016 14:26:36 +0000 (15:26 +0100)]
Issue #28203: Fix incorrect type in error message from complex(1.0, {2:3}). Patch by Soumya Sharma.
Martin Panter [Fri, 23 Sep 2016 23:45:56 +0000 (23:45 +0000)]
Issue #28221: Remove unused assignment from test_asyncore_server()
The later value of FOO is fine. The test just needs to verify that the server
converted it to lowercase.
Christian Heimes [Fri, 23 Sep 2016 18:24:28 +0000 (20:24 +0200)]
Increase buffer for readlink() in case OS will support longer names one day.
Christian Heimes [Fri, 23 Sep 2016 18:20:27 +0000 (20:20 +0200)]
Add an extra byte for null in case we ever get very long unicode names.
Victor Stinner [Fri, 23 Sep 2016 09:13:53 +0000 (11:13 +0200)]
Issue #27829: regrtest -W displays stderr if env changed
regrtest -W hides output if a test pass, but also when env changed and so the
env changed warning is hidden. So it's hard to debug. With this change, stderr
is now always displayed when a test doesn't pass.
Steve Dower [Fri, 23 Sep 2016 00:07:56 +0000 (17:07 -0700)]
Issue #28251: Improvements to help manuals on Windows.
Serhiy Storchaka [Thu, 22 Sep 2016 16:59:46 +0000 (19:59 +0300)]
Silence GCC warning.
The code was correct, but GCC is not enough clever.
Christian Heimes [Thu, 22 Sep 2016 14:49:35 +0000 (16:49 +0200)]
Make Lib/test/ssltests.py more useful and faster for OpenSSL testing
Martin Panter [Thu, 22 Sep 2016 09:37:56 +0000 (09:37 +0000)]
Fix references to Python 3’s socketserver (lowercase) module
Martin Panter [Thu, 22 Sep 2016 09:37:39 +0000 (09:37 +0000)]
Issue #27348: Restore “Exception: None” formatting in traceback module
This fixes a regression caused by revision
73afda5a4e4c . Also reverts the
decimal test workaround added in revision
5f3dd0a2b1ab .
Remove test_without_exception(). According to revision
ecaafc32c500 , this was
added in Python 2 so that print_exc() would output “None” when called with no
exception set. However print_exc() never worked like this in Python 3, and
the use case is not documented.
Restore TracebackCases class name (instead of SyntaxTracebackCases), because
the class also tests other exceptions.
Serhiy Storchaka [Thu, 22 Sep 2016 08:39:25 +0000 (11:39 +0300)]
Extend the test to lower pickle protocols.
Berker Peksag [Wed, 21 Sep 2016 16:34:15 +0000 (19:34 +0300)]
Issue #25651: Allow falsy values to be used for msg parameter of subTest()
Victor Stinner [Wed, 21 Sep 2016 12:13:14 +0000 (14:13 +0200)]
Fix PyUnicode_FromFormatV() error handling
Issue #28233: Fix a memory leak if the format string contains a non-ASCII
character, destroy the unicode writer.
Victor Stinner [Wed, 21 Sep 2016 07:15:36 +0000 (09:15 +0200)]
test_asynico: fix test_sock_connect_sock_write_race()
Issue #28176: Increase timeout from 10 seconds to 60 seconds.
Victor Stinner [Tue, 20 Sep 2016 20:46:02 +0000 (22:46 +0200)]
Catch EPERM error in py_getrandom()
Issue #27955: Fallback on reading /dev/urandom device when the getrandom()
syscall fails with EPERM, for example when blocked by SECCOMP.
Victor Stinner [Tue, 20 Sep 2016 20:26:18 +0000 (22:26 +0200)]
Cleanup random.c
Issue #27955: modify py_getrnadom() and dev_urandom()
* Add comments from Python 3.7
* PEP 7 style: add {...}
Ned Deily [Tue, 20 Sep 2016 19:00:07 +0000 (15:00 -0400)]
Make 3.7 the current dev version in the html version of the docs.
Benjamin Peterson [Tue, 20 Sep 2016 05:16:36 +0000 (22:16 -0700)]
remove trailing whitespace
Jesus Cea [Mon, 19 Sep 2016 22:01:53 +0000 (00:01 +0200)]
Docs: Correctly link to the methods
Benjamin Peterson [Mon, 19 Sep 2016 06:43:18 +0000 (23:43 -0700)]
merge 3.4
Benjamin Peterson [Mon, 19 Sep 2016 06:41:11 +0000 (23:41 -0700)]
properly handle the single null-byte file (closes #24022)
Raymond Hettinger [Mon, 19 Sep 2016 04:45:11 +0000 (21:45 -0700)]
Issue #28189: dictitems_contains no longer swallows compare errors.
(Patch by Xiang Zhang)
Christian Heimes [Sun, 18 Sep 2016 12:33:30 +0000 (14:33 +0200)]
Issue #26661: setup.py now detects system libffi with multiarch wrapper.
Berker Peksag [Sun, 18 Sep 2016 11:52:25 +0000 (14:52 +0300)]
Issue #26610: Skip test_with_pip if _ctypes is not available in OpenIndiana
Berker Peksag [Sun, 18 Sep 2016 10:56:29 +0000 (13:56 +0300)]
Issue #28075: Fix test_access_denied in Python 3.5
I forgot there two variations of os.stat() in Python 3.5.
Steve Dower [Sun, 18 Sep 2016 00:29:37 +0000 (17:29 -0700)]
Add file missed from backport
Steve Dower [Sun, 18 Sep 2016 00:25:42 +0000 (17:25 -0700)]
Issue #27932: Prevent memory leak in win32_ver().
Steve Dower [Sat, 17 Sep 2016 23:12:55 +0000 (16:12 -0700)]
Issue #28110: launcher.msi has different product codes between 32-bit and 64-bit
Berker Peksag [Sat, 17 Sep 2016 22:06:50 +0000 (01:06 +0300)]
Issue #28176: Increase timeout for test_sock_connect_sock_write_race
Berker Peksag [Sat, 17 Sep 2016 20:22:06 +0000 (23:22 +0300)]
Issue #26384: Fix UnboundLocalError in socket._sendfile_use_sendfile