Commit Graph

2878 Commits

Author SHA1 Message Date
Steve Dower 4565986138 Issue #27756: Updates installer icons to be the console and launcher icon instead of the setup icon 2016-09-05 14:51:41 -07:00
Steve Dower c7d1cf4de9 Issue #27756: Adds new icons for Python files and processes on Windows. Designs by Cherry Wang. 2016-09-05 14:05:17 -07:00
Vinay Sajip dd917f84e3 Closes #27904: Improved logging statements to defer formatting until needed. 2016-08-31 08:22:29 +01:00
Victor Stinner f7457001a6 Tests: add --slowest option to buildbots
Display the top 10 slowest tests.
2016-08-17 11:27:40 +02:00
Steve Dower 0e6d0dcd0b Adds missing file to installer. 2016-08-15 18:58:29 -07:00
Serhiy Storchaka 9171a8b4ce Issue #27574: Decreased an overhead of parsing keyword arguments in functions
implemented with using Argument Clinic.
2016-08-14 10:52:18 +03:00
Martin Panter 02b75abf73 Merge spelling and grammar fixes from 3.5 2016-08-05 01:51:39 +00:00
Martin Panter 69332c1a64 Fix spelling and grammar in documentation and code comments 2016-08-04 13:07:31 +00:00
Martin Panter 8bde911115 Issue #27626: Merge spelling fixes from 3.5 2016-07-28 01:30:58 +00:00
Martin Panter eb9957065a Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
2016-07-28 01:11:04 +00:00
Steve Dower 05338267ab Issue #27610: Adds PEP 514 metadata to Windows installer 2016-07-24 18:04:29 -07:00
Steve Dower edddc2704c Issue #27469: Adds a shell extension to the launcher so that drag and drop works correctly. 2016-07-23 08:02:02 -07:00
Alexander Belopolsky 5d0c598382 Closes issue #24773: Implement PEP 495 (Local Time Disambiguation). 2016-07-22 18:47:04 -04:00
Steve Dower df450d1a18 Issue #27469: Adds a shell extension to the launcher so that drag and drop works correctly. 2016-07-16 16:17:33 -07:00
Steve Dower fb2125daf3 Merge from 3.5 2016-07-16 16:13:51 -07:00
Steve Dower 6fd76bceda Fixes use of Py_IntDir and Py_OutDir to control build directories. 2016-07-16 16:13:19 -07:00
Serhiy Storchaka 2954f83999 - Issue #27332: Fixed the type of the first argument of module-level functions
generated by Argument Clinic.  Patch by Petr Viktorin.
2016-07-07 18:20:03 +03:00
Serhiy Storchaka 1a2b24f02d Issue #27332: Fixed the type of the first argument of module-level functions
generated by Argument Clinic.  Patch by Petr Viktorin.
2016-07-07 17:35:15 +03:00
Serhiy Storchaka b1cec73481 Issue #27418: Fixed Tools/importbench/importbench.py. 2016-06-30 10:34:52 +03:00
Serhiy Storchaka eb51faadbe Issue #27418: Fixed Tools/importbench/importbench.py. 2016-06-30 10:33:17 +03:00
Steve Dower 2977cdcee4 Merge from 3.5 2016-06-27 12:31:00 -07:00
Steve Dower 2e4cdb67d5 Adds script for purging the caching server for downloads on python.org. 2016-06-27 12:30:48 -07:00
Steve Dower 44a98b6bf3 Merge from 3.5 2016-06-27 09:43:27 -07:00
Steve Dower aaa1767bd3 Adds batch file to build nuget packages. 2016-06-27 09:43:17 -07:00
Steve Dower 435c979990 Merge from 3.5 2016-06-27 09:35:32 -07:00
Steve Dower 33128c815e Include libs folder in nuget package and allow preinstalling packages 2016-06-27 09:34:18 -07:00
Steve Dower 523ccd135c Merge from 3.5 2016-06-25 16:43:26 -07:00
Steve Dower e7614dd07d Simplifies nuget build with better parameters. 2016-06-25 16:13:30 -07:00
Steve Dower 19b2a53a82 Merge from 3.5 2016-06-24 11:38:00 -07:00
Steve Dower 3f9fbfcdd4 Preinstalls pip into the nuget package so that pip.exe is available after installation. 2016-06-24 11:37:50 -07:00
Steve Dower 227cec790b Merge from 3.5 2016-06-24 10:32:54 -07:00
Steve Dower 33f7310c5e Adds scripts for producing Nuget packages. 2016-06-24 10:32:15 -07:00
Serhiy Storchaka f41b82fb19 Issue #26282: PyArg_ParseTupleAndKeywords() and Argument Clinic now support
positional-only and keyword parameters in the same function.
2016-06-09 16:30:29 +03:00
Serhiy Storchaka 5dee6551e2 Issue #26305: Argument Clinic now uses braces in C code as required by PEP 7. 2016-06-09 16:16:06 +03:00
Serhiy Storchaka 2561bf6ae0 Issue #26305: Argument Clinic now escapes braces. No need to double them. 2016-06-09 16:03:23 +03:00
Serhiy Storchaka ebe95fdabb Issue #26305: Argument Clinic now escapes braces. No need to double them. 2016-06-09 16:02:15 +03:00
Ned Deily 622b2f6ec9 Issue #24225: Fix additional renamed module references. 2016-06-03 17:50:44 -07:00
Victor Stinner 6d81a2136d regrtest doesn't ignore -j1 anymore
* regrtest now uses subprocesses when the -j1 command line option
  is used: each test file runs in a fresh child process. Before, the -j1 option
  was ignored.
