Commit Graph

2965 Commits

Author SHA1 Message Date
Steve Dower e711cc0f22 Issue #28783: Replaces bdist_wininst in nuget packages with stub 2016-12-11 14:35:07 -08:00
Steve Dower 9cc113a8f7 Issue #28846: Various installer fixes 2016-12-03 12:11:25 -08:00
Steve Dower 1058109b31 Issue #28846: Various installer fixes 2016-12-03 11:24:02 -08:00
Steve Dower 190dbd9ba2 Issue #28846: Various installer fixes 2016-12-03 11:18:53 -08:00
Victor Stinner 213cc388c7 Reintroduce Python2 support in generate_opcode_h.py
Issue #28821.

Add also a message to show that the command did something :-)
2016-11-28 18:13:52 +01:00
Victor Stinner 6193ecd779 Fix a ResourceWarning in generate_opcode_h.py
Use a context manager to close the Python file. Replace also open() with
tokenize.open() to handle coding cookie if any in Lib/opcode.py.
2016-11-25 11:59:52 +01:00
Steve Dower d2140cce44 Issue #28783: Embedded and nuget packages incorrect reference missing bdist_wininst command. 2016-11-23 12:23:16 -08:00
Steve Dower 2a94301911 Issue #28783: Embedded and nuget packages incorrect reference missing bdist_wininst command. 2016-11-23 11:42:35 -08:00
Steve Dower f0888cd734 Issue #28783: Embedded and nuget packages incorrect reference missing bdist_wininst command. 2016-11-23 10:23:47 -08:00
Victor Stinner eae64fda5b Issue #28770: Update python-gdb.py for fastcalls
Frame.is_other_python_frame() now also handles _PyCFunction_FastCallDict()
frames.

Thanks to the new code to handle fast calls, python-gdb.py is now also able to
detect the <built-in id method of module ...> frame.
2016-11-22 22:53:18 +01:00
Victor Stinner e3d75c63cd Issue #28770: Update python-gdb.py for fastcalls
Frame.is_other_python_frame() now also handles _PyCFunction_FastCallDict()
frames.

Thanks to the new code to handle fast calls, python-gdb.py is now also able to
detect the <built-in id method of module ...> frame.
2016-11-22 22:53:18 +01:00
Steve Dower bbf32e1c98 Issue #28573: Missing sys._mercurial info and other build issues. 2016-11-22 11:49:09 -08:00
Steve Dower 02a4018c6e Issue #28573: Missing sys._mercurial info and other build issues. 2016-11-22 11:48:52 -08:00
Victor Stinner 9ad8a639f3 Merge 3.6 2016-11-22 13:10:02 +01:00
Victor Stinner 3a5d79fbc8 Issue #28023: Fix python-gdb.py on old GDB versions
Replace int(value.address)+offset with value.cast(unsigned char*)+offset.

