Commit Graph

2615 Commits

Author SHA1 Message Date
Martin Panter 8a5e69ca8c Issue #26316: Merge Arg Clinic fix from 3.5 2016-02-14 03:25:48 +00:00
Martin Panter 4177e7c38e Issue #26316: Fix variable name typo in Argument Clinic 2016-02-14 03:23:13 +00:00
Serhiy Storchaka 885bdc4946 Issue #25985: sys.version_info is now used instead of sys.version
to format short Python version.
2016-02-11 13:10:36 +02:00
Victor Stinner f2c1aa1661 Add ast.Constant
Issue #26146: Add a new kind of AST node: ast.Constant. It can be used by
external AST optimizers, but the compiler does not emit directly such node.

An optimizer can replace the following AST nodes with ast.Constant:

* ast.NameConstant: None, False, True
* ast.Num: int, float, complex
* ast.Str: str
* ast.Bytes: bytes
* ast.Tuple if items are constants too: tuple
* frozenset

Update code to accept ast.Constant instead of ast.Num and/or ast.Str:

* compiler
* docstrings
* ast.literal_eval()
* Tools/parser/unparse.py
2016-01-26 00:40:57 +01:00
Steve Dower c3cd76a2a1 Issue #26065: Excludes venv from library when generating embeddable distro. 2016-01-16 13:45:32 -08:00
Steve Dower 10cabcbe14 Issue #26065: Excludes venv from library when generating embeddable distro. 2016-01-16 13:44:43 -08:00
Steve Dower 7b28eb1457 Merge from 3.5 (including all NEWS entries) 2015-12-02 09:19:07 -08:00
Steve Dower 10f997d986 Issue #25715: Python 3.5.1 installer shows wrong upgrade path and incorrect logic for launcher detection. 2015-12-02 08:28:51 -08:00
Martin Panter b4ce1fc31b Issue #5319: New Py_FinalizeEx() API to exit with status 120 on failure 2015-11-30 03:18:29 +00:00
Steve Dower 9450f6b437 Merge from 3.5 2015-11-22 18:20:37 -08:00
Steve Dower 21cecb904f Fixes upload directories for Windows installer. 2015-11-22 18:20:11 -08:00
Steve Dower f4ac4e3de2 Fixes installer not allowing launcher to be selected. 2015-11-09 07:31:20 -05:00
Steve Dower 5e2e70029b Fixes installer not allowing launcher to be selected. 2015-11-09 07:31:05 -05:00
Martin Panter e56a919100 Issue #25523: Merge a-to-an corrections from 3.5 2015-11-02 04:27:17 +00:00
Martin Panter 2eb819f7a8 Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 2015-11-02 04:04:57 +00:00
Martin Panter 7462b64911 Issue #25523: Correct "a" article to "an" article
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Steve Dower bfb03a470c Merge from 3.5 2015-10-31 13:07:44 -07:00
Steve Dower 04a4316acc Issue #25450: Updates shortcuts to start Python in installation directory. 2015-10-31 12:41:46 -07:00
Steve Dower 940f6a8f11 Improves handling of test markers for building Python without intefering with actual installs. 2015-10-31 12:17:11 -07:00
Terry Jan Reedy 4df429618d Merge with 3.5 2015-10-30 19:26:03 -04:00
Terry Jan Reedy 3f209b63f5 Merge with 3.4 2015-10-30 19:25:50 -04:00
Terry Jan Reedy a05e7f6743 Issue #25505: Remove unused buggy method. 2015-10-30 19:25:34 -04:00
Benjamin Peterson e448066268 merge 3.5 (#25504) 2015-10-29 21:11:29 -07:00
Benjamin Peterson adf8627f41 merge 3.4 (#25504) 2015-10-29 21:11:22 -07:00
Benjamin Peterson dcc13ef1e9 fix usage of undefined name (#25504) 2015-10-29 21:10:57 -07:00
Brett Cannon dd1e670758 Fix a variable typo by switching to a f-string. 2015-10-26 17:11:04 -07:00
Brett Cannon f1c47e4751 Issue #25154: Make the file argument apply to the print function and
not str.format call.
2015-10-25 17:40:31 -07:00
Steve Dower 5b6f3644e6 Issue #24633: Removes automatic rename of site-packages/README since README.txt is now committed. 2015-10-23 13:24:03 -07:00
Steve Dower fe3e7a006e Moves Windows installer externals onto SVN and updates the build process to grab them automatically. 2015-10-23 09:51:16 -07:00
Steve Dower d28a8a994b Moves Windows installer externals onto SVN and updates the build process to grab them automatically. 2015-10-23 09:50:49 -07:00
Brett Cannon 9b63868f77 Issue #25154: Deprecate the pyvenv script.
This was done so as to move users to `python3 -m venv` which prevents
confusion over which Python interpreter will be used in the virtual
environment when more than one is installed.
2015-10-16 15:14:27 -07:00
Steve Dower b8c1309cba Merge from 3.5 2015-10-14 10:41:52 -07:00
Steve Dower 148827c32a Enabled --pgo option for building 64-bit PGO enabled releases. 2015-10-14 10:40:09 -07:00
Steve Dower bc94fd7b49 Issue #25164: Changes default all-users install directory to match per-user directory. 2015-10-14 10:36:36 -07:00
Steve Dower 66b037b087 Merge from 3.5 2015-10-11 18:07:07 -07:00
Steve Dower bec29815d2 Keeps all-users launcher checkbox visible when the option cannot be changed. 2015-10-11 18:06:55 -07:00
Steve Dower 79e60dec1b Merge from 3.5 2015-10-11 18:05:27 -07:00
Steve Dower 8ffe4fdeb0 Only detects features from previous version when a bundle is found.
Otherwise, stray registry entries would cause issues.
Also fixes an accelerator collision and improves UAC icons when upgrading.
2015-10-11 18:05:11 -07:00
Steve Dower 3628d488c7 Issue #25143: Improves installer error messages for unsupported platforms. 2015-10-11 16:40:52 -07:00
Steve Dower b96698112d Issue #25143: Improves installer error messages for unsupported platforms. 2015-10-11 16:40:41 -07:00
Steve Dower 5669387948 Issue #25163: Display correct directory in installer when using non-default settings. 2015-10-11 15:37:36 -07:00
Steve Dower 731f4a2c5f Issue #25163: Display correct directory in installer when using non-default settings. 2015-10-11 15:37:22 -07:00
Steve Dower 6e8d6ed2f4 Merge from 3.5 2015-10-08 10:00:55 -07:00
Steve Dower 5ae56919ab Issue #25089: Adds logging to installer for case where launcher is not selected on upgrade. 2015-10-08 09:55:49 -07:00
Steve Dower 666e6e1b4b Merge from 3.5 2015-10-08 09:06:39 -07:00
Steve Dower 3cc6da2b07 Removes deprecated -n option from buildbot script. 2015-10-08 09:06:17 -07:00
Serhiy Storchaka fc632e3912 Merge with 3.5. 2015-10-06 18:52:52 +03:00
Steve Dower 30b7138fe1 Merge from 3.5 2015-10-01 15:20:11 -07:00
Steve Dower c9fda9b903 Issue #25165: Windows uninstallation should not remove launcher if other versions remain 2015-10-01 15:19:39 -07:00
Steve Dower c4b7600b90 Improves support for building unofficial versions of the Windows installer. 2015-10-01 15:18:53 -07:00