Commit Graph

91307 Commits

Author SHA1 Message Date
Eric V. Smith 548c4d3178 Added more f-string test for empty expressions. 2015-09-23 08:00:01 -04:00
Eric V. Smith 1d44c41b0c 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. 2015-09-23 07:49:00 -04:00
Raymond Hettinger 3a1a8d0424 Eliminate unnecessary variables 2015-09-23 02:42:02 -07:00
Terry Jan Reedy 54afac325c Merge with 3.5 2015-09-23 03:52:50 -04:00
Terry Jan Reedy 30d0433451 Merge with 3.4 2015-09-23 03:52:36 -04:00
Terry Jan Reedy 968e285a8c Issue #25219: Update doc for Idle command line options.
Some were missing and notes were not correct.
2015-09-23 03:52:23 -04:00
Terry Jan Reedy 2e02348c7e Merge with 3.5 2015-09-23 03:45:49 -04:00
Terry Jan Reedy e8509556c3 Merge with 3.4 2015-09-23 03:45:33 -04:00
Terry Jan Reedy 6f5cdfefa1 Idlelib.help: add 'b' prefix needed for bytes + bytes. 2015-09-23 03:45:13 -04:00
Martin Panter 3766ee5162 Issue #12067: Merge comparisons doc from 3.5 2015-09-23 05:41:52 +00:00
Martin Panter e52c41a714 Issue #12067: Merge comparisons doc from 3.4 into 3.5 2015-09-23 05:34:48 +00:00
Martin Panter aa0da864b8 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.
2015-09-23 05:28:13 +00:00
Terry Jan Reedy 39677a4088 Merge with 3.5 2015-09-22 23:00:07 -04:00
Terry Jan Reedy 1ccf44c476 Merge with 3.4 2015-09-22 22:59:53 -04:00
Terry Jan Reedy a0ae789fd4 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.
2015-09-22 22:59:40 -04:00
Martin Panter f9cd8ff14a Issue #25047: Merge Element Tree encoding from 3.5 2015-09-23 01:49:24 +00:00
Martin Panter 982a08f8bb Issue #25047: Merge Element Tree encoding from 3.4 into 3.5 2015-09-23 01:43:08 +00:00
Steve Dower ebbad80e85 Merge from 3.5 2015-09-22 18:21:13 -07:00
Steve Dower 5f62112db4 Issues #25112: py.exe launcher is missing icons 2015-09-22 18:20:58 -07:00
Martin Panter 89f76d3f91 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.
2015-09-23 01:14:35 +00:00
Terry Jan Reedy 8ce85b5f57 Merge with 3.5 2015-09-22 21:13:53 -04:00
Terry Jan Reedy 452498a128 Merge with 3.4 2015-09-22 21:13:39 -04:00
Terry Jan Reedy f94471c140 whitespace 2015-09-22 21:13:28 -04:00
Terry Jan Reedy 6f1f091e80 Merge with 3.5 2015-09-22 21:11:06 -04:00
Terry Jan Reedy 5e6201e8a9 Merge with 3.4 2015-09-22 21:10:49 -04:00
Terry Jan Reedy 3c7eccd0a6 Issue #24570: Right-click for context menus now work on Mac Aqual also.
Patch by Mark Roseman.
2015-09-22 21:10:27 -04:00
Steve Dower 697c43d389 Merge from 3.5 2015-09-22 17:35:55 -07:00
Steve Dower 5b1640cd2b Merge from 3.4 2015-09-22 17:35:42 -07:00
Steve Dower 8f278f1662 Handle calls to win32_ver from non-Windows platform 2015-09-22 17:35:24 -07:00
Steve Dower 82f6cabbee Merge from 3.5 2015-09-22 17:31:33 -07:00
Steve Dower 81a618315e Merge from 3.4 2015-09-22 17:30:28 -07:00
Steve Dower 64a3387d69 Issue #19143: platform module now reads Windows version from kernel32.dll to avoid compatibility shims. 2015-09-22 17:29:51 -07:00
Steve Dower a0c3c19665 Issue #19143: platform module now reads Windows version from kernel32.dll to avoid compatibility shims. 2015-09-22 17:24:01 -07:00
Steve Dower b9f4feab1b Issue #19143: platform module now reads Windows version from kernel32.dll to avoid compatibility shims. 2015-09-22 17:23:39 -07:00
Steve Dower 8ef1db34bb Merge with 3.5 2015-09-22 17:01:17 -07:00
Steve Dower a2ea0e4804 Issue #25102: Windows installer does not precompile for -O or -OO. 2015-09-22 16:45:19 -07:00
Steve Dower 44fe401aa3 Issue #25081: Makes Back button in installer go back to upgrade page when upgrading. 2015-09-22 16:36:33 -07:00
Steve Dower 14b9e6c6a7 Issue #25126: Clarifies that the non-web installer will download some components. 2015-09-22 16:36:33 -07:00
Steve Dower bc25032c92 Issue #25091: Increases font size of the installer. 2015-09-22 16:36:29 -07:00
Steve Dower 2495faf8fc Closes #25085 and #25086: Exclude distutils and test directories from embeddable distro. 2015-09-22 15:03:54 -07:00
Steve Dower 57ab1cdb15 Issue #25092: Fix datetime.strftime() failure when errno was already set to EINVAL. 2015-09-22 14:51:42 -07:00
Steve Dower 3a0f471e5f Issue #25213: Restores requestedExecutionLevel to manifest to disable UAC virtualization. 2015-09-22 14:33:31 -07:00
Berker Peksag dd7cb10b89 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.
2015-09-22 13:08:42 +03:00
Berker Peksag 9b93c6b5df 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.
2015-09-22 13:08:16 +03:00
Victor Stinner 54385b206d Issue #24870: revert unwanted change
Sorry, I pushed the patch on the UTF-8 decoder by mistake :-(
2015-09-22 10:46:52 +02:00
Raymond Hettinger 7a237230d1 Eliminate unnecessary variable 2015-09-22 01:20:36 -07:00
Raymond Hettinger d3d2b2c50c Minor consistency improvements to negative value comparisons. 2015-09-21 23:41:56 -07:00
Terry Jan Reedy c964e89dd4 Merge with 3.5 2015-09-21 22:42:55 -04:00
Terry Jan Reedy 5e202086a5 Merge with 3.4 2015-09-21 22:42:43 -04:00
Terry Jan Reedy 364d6e107d whitespace 2015-09-21 22:42:32 -04:00