It seems like int(value.address) fails on old versions of GDB.
2016-11-22 13:09:39 +01:00
INADA Naoki ff33c93f23 Issue #28023: Fix python-gdb.py didn't support new dict implementation 2016-11-22 19:43:11 +09:00
INADA Naoki d7d2bc8798 Issue #28023: Fix python-gdb.py didn't support new dict implementation 2016-11-22 19:40:58 +09:00
Steve Dower c851817aaa Fixes incorrect path in nuget package build. 2016-11-16 16:32:22 -08:00
Steve Dower 9ee351fc1e Issue #28573: Fixes issue with nested if blocks 2016-11-14 17:51:51 -08:00
Steve Dower de40e1218c Issue #28573: Fixes issue with nested if blocks 2016-11-14 17:51:42 -08:00
Steve Dower 7ed2398448 Fixes incorrect merge 2016-11-14 16:16:44 -08:00
Steve Dower e044dfa22b Issue #28573: Avoid setting up env too many times during build 2016-11-14 16:15:39 -08:00
Steve Dower 4468bed2fc Issue #28573: Avoid setting up env too many times during build 2016-11-14 16:13:56 -08:00
Steve Dower 4782ab3aa3 Adds missing _asyncio.pyd to installer and generally tidies pyd management. 2016-10-29 09:23:39 -07:00
Steve Dower 27c22f900c Adds missing _asyncio.pyd to installer and generally tidies pyd management. 2016-10-29 09:23:52 -07:00
Steve Dower fcb5c64a9a Removes incorrect condition from lib_pdb.msi 2016-10-28 11:19:50 -07:00
Steve Dower d14ae161de Removes incorrect condition from lib_pdb.msi 2016-10-28 11:19:42 -07:00
Steve Dower 43ab355e0e Removes incorrect condition from lib_pdb.msi 2016-10-28 11:19:18 -07:00
Steve Dower 26d4d76313 Merge from 3.6 2016-10-27 12:15:23 -07:00
Steve Dower 31c80e8eae Revert incorrect file merge from 3.5. 2016-10-27 12:14:48 -07:00
Steve Dower 43d2b264b9 Merge from 3.5 2016-10-27 12:12:24 -07:00
Steve Dower fcf622e30e Updates release build to collect symbols and binaries, and create nuget package. 2016-10-27 12:08:45 -07:00
Steve Dower 66fe8febb1 Fix launcher.msi from rebuilding during release build. 2016-10-10 16:19:20 -07:00
Steve Dower ec1f28a63c Fix launcher.msi from rebuilding during release build. 2016-10-10 16:19:06 -07:00
Steve Dower 15d3d8bd14 Issue #28402: Adds signed catalog files for stdlib on Windows. 2016-10-09 20:19:21 -07:00
Steve Dower 425ec150ea Issue #28402: Adds signed catalog files for stdlib on Windows. 2016-10-09 20:18:52 -07:00
Steve Dower 4a8ff9ef60 Issue #28217: Adds _testconsole module to test console input. 2016-10-03 09:12:42 -07:00
Steve Dower 312cef7452 Issue #28217: Adds _testconsole module to test console input. Fixes some issues found by the tests. 2016-10-03 09:04:58 -07:00
Steve Dower 3e7d93dc70 Issue #28251: Improvements to help manuals on Windows. 2016-09-22 17:11:53 -07:00
Steve Dower 765285337a Issue #28251: Improvements to help manuals on Windows. 2016-09-22 17:09:56 -07:00
Steve Dower fb4a96a58f Issue #28251: Improvements to help manuals on Windows. 2016-09-22 17:07:56 -07:00
Victor Stinner 3e56c23e7d regrtest: add -u for unbuffered stdout/stderr 2016-09-21 17:12:50 +02:00
Steve Dower e8ef95e3ba Fixes bad merge for issue #28110 2016-09-17 16:34:52 -07:00
Steve Dower 7e3dfd1548 Fixes bad merge for issue #28110 2016-09-17 16:34:38 -07:00
Steve Dower f4fc1d12ec Issue #28110: launcher.msi has different product codes between 32-bit and 64-bit 2016-09-17 16:14:14 -07:00
Steve Dower 7358efa50b Issue #28110: launcher.msi has different product codes between 32-bit and 64-bit 2016-09-17 16:13:59 -07:00
Steve Dower 1c75c18ed2 Issue #28110: launcher.msi has different product codes between 32-bit and 64-bit 2016-09-17 16:12:55 -07:00
Steve Dower 64566db065 Merge with 3.6 2016-09-17 12:57:03 -07:00
Steve Dower ed51b26858 Issue #28137: Renames Windows path file to ._pth
Issue #28138: Windows ._pth file should allow import site
2016-09-17 12:54:06 -07:00
Benjamin Peterson 640463acb1 merge 3.6 2016-09-14 23:54:09 -07:00
Benjamin Peterson 6775231597 Unicode 9.0.0
Not completely mechanical since support for East Asian Width changes—emoji
codepoints became Wide—had to be added to unicodedata.
2016-09-14 23:53:47 -07:00
Berker Peksag 1cd53f6100 Issue #26830: Refactor Tools/scripts/google.py
Patch by Francisco Couzo.
2016-09-14 10:59:27 +03:00
Victor Stinner 13b97e37d9 Remove pybench microbenchmark
Issue #15369. Please use the new "performance" benchmark suite.
2016-09-13 11:41:41 +02:00
Steve Dower 41fca9d166 Updates zip and nuget builds for Windows. 2016-09-12 13:29:58 -07:00
Victor Stinner 2f462a68f9 Buildbot: give 20 minute per test file
It seems like at least 2 buildbots need more than 15 minutes per test file.
Example with "AMD64 Snow Leop 3.x":

    10 slowest tests:
    - test_tools: 14 min 40 sec
    - test_tokenize: 11 min 57 sec
    - test_datetime: 11 min 25 sec
    - ...
