Miss Islington (bot)
f599f9ea3c
bpo-40741: Update Windows build to include SQLite 3.32.3 (GH-21570)
...
(cherry picked from commit 84761c3cc4
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2020-07-20 17:09:51 -07:00
Miss Islington (bot)
aa7f775614
bpo-29778: Ensure python3.dll is loaded from correct locations when Python is embedded (GH-21297) (GH-21352)
...
Also enables using debug build of `python3_d.dll`
Reference: CVE-2020-15523
(cherry picked from commit dcbaa1b49c
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2020-07-06 19:12:16 +02:00
Steve Dower
7e57c367d6
bpo-40164: Update Windows OpenSSL to 1.1.1g (GH-20834)
...
Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>
2020-06-12 22:14:53 +01:00
Miss Islington (bot)
30513b6277
bpo-40861: Enable optimizations when building liblzma (GH-20724)
...
(cherry picked from commit 3a3a30c5a4
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2020-06-08 10:07:27 -07:00
Miss Islington (bot)
a6a116c1b9
bpo-40458: Increase reserved stack space to prevent overflow crash on Windows (GH-19845)
...
(cherry picked from commit ac4bf42411
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2020-05-05 11:03:21 -07:00
Miss Islington (bot)
3a55450256
bpo-38439: Add 256px IDLE icon (GH-17473)
...
Icon author: Andrew Clover, bpo-1490384
(cherry picked from commit 3a69f3caee
)
Co-authored-by: Miro Hrončok <miro@hroncok.cz>
2020-04-22 00:39:59 -07:00
Steve Dower
37126e7bd2
bpo-40164: Update Windows to OpenSSL 1.1.1f (GH-19359)
2020-04-04 15:47:40 +01:00
Miss Islington (bot)
35ae5d916c
bpo-39930: Fix MSBuild detection for Build Tools (GH-18938)
...
Ensure we detect Build Tools installs using the newer logic, and skip looking in the registry for VS 2017.
(cherry picked from commit 894adc18b4
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2020-03-12 09:47:53 -07:00
Miss Islington (bot)
17571c54e0
bpo-39930: Convert error to warning for more silent failure (GH-18921)
...
Makes it an error to create a layout without vcruntime DLL
(cherry picked from commit fde44ae6d0
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2020-03-11 07:31:07 -07:00
Miss Islington (bot)
d01c5507e5
bpo-39930: Ensure vcruntime140.dll is included in all Windows packages (GH-18918)
...
Also adds GitHub CI test for Windows installer changes
(cherry picked from commit 2dd41740c9
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2020-03-11 04:38:18 -07:00
Miss Islington (bot)
0d20364b13
bpo-38597: Never statically link extension initialization code on Windows (GH-18724)
...
(cherry picked from commit ce3a498408
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2020-03-02 16:30:18 -08:00
Miss Islington (bot)
7ad99821d8
bpo-38380: Update macOS & Windows builds to SQLite v3.31.1 (GH-18678)
...
Automerge-Triggered-By: @zooba
(cherry picked from commit 1382c3289b
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2020-03-02 07:02:03 -08:00
Miss Islington (bot)
6470a76430
bpo-39185 Add the d[etailed] and q[uiet] verbosity levels for msbuild (GH-17791)
...
(cherry picked from commit 89ae20b30e
)
Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
2020-02-04 16:48:01 -08:00
Steve Dower
c9f480d2cc
bpo-33125: Add support for building and releasing Windows ARM64 packages (GH-17480)
...
Note that the support is not actually enabled yet, and so we won't be publishing these packages. However, for those who want to build it themselves (even by reusing the Azure Pipelines definition), it's now relatively easy to enable.
2019-12-06 09:40:39 -08:00
Miss Islington (bot)
cbbf1098f3
bpo-38809: Windows build scripts use python.exe from virtual envs (GH-17164)
...
https://bugs.python.org/issue38809
(cherry picked from commit ee703cbb41
)
Co-authored-by: Tal Einat <taleinat+github@gmail.com>
2019-11-18 09:53:21 -08:00
Miss Islington (bot)
7773d391f8
bpo-38492: Remove pythonw.exe dependency on the Microsoft C++ runtime (GH-16824)
...
(cherry picked from commit 7aebbd1182
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2019-10-16 10:46:29 -07:00
Benjamin Peterson
d75bf44a28
[3.8] closes bpo-38174: Update vendored expat library to 2.2.8. (GH-16409)
...
Fixes CVE-2019-15903. See full changelog at https://github.com/libexpat/libexpat/blob/R_2_2_8/expat/Changes .
(cherry picked from commit 52b9408038
)
2019-09-25 21:57:14 -07:00
Miss Islington (bot)
26729ce74a
bpo-38117: Update bundled Windows OpenSSL to 1.1.1d (GH-16184)
...
(cherry picked from commit 3ab73f6bbf
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2019-09-16 07:40:19 -07:00
Miss Islington (bot)
da38ec1d48
bpo-37326: Include libffi license when available (GH-15921)
...
(cherry picked from commit 8fcaffb048
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2019-09-11 06:31:27 -07:00
Miss Islington (bot)
5779c53632
bpo-37798: Add C fastpath for statistics.NormalDist.inv_cdf() (GH-15266) (GH-15441)
...
(cherry picked from commit 0a18ee4be7
)
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
2019-08-23 15:39:27 -07:00
Miss Islington (bot)
853eecc769
bpo-37841: Remove python_uwp dependency on msvcp140.dll (GH-15253)
...
(cherry picked from commit b0dace3e97
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2019-08-13 10:54:28 -07:00
Miss Islington (bot)
36fd7b6f01
bpo-36044: Avoid warnings in Windows PGO build and add lzma, bz2 and sqlite coverage (GH-14985)
...
https://bugs.python.org/issue36044
Automerge-Triggered-By: @zooba
(cherry picked from commit e1b9002472
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2019-07-28 18:20:02 -07:00
Miss Islington (bot)
dad8f79cfd
bpo-35360: Update Windows builds to use SQLite 3.28.0 (GH-14179)
...
(cherry picked from commit 7fd2ba354e
)
Co-authored-by: animalize <animalize@users.noreply.github.com>
2019-06-24 16:43:31 -07:00
Miss Islington (bot)
389abd37ba
bpo-37333: Ensure IncludeTkinter has a value (GH-14240)
...
(cherry picked from commit 12f1c726d8
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2019-06-19 13:25:44 -07:00
Miss Islington (bot)
c28c135824
bpo-34631: Updated OpenSSL to 1.1.1c in Windows installer (GH-14163)
...
(cherry picked from commit a268edd6a4
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2019-06-17 12:54:18 -07:00
Miss Islington (bot)
79d8204c4f
bpo-37288: Fix Windows build when --no-tkinter is specified (GH-14096)
...
(cherry picked from commit 00f6493084
)
Co-authored-by: Paul Monson <paulmon@users.noreply.github.com>
2019-06-17 08:43:35 -07:00
Steve Dower
f78e66c3c9
Implement Windows release builds in Azure Pipelines (GH-14065)
...
Includes backported fixes from GH-14091
2019-06-14 14:20:16 -07:00
Miss Islington (bot)
36926df834
bpo-37238: Enable building for Windows using Visual Studio 2019 (GH-13988)
...
(cherry picked from commit 04856c2193
)
Co-authored-by: Paul Monson <paulmon@users.noreply.github.com>
2019-06-11 15:35:55 -07:00
Miss Islington (bot)
84d47bd8ad
bpo-37181: Fix test_regrtest failures on Windows arm64 (GH-13872)
...
(cherry picked from commit e7e5039d69
)
Co-authored-by: Paul Monson <paulmon@users.noreply.github.com>
2019-06-07 11:17:52 -07:00
Inada Naoki
91234a1636
bpo-26219: per opcode cache for LOAD_GLOBAL (GH-12884)
...
This patch implements per opcode cache mechanism, and use it in
only LOAD_GLOBAL opcode.
Based on Yury's opcache3.patch in bpo-26219.
2019-06-03 21:30:58 +09:00
Zackery Spytz
8f96c9f8ed
bpo-37007: Implement socket.if_nametoindex(), if_indextoname() and if_nameindex() on Windows (GH-13522)
2019-05-29 14:02:37 -07:00
Victor Stinner
331a6a56e9
bpo-36763: Implement the PEP 587 (GH-13592)
...
* Add a whole new documentation page:
"Python Initialization Configuration"
* PyWideStringList_Append() return type is now PyStatus,
instead of int
* PyInterpreterState_New() now calls PyConfig_Clear() if
PyConfig_InitPythonConfig() fails.
* Rename files:
* Python/coreconfig.c => Python/initconfig.c
* Include/cpython/coreconfig.h => Include/cpython/initconfig.h
* Include/internal/: pycore_coreconfig.h => pycore_initconfig.h
* Rename structures
* _PyCoreConfig => PyConfig
* _PyPreConfig => PyPreConfig
* _PyInitError => PyStatus
* _PyWstrList => PyWideStringList
* Rename PyConfig fields:
* use_module_search_paths => module_search_paths_set
* module_search_path_env => pythonpath_env
* Rename PyStatus field: _func => func
* PyInterpreterState: rename core_config field to config
* Rename macros and functions:
* _PyCoreConfig_SetArgv() => PyConfig_SetBytesArgv()
* _PyCoreConfig_SetWideArgv() => PyConfig_SetArgv()
* _PyCoreConfig_DecodeLocale() => PyConfig_SetBytesString()
* _PyInitError_Failed() => PyStatus_Exception()
* _Py_INIT_ERROR_TYPE_xxx enums => _PyStatus_TYPE_xxx
* _Py_UnixMain() => Py_BytesMain()
* _Py_ExitInitError() => Py_ExitStatusException()
* _Py_PreInitializeFromArgs() => Py_PreInitializeFromBytesArgs()
* _Py_PreInitializeFromWideArgs() => Py_PreInitializeFromArgs()
* _Py_PreInitialize() => Py_PreInitialize()
* _Py_RunMain() => Py_RunMain()
* _Py_InitializeFromConfig() => Py_InitializeFromConfig()
* _Py_INIT_XXX() => _PyStatus_XXX()
* _Py_INIT_FAILED() => _PyStatus_EXCEPTION()
* Rename 'err' PyStatus variables to 'status'
* Convert RUN_CODE() macro to config_run_code() static inline function
* Remove functions:
* _Py_InitializeFromArgs()
* _Py_InitializeFromWideArgs()
* _PyInterpreterState_GetCoreConfig()
2019-05-27 16:39:22 +02:00
Antoine Pitrou
91f4380ced
bpo-36785: PEP 574 implementation (GH-7076)
2019-05-26 17:10:09 +02:00
Victor Stinner
438a12dd9d
bpo-36710: Add tstate parameter in ceval.c (GH-13547)
...
* Fix a possible reference leak in _PyErr_Print() if exception
is NULL.
* PyErr_BadInternalCall(): replace PyErr_Format() with _PyErr_SetString().
* Add pycore_pyerrors.h header file.
* New functions:
* _PyErr_Clear()
* _PyErr_Fetch()
* _PyErr_Print()
* _PyErr_Restore()
* _PyErr_SetObject()
* _PyErr_SetString()
* Add 'tstate' parameter to _PyEval_AddPendingCall().
2019-05-24 17:01:38 +02:00
Steve Dower
b82e17e626
bpo-36842: Implement PEP 578 (GH-12613)
...
Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs.
2019-05-23 08:45:22 -07:00
Paul Monson
cfb241bd29
bpo-36941: Project file fixups for Windows ARM64 (GH-13477)
2019-05-22 15:16:21 -07:00
Victor Stinner
fd1e0e93b1
bpo-35134: Register new traceback.h header files (GH-13431)
...
Add new cpython/traceback.h and pycore_traceback.h header files to
Makefile.pre.in and PCbuild/ project.
2019-05-20 02:22:32 +02:00
Paul Monson
f96e7fd924
bpo-36941: Windows build changes for Windows ARM64 (GH-13365)
2019-05-17 10:07:24 -07:00
Paul Monson
67ff6a103a
bpo-36511: Windows ARM32 buildbot changes (GH-12917)
2019-05-15 15:42:29 -07:00
Paul Monson
fb7e7505ed
bpo-35926: Add support for OpenSSL 1.1.1b on Windows (GH-11779)
2019-05-15 15:38:55 -07:00
Pierre Glaser
f22cc69b01
bpo-36867: Make semaphore_tracker track other system resources (GH-13222)
...
The multiprocessing.resource_tracker replaces the multiprocessing.semaphore_tracker module. Other than semaphores, resource_tracker also tracks shared_memory segments. Patch by Pierre Glaser.
2019-05-10 22:59:08 +02:00
Paul Monson
62dfd7d6fe
bpo-35920: Windows 10 ARM32 platform support (GH-11774)
2019-04-25 18:36:45 +00:00
Victor Stinner
23bace26ec
bpo-36635: Add _testinternalcapi module (GH-12841)
...
Add a new _testinternalcapi module to test the internal C API.
Move _Py_GetConfigsAsDict() function to the internal C API:
_testembed now uses _testinternalcapi to access the function.
2019-04-18 11:37:26 +02:00
Paul Monson
11efd79076
bpo-36071 Add support for Windows ARM32 in ctypes/libffi (GH-12059)
2019-04-17 18:09:16 -07:00
Victor Stinner
5c75f37d47
bpo-36635: Change pyport.h for Py_BUILD_CORE_MODULE define (GH-12853)
...
Change PyAPI_FUNC(type), PyAPI_DATA(type) and PyMODINIT_FUNC macros
of pyport.h when Py_BUILD_CORE_MODULE is defined.
The Py_BUILD_CORE_MODULE define must be now be used to build a C
extension as a dynamic library accessing Python internals: export the
PyInit_xxx() function in DLL exports on Windows.
Changes:
* Py_BUILD_CORE_BUILTIN and Py_BUILD_CORE_MODULE now imply
Py_BUILD_CORE directy in pyport.h.
* ceval.c compilation now fails with an error if Py_BUILD_CORE is not
defined, just to ensure that Python is build with the correct
defines.
* setup.py now compiles _pickle.c with Py_BUILD_CORE_MODULE define.
* setup.py compiles _json.c with Py_BUILD_CORE_MODULE define, rather
than Py_BUILD_CORE_BUILTIN define
* PCbuild/pythoncore.vcxproj: Add Py_BUILD_CORE_BUILTIN define.
2019-04-17 23:02:26 +02:00
Victor Stinner
aba7d662ab
bpo-35134: Add cpython/pymem.h to build system (GH-12842)
2019-04-15 17:29:31 +02:00
Pablo Galindo
f2cf1e3e28
bpo-36623: Clean parser headers and include files (GH-12253)
...
After the removal of pgen, multiple header and function prototypes that lack implementation or are unused are still lying around.
2019-04-13 17:05:14 +01:00
Paul Monson
32119e10b7
bpo-35947: Update Windows to the current version of libffi (GH-11797)
...
We now use a pre-built libffi binary from our binaries repository, and no longer vendor the full implementation.
2019-03-29 16:30:10 -07:00
Jeroen Demeyer
3396d1e0ca
bpo-36448: mention 'make regen-all' in error message (GH-12585)
2019-03-29 11:37:22 -07:00
Steve Dower
b95a79c928
bpo-36245: Fix more empty environment variable checks (GH-12592)
2019-03-27 16:28:41 -07:00