]>
granicus.if.org Git - python/log
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
Berker Peksag [Sat, 17 Sep 2016 13:20:55 +0000 (16:20 +0300)]
Fix test_access_denied in 3.5
Berker Peksag [Sat, 17 Sep 2016 12:49:59 +0000 (15:49 +0300)]
Issue #28075: Check for ERROR_ACCESS_DENIED in Windows implementation of os.stat()
Patch by Eryk Sun.
Martin Panter [Sat, 17 Sep 2016 03:26:16 +0000 (03:26 +0000)]
Issue #28139: Fix messed up indentation
Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.
Berker Peksag [Fri, 16 Sep 2016 14:31:06 +0000 (17:31 +0300)]
Issue #25270: Prevent codecs.escape_encode() from raising SystemError when an empty bytestring is passed
Christian Heimes [Fri, 16 Sep 2016 11:48:10 +0000 (13:48 +0200)]
Issue #28181: Get antigravity over HTTPS. Patch by Kaartic Sivaraam.
Berker Peksag [Fri, 16 Sep 2016 11:43:58 +0000 (14:43 +0300)]
Issue #25895: Enable WebSocket URL schemes in urllib.parse.urljoin
Patch by Gergely Imreh and Markus Holtermann.
Martin Panter [Fri, 16 Sep 2016 00:46:05 +0000 (00:46 +0000)]
Issue #28145: Spelling fixes
Yury Selivanov [Thu, 15 Sep 2016 23:30:42 +0000 (19:30 -0400)]
Issue #27759: Fix selectors incorrectly retain invalid file descriptors.
Patch by Mark Williams.
Yury Selivanov [Thu, 15 Sep 2016 21:56:36 +0000 (17:56 -0400)]
Issue #28176: Fix callbacks race in asyncio.SelectorLoop.sock_connect.
Yury Selivanov [Thu, 15 Sep 2016 20:51:48 +0000 (16:51 -0400)]
Issue #26909: Fix slow pipes IO in asyncio.
Patch by INADA Naoki.
Yury Selivanov [Thu, 15 Sep 2016 19:58:15 +0000 (15:58 -0400)]
Issue #26654: Inspect functools.partial in asyncio.Handle.__repr__.
Patch by iceboy.
Yury Selivanov [Thu, 15 Sep 2016 19:45:07 +0000 (15:45 -0400)]
Issue #28174: Handle when SO_REUSEPORT isn't properly supported (asyncio)
Patch by Seth Michael Larson.
Yury Selivanov [Thu, 15 Sep 2016 18:13:15 +0000 (14:13 -0400)]
Issue #27906: Fix socket accept exhaustion during high TCP traffic.
Patch by Kevin Conway.
Yury Selivanov [Thu, 15 Sep 2016 17:49:08 +0000 (13:49 -0400)]
Another asyncio sync.
Yury Selivanov [Thu, 15 Sep 2016 17:10:51 +0000 (13:10 -0400)]
asyncio: Sync with the upstream
Serhiy Storchaka [Wed, 14 Sep 2016 13:34:37 +0000 (16:34 +0300)]
Issue #27599: Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
Christian Heimes [Wed, 14 Sep 2016 08:25:46 +0000 (10:25 +0200)]
Restrict name_length to NAME_MAXLEN in unicodedata_UCD_lookup()
Benjamin Peterson [Wed, 14 Sep 2016 05:46:37 +0000 (22:46 -0700)]
merge heads