* Tools/buildbot/test.bat script now uses -j1 by default to run
  each test file in fresh child process.
2016-05-20 13:15:55 +02:00
Steve Dower 7fa6378747 Issue #27053: Updates make_zip.py to correctly generate library ZIP file. 2016-05-19 10:47:55 -07:00
Steve Dower d8bf09c6cd Issue #27053: Updates make_zip.py to correctly generate library ZIP file. 2016-05-19 10:47:47 -07:00
Steve Dower 99ab0068af Merge launcher change from 3.5 2016-05-18 15:54:24 -07:00
Steve Dower 4962141804 Removes versioning from py.exe launcher installer and ensures that old launchers are replaced by newer ones. 2016-05-18 15:54:05 -07:00
Steve Dower 50f09f5e30 Merge with 3.5 2016-05-17 08:58:04 -07:00
Steve Dower c710826ef2 Fixes unnecessary rebuild when building Windows releases with PGO 2016-05-17 08:57:53 -07:00
Serhiy Storchaka ccd047ea4b Removed unused imports. 2016-04-25 00:12:32 +03:00
Serhiy Storchaka fd2839e1de Merge 3.5 2016-04-24 23:53:16 +03:00
Serhiy Storchaka 5b6f0aa71c Remove duplicated tests.
There were duplicated methods with the same name and body.
2016-04-24 23:50:18 +03:00
Victor Stinner af1baabfce Merge 3.5 2016-04-20 18:26:40 +02:00
Victor Stinner 19620c57d7 gdb/libpython.py: inline _type_void_ptr()
The function was only called in _sizeof_void_p()
2016-04-20 18:26:12 +02:00
Victor Stinner c88390f02d Merge 3.5: Issue #26799 2016-04-20 18:12:38 +02:00
Victor Stinner 4e75ca87e3 python-gdb.py: get C types at runtime
Issue #26799: Fix python-gdb.py: don't get once C types when the Python code
is loaded, but get C types on demande. The C types can change if
python-gdb.py is loaded before the Python executable.

