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
Steve Dower
1db9222b0c
Closes #27545 : Remove pyshellext.vcxproj from pcbuild.proj
2016-07-17 20:46:01 -07:00
Steve Dower
bc3e9cac7c
Closes #27545 : Remove pyshellext.vcxproj from pcbuild.proj
2016-07-17 20:45:29 -07: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
Steve Dower
3823aabb72
Merge from 3.5
2016-07-15 12:01:07 -07:00
Steve Dower
b7567c587d
Fix building tcl/tk with only the VC build tools installed.
2016-07-15 11:55:52 -07:00
Steve Dower
da27c1da85
Merge from 3.5
2016-07-13 19:58:47 -07:00
Steve Dower
945863a691
Fixes build order and lingering intermediate files.
2016-07-13 19:58:21 -07:00
Zachary Ware
0475ffa64d
Issue #26930 : Merge with 3.5
2016-06-15 17:16:16 -05:00
Zachary Ware
42d4b9c22c
Issue #26930 : Update Windows build to OpenSSL 1.0.2h
2016-06-15 17:13:28 -05:00
Zachary Ware
f88d83b922
Issue #26930 : Update Windows build to OpenSSL 1.0.2h
2016-06-15 17:13:28 -05:00
Brett Cannon
82029ac14c
Issue #27186 : add Include/osmodule.h to the proper build rules
2016-06-12 13:21:22 -07:00
Serhiy Storchaka
b0f80b0312
Issue #26647 : Python interpreter now uses 16-bit wordcode instead of bytecode.
...
Patch by Demur Rumed.
2016-05-24 09:15:14 +03:00
Zachary Ware
15d2d49ce6
Closes #26706 : Merge with 3.5
2016-04-14 10:22:58 -05:00
Zachary Ware
7d82d0366b
Issue #26706 : Update OpenSSL version in PCbuild/readme.txt
...
Thanks to Shaun Walbridge for noticing.
2016-04-14 10:22:12 -05:00
Steve Dower
a4d41b3a3e
Closes #26624 : Adds validation of ucrtbase[d].dll version with warning for old versions.
2016-04-12 20:11:45 -07:00
Steve Dower
a7a222fde7
Closes #26624 : Adds validation of ucrtbase[d].dll version with warning for old versions.
2016-04-12 20:11:25 -07:00