]> granicus.if.org Git - python/log
python
9 years agoMerge with 3.5
Terry Jan Reedy [Fri, 25 Sep 2015 04:49:44 +0000 (00:49 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Fri, 25 Sep 2015 04:49:31 +0000 (00:49 -0400)]
Merge with 3.4

9 years agoIssue #25198: Idle doc viewer now uses user width and height setting.
Terry Jan Reedy [Fri, 25 Sep 2015 04:49:18 +0000 (00:49 -0400)]
Issue #25198: Idle doc viewer now uses user width and height setting.
The height is reduced by 3/4 to account for extra spacing between lines,
relative to an Idle editor, and extra tall header lines.

9 years agoMerge with 3.5
Terry Jan Reedy [Fri, 25 Sep 2015 03:19:20 +0000 (23:19 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Fri, 25 Sep 2015 03:19:09 +0000 (23:19 -0400)]
Merge with 3.4

9 years agoIssue #25225: add revised .html.
Terry Jan Reedy [Fri, 25 Sep 2015 03:18:57 +0000 (23:18 -0400)]
Issue #25225: add revised .html.

9 years agoMerge with 3.5
Terry Jan Reedy [Fri, 25 Sep 2015 03:14:15 +0000 (23:14 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Fri, 25 Sep 2015 03:14:02 +0000 (23:14 -0400)]
Merge with 3.4

9 years agoIssue #25225: Condense and rewrite Idle doc section on text colors.
Terry Jan Reedy [Fri, 25 Sep 2015 03:13:49 +0000 (23:13 -0400)]
Issue #25225: Condense and rewrite Idle doc section on text colors.

9 years agoMerge with 3.5
Terry Jan Reedy [Thu, 24 Sep 2015 21:32:50 +0000 (17:32 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Thu, 24 Sep 2015 21:32:38 +0000 (17:32 -0400)]
Merge with 3.4

9 years agoIssue #25198: In Idle doc viewer, fix indent of fixed-pitch <pre> text
Terry Jan Reedy [Thu, 24 Sep 2015 21:32:01 +0000 (17:32 -0400)]
Issue #25198: In Idle doc viewer, fix indent of fixed-pitch <pre> text
by adding a new tag.  Patch by Mark Roseman. Also give <pre> text a very
light blueish-gray background similar to that used by Sphinx html.

9 years agoIssue #25227: Cleanup unicode_encode_ucs1() error handler
Victor Stinner [Thu, 24 Sep 2015 12:45:00 +0000 (14:45 +0200)]
Issue #25227: Cleanup unicode_encode_ucs1() error handler

* Change limit type from unsigned int to Py_UCS4, to use the same type than the
  "ch" variable (an Unicode character).
* Reuse ch variable for _Py_ERROR_XMLCHARREFREPLACE
* Add some newlines for readability

9 years agoFixed error creation if the problem is an empty expression in an f-string: use ast_er...
Eric V. Smith [Thu, 24 Sep 2015 12:52:04 +0000 (08:52 -0400)]
Fixed error creation if the problem is an empty expression in an f-string: use ast_error instead of PyErr_SetString.

9 years agoMerge 3.5 -> default
Andrew Svetlov [Thu, 24 Sep 2015 11:36:00 +0000 (14:36 +0300)]
Merge 3.5 -> default

9 years agoMerge 3.4 -> 3.5
Andrew Svetlov [Thu, 24 Sep 2015 11:35:16 +0000 (14:35 +0300)]
Merge 3.4 -> 3.5

9 years agoAdd Benjamin Hodgson to Misc/ACK
Andrew Svetlov [Thu, 24 Sep 2015 11:34:07 +0000 (14:34 +0300)]
Add Benjamin Hodgson to Misc/ACK

9 years agoFix #25208: Improve "Develop with asyncio" doc page.
Andrew Svetlov [Thu, 24 Sep 2015 11:32:39 +0000 (14:32 +0300)]
Fix #25208: Improve "Develop with asyncio" doc page.

Patch by Benjamin Hodgson.

9 years agoMerge with 3.5
Terry Jan Reedy [Thu, 24 Sep 2015 07:10:07 +0000 (03:10 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Thu, 24 Sep 2015 07:09:56 +0000 (03:09 -0400)]
Merge with 3.4

9 years agoIssue 21995: Explain some differences between IDLE and console Python.
Terry Jan Reedy [Thu, 24 Sep 2015 07:09:43 +0000 (03:09 -0400)]
Issue 21995: Explain some differences between IDLE and console Python.

9 years agoMerge 3.5 (codecs, issue #24894)
Victor Stinner [Thu, 24 Sep 2015 07:04:44 +0000 (09:04 +0200)]
Merge 3.5 (codecs, issue #24894)

9 years agoMerge 3.4 (codecs, issue #24894)
Victor Stinner [Thu, 24 Sep 2015 07:04:26 +0000 (09:04 +0200)]
Merge 3.4 (codecs, issue #24894)

9 years agoIssue #24894: Document the codec iso8859_11
Victor Stinner [Thu, 24 Sep 2015 07:04:05 +0000 (09:04 +0200)]
Issue #24894: Document the codec iso8859_11

Patch written by Prashant Tyagi.

9 years agoMerge with 3.5
Terry Jan Reedy [Thu, 24 Sep 2015 05:40:07 +0000 (01:40 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Thu, 24 Sep 2015 05:39:48 +0000 (01:39 -0400)]
Merge with 3.4

9 years agoIssue #22820: Explain need for *print* when running file from Idle editor.
Terry Jan Reedy [Thu, 24 Sep 2015 05:39:30 +0000 (01:39 -0400)]
Issue #22820: Explain need for *print* when running file from Idle editor.

9 years agoReplace an unpredictable branch with a simple addition.
Raymond Hettinger [Thu, 24 Sep 2015 02:15:44 +0000 (19:15 -0700)]
Replace an unpredictable branch with a simple addition.

9 years agoMerge with 3.5
Terry Jan Reedy [Thu, 24 Sep 2015 00:01:09 +0000 (20:01 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Thu, 24 Sep 2015 00:00:55 +0000 (20:00 -0400)]
Merge with 3.4

9 years agoIssue 25224: Augment Idle doc feature list and no-subprocess section
Terry Jan Reedy [Thu, 24 Sep 2015 00:00:33 +0000 (20:00 -0400)]
Issue 25224: Augment Idle doc feature list and no-subprocess section
to finish making current README.txt obsolete.

9 years agoIssue #25220: Backed out changeset eaf9a99b6bb8
Victor Stinner [Wed, 23 Sep 2015 21:16:47 +0000 (23:16 +0200)]
Issue #25220: Backed out changeset eaf9a99b6bb8

9 years agoIssue #25220: Create Lib/test/libregrtest/
Victor Stinner [Wed, 23 Sep 2015 21:04:18 +0000 (23:04 +0200)]
Issue #25220: Create Lib/test/libregrtest/

Start to split regrtest.py into smaller parts with the creation of
Lib/test/libregrtest/cmdline.py.

9 years agof-strings: More tests for empty expressions along with missing closing braces.
Eric V. Smith [Wed, 23 Sep 2015 14:24:43 +0000 (10:24 -0400)]
f-strings: More tests for empty expressions along with missing closing braces.

9 years agoAdded more f-string test for empty expressions.
Eric V. Smith [Wed, 23 Sep 2015 12:00:01 +0000 (08:00 -0400)]
Added more f-string test for empty expressions.

9 years agoMove f-string compilation of the expression earlier, before the conversion character...
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.

9 years agoEliminate unnecessary variables
Raymond Hettinger [Wed, 23 Sep 2015 09:42:02 +0000 (02:42 -0700)]
Eliminate unnecessary variables

9 years agoMerge with 3.5
Terry Jan Reedy [Wed, 23 Sep 2015 07:52:50 +0000 (03:52 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Wed, 23 Sep 2015 07:52:36 +0000 (03:52 -0400)]
Merge with 3.4

9 years agoIssue #25219: Update doc for Idle command line options.
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.

9 years agoMerge with 3.5
Terry Jan Reedy [Wed, 23 Sep 2015 07:45:49 +0000 (03:45 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Wed, 23 Sep 2015 07:45:33 +0000 (03:45 -0400)]
Merge with 3.4

9 years agoIdlelib.help: add 'b' prefix needed for bytes + bytes.
Terry Jan Reedy [Wed, 23 Sep 2015 07:45:13 +0000 (03:45 -0400)]
Idlelib.help: add 'b' prefix needed for bytes + bytes.

9 years agoIssue #12067: Merge comparisons doc from 3.5
Martin Panter [Wed, 23 Sep 2015 05:41:52 +0000 (05:41 +0000)]
Issue #12067: Merge comparisons doc from 3.5

9 years agoIssue #12067: Merge comparisons doc from 3.4 into 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

9 years agoIssue #12067: Rewrite Comparisons section in the language reference
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.

9 years agoMerge with 3.5
Terry Jan Reedy [Wed, 23 Sep 2015 03:00:07 +0000 (23:00 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Wed, 23 Sep 2015 02:59:53 +0000 (22:59 -0400)]
Merge with 3.4

9 years agoIssue #16893: Move idlelib.EditorWindow.HelpDialog deprecation warning
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.

9 years agoIssue #25047: Merge Element Tree encoding from 3.5
Martin Panter [Wed, 23 Sep 2015 01:49:24 +0000 (01:49 +0000)]
Issue #25047: Merge Element Tree encoding from 3.5

9 years agoIssue #25047: Merge Element Tree encoding from 3.4 into 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

9 years agoMerge from 3.5
Steve Dower [Wed, 23 Sep 2015 01:21:13 +0000 (18:21 -0700)]
Merge from 3.5

9 years agoIssues #25112: py.exe launcher is missing icons
Steve Dower [Wed, 23 Sep 2015 01:20:58 +0000 (18:20 -0700)]
Issues #25112: py.exe launcher is missing icons

9 years agoIssue #25047: Respect case writing XML encoding declarations
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.

9 years agoMerge with 3.5
Terry Jan Reedy [Wed, 23 Sep 2015 01:13:53 +0000 (21:13 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Wed, 23 Sep 2015 01:13:39 +0000 (21:13 -0400)]
Merge with 3.4

9 years agowhitespace
Terry Jan Reedy [Wed, 23 Sep 2015 01:13:28 +0000 (21:13 -0400)]
whitespace

9 years agoMerge with 3.5
Terry Jan Reedy [Wed, 23 Sep 2015 01:11:06 +0000 (21:11 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Wed, 23 Sep 2015 01:10:49 +0000 (21:10 -0400)]
Merge with 3.4

9 years agoIssue #24570: Right-click for context menus now work on Mac Aqual also.
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.

9 years agoMerge from 3.5
Steve Dower [Wed, 23 Sep 2015 00:35:55 +0000 (17:35 -0700)]
Merge from 3.5

9 years agoMerge from 3.4
Steve Dower [Wed, 23 Sep 2015 00:35:42 +0000 (17:35 -0700)]
Merge from 3.4

9 years agoHandle calls to win32_ver from non-Windows platform
Steve Dower [Wed, 23 Sep 2015 00:35:24 +0000 (17:35 -0700)]
Handle calls to win32_ver from non-Windows platform

9 years agoMerge from 3.5
Steve Dower [Wed, 23 Sep 2015 00:31:33 +0000 (17:31 -0700)]
Merge from 3.5

9 years agoMerge from 3.4
Steve Dower [Wed, 23 Sep 2015 00:30:28 +0000 (17:30 -0700)]
Merge from 3.4

9 years agoIssue #19143: platform module now reads Windows version from kernel32.dll to avoid...
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.

9 years agoIssue #19143: platform module now reads Windows version from kernel32.dll to avoid...
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.

9 years agoIssue #19143: platform module now reads Windows version from kernel32.dll to avoid...
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.

9 years agoMerge with 3.5
Steve Dower [Wed, 23 Sep 2015 00:01:17 +0000 (17:01 -0700)]
Merge with 3.5

9 years agoIssue #25102: Windows installer does not precompile for -O or -OO.
Steve Dower [Tue, 22 Sep 2015 23:45:19 +0000 (16:45 -0700)]
Issue #25102: Windows installer does not precompile for -O or -OO.

9 years agoIssue #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 #25081: Makes Back button in installer go back to upgrade page when upgrading.

9 years agoIssue #25126: Clarifies that the non-web installer will download some components.
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.

9 years agoIssue #25091: Increases font size of the installer.
Steve Dower [Tue, 22 Sep 2015 23:36:29 +0000 (16:36 -0700)]
Issue #25091: Increases font size of the installer.

9 years agoCloses #25085 and #25086: Exclude distutils and test directories from embeddable...
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.

9 years agoIssue #25092: Fix datetime.strftime() failure when errno was already set to EINVAL.
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.

9 years agoIssue #25213: Restores requestedExecutionLevel to manifest to disable UAC virtualization.
Steve Dower [Tue, 22 Sep 2015 21:33:31 +0000 (14:33 -0700)]
Issue #25213: Restores requestedExecutionLevel to manifest to disable UAC virtualization.

9 years agoIssue #25137: Add a note to whatsnew/3.5.rst for nested functools.partial calls
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.

9 years agoIssue #25137: Add a note to whatsnew/3.5.rst for nested functools.partial calls
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.

9 years agoIssue #24870: revert unwanted change
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 :-(

9 years agoEliminate unnecessary variable
Raymond Hettinger [Tue, 22 Sep 2015 08:20:36 +0000 (01:20 -0700)]
Eliminate unnecessary variable

9 years agoMinor consistency improvements to negative value comparisons.
Raymond Hettinger [Tue, 22 Sep 2015 06:41:56 +0000 (23:41 -0700)]
Minor consistency improvements to negative value comparisons.

9 years agoMerge with 3.5
Terry Jan Reedy [Tue, 22 Sep 2015 02:42:55 +0000 (22:42 -0400)]
Merge with 3.5

9 years agoMerge with 3.4
Terry Jan Reedy [Tue, 22 Sep 2015 02:42:43 +0000 (22:42 -0400)]
Merge with 3.4

9 years agowhitespace
Terry Jan Reedy [Tue, 22 Sep 2015 02:42:32 +0000 (22:42 -0400)]
whitespace

9 years agoIssue #16893: Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html.
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.

9 years agoIssue #16893: Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html.
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.

9 years agoIssue #16893: Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html.
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.

9 years agoMerge
Terry Jan Reedy [Mon, 21 Sep 2015 23:35:51 +0000 (19:35 -0400)]
Merge

9 years agoMerge with 3.5
Terry Jan Reedy [Mon, 21 Sep 2015 23:33:46 +0000 (19:33 -0400)]
Merge with 3.5

9 years agoMarge 3.4
Terry Jan Reedy [Mon, 21 Sep 2015 23:33:14 +0000 (19:33 -0400)]
Marge 3.4

9 years agoIssue #25207, #14626: Fix my commit.
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.

9 years agoIssue #24861: add Idle news item and correct previous errors.
Terry Jan Reedy [Mon, 21 Sep 2015 23:28:22 +0000 (19:28 -0400)]
Issue #24861: add Idle news item and correct previous errors.

9 years ago_PyUnicodeWriter_PrepareInternal(): make the assertion more strict
Victor Stinner [Mon, 21 Sep 2015 23:01:17 +0000 (01:01 +0200)]
_PyUnicodeWriter_PrepareInternal(): make the assertion more strict

9 years agoIssue #24870: Add _PyUnicodeWriter_PrepareKind() macro
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.

9 years agoIssue #24870: Reuse the new _Py_error_handler enum
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.

9 years agoIssue #24870: Optimize the ASCII decoder for error handlers: surrogateescape,
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.

9 years agossue #25207: fix ICC compiler warning in msvcrtmodule.c
Victor Stinner [Mon, 21 Sep 2015 20:40:28 +0000 (22:40 +0200)]
ssue #25207: fix ICC compiler warning in msvcrtmodule.c

9 years agoIssue #25207, #14626: Fix ICC compiler warnings in posixmodule.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".

9 years agoMerge 3.5 (Issue #23630, fix test_asyncio)
Victor Stinner [Mon, 21 Sep 2015 20:29:43 +0000 (22:29 +0200)]
Merge 3.5 (Issue #23630, fix test_asyncio)

9 years agoMerge 3.4 (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)