Steve Dower
b84bcc48ae
bpo-31392: Update SSL build for 1.1.0 ( #3448 )
2017-09-09 06:13:06 -07:00
Eric Snow
2ebc5ce42a
bpo-30860: Consolidate stateful runtime globals. ( #3397 )
...
* group the (stateful) runtime globals into various topical structs
* consolidate the topical structs under a single top-level _PyRuntimeState struct
* add a check-c-globals.py script that helps identify runtime globals
Other globals are excluded (see globals.txt and check-c-globals.py).
2017-09-07 23:51:28 -06:00
Steve Dower
bab21faded
Updates PCBuild/readme.txt ( #3418 )
2017-09-07 20:10:29 -07:00
Steve Dower
05f01d8525
bpo-30389 Adds detection of VS 2017 to distutils._msvccompiler ( #1632 )
2017-09-07 11:49:23 -07:00
Zachary Ware
d01db1c2a2
bpo-31358: Pull zlib out of the repository (GH-3375)
...
Also enable building externals by default on Windows, use PCbuild\build.bat's -E option to disable it.
2017-09-06 17:29:37 -07:00
Steve Dower
5d578442ed
Fixes Tix build by correcting the directories used by Tcl and Tk. ( #3391 )
2017-09-06 13:55:42 -07:00
Steve Dower
5fcd5e64ee
bpo-31340: Change to building with MSVC v141 (included with Visual Studio 2017) ( #3311 )
2017-09-06 10:01:38 -07:00
Eric Snow
05351c1bd8
Revert "bpo-30860: Consolidate stateful runtime globals." ( #3379 )
...
Windows buildbots started failing due to include-related errors.
2017-09-05 21:43:08 -07:00
Eric Snow
76d5abc868
bpo-30860: Consolidate stateful runtime globals. ( #2594 )
...
* group the (stateful) runtime globals into various topical structs
* consolidate the topical structs under a single top-level _PyRuntimeState struct
* add a check-c-globals.py script that helps identify runtime globals
Other globals are excluded (see globals.txt and check-c-globals.py).
2017-09-05 18:26:16 -07:00
Victor Stinner
93d0cb58b4
bpo-30947: Update libexpat from 2.2.1 to 2.2.3 ( #3106 )
...
* bpo-30947: Update libexpat from 2.2.1 to 2.2.3
* Add NEWS entry
* Add new loadlibrary.c
* expat_external.h: restore include "pyexpatns.h"
* PCbuild: add expat/loadlibrary.c
* Define XML_POOR_ENTROPY to compile expat
2017-08-18 23:43:54 +02:00
Serhiy Storchaka
d5ed47dea2
bpo-30814, bpo-30876: Add new import test files to projects. ( #2851 )
2017-07-27 12:24:36 +03:00
Segev Finer
679b566622
bpo-9566: Fix some Windows x64 compiler warnings ( #2492 )
...
* bpo-9566: Silence liblzma warnings
* bpo-9566: Silence tcl warnings
* bpo-9566: Silence tk warnings
* bpo-9566: Silence tix warnings
* bpo-9566: Fix some library warnings
* bpo-9566: Fix msvcrtmodule.c warnings
* bpo-9566: Silence _bz2 warnings
* bpo-9566: Fixed some _ssl warnings
* bpo-9566: Fix _msi warnings
* bpo-9566: Silence _ctypes warnings
* Revert "bpo-9566: Fixed some _ssl warnings"
This reverts commit a639001c94
.
* bpo-9566: Also consider NULL as a possible error in HANDLE_return_converter
* bpo-9566: whitespace fixes
2017-07-26 15:17:57 -07:00
Steve Dower
5feda33a35
bpo-30450: Fix logic for retrying nuget.exe download ( #2744 )
...
Fix logic for retrying nuget.exe download with Python.
Add support for HOST_PYTHON variable.
Clear internal environment variables used in find_python.bat
Use HOST_PYTHON as the actual Python if it is recent enough.
Adds HOST_PYTHON variable to AppVeyor configuration
2017-07-18 19:31:51 +02:00
Steve Dower
efa26bcd50
bpo-30450: Fall back to git.exe if no Python is found. ( #2739 )
...
* bpo-30450: Fall back to git.exe if no Python is found.
* Also check whether git.exe is on PATH if it will be used.
2017-07-17 15:43:55 +02:00
Steve Dower
588836d3e6
bpo-30450: Adds alternate download approach for nuget.exe ( #2737 )
...
* bpo-30450: Adds alternate download approach for nuget.exe
* Whitespace fix.
2017-07-17 14:55:28 +02:00
Steve Dower
68d663cf85
[bpo-30916] Pre-build OpenSSL and Tcl/Tk for Windows ( #2688 )
...
Updates ssl and tkinter projects to use pre-built externals
2017-07-17 11:15:48 +02:00
Segev Finer
7526cadd64
bpo-30726: Also fix pyexpat.vcxproj ( #2375 )
2017-06-28 15:18:28 -07:00
Segev Finer
87c6555073
bpo-30726: Fix elementtree warnings on Windows due to expat upgrade ( #2319 )
...
* bpo-30726: Fix elementtree warnings on Windows
Caused by usage of `getenv` which should be safe. And a few integer
truncations which should also be ok.
* bpo-30726: Don't ignore libexpat warnings which haypo intends to fix upstream
2017-06-23 12:45:01 +02:00
Victor Stinner
c8fb58bd79
bpo-30726: PCbuild _elementtree: remove duplicate defines ( #2348 )
...
bpo-30726, bpo-29591: libexpat 2.2.1 of Modules/expat/ now uses
a winconfig.h configuration file which already defines:
* XML_NS
* XML_DTD
* BYTEORDER=1234
* XML_CONTEXT_BYTES=1024
* HAVE_MEMMOVE
Remove these defines from PCbuild/_elementtree.vcxproj to prevent
compiler warnings.
Co-Authored-By: Jeremy Kloth <jeremy.kloth@gmail.com>
2017-06-23 10:09:34 +02:00
Steve Dower
40a23e8899
bpo-30687: Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat ( #2252 )
...
* Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat
Also fixes bdist_wininst.vcxproj to use correct version in generated name.
2017-06-19 10:34:25 -07:00
Segev Finer
c9318853bb
bpo-30631: Silence MSVC warnings in third-party code (GH-1963)
2017-06-15 22:12:05 -05:00
Zachary Ware
51599e2bdd
bpo-30450: Pull Windows dependencies from GitHub rather than svn (GH-1783)
...
The Windows build now depends on Python 3.6 to fetch externals, but it will be downloaded via NuGet (which is downloaded via PowerShell) if it is not available via `py -3.6`. This means the only thing that must be installed on a modern Windows box to do a full build of CPython with all extensions is Visual Studio.
Also fixes an outdated note about _lzma in PCbuild/readme.txt
2017-06-15 22:08:51 -05:00
Zachary Ware
6b6e687766
bpo-27425: Be more explicit in .gitattributes (GH-840)
...
Updates checked-in line endings on several files.
2017-06-10 14:58:42 -05:00
Steve Dower
9b33bf50da
Improves test_underpth_nosite_file to reveal why it fails. ( #1763 )
...
* Improves test_underpth_nosite_file to reveal why it fails.
* Enable building with Windows 10 SDK.
* Fix WinSDK detection
* Fix initialization on Windows when a ._pth file exists.
* Fix tabs
* Adds comment about Py_GetPath call.
2017-05-23 16:25:25 -07:00
Eric Snow
6b4be195cd
bpo-22257: Small changes for PEP 432. ( #1728 )
...
PEP 432 specifies a number of large changes to interpreter startup code, including exposing a cleaner C-API. The major changes depend on a number of smaller changes. This patch includes all those smaller changes.
2017-05-22 21:36:03 -07:00
Steve Dower
4486a09346
Fixes encodings in vcxproj files and adds script to automatically do it. ( #1631 )
2017-05-17 13:06:39 -07:00
Steve Dower
78e25ab5b3
Adds lib.pyproj file to solution ( #1633 )
...
* Adds lib.pyproj file to solution so that VS with Python support can open all the files in the standard library.
* Remove unexpected solution configuration.
* Remove lib.pyproj from solution to avoid memory issues on VS 2015.
2017-05-17 13:06:11 -07:00
Charles
8619c5417c
PCbuild/build.bat: Add note about using msbuild response file. ( #1551 )
...
Using a response file will eliminate the headache associated with batch argument/quote processing.
For example I unsucessfully compiled python with visualcpptools when specifying VSInstallDir in the batch file (cannot find vcruntime.h)
```batch
build.bat -p x64 -e -M --no-tkinter "/p:VCInstallDir=%VCInstallDir%"
```
but it build successfully when specifying it in a response file
msbuild.rsp:
```
/p:VCInstallDir=%VCInstallDir%
```
2017-05-12 16:23:15 -07:00
Charles
291557e290
PCbuild/build.bat: pass command line parameters when building PGO ( #1510 )
...
Custom msbuild properties passed as command line need to be passed too when calling `Build` when doing PGO build.
2017-05-09 23:58:48 +02:00
Segev Finer
f60c9e54f5
bpo-29191: Add liblzma.vcxproj to pcbuild.sln and other missing entries ( #1222 )
...
liblzma is missing from pcbuild.sln. This causes the build of _lzma to fail when building the solution and not using build.bat.
2017-04-20 16:33:28 -07:00
Victor Stinner
d6debb24e0
bpo-29919: Remove unused imports found by pyflakes ( #137 )
...
Make also minor PEP8 coding style fixes on modified imports.
2017-03-27 16:05:26 +02:00
Ned Deily
554626ada7
bpo-27593: Revise git SCM build info. ( #744 )
...
Use --short form of git hash. Use output from "git describe" for tag.
Expected outputs:
1. previous hg
2. previous git
3. updated git
Release (tagged) build:
1. Python 3.7.0a0 (v3.7.0a0:4def2a2901a5, ...
2. Python 3.7.0a0 (v3.7.0a0^0:05f53735c8912f8df1077e897f052571e13c3496, ...
3. Python 3.7.0a0 (v3.7.0a0:05f53735c8, ...
Development build:
1. Python 3.7.0a0 (default:41df79263a11, ...
2. Python 3.7.0a0 (master:05f53735c8912f8df1077e897f052571e13c3496, ...
3. Python 3.7.0a0 (heads/master-dirty:05f53735c8, ...
"dirty" means the working tree has uncommitted changes.
See "git help describe" for more info.
2017-03-20 23:41:52 -04:00
Xiang Zhang
0710d75425
bpo-29770: remove outdated PYO related info (GH-590)
2017-03-11 13:02:52 +08:00
INADA Naoki
8886d5f392
PCbuild: Add -q option to svn export (GH-535)
...
Without this option, AppVeyor log is too unreadable.
2017-03-07 15:34:38 +09:00
Steve Dower
7030ca65de
Fixes git command ( #451 )
2017-03-03 21:55:06 -08:00
Steve Dower
a0c07d2edd
bpo-27593: Updates Windows build to use information from git ( #262 )
...
* bpo-27593: Updates Windows build to use information from git
2017-03-03 21:20:37 -08:00
Zachary Ware
fc64c351c7
bpo-29572: Update Windows build to OpenSSL 1.0.2k (GH-439)
2017-03-03 16:07:07 -06:00
Victor Stinner
c22bfaae83
bpo-29524: Add Objects/call.c file ( #12 )
...
* Move all functions to call objects in a new Objects/call.c file.
* Rename fast_function() to _PyFunction_FastCallKeywords().
* Copy null_error() from Objects/abstract.c
* Inline type_error() in call.c to not have to copy it, it was only
called once.
* Export _PyEval_EvalCodeWithName() since it is now called
from call.c.
2017-02-12 19:27:05 +01:00
Victor Stinner
d2306cec4d
Backed out changeset f23fa1f7b68f
...
Sorry, I didn't want to push this change before the review :-( I was pushing a
change into the 2.7 branch.
2017-02-10 14:19:36 +01:00
Victor Stinner
766af559ad
Issue #29465 : Add Objects/call.c file
...
* Move all functions to call objects in a new Objects/call.c file.
* Rename fast_function() to _PyFunction_FastCallKeywords().
* Copy null_error() from Objects/abstract.c
* Inline type_error() in call.c to not have to copy it, it was only
called once.
* Export _PyEval_EvalCodeWithName() since it is now called
from call.c.
2017-02-10 13:32:29 +01:00
Steve Dower
a558be76c2
Issue #29080 : Removes hard dependency on hg.exe from PC/build.bat
2016-12-28 14:38:54 -08:00
Steve Dower
654da960a0
Issue #29080 : Removes hard dependency on hg.exe from PC/build.bat
2016-12-28 14:38:08 -08:00
Steve Dower
7ec8a18514
Issue #29080 : Removes hard dependency on hg.exe from PC/build.bat
2016-12-28 14:37:44 -08:00
Steve Dower
21e033466b
Issue #28896 : Disable WindowsRegistryFinder by default.
2016-12-12 11:19:03 -08:00
Steve Dower
10beb3cfef
Issue #28896 : Disable WindowsRegistryFinder by default.
2016-12-12 11:17:59 -08:00
Steve Dower
9cc113a8f7
Issue #28846 : Various installer fixes
2016-12-03 12:11:25 -08:00
Steve Dower
f00ef72ee1
Ensures intermediate directory is created before using it
2016-12-03 11:56:44 -08:00
Steve Dower
de6efdb772
Ensures intermediate directory is created before accessing it.
2016-12-03 11:56:20 -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
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
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
1da055ee0d
Makes test_underpth* tests more robust by copying the executable.
2016-10-29 08:50:31 -07:00
Steve Dower
842a146672
Merge from 3.6
2016-10-29 08:50:42 -07:00
Benjamin Peterson
a2bc46da14
merge 3.6
2016-10-20 22:39:39 -07:00
Benjamin Peterson
4510e6de9d
mark dtrace stubs as static inline; remove stubs
...
C99 inline semantics don't work everywhere. (https://bugs.python.org/issue28092 )
We don't want these to have external visibility anyway.
2016-10-20 22:37:00 -07:00
INADA Naoki
a1289c6841
Issue #28448 : Fix C implemented asyncio.Future didn't work on Windows (merge 3.6)
2016-10-21 12:32:46 +09:00
INADA Naoki
a83636247e
Issue #28448 : Fix C implemented asyncio.Future didn't work on Windows
2016-10-21 12:30:15 +09:00
INADA Naoki
fa8b8847e2
Issue #28428 : Rename _futures module to _asyncio. (merge from 3.6)
...
It will have more speedup functions or classes other than asyncio.Future.
2016-10-15 15:41:05 +09:00
INADA Naoki
9f2ce25481
Issue #28428 : Rename _futures module to _asyncio.
...
It will have more speedup functions or classes other than asyncio.Future.
2016-10-15 15:39:19 +09:00
Zachary Ware
8d794d66bd
Issue #28208 : Merge with 3.6
2016-10-10 22:37:29 -05:00
Zachary Ware
547d156c2c
Issue #28208 : Update Windows build to use SQLite 3.14.2.0
2016-10-10 22:36:21 -05:00
Zachary Ware
0732fd62d9
Issue #28248 : Merge with 3.6
2016-10-10 22:28:39 -05:00
Zachary Ware
c08bb6c63a
Issue #28248 : Merge with 3.5
2016-10-10 22:22:27 -05:00
Zachary Ware
fd28cbef4b
Issue #28248 : Merge with 3.4
2016-10-10 22:11:12 -05:00
Zachary Ware
068534ab03
Issue #28248 : Update Windows build to use OpenSSL 1.0.2j
2016-10-10 21:57:20 -05: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
INADA Naoki
ca2f0d06f1
Issue #26801 : Added C implementation of asyncio.Future.
...
Original patch by Yury Selivanov.
2016-10-09 14:51:36 +09:00
INADA Naoki
9e4e38ecd2
Issue #26801 : Added C implementation of asyncio.Future.
...
Original patch by Yury Selivanov.
2016-10-09 14:44:47 +09: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
17a564ecc9
Add file missed from backport
2016-09-17 17:29:37 -07:00
Steve Dower
5f9c3926cc
Issue #27932 : Prevent memory leak in win32_ver().
2016-09-17 17:28:45 -07:00
Steve Dower
74f4af7ac3
Issue #27932 : Prevent memory leak in win32_ver().
2016-09-17 17:27:48 -07:00
Ned Deily
4829bc6619
Bump to 3.7.0a0
2016-09-12 17:29:04 -04:00
Steve Dower
e7da2f8380
Make PGO use usual build directory on Windows.
2016-09-11 20:19:35 -07:00
Zachary Ware
16c18a354b
Issue #28065 : Update xz to 5.2.2 on Windows, and build it from source
2016-09-11 21:18:07 -05:00
Benjamin Peterson
37d398ebd1
compile dtrace stubs
2016-09-09 19:52:23 -07:00
Steve Dower
ad46443e9d
Issue #24186 : Reenable optimised OpenSSL function
2016-09-09 14:57:39 -07:00
Steve Dower
4db86bc1b4
Changes pyvenv.cfg trick into an actual sys.path file.
2016-09-09 09:17:35 -07:00
Zachary Ware
8c9d99ff22
Issue #27407 : Make PCbuild/prepare_ssl.py Python 2 compatible
2016-09-05 12:54:08 -05:00
Steve Dower
3929499914
Issue #1602 : Windows console doesn't input or print Unicode (PEP 528)
...
Closes #17602 : Adds a readline implementation for the Windows console
2016-08-30 21:22:36 -07:00
Christian Heimes
393b82e4c1
Issue #16113 : compile the module on Windows, too.
2016-09-07 12:51:56 +02:00
Christian Heimes
121b9487d1
Issue #26798 : Add BLAKE2 (blake2b and blake2s) to hashlib.
2016-09-06 22:03:25 +02:00
Zachary Ware
dd2afe9edc
Closes #20366 : Build full text search support into SQLite on Windows
2016-09-05 18:19:13 -05: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
Zachary Ware
ebbc736922
Fix get_externals.bat
2016-09-05 14:40:25 -05:00
Zachary Ware
7c510a6a2d
Issue #27883 : Update sqlite to 3.14.1 on Windows
2016-09-05 14:32:38 -05:00
Zachary Ware
1c2400cfdc
Closes #27407 : Merge with 3.5
2016-09-05 13:02:20 -05:00
Zachary Ware
28c3184d8d
Issue #27647 : Update Windows build to Tcl/Tk 8.6.6
2016-07-28 18:39:11 -05:00
Steve Dower
81fb0e33d6
Merge from 3.5
2016-07-24 18:06:51 -07:00
Steve Dower
6ed63f31e9
Fixes default intermediate directory when building on Windows.
2016-07-24 18:03:22 -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