Patch written by Thomas Ilsche.
2016-04-20 18:07:21 +02:00
Victor Stinner 328cb1fed0 Update pygettext.py to get ride of imp
Issue #26639: Replace imp with importlib in Tools/i18n/pygettext.py.

Remove _get_modpkg_path(), replaced with importlib.util.find_spec().
2016-04-12 18:46:10 +02:00
Victor Stinner 96f6e7a1ed Buildbots: change also Windows timeout from 1 hour to 15 min 2016-03-23 12:38:01 +01:00
Serhiy Storchaka a051bf3afb Issue #26581: Use the first coding cookie on a line, not the last one. 2016-03-20 23:47:48 +02:00
Serhiy Storchaka e431d3c9aa Issue #26581: Use the first coding cookie on a line, not the last one. 2016-03-20 23:36:29 +02:00
Brett Cannon 32cba67b9f Merge for issue #26271 2016-03-18 10:30:21 -07:00
Brett Cannon e4044bfe63 Issue #26271: Fix the Freeze tool to use variables passed in from the
configure script related to compiler flags.

Thanks to Daniel Shaulov for the bug report and patch.
2016-03-18 10:29:43 -07:00
Steve Dower 39f57caf3a Backs out buildbot clean trigger. 2016-03-08 13:10:46 -08:00
Steve Dower 4a6f4825f4 Backs out buildbot clean trigger. 2016-03-08 13:10:29 -08:00
Steve Dower 332018d17c Adds warning to prepare_ssl when nasm is not available.
Force clean externals on buildbots.
2016-03-08 12:51:19 -08:00
Steve Dower 79993a90e2 Adds warning to prepare_ssl when nasm is not available.
Force clean of externals on buildbots.
2016-03-08 12:50:57 -08:00
Berker Peksag d07a1cb53b Issue #26489: Add dictionary unpacking support to Tools/parser/unparse.py
Patch by Guo Ci Teo.
2016-03-06 16:50:44 +02:00
Berker Peksag d66dd5ce68 Issue #26489: Add dictionary unpacking support to Tools/parser/unparse.py
Patch by Guo Ci Teo.
2016-03-06 16:50:15 +02:00
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
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
Eric V. Smith 608adf9c82 Issue 25180: Fix Tools/parser/unparse.py for f-strings. Patch by Martin Panter. 2015-09-20 15:09:15 -04:00
Steve Dower a004c54f94 Issue #25071: Windows installer should not require TargetDir parameter when installing quietly 2015-09-11 11:31:07 -07:00
Steve Dower 6695c2e356 Merge from 3.5.0 2015-09-11 11:27:45 -07:00
Steve Dower 76b7133f58 Issue #25071: Windows installer should not require TargetDir parameter when installing quietly 2015-09-11 10:56:59 -07:00
Steve Dower 988433fc93 Fixes handling of read-only files when creating zip package. 2015-09-09 19:33:06 -07:00
Steve Dower ae69de658e Fixes handling of read-only files when creating zip package. 2015-09-09 19:32:45 -07:00
Larry Hastings 334b4a3403 Merge from 3.5. 2015-09-09 07:00:54 -07:00
Larry Hastings ded28e3863 Merge Python 3.5.0rc4 back to hg.python.org. 2015-09-09 06:52:38 -07:00
Steve Dower fcbe1df4af Issue #25027: Reverts partial-static build options and adds vcruntime140.dll to Windows installation. 2015-09-08 21:39:01 -07:00
Steve Dower 6727b3c235 Issue #24910: Windows MSIs now have unique display names. 2015-09-05 12:47:22 -07:00
Steve Dower f3f2d372e8 Issue #24910: Windows MSIs now have unique display names. 2015-09-05 12:47:06 -07:00
Serhiy Storchaka 8fc0d918eb Merge 3.5 2015-09-04 08:34:57 +03:00
Zachary Ware e74fe18ebb Allow PCbuild\rt.bat to accept unlimited arguments for regrtest.
This makes it possible to pass more than 4 tests by name through
Tools\buildbot\test.bat
2015-09-03 23:43:37 -05:00
Steve Dower ab2a34abb7 Issue #24847: Removes vcruntime140.dll dependency from Tcl/Tk. 2015-08-19 08:39:12 -07:00
Steve Dower dc77565990 Removes --clean-only option from buildbots. 2015-08-19 08:04:31 -07:00
Steve Dower 807404921a Removes --clean-only option from buildbots. 2015-08-18 20:02:07 -07:00
Steve Dower 77861e17f1 Issue #24847: Fixes Tix revision number and reverts fix for the wrong revision.
Triggers clean on buildbots.
2015-08-18 19:30:13 -07:00
Steve Dower e7e69391e3 Issue #24847: Fixes Tix revision number and reverts fix for the wrong revision.
Triggers clean on buildbots.
2015-08-18 19:29:51 -07:00
Steve Dower 572183cce3 Merge with 3.5 2015-08-18 16:01:25 -07:00
Steve Dower 9f0cbbc376 Issue #24847: Removes vcruntime140.dll dependency from Tcl/Tk. 2015-08-18 16:00:56 -07:00
Steve Dower 711dc14777 Merge with 3.5 2015-08-15 14:38:29 -07:00
Steve Dower e6894d6256 Enables building compressed Windows test builds with --pack option. 2015-08-15 14:38:16 -07:00
Steve Dower 2dc5fd2fa8 Issue #24847: Fixes tcltk installer layout of VC runtime DLL 2015-08-11 18:51:00 -07:00
Steve Dower 9b8a1fa023 Issue #24847: Fixes tcltk installer layout of VC runtime DLL 2015-08-11 18:49:13 -07:00
Steve Dower 1065278f23 Merge with 3.5 2015-08-05 11:35:36 -07:00
Steve Dower 315b748cfc Fixes make_zip.py to create temporary .pyc files in a separate directory. This avoids polluting tests that run code from TEMP. 2015-08-05 11:34:50 -07:00
Steve Dower ec3e16a0f4 Puts compiled pyc files into embedded library ZIP file instead of sources. 2015-08-04 16:02:55 -07:00
Steve Dower 08b1817fd8 Puts compiled pyc files into embedded library ZIP file instead of sources. 2015-08-04 16:02:40 -07:00
Steve Dower ac5e87caff Issue #24771: Adds vcruntime DLL to tcltk package 2015-08-03 16:21:39 -07:00
Steve Dower 132aecb142 Issue #24771: Adds vcruntime DLL to tcltk package 2015-08-03 16:21:12 -07:00
Steve Dower c21bfa8095 Updates get_wix.py for newer version of WiX. 2015-07-20 19:53:26 -07:00
Steve Dower c79dbc7941 Updates get_wix.py for newer version of WiX. 2015-07-20 19:52:15 -07:00
Steve Dower 7066cd7d54 Merge with 3.5 2015-07-18 09:29:03 -07:00
Steve Dower 61ca207090 Issue #24642: Improves help text displayed in the Windows installer. 2015-07-18 09:28:41 -07:00
Steve Dower 2434aa24e0 Adds support for an unattend.xml file to control the Windows installer options. 2015-07-18 09:28:19 -07:00
Steve Dower a3d03ec6b1 Adds option to only install the launcher. 2015-07-18 09:27:52 -07:00
Steve Dower c959769297 Merge with 3.5 2015-07-16 16:34:09 -07:00
Steve Dower 2237bdc595 Adds option to install launcher for all users even when installing Python just-for-me. This helps mitigate issues when the incompatible Python 3.4 launcher is installed.
Enables installer builds with the the text marker.
Allows simple installs to include a custom description.
2015-07-16 16:33:55 -07:00
Steve Dower 99168adec0 Fixes installer rebuild, snapshot versioning, and the README.txt file. 2015-07-08 22:44:52 -07:00
Steve Dower b85b427507 Fixes installer rebuild, snapshot versioning, and the README.txt file. 2015-07-08 22:43:48 -07:00
Steve Dower 67b9ab53c9 Issue #24585: Enables build-to-build upgrades that preserve settings.
Rather than using Burn "Persisted" variables we now add registry keys for each added feature. These can be detected by the installer regardless of which version installed them, and we use this for Modify and Upgrade. In particular, Upgrades can't access the Persisted variables, but can find well-known registry keys.
There are also some changes to the bootstrap app to properly handle upgrades.
Finally, a few minor improvements to the Windows build to keep things tidier.
2015-07-08 20:19:07 -07:00
Steve Dower 494374922c Issue #24585: Enables build-to-build upgrades that preserve settings.
Rather than using Burn "Persisted" variables we now add registry keys for each added feature. These can be detected by the installer regardless of which version installed them, and we use this for Modify and Upgrade. In particular, Upgrades can't access the Persisted variables, but can find well-known registry keys.
There are also some changes to the bootstrap app to properly handle upgrades.
Finally, a few minor improvements to the Windows build to keep things tidier.
2015-07-08 20:18:44 -07:00
Steve Dower a327cffd39 Closes 24584: Windows installer incorrectly detects CRT version on Windows 10 2015-07-07 20:47:49 -07:00
Steve Dower b257eed043 Closes 24584: Windows installer incorrectly detects CRT version on Windows 10 2015-07-07 20:47:28 -07:00
Steve Dower 32f64d03e4 Fixes rebuild of strings for Windows installer. 2015-07-05 07:24:47 -07:00
Steve Dower d423396394 Fixes rebuild of strings for Windows installer. 2015-07-05 07:24:17 -07:00
Steve Dower 7bcf919f47 Ignore user environment/site-packages for ensurepip and compile_all
Remove build condition to prevent old strings hanging around
Add -h option to build.bat
2015-07-04 11:48:59 -07:00
Steve Dower 06606e7165 Ignore user environment/site-packages for ensurepip and compile_all
Remove build condition to prevent old strings hanging around
Add -h option to build.bat
2015-07-04 11:48:37 -07:00
Yury Selivanov bb215e2300 Merge 3.5 (Issue #19235) 2015-07-03 01:10:11 -04:00
Yury Selivanov f488fb422a Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. 2015-07-03 01:04:23 -04:00
Benjamin Peterson b5048d3938 merge 3.5 2015-06-27 15:46:31 -05:00
Benjamin Peterson 4801383c29 upgrade to Unicode 8.0.0 2015-06-27 15:45:56 -05:00
Steve Dower 81fdd0b868 Issue 24476: Statically links vcruntime140.dll and removes it from the installer 2015-06-19 13:08:58 -07:00
Steve Dower 6d58f8dc52 Issue 24476: Statically links vcruntime140.dll and removes it from the installer 2015-06-19 10:49:04 -07:00
Zachary Ware 72dd522761 Remove deprecated buildbot scripts 2015-06-17 10:09:24 -05:00
Zachary Ware 4ab4ac8e03 Merge 3.4 2015-06-17 10:08:44 -05:00
Zachary Ware 9fe164364a Deprecate unused scripts in Tools/buildbot.
I would just outright delete them, but the readme in PCbuild recommended
their use, so I figure it would be nice to leave them there for a while.
2015-06-16 10:56:14 -05:00
Zachary Ware 785273cd84 Merge forward extras beyond #21907 backport. 2015-06-10 00:43:20 -05:00
Zachary Ware 6250df81bf Clean up/refactor the batch scripts used for building on Windows.
This is mostly a backport of issue #21907, but also includes a few
extras necessary to make the bulidbot scripts as thin as possible.
2015-06-09 23:16:52 -05:00
Steve Dower 9901856ac4 Issue 24385: Adds "--as-flags=--32" when generating 32-bit MinGW library. 2015-06-08 09:55:43 -07:00
Steve Dower 773490099f Issue #24317: Makes Customize page default to installing per-user, and switching to All Users enable CompileAll. 2015-05-31 16:39:46 -07:00
Steve Dower 83f34aa4f8 Issue #24293: Adds mapping from explicit colours to system colours to correctly handle user themes. 2015-05-31 16:39:46 -07:00
Steve Dower 44e625860b Fixes text in installer. 2015-05-28 10:28:40 -07:00
Serhiy Storchaka 3028c955fa Issue #24288: Generated opcode.h no longer contains trailing spaces and tabs. 2015-05-27 21:31:33 +03:00
Steve Dower c30a6ce59d Issue #24293: Fixes installer colors to use system settings throughout. 2015-05-26 20:46:11 -07:00
Steve Dower 3805019c58 Exclude _testmultiphase.pyd from embeddable ZIP file. 2015-05-23 18:08:55 -07:00
Steve Dower 2446e2e76d Prevents attempt to sign ZIP file when building embeddable version. 2015-05-23 17:52:20 -07:00
Steve Dower 42a059b632 Issue #24268: Adds PCBuild project to build _testmultiphase module. 2015-05-23 17:51:54 -07:00
Steve Dower bd0d91e706 Removes lingering references to RAR now that make_zip.py actually makes a ZIP 2015-05-22 16:22:27 -07:00
Steve Dower 4a7fe7e397 Issue #23955: Add pyvenv.cfg option to suppress registry/environment lookup for generating sys.path.
Also cleans up and secures getpathp.c
2015-05-22 15:10:10 -07:00
Zachary Ware 7dc9dea778 Issue #20035: Reimplement tkinter._fix module as a C function.
The new private C function makes no permanent changes to the environment
and is #ifdef'd out on non-Windows platforms.
2015-05-22 11:36:53 -05:00
Serhiy Storchaka ba9ac5b5c4 Issue #16261: Converted some bare except statements to except statements
with specified exception type.  Original patch by Ramchandra Apte.
2015-05-20 10:33:40 +03:00
Steve Dower 42b50d187f Fixes default per-user install precompiling the standard library. 2015-05-15 12:10:53 -07:00
Yury Selivanov 7544508f02 PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
Larry Hastings 38337d1e15 Issue #24000: Improved Argument Clinic's mapping of converters to legacy
"format units".  Updated the documentation to match.
2015-05-07 23:30:09 -07:00
Benjamin Peterson 025e9ebd0a PEP 448: additional unpacking generalizations (closes #2292)
Patch by Neil Girdhar.
2015-05-05 20:16:41 -04:00
Larry Hastings dbfdc380df Issue #24001: Argument Clinic converters now use accept={type}
instead of types={'type'} to specify the types the converter accepts.
2015-05-04 06:59:46 -07:00
Steve Dower 1d4880db3d Enables shortcuts to be deselected when installing on Windows. 2015-05-03 14:54:32 -07:00
Serhiy Storchaka d2a694c1be Issue #23330: h2py now supports arbitrary filenames in #include. 2015-05-03 15:36:37 +03:00
Serhiy Storchaka b9c04db64f Issue #23330: h2py now supports arbitrary filenames in #include. 2015-05-03 15:35:14 +03:00
Steve Dower 8c1cee9218 Replaces use of WinRAR to generate ZIP file with Python script 2015-05-02 21:38:26 -07:00
Eric Snow 32439d6eb6 Issue #23911: Move path-based bootstrap code to a separate frozen module. 2015-05-02 19:15:18 -06:00
Steve Dower 6b4c63dea5 Makes embedded distribution a plain ZIP file and corrects pyd exclusion. 2015-05-02 15:32:14 -07:00
Steve Dower 19694abd71 Fixes Python failing to run during Windows release build 2015-05-02 15:23:27 -07:00
Steve Dower 7173dac61b Update Windows installer for new CRT version. 2015-05-02 15:22:51 -07:00
Serhiy Storchaka 247789cee9 Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the
same line as function name.
2015-04-24 00:40:51 +03:00
Christian Heimes c314e28766 Issue #24031: make patchcheck now supports git checkouts, too. 2015-04-23 11:25:41 +02:00
Christian Heimes d98c6773fa Issue #24031: make patchcheck now supports git checkouts, too. 2015-04-23 11:24:14 +02:00
Steve Dower 777af30645 Minor fixes to Windows build scripts 2015-04-19 19:50:35 -07:00
Steve Dower 3c28c6e4fb Backed out buildbot clean 2015-04-19 19:45:51 -07:00
Steve Dower 4ac54bb820 Force the buildbots to clean up all externals. 2015-04-19 19:40:09 -07:00
R David Murray 2b78129b3a #18128: use standard +NNNN timezone format in POT-Creation-Date header.
Patch by Michael McFadden, with a few small style tweaks.
2015-04-16 12:15:09 -04:00
Larry Hastings 7f90cba7f3 Issue #23935: Argument Clinic's understanding of format units
accepting bytes, bytearrays, and buffers is now consistent with
both the documentation and the implementation.
2015-04-15 23:02:12 -04:00
Steve Dower 13a6ee0af4 Updates layout of some text in the Windows installer. 2015-04-15 16:18:58 -04:00
Steve Dower 97100c0e3d Updates Windows installer to promote per-user installs over all-users. 2015-04-14 18:34:04 -04:00
Steve Dower f70fdd2878 Generates and signs a self-extracting executable containing an embedded Python. 2015-04-14 18:34:04 -04:00
Larry Hastings 89964c48d1 Issue #23944: Argument Clinic now wraps long impl prototypes at column 78. 2015-04-14 18:07:59 -04:00
Zachary Ware 5aec1a44e8 Merge with 3.4 2015-04-13 18:34:57 -05:00
Zachary Ware bbbbe7e4e6 Make Argument Clinic's '--make' option work on Windows. 2015-04-13 18:33:41 -05:00
Zachary Ware 8ef887ce47 Issue #20586: Argument Clinic now ensures signatures on functions without docstrings. 2015-04-13 18:22:35 -05:00
Zachary Ware 774ac377da Closes #17202: Merge with 3.4 2015-04-13 12:11:40 -05:00
Zachary Ware 4c9c848159 Issue #17202: Add .bat to .hgeol to force them to CRLF.
Using LF can a script to fail if it tries to use a label that is
split across 512 byte blocks.  Who knows why.
2015-04-13 11:59:54 -05:00
Steve Dower 7b8c5f58aa Updates Windows release scripts to generate and upload GPG signatures. 2015-04-05 18:42:37 -07:00
Serhiy Storchaka 92e8af67a8 Issue #23492: Argument Clinic now generates argument parsing code with
PyArg_Parse instead of PyArg_ParseTuple if possible.
2015-04-04 00:12:11 +03:00
Serhiy Storchaka 1009bf18b3 Issue #23501: Argumen Clinic now generates code into separate files by default. 2015-04-03 23:53:51 +03:00
Larry Hastings 0759f84d62 Issue #23500: Argument Clinic is now smarter about generating the "#ifndef"
(empty) definition of the methoddef macro: it's only generated once, even
if Argument Clinic processes the same symbol multiple times, and it's emitted
at the end of all processing rather than immediately after the first use.
2015-04-03 13:09:02 -07:00
Serhiy Storchaka 45ec3288d0 Removed trailing whitespaces in miscalenous files. 2015-04-03 19:42:32 +03:00
Serhiy Storchaka bfbfc8deb2 Removed unintentional trailing spaces in text files. 2015-03-29 19:12:58 +03:00
Steve Dower 489199765f Missing brace and minor formatting in Windows installer 2015-03-24 23:46:55 -07:00
Steve Dower c98290b91b Fixes UI labels and ability to add/remove features. 2015-03-24 23:20:57 -07:00
Steve Dower 102f72cf1a Adds pydoc shortcut, Edit with IDLE menu, moves redist folder into externals and fixes test script. 2015-03-24 21:25:16 -07:00
Steve Dower e9ae8340a3 Update Wix version and fixes wxs file. 2015-03-20 22:05:33 -07:00
Serhiy Storchaka 53c3fb186a Issue #22826: The result of open() in Tools/freeze/bkfile.py is now better
compatible with regular files (in particular it now supports the context
management protocol).
2015-03-20 09:21:59 +02:00
Brett Cannon cc4dfc1b75 Issue #23491: Implement PEP 441: Improving Python Zip Application Support
Thanks to Paul Moore for the PEP and implementation.
2015-03-13 10:40:49 -04:00
Serhiy Storchaka c2ccce791c Issue #23641: Cleaned out legacy dunder names from tests and docs.
Fixed 2 to 3 porting bug in pynche.ColorDB.
Added few tests for __truediv__, __floordiv__ and __matmul__.
2015-03-12 22:01:30 +02:00
Serhiy Storchaka a60c2fe480 Issue #23641: Cleaned out legacy dunder names from tests and docs.
Fixed 2 to 3 porting bug in pynche.ColorDB.
2015-03-12 21:56:08 +02:00
Serhiy Storchaka ca8b64461d Issue #23615: Modules bz2, tarfile and tokenize now can be reloaded with
imp.reload().  Patch by Thomas Kluyver.
2015-03-11 17:31:33 +02:00
Serhiy Storchaka cf4a2f29ad Issue #23615: Modules bz2, tarfile and tokenize now can be reloaded with
imp.reload().  Patch by Thomas Kluyver.
2015-03-11 17:18:03 +02:00
Steve Dower 3d3aaa1eab Adds note about installed debug binaries. 2015-03-10 13:15:40 -07:00
Steve Dower 8011382285 Issue #23619: Ensure C variable is initialized before using it.
The garbage in _crtInstalledToken was causing the IsCrtInstalled() function to return TRUE without actually checking anything. We now initialize the variable first.
2015-03-09 10:05:50 -07:00
Steve Dower c49de35585 Issue #23612: Fixes upgrade code and version for Windows installer. 2015-03-08 15:29:39 -07:00
Steve Dower 1872f93fd1 Minor updates to Windows installer upload script. 2015-03-08 12:59:00 -07:00
Steve Dower 2856332f5e Add scripts for uploading Windows builds to a Linux server using pscp 2015-03-04 20:27:03 -08:00
Steve Dower e4969f5df8 Updates CRT installation for Windows installer.
Bundling versions of the CRT prior to 14.0 is no longer supported.
2015-02-28 19:53:50 -08:00
Steve Dower e7b92672a0 Removes unused string resources from Windows installer. 2015-02-20 08:23:23 -08:00
Steve Dower 3892189db0 Closes #23482: sqlite3_d.dll is not included in installer 2015-02-18 18:02:22 -08:00
Steve Dower cc115eea0c Simplify MSI projects. 2015-02-14 10:30:54 -08:00
Steve Dower 17be514d0a Closes #23437: Make user scripts directory versioned on Windows (patch by pmoore) 2015-02-14 09:50:59 -08:00
Steve Dower db80aec67a Fix installer Back button going to wrong page when modifying.
Also fix error when doing test builds without documentation file.
2015-02-11 17:49:01 -08:00
Martin v. Löwis 39abba46db Issue #17896: Update msi.py to new externals dir. 2015-02-09 07:51:32 +01:00
Steve Dower 312cef086b Improve Windows release scripts 2015-02-07 22:20:48 -08:00