]>
granicus.if.org Git - python/log
Eric V. Smith [Wed, 23 Sep 2015 11:49:00 +0000 (07:49 -0400)]
Move f-string compilation of the expression earlier, before the conversion character and format_spec are checked. This allows for error messages that more closely match what a user would expect.
Raymond Hettinger [Wed, 23 Sep 2015 09:42:02 +0000 (02:42 -0700)]
Eliminate unnecessary variables
Terry Jan Reedy [Wed, 23 Sep 2015 07:52:50 +0000 (03:52 -0400)]
Merge with 3.5
Terry Jan Reedy [Wed, 23 Sep 2015 07:52:36 +0000 (03:52 -0400)]
Merge with 3.4
Terry Jan Reedy [Wed, 23 Sep 2015 07:52:23 +0000 (03:52 -0400)]
Issue #25219: Update doc for Idle command line options.
Some were missing and notes were not correct.
Terry Jan Reedy [Wed, 23 Sep 2015 07:45:49 +0000 (03:45 -0400)]
Merge with 3.5
Terry Jan Reedy [Wed, 23 Sep 2015 07:45:33 +0000 (03:45 -0400)]
Merge with 3.4
Terry Jan Reedy [Wed, 23 Sep 2015 07:45:13 +0000 (03:45 -0400)]
Idlelib.help: add 'b' prefix needed for bytes + bytes.
Martin Panter [Wed, 23 Sep 2015 05:41:52 +0000 (05:41 +0000)]
Issue #12067: Merge comparisons doc from 3.5
Martin Panter [Wed, 23 Sep 2015 05:34:48 +0000 (05:34 +0000)]
Issue #12067: Merge comparisons doc from 3.4 into 3.5
Martin Panter [Wed, 23 Sep 2015 05:28:13 +0000 (05:28 +0000)]
Issue #12067: Rewrite Comparisons section in the language reference
Some of the details of comparing mixed types were incorrect or ambiguous.
NotImplemented is only relevant at a lower level than the Expressions
chapter. Added details of comparing range() objects, and default behaviour
and consistency suggestions for user-defined classes. Patch from Andy Maier.
Terry Jan Reedy [Wed, 23 Sep 2015 03:00:07 +0000 (23:00 -0400)]
Merge with 3.5
Terry Jan Reedy [Wed, 23 Sep 2015 02:59:53 +0000 (22:59 -0400)]
Merge with 3.4
Terry Jan Reedy [Wed, 23 Sep 2015 02:59:40 +0000 (22:59 -0400)]
Issue #16893: Move idlelib.EditorWindow.HelpDialog deprecation warning
so it is not triggered on import. The problem is creation of a now-unused
instance "helpDialog = HelpDialog()", left for back compatibility.
So instead trigger the warning when that instance or another is used.
Martin Panter [Wed, 23 Sep 2015 01:49:24 +0000 (01:49 +0000)]
Issue #25047: Merge Element Tree encoding from 3.5
Martin Panter [Wed, 23 Sep 2015 01:43:08 +0000 (01:43 +0000)]
Issue #25047: Merge Element Tree encoding from 3.4 into 3.5
Steve Dower [Wed, 23 Sep 2015 01:21:13 +0000 (18:21 -0700)]
Merge from 3.5
Steve Dower [Wed, 23 Sep 2015 01:20:58 +0000 (18:20 -0700)]
Issues #25112: py.exe launcher is missing icons
Martin Panter [Wed, 23 Sep 2015 01:14:35 +0000 (01:14 +0000)]
Issue #25047: Respect case writing XML encoding declarations
This restores the ability to write encoding names in uppercase like "UTF-8",
which worked in Python 2.
Terry Jan Reedy [Wed, 23 Sep 2015 01:13:53 +0000 (21:13 -0400)]
Merge with 3.5
Terry Jan Reedy [Wed, 23 Sep 2015 01:13:39 +0000 (21:13 -0400)]
Merge with 3.4
Terry Jan Reedy [Wed, 23 Sep 2015 01:13:28 +0000 (21:13 -0400)]
whitespace
Terry Jan Reedy [Wed, 23 Sep 2015 01:11:06 +0000 (21:11 -0400)]
Merge with 3.5
Terry Jan Reedy [Wed, 23 Sep 2015 01:10:49 +0000 (21:10 -0400)]
Merge with 3.4
Terry Jan Reedy [Wed, 23 Sep 2015 01:10:27 +0000 (21:10 -0400)]
Issue #24570: Right-click for context menus now work on Mac Aqual also.
Patch by Mark Roseman.
Steve Dower [Wed, 23 Sep 2015 00:35:55 +0000 (17:35 -0700)]
Merge from 3.5
Steve Dower [Wed, 23 Sep 2015 00:35:42 +0000 (17:35 -0700)]
Merge from 3.4
Steve Dower [Wed, 23 Sep 2015 00:35:24 +0000 (17:35 -0700)]
Handle calls to win32_ver from non-Windows platform
Steve Dower [Wed, 23 Sep 2015 00:31:33 +0000 (17:31 -0700)]
Merge from 3.5
Steve Dower [Wed, 23 Sep 2015 00:30:28 +0000 (17:30 -0700)]
Merge from 3.4
Steve Dower [Wed, 23 Sep 2015 00:29:51 +0000 (17:29 -0700)]
Issue #19143: platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
Steve Dower [Wed, 23 Sep 2015 00:24:01 +0000 (17:24 -0700)]
Issue #19143: platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
Steve Dower [Wed, 23 Sep 2015 00:23:39 +0000 (17:23 -0700)]
Issue #19143: platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
Steve Dower [Wed, 23 Sep 2015 00:01:17 +0000 (17:01 -0700)]
Merge with 3.5
Steve Dower [Tue, 22 Sep 2015 23:45:19 +0000 (16:45 -0700)]
Issue #25102: Windows installer does not precompile for -O or -OO.
Steve Dower [Tue, 22 Sep 2015 23:36:33 +0000 (16:36 -0700)]
Issue #25081: Makes Back button in installer go back to upgrade page when upgrading.
Steve Dower [Tue, 22 Sep 2015 23:36:33 +0000 (16:36 -0700)]
Issue #25126: Clarifies that the non-web installer will download some components.
Steve Dower [Tue, 22 Sep 2015 23:36:29 +0000 (16:36 -0700)]
Issue #25091: Increases font size of the installer.
Steve Dower [Tue, 22 Sep 2015 22:03:54 +0000 (15:03 -0700)]
Closes #25085 and #25086: Exclude distutils and test directories from embeddable distro.
Steve Dower [Tue, 22 Sep 2015 21:51:42 +0000 (14:51 -0700)]
Issue #25092: Fix datetime.strftime() failure when errno was already set to EINVAL.
Steve Dower [Tue, 22 Sep 2015 21:33:31 +0000 (14:33 -0700)]
Issue #25213: Restores requestedExecutionLevel to manifest to disable UAC virtualization.
Berker Peksag [Tue, 22 Sep 2015 10:08:42 +0000 (13:08 +0300)]
Issue #25137: Add a note to whatsnew/3.5.rst for nested functools.partial calls
Also, properly skip the test_nested_optimization test for partial subclasses
and add a test for the suggested usage.
Berker Peksag [Tue, 22 Sep 2015 10:08:16 +0000 (13:08 +0300)]
Issue #25137: Add a note to whatsnew/3.5.rst for nested functools.partial calls
Also, properly skip the test_nested_optimization test for partial subclasses
and add a test for the suggested usage.
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