2016-09-12 13:04:17 +02:00
Steve Dower e7da2f8380 Make PGO use usual build directory on Windows. 2016-09-11 20:19:35 -07:00
Martin Panter bdb847ae99 Issue #27952: Merge fixcid.py from 3.5 2016-09-11 10:06:38 +00:00
Martin Panter b7665386bc Issue #27952: Get fixcid.py working with the re module 2016-09-11 09:32:26 +00:00
Zachary Ware d07b66b817 Backed out changeset 491bbba73bca
This change didn't have the intended effect.
2016-09-10 08:55:15 -05:00
Victor Stinner e103aaca67 Show regrtest env changed warn on Windows buildbot
Issue #27829: don't pass --quiet option to regrtest to see
"Warning -- xxx was modified by ..." warnings.
2016-09-10 04:07:38 -04:00
Steve Dower 528db31bd9 Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach) 2016-09-09 18:38:20 -07:00
Victor Stinner f0ccbbbc57 Emit METH_FASTCALL code in Argument Clinic
Issue #27810:

* Modify vgetargskeywordsfast() to work on a C array of PyObject* rather than
  working on a tuple directly.
* Add _PyArg_ParseStack()
* Argument Clinic now emits code using the new METH_FASTCALL calling convention
2016-09-09 17:40:38 -07:00
Steve Dower 052828db15 Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach) 2016-09-09 18:41:56 -07:00
Zachary Ware c4b53afce4 Issue #28046: Remove platform-specific directories from sys.path 2016-09-09 17:59:49 -07:00
Steve Dower d6c580cbce Issue #25144: Ensures TargetDir is set before continuing with custom install. 2016-09-09 16:39:36 -07:00
Steve Dower c87ae806ab Issue #25144: Ensures TargetDir is set before continuing with custom install. 2016-09-09 16:37:53 -07:00
Steve Dower 5daba1a59a Remove buildbot diagnostic code. 2016-09-09 15:45:47 -07:00
Zachary Ware 664cc5071a Remove another useless buildbot script 2016-09-09 15:42:06 -07:00
Steve Dower 37df068e86 Expands buildbot validation code 2016-09-09 15:39:11 -07:00
Zachary Ware 8f35675853 Remove outdated buildbot scripts 2016-09-09 15:35:38 -07:00
Steve Dower 5510d821d3 Adds temporary validation code to buildbot script 2016-09-09 15:33:42 -07:00
Steve Dower b230cc4b5c Ensures buildbots don't have zip files in build directory. 2016-09-09 15:24:11 -07:00
Steve Dower 2a1f30f681 Prevent PGO build for x86 releases. 2016-09-09 14:21:24 -07:00
Steve Dower fa526bd19c Closes #27314: Fixes launcher installer upgrade table. 2016-09-09 13:19:09 -07:00
Steve Dower 2fadfc0ead Issue #26619: Improves error message when installing on out-of-date Windows Server 2016-09-09 11:41:28 -07:00
Yury Selivanov bf04b0698b Issue #28008: Fix test_unparse 2016-09-09 11:48:39 -07:00
Steve Dower 7a35b1c2a7 Issue #26619: Improves error message when installing on out-of-date Windows Server 2016-09-09 11:44:26 -07:00
Steve Dower 4db86bc1b4 Changes pyvenv.cfg trick into an actual sys.path file. 2016-09-09 09:17:35 -07:00
Guido van Rossum deed5a18ca Issue #28038: Remove Tools/parser/com2ann.py and its unit test.
Development is moving to https://github.com/ilevkivskyi/com2ann
2016-09-09 09:06:11 -07:00
Martin Panter e13370b3e3 Issue #27364: Raw strings to avoid deprecated escaping in com2ann.py 2016-09-09 07:38:50 +00:00
Yury Selivanov f8cb8a16a3 Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations.
Patch by Ivan Levkivskyi.
2016-09-08 20:50:03 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) a68c1bca7b Remove legacy "from __future__ import with_statement" lines. 2016-09-08 13:47:41 -07:00
R David Murray 44b548dda8 #27364: fix "incorrect" uses of escape character in the stdlib.
And most of the tools.

Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and
Martin Panter.
2016-09-08 13:59:53 -04:00
Benjamin Peterson cc854499e4 clinic: PY_LONG_LONG -> long long 2016-09-08 09:29:11 -07:00
Steve Dower beb0f1d425 Adds MAX_PATH button to the installer. 2016-09-08 09:26:42 -07:00
Steve Dower 22d0698d3b Adds test.support.PGO and skips tests that are not useful for PGO. 2016-09-06 19:38:15 -07:00
Larry Hastings 10108a7b9a Issue #27355: Removed support for Windows CE. It was never finished,
and Windows CE is no longer a relevant platform for Python.
2016-09-05 15:11:23 -07:00
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