]>
granicus.if.org Git - python/log
Victor Stinner [Tue, 22 Sep 2015 08:46:52 +0000 (10:46 +0200)]
Issue #24870: revert unwanted change
Sorry, I pushed the patch on the UTF-8 decoder by mistake :-(
Raymond Hettinger [Tue, 22 Sep 2015 08:20:36 +0000 (01:20 -0700)]
Eliminate unnecessary variable
Raymond Hettinger [Tue, 22 Sep 2015 06:41:56 +0000 (23:41 -0700)]
Minor consistency improvements to negative value comparisons.
Terry Jan Reedy [Tue, 22 Sep 2015 02:42:55 +0000 (22:42 -0400)]
Merge with 3.5
Terry Jan Reedy [Tue, 22 Sep 2015 02:42:43 +0000 (22:42 -0400)]
Merge with 3.4
Terry Jan Reedy [Tue, 22 Sep 2015 02:42:32 +0000 (22:42 -0400)]
whitespace
Terry Jan Reedy [Tue, 22 Sep 2015 02:40:31 +0000 (22:40 -0400)]
Issue #16893: Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html.
Change destination to help.html. Adjust NEWS entries.
Terry Jan Reedy [Tue, 22 Sep 2015 02:38:47 +0000 (22:38 -0400)]
Issue #16893: Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html.
Change destination to help.html. Adjust NEWS entries.
Terry Jan Reedy [Tue, 22 Sep 2015 02:36:42 +0000 (22:36 -0400)]
Issue #16893: Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html.
Change destination to help.html. Adjust NEWS entries.
Terry Jan Reedy [Mon, 21 Sep 2015 23:35:51 +0000 (19:35 -0400)]
Merge
Terry Jan Reedy [Mon, 21 Sep 2015 23:33:46 +0000 (19:33 -0400)]
Merge with 3.5
Terry Jan Reedy [Mon, 21 Sep 2015 23:33:14 +0000 (19:33 -0400)]
Marge 3.4
Victor Stinner [Mon, 21 Sep 2015 23:29:33 +0000 (01:29 +0200)]
Issue #25207, #14626: Fix my commit.
It doesn't work to use #define XXX defined(YYY)" and then "#ifdef XXX"
to check YYY.
Terry Jan Reedy [Mon, 21 Sep 2015 23:28:22 +0000 (19:28 -0400)]
Issue #24861: add Idle news item and correct previous errors.
Victor Stinner [Mon, 21 Sep 2015 23:01:17 +0000 (01:01 +0200)]
_PyUnicodeWriter_PrepareInternal(): make the assertion more strict
Victor Stinner [Mon, 21 Sep 2015 22:58:32 +0000 (00:58 +0200)]
Issue #24870: Add _PyUnicodeWriter_PrepareKind() macro
Add a macro which ensures that the writer has at least the requested kind.
Victor Stinner [Mon, 21 Sep 2015 22:26:54 +0000 (00:26 +0200)]
Issue #24870: Reuse the new _Py_error_handler enum
Factorize code with the new get_error_handler() function.
Add some empty lines for readability.
Victor Stinner [Mon, 21 Sep 2015 21:06:27 +0000 (23:06 +0200)]
Issue #24870: Optimize the ASCII decoder for error handlers: surrogateescape,
ignore and replace. Initial patch written by Naoki Inada.
The decoder is now up to 60 times as fast for these error handlers.
Add also unit tests for the ASCII decoder.
Victor Stinner [Mon, 21 Sep 2015 20:40:28 +0000 (22:40 +0200)]
ssue #25207: fix ICC compiler warning in msvcrtmodule.c
Victor Stinner [Mon, 21 Sep 2015 20:37:15 +0000 (22:37 +0200)]
Issue #25207, #14626: Fix ICC compiler warnings in posixmodule.c
Replace "#if XXX" with #ifdef XXX".
Victor Stinner [Mon, 21 Sep 2015 20:29:43 +0000 (22:29 +0200)]
Merge 3.5 (Issue #23630, fix test_asyncio)
Victor Stinner [Mon, 21 Sep 2015 20:29:30 +0000 (22:29 +0200)]
Merge 3.4 (Issue #23630, fix test_asyncio)
Victor Stinner [Mon, 21 Sep 2015 20:28:44 +0000 (22:28 +0200)]
Issue #23630: Fix test_asyncio on Windows
The proactor event loop requires also to mock loop._stop_serving.
Victor Stinner [Mon, 21 Sep 2015 20:20:52 +0000 (22:20 +0200)]
Merge 3.5 (test_asyncio)
Victor Stinner [Mon, 21 Sep 2015 20:20:36 +0000 (22:20 +0200)]
Merge 3.4 (test_asyncio)
Victor Stinner [Mon, 21 Sep 2015 20:20:19 +0000 (22:20 +0200)]
Issue #25114: Fix test_asyncio
ssl.SSLContext() does not always disable compression. Fix unit test.
Eric V. Smith [Mon, 21 Sep 2015 17:36:09 +0000 (13:36 -0400)]
Issue #24779: Remove unused rawmode parameter to unicode_decode.
Victor Stinner [Mon, 21 Sep 2015 16:41:46 +0000 (18:41 +0200)]
Merge 3.5 (asyncio)
Victor Stinner [Mon, 21 Sep 2015 16:41:05 +0000 (18:41 +0200)]
Merge 3.4 (asyncio)
Victor Stinner [Mon, 21 Sep 2015 16:33:43 +0000 (18:33 +0200)]
Issue #23630, asyncio: host parameter of loop.create_server() can now be a
sequence of strings. Patch written by Yann Sionneau.
Victor Stinner [Mon, 21 Sep 2015 16:28:04 +0000 (18:28 +0200)]
Merge 3.5 (asyncio doc)
Victor Stinner [Mon, 21 Sep 2015 16:27:52 +0000 (18:27 +0200)]
Issue #25114: Adjust versionchanged in the doc
Victor Stinner [Mon, 21 Sep 2015 16:08:27 +0000 (18:08 +0200)]
Merge 3.5 (asyncio)
Victor Stinner [Mon, 21 Sep 2015 16:08:06 +0000 (18:08 +0200)]
Merge 3.4 (asyncio)
Victor Stinner [Mon, 21 Sep 2015 16:06:17 +0000 (18:06 +0200)]
Issue #25114, asyncio: add ssl_object extra info to SSL transports
This info is required on Python 3.5 and newer to get specific information on
the SSL object, like getting the binary peer certificate (instead of getting
it as text).
Victor Stinner [Mon, 21 Sep 2015 12:05:18 +0000 (14:05 +0200)]
Merge 3.5 (test_eintr, FreeBSD)
Victor Stinner [Mon, 21 Sep 2015 12:05:02 +0000 (14:05 +0200)]
Issue #25122: test_eintr: the FreeBSD fix will be released in FreeBSD 10.3
Victor Stinner [Mon, 21 Sep 2015 07:06:53 +0000 (09:06 +0200)]
Merge 3.5 (test_socket, issue #25138)
Victor Stinner [Mon, 21 Sep 2015 07:04:17 +0000 (09:04 +0200)]
Merge 3.4 (test_socket, issue #25138)
Victor Stinner [Mon, 21 Sep 2015 07:04:01 +0000 (09:04 +0200)]
Issue #25138: test_socket.test_idna() uses support.transient_internet() instead
of catching socket.EAI_NODATA error which doesn't exist on FreeBSD.
Terry Jan Reedy [Mon, 21 Sep 2015 05:44:33 +0000 (01:44 -0400)]
Merge with 3.5
Terry Jan Reedy [Mon, 21 Sep 2015 05:44:20 +0000 (01:44 -0400)]
Merge with 3.4
Terry Jan Reedy [Mon, 21 Sep 2015 05:44:06 +0000 (01:44 -0400)]
Issue #24861: Add docstring to idlelib.__init__ with 'private' warning.
Terry Jan Reedy [Mon, 21 Sep 2015 05:11:26 +0000 (01:11 -0400)]
Move items from NEWS to idlelib/NEWS.txt. Standardize headers spacing: 2 lines
above "What's New and 0 lines above "Release date". Remove most old headers
for non-final releases (they currently do not get carried forward.
Terry Jan Reedy [Mon, 21 Sep 2015 05:10:21 +0000 (01:10 -0400)]
Move items from NEWS to idlelib/NEWS.txt. Standardize headers spacing: 2 lines
above "What's New and 0 lines above "Release date". Remove most old headers
for non-final releases (they currently do not get carried forward.
Terry Jan Reedy [Mon, 21 Sep 2015 05:07:59 +0000 (01:07 -0400)]
Move items from NEWS to idlelib/NEWS.txt. Standardize headers spacing: 2 lines
above "What's New and 0 lines above "Release date". Remove most old headers
for non-final releases (they currently do not get carried forward.
Berker Peksag [Mon, 21 Sep 2015 03:52:11 +0000 (06:52 +0300)]
Issue #23484: Document differences between synchronization primitives of
threading and multiprocessing modules.
In multiprocessing, the name of the first parameter of the acquire methods is
"block", but "blocking" in threading.
This commit also improves documentation of Lock and RLock.
Patch by Davin Potts.
Berker Peksag [Mon, 21 Sep 2015 03:51:45 +0000 (06:51 +0300)]
Issue #23484: Document differences between synchronization primitives of
threading and multiprocessing modules.
In multiprocessing, the name of the first parameter of the acquire methods is
"block", but "blocking" in threading.
This commit also improves documentation of Lock and RLock.
Patch by Davin Potts.
Berker Peksag [Mon, 21 Sep 2015 03:50:55 +0000 (06:50 +0300)]
Issue #23484: Document differences between synchronization primitives of
threading and multiprocessing modules.
In multiprocessing, the name of the first parameter of the acquire methods is
"block", but "blocking" in threading.
This commit also improves documentation of Lock and RLock.
Patch by Davin Potts.
Terry Jan Reedy [Mon, 21 Sep 2015 03:32:08 +0000 (23:32 -0400)]
Add NEWS items for Idle to 3.6.0a1 section.
Terry Jan Reedy [Mon, 21 Sep 2015 03:24:01 +0000 (23:24 -0400)]
Merge with 3.5
Terry Jan Reedy [Mon, 21 Sep 2015 03:23:44 +0000 (23:23 -0400)]
Add NEWS items for Idle.
Terry Jan Reedy [Mon, 21 Sep 2015 03:21:22 +0000 (23:21 -0400)]
Add NEWS items for Idle.
Berker Peksag [Mon, 21 Sep 2015 03:13:36 +0000 (06:13 +0300)]
Issue #25169: os.getppid() is available on Windows since Python 3.2.
Patch by Bar Harel.
Berker Peksag [Mon, 21 Sep 2015 03:13:14 +0000 (06:13 +0300)]
Issue #25169: os.getppid() is available on Windows since Python 3.2.
Patch by Bar Harel.
Berker Peksag [Mon, 21 Sep 2015 03:12:50 +0000 (06:12 +0300)]
Issue #25169: os.getppid() is available on Windows since Python 3.2.
Patch by Bar Harel.
Terry Jan Reedy [Mon, 21 Sep 2015 03:05:52 +0000 (23:05 -0400)]
Merge with 3.5
Terry Jan Reedy [Mon, 21 Sep 2015 03:05:41 +0000 (23:05 -0400)]
Merge with 3.4
Terry Jan Reedy [Mon, 21 Sep 2015 03:05:25 +0000 (23:05 -0400)]
Issue #16893: finish deprecation.
Terry Jan Reedy [Mon, 21 Sep 2015 02:56:03 +0000 (22:56 -0400)]
Merge with 3.5
Terry Jan Reedy [Mon, 21 Sep 2015 02:55:51 +0000 (22:55 -0400)]
Merge with 3.4
Terry Jan Reedy [Mon, 21 Sep 2015 02:55:39 +0000 (22:55 -0400)]
Issue #25199: Idle: add synchronization comments for future maintainers.
Terry Jan Reedy [Mon, 21 Sep 2015 00:03:37 +0000 (20:03 -0400)]
Merge with 3.5
Terry Jan Reedy [Mon, 21 Sep 2015 00:03:22 +0000 (20:03 -0400)]
Merge with 3.4
Terry Jan Reedy [Mon, 21 Sep 2015 00:03:01 +0000 (20:03 -0400)]
Issue #16893: whitespace in idle.html.
Terry Jan Reedy [Sun, 20 Sep 2015 23:57:58 +0000 (19:57 -0400)]
Merge with 3.5
Terry Jan Reedy [Sun, 20 Sep 2015 23:57:37 +0000 (19:57 -0400)]
Merge with 3.4
Terry Jan Reedy [Sun, 20 Sep 2015 23:57:13 +0000 (19:57 -0400)]
Issue #16893: Replace help.txt with idle.html for Idle doc display.
The new idlelib/idle.html is copied from Doc/build/html/idle.html.
It looks better than help.txt and will better document Idle as released.
The tkinter html viewer that works for this file was written by Rose Roseman.
The new code is in idlelib/help.py, a new file for help menu classes.
The now unused EditorWindow.HelpDialog class and helt.txt file are deprecated.
Eric V. Smith [Sun, 20 Sep 2015 19:09:15 +0000 (15:09 -0400)]
Issue 25180: Fix Tools/parser/unparse.py for f-strings. Patch by Martin Panter.
Benjamin Peterson [Sun, 20 Sep 2015 18:18:58 +0000 (23:18 +0500)]
merge 3.5 (#25145)
Benjamin Peterson [Sun, 20 Sep 2015 18:18:51 +0000 (23:18 +0500)]
merge 3.4 (#25145)
Benjamin Peterson [Sun, 20 Sep 2015 18:17:41 +0000 (23:17 +0500)]
remove reference to PyGoogle (#25145)
Patch by Bar Harel.
Benjamin Peterson [Sun, 20 Sep 2015 18:16:45 +0000 (23:16 +0500)]
use a more modern UA (#25145)
Terry Jan Reedy [Sun, 20 Sep 2015 06:34:51 +0000 (02:34 -0400)]
Merge with 3.5
Terry Jan Reedy [Sun, 20 Sep 2015 06:34:20 +0000 (02:34 -0400)]
Merge with 3.4
Terry Jan Reedy [Sun, 20 Sep 2015 06:34:03 +0000 (02:34 -0400)]
Issue #24199: Add stacklevel to deprecation warning call.
Martin Panter [Sun, 20 Sep 2015 01:11:50 +0000 (01:11 +0000)]
Issue #25176: Merge cgi.parse_qsl link from 3.5
Martin Panter [Sun, 20 Sep 2015 01:07:41 +0000 (01:07 +0000)]
Issue #25176: Merge cgi.parse_qsl link from 3.4 into 3.5
Martin Panter [Sun, 20 Sep 2015 00:28:50 +0000 (00:28 +0000)]
Issue #25176: Correct link for cgi.parse_qsl; patch from Ville Skyttä
Eric V. Smith [Sat, 19 Sep 2015 19:49:57 +0000 (15:49 -0400)]
Temporary hack for issue #25180: exclude test_fstring.py from the unparse round-tripping, while I figure out how to properly fix it.
Eric V. Smith [Sat, 19 Sep 2015 18:51:32 +0000 (14:51 -0400)]
Issue #24965: Implement PEP 498 "Literal String Interpolation". Documentation is still needed, I'll open an issue for that.
Raymond Hettinger [Sat, 19 Sep 2015 16:05:42 +0000 (09:05 -0700)]
Add a fast path (no iterator creation) for a common case for repeating deques of size 1
Victor Stinner [Sat, 19 Sep 2015 11:39:16 +0000 (13:39 +0200)]
Merge 3.5
Victor Stinner [Sat, 19 Sep 2015 11:39:03 +0000 (13:39 +0200)]
Issue #24999: In longobject.c, use two shifts instead of ">> 2*PyLong_SHIFT" to
avoid undefined behaviour when LONG_MAX type is smaller than 60 bits.
This change should fix a warning with the ICC compiler.
Serhiy Storchaka [Sat, 19 Sep 2015 08:00:11 +0000 (11:00 +0300)]
Issue #25101: Try to create a file to test write access in test_zipfile.
Serhiy Storchaka [Sat, 19 Sep 2015 07:59:48 +0000 (10:59 +0300)]
Issue #25101: Try to create a file to test write access in test_zipfile.
Serhiy Storchaka [Sat, 19 Sep 2015 07:55:20 +0000 (10:55 +0300)]
Issue #25101: Try to create a file to test write access in test_zipfile.
Raymond Hettinger [Sat, 19 Sep 2015 06:21:33 +0000 (00:21 -0600)]
Hoist constant expression out of an inner loop
Brett Cannon [Fri, 18 Sep 2015 22:21:22 +0000 (15:21 -0700)]
Merge for issue #25133
Brett Cannon [Fri, 18 Sep 2015 22:21:02 +0000 (15:21 -0700)]
Make it clearer that the constants in the selectors docs are module-level
Brett Cannon [Fri, 18 Sep 2015 22:17:37 +0000 (15:17 -0700)]
Merge for issue #24915
Brett Cannon [Fri, 18 Sep 2015 22:13:44 +0000 (15:13 -0700)]
Issue #24915: Add Clang support to PGO builds and use the test suite
for profile data.
Thanks to Alecsandru Patrascu of Intel for the initial patch.
Victor Stinner [Fri, 18 Sep 2015 14:33:04 +0000 (16:33 +0200)]
Merge 3.5 (test_email)
Victor Stinner [Fri, 18 Sep 2015 14:32:51 +0000 (16:32 +0200)]
Merge 3.4 (test_email)
Victor Stinner [Fri, 18 Sep 2015 14:32:23 +0000 (16:32 +0200)]
Issue #24836: Skip FormatDateTests of test_email.test_utils on Mac OS X Snow
Leopard because this OS uses out of date (pre 2011k) timezone files.
Victor Stinner [Fri, 18 Sep 2015 14:24:31 +0000 (16:24 +0200)]
Issue #25003: Skip test_os.URandomFDTests on Solaris 11.3 and newer
When os.urandom() is implemented with the getrandom() function, it doesn't use
a file descriptor.
Victor Stinner [Fri, 18 Sep 2015 13:38:37 +0000 (15:38 +0200)]
Issue #25003: On Solaris 11.3 or newer, os.urandom() now uses the getrandom()
function instead of the getentropy() function. The getentropy() function is
blocking to generate very good quality entropy, os.urandom() doesn't need such
high-quality entropy.
Victor Stinner [Fri, 18 Sep 2015 13:08:14 +0000 (15:08 +0200)]
Merge 3.5
Victor Stinner [Fri, 18 Sep 2015 13:06:34 +0000 (15:06 +0200)]
Issue #25150: Hide the private _Py_atomic_xxx symbols from the public
Python.h header to fix a compilation error with OpenMP. PyThreadState_GET()
becomes an alias to PyThreadState_Get() to avoid ABI incompatibilies.
It is important that the _PyThreadState_Current variable is always accessed
with the same implementation of pyatomic.h. Use the PyThreadState_Get()
function so extension modules will all reuse the same implementation.
Victor Stinner [Fri, 18 Sep 2015 12:58:09 +0000 (14:58 +0200)]
Null merge 3.5: datetime was already fixed, but with a very different implementation