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
Steve Dower
765c635dc8
Adds version info to all signed binaries on Windows
2016-04-06 12:36:23 -07:00
Steve Dower
b0660582cc
Adds version info to all signed binaries on Windows.
2016-04-06 12:35:24 -07:00
Victor Stinner
8c08e0db8f
rt.bat: use -m test instead of Lib\test\regrtest.py
2016-03-24 17:46:24 +01:00
Steve Dower
8d9bcb5d62
Issue #26079 : Fixing the build output folder for tix-8.4.3.6. Patch by Bjoern Thiel.
2016-03-12 08:39:07 -08:00
Steve Dower
d3722e7b6f
Issue #26079 : Fixing the build output folder for tix-8.4.3.6. Patch by Bjoern Thiel.
2016-03-12 08:38:55 -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
Steve Dower
43cbd05b6c
Issue #26465 : Update Windows builds to use OpenSSL 1.0.2g.
2016-03-08 10:29:24 -08:00
Steve Dower
947f411b0d
Issue #26465 : Update Windows builds to use OpenSSL 1.0.2g.
2016-03-08 10:26:52 -08:00
Zachary Ware
72f2ef4137
Issue #26268 : Merge with 3.5
2016-02-22 04:16:33 -06:00
Zachary Ware
6fe57ad229
Issue #26268 : Update Windows builds to use OpenSSL 1.0.2f
2016-02-22 04:08:51 -06:00
Zachary Ware
16f164e9b8
Issue #26268 : Update the prepare_ssl.py script
...
It can now handle OpenSSL versions 1.0.2e and greater, which don't
include include files in include/.
Note that sources prepared by this script no longer support the old
project files for 2.7; you now have to have Perl available to use
the old build_ssl.py script with sources from svn.python.org.
2016-02-22 04:02:30 -06:00
Steve Dower
a74826b086
Updates build to use SHA256 hash when signing files
2016-02-08 09:27:44 -08:00
Steve Dower
84d9fe3953
Updates build to use SHA256 hash when signing files.
2016-02-08 09:24:46 -08:00
Zachary Ware
03178a5f7e
Issue #25934 : Merge with 3.5
2016-01-29 19:09:41 -06:00
Zachary Ware
4c5ad9452b
Issue #25934 : Default to /fp:strict for ICC builds
2016-01-29 19:08:55 -06:00
Zachary Ware
e2c9adb03b
Closes #25348 : Merge with 3.5
2016-01-12 01:31:21 -06:00
Zachary Ware
bed30c37d8
Issue #25348 : Add --pgo and --pgo-job flags to PCbuild\build.bat
2016-01-12 01:26:50 -06:00
Steve Dower
bfb03a470c
Merge from 3.5
2015-10-31 13:07:44 -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
Steve Dower
80b31402d5
Issue #25361 : Disables use of SSE2 instructions in Windows 32-bit build
2015-10-11 15:16:21 -07:00
Steve Dower
5700ae877f
Issue #25361 : Disables use of SSE2 instructions in Windows 32-bit build
2015-10-11 15:15:52 -07:00
Zachary Ware
d038b78599
Closes #25022 : Merge with 3.5
2015-09-10 15:03:02 -05:00
Zachary Ware
018e380d55
Issue #25022 : Merge with 3.4
2015-09-10 15:02:14 -05:00
Zachary Ware
b54a068204
Issue #25022 : Remove PC/example_nt/
...
It was very much outdated, and the topic is better covered elsewhere.
2015-09-10 14:37:42 -05: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
Zachary Ware
4da050a276
Update PCbuild/readme.txt (merge from 3.5)
2015-09-08 01:12:56 -05:00
Zachary Ware
875ef4c70a
Update PCbuild/readme.txt
2015-09-08 01:12:00 -05:00
Zachary Ware
fcec42c3a8
Closes #25010 : Merge with 3.5
2015-09-07 23:32:10 -05:00
Zachary Ware
70b7539f9c
Issue #25010 : Merge with 3.4
2015-09-07 23:31:49 -05:00
Zachary Ware
1a690fb65a
Issue #25010 : Fix path for .pyd example project.
...
Patch by Shaun Walbridge
2015-09-07 23:30:46 -05:00
Zachary Ware
99cfed77c4
Issue #24986 : Merge with 3.5
2015-09-04 01:12:44 -05:00
Zachary Ware
a6deff2588
Issue #24986 : Save some bandwidth from svn.python.org
...
Don't download sources that won't be used.
2015-09-04 01:10:23 -05:00
Serhiy Storchaka
8fc0d918eb
Merge 3.5
2015-09-04 08:34:57 +03:00
Zachary Ware
b27f3c3e20
Issue #24986 : Allow building Python without external libraries on Windows
...
This modifies the behavior of the '-e' flag to PCbuild\build.bat: when '-e'
is not supplied, no attempt will be made to build extension modules that
require external libraries, even if the external libraries are present.
Also adds '--no-<module>' flags to PCbuild\build.bat, where '<module>' is
one of 'ssl', 'tkinter', or 'bsddb', to allow skipping just those modules
(if '-e' is given).
2015-09-03 23:43:54 -05: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
Zachary Ware
6732343ade
Turn 'rem' comments into a real usage message in PCbuild/build.bat
...
Also fixes error in 'kill' target (already fixed in 2.7, somehow the fix
didn't make it to this branch).
2015-09-02 13:21:19 -05:00
Zachary Ware
8cbb013553
Merge with 3.5
2015-09-02 15:01:42 -05:00
Zachary Ware
677744b386
Closes #25456 : Copy Tcl/Tk DLLs to build directory on Windows
...
This removes the need to add externals/tcltk[64]/bin to PATH to be able
to import tkinter. Also documents the necessity for the DLLs to be
on PATH or in python.exe's directory.
2015-10-24 01:34:22 -05:00
Martin Panter
9955a373a8
Various minor typos in documentation and comments
2015-10-07 10:26:23 +00:00
Steve Dower
b98046b206
Fixes file that did not graft correctly.
2015-08-19 08:44:05 -07:00
Steve Dower
ab2a34abb7
Issue #24847 : Removes vcruntime140.dll dependency from Tcl/Tk.
2015-08-19 08:39:12 -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
079e080765
Issue #19450 : Update Windows builds to use SQLite 3.8.11.0
2015-07-28 11:11:58 -07:00
Steve Dower
4e167ca7c1
Issue #19450 : Update Windows builds to use SQLite 3.8.11.0
2015-07-28 11:09:40 -07:00
Steve Dower
54d361fd86
Issue #19450 : Update Windows builds to use SQLite 3.8.11.0
2015-07-28 11:05:18 -07:00
Steve Dower
9c11d91b50
Merge with 3.5
2015-07-27 14:59:00 -07:00
Steve Dower
de9fb28bf1
Allow intermediate build directory to be overridden.
2015-07-27 14:56:58 -07:00
Zachary Ware
bdaaf49cea
Issue #24603 : Merge with 3.5
2015-07-21 23:28:28 -05:00
Zachary Ware
80acc3ebbc
Issue #24603 : Update the Windows build to use OpenSSL 1.0.2d
2015-07-21 23:27:08 -05:00
Zachary Ware
689b55c1cb
Issue #24603 : Update the Windows build to use OpenSSL 1.0.2d
2015-07-21 23:20:47 -05:00
Steve Dower
8a40b6bbcc
Fixes argument handling in build.bat and HHC search
2015-07-20 21:35:38 -07:00
Steve Dower
e1f6805776
Fixes argument handling in build.bat and HHC search
2015-07-20 21:34:45 -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
df418b67ab
Issue #24432 : Update Windows builds to use OpenSSL 1.0.2c.
2015-07-03 15:17:17 -07:00
Steve Dower
f92673c254
Issue #24432 : Update Windows builds to use OpenSSL 1.0.2c.
2015-07-03 15:16:37 -07:00
Steve Dower
a09ef0389b
Issue #24432 : Update Windows builds to use OpenSSL 1.0.2c.
2015-07-03 15:13:48 -07:00
Steve Dower
0a34c49603
Fixes warnings when building python3.dll due to the .def file accumulating multiple copies of each line.
...
Adds shebang line to prepare_ssl so it will run with py.exe.
2015-07-03 12:21:29 -07:00
Steve Dower
ac2bd5b1e8
Fixes warnings when building python3.dll due to the .def file accumulating multiple copies of each line.
...
Adds shebang line to prepare_ssl so it will run with py.exe.
2015-07-03 09:08:47 -07: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
4132b30636
Merge PCbuild/readme.txt update from 3.5
2015-06-17 09:48:19 -05:00
Zachary Ware
6c7f2acd99
Merge 3.4's PCbuild/readme.txt update.
...
All the new information in 3.4's readme.txt was already here, but the
wrong name was used to refer to the script. Also reworded the sentence.
2015-06-17 09:45:22 -05:00