summaryrefslogtreecommitdiffstats
path: root/PCbuild
Commit message (Collapse)AuthorAgeFilesLines
* bpo-39185 Add the d[etailed] and q[uiet] verbosity levels for msbuild (GH-17791)Miss Islington (bot)2020-02-051-0/+4
| | | | | (cherry picked from commit 89ae20b30e4543f379ee647c965eb46200556496) Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
* bpo-33125: Add support for building and releasing Windows ARM64 packages ↵Steve Dower2019-12-066-4/+73
| | | | | (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.
* bpo-38809: Windows build scripts use python.exe from virtual envs (GH-17164)Miss Islington (bot)2019-11-181-0/+3
| | | | | | https://bugs.python.org/issue38809 (cherry picked from commit ee703cbb418b7458bebb1d26a5e19d6b55280b28) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
* bpo-38492: Remove pythonw.exe dependency on the Microsoft C++ runtime (GH-16824)Miss Islington (bot)2019-10-161-0/+9
| | | | | (cherry picked from commit 7aebbd1182bc818324656b2fb764679faf51fdff) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.8] closes bpo-38174: Update vendored expat library to 2.2.8. (GH-16409)Benjamin Peterson2019-09-264-8/+0
| | | | Fixes CVE-2019-15903. See full changelog at https://github.com/libexpat/libexpat/blob/R_2_2_8/expat/Changes. (cherry picked from commit 52b940803860e37bcc3f6096b2d24e7c20a0e807)
* bpo-38117: Update bundled Windows OpenSSL to 1.1.1d (GH-16184)Miss Islington (bot)2019-09-162-4/+4
| | | | | (cherry picked from commit 3ab73f6bbf4ff66e7ace3c4eab25461b5c7d71d4) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-37326: Include libffi license when available (GH-15921)Miss Islington (bot)2019-09-111-2/+3
| | | | | (cherry picked from commit 8fcaffb048d2359a4c06ed5d8fbbf46d3ae1a472) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-37798: Add C fastpath for statistics.NormalDist.inv_cdf() (GH-15266) ↵Miss Islington (bot)2019-08-232-0/+4
| | | | | | | (GH-15441) (cherry picked from commit 0a18ee4be7ba215f414bef04598e0849504f9f1e) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
* bpo-37841: Remove python_uwp dependency on msvcp140.dll (GH-15253)Miss Islington (bot)2019-08-131-0/+9
| | | | | (cherry picked from commit b0dace3e979381426385c551b116d0f1434096ee) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-36044: Avoid warnings in Windows PGO build and add lzma, bz2 and sqlite ↵Miss Islington (bot)2019-07-292-0/+2
| | | | | | | | | | coverage (GH-14985) https://bugs.python.org/issue36044 Automerge-Triggered-By: @zooba (cherry picked from commit e1b900247227dad49d8231f1d028872412230ab4) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-35360: Update Windows builds to use SQLite 3.28.0 (GH-14179)Miss Islington (bot)2019-06-243-3/+3
| | | | | (cherry picked from commit 7fd2ba354ec2304743ffd9ba620e07d113532264) Co-authored-by: animalize <animalize@users.noreply.github.com>
* bpo-37333: Ensure IncludeTkinter has a value (GH-14240)Miss Islington (bot)2019-06-191-0/+3
| | | | | (cherry picked from commit 12f1c726d8328e5e096c35c36901f6d19bc942d3) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-34631: Updated OpenSSL to 1.1.1c in Windows installer (GH-14163)Miss Islington (bot)2019-06-173-5/+5
| | | | | (cherry picked from commit a268edd6a411480281222b1fdb0f78053434d17f) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-37288: Fix Windows build when --no-tkinter is specified (GH-14096)Miss Islington (bot)2019-06-171-3/+3
| | | | | (cherry picked from commit 00f6493084c385033fe5574314223217d9a26672) Co-authored-by: Paul Monson <paulmon@users.noreply.github.com>
* Implement Windows release builds in Azure Pipelines (GH-14065)Steve Dower2019-06-146-19/+66
| | | Includes backported fixes from GH-14091
* bpo-37238: Enable building for Windows using Visual Studio 2019 (GH-13988)Miss Islington (bot)2019-06-112-1/+2
| | | | | (cherry picked from commit 04856c2193eb72d72c46b57fa08095235d732a73) Co-authored-by: Paul Monson <paulmon@users.noreply.github.com>
* bpo-37181: Fix test_regrtest failures on Windows arm64 (GH-13872)Miss Islington (bot)2019-06-071-0/+1
| | | | | (cherry picked from commit e7e5039d6940e41839dcef0433262ff363408dad) Co-authored-by: Paul Monson <paulmon@users.noreply.github.com>
* bpo-26219: per opcode cache for LOAD_GLOBAL (GH-12884)Inada Naoki2019-06-032-0/+4
| | | | | | This patch implements per opcode cache mechanism, and use it in only LOAD_GLOBAL opcode. Based on Yury's opcache3.patch in bpo-26219.
* bpo-37007: Implement socket.if_nametoindex(), if_indextoname() and ↵Zackery Spytz2019-05-291-1/+1
| | | | if_nameindex() on Windows (GH-13522)
* bpo-36763: Implement the PEP 587 (GH-13592)Victor Stinner2019-05-272-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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()
* bpo-36785: PEP 574 implementation (GH-7076)Antoine Pitrou2019-05-262-0/+8
|
* bpo-36710: Add tstate parameter in ceval.c (GH-13547)Victor Stinner2019-05-242-0/+4
| | | | | | | | | | | | | | | | * 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().
* bpo-36842: Implement PEP 578 (GH-12613)Steve Dower2019-05-232-0/+8
| | | Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs.
* bpo-36941: Project file fixups for Windows ARM64 (GH-13477)Paul Monson2019-05-222-5/+18
|
* bpo-35134: Register new traceback.h header files (GH-13431)Victor Stinner2019-05-202-0/+8
| | | | Add new cpython/traceback.h and pycore_traceback.h header files to Makefile.pre.in and PCbuild/ project.
* bpo-36941: Windows build changes for Windows ARM64 (GH-13365)Paul Monson2019-05-1746-7/+1028
|
* bpo-36511: Windows ARM32 buildbot changes (GH-12917)Paul Monson2019-05-151-0/+1
|
* bpo-35926: Add support for OpenSSL 1.1.1b on Windows (GH-11779)Paul Monson2019-05-156-35/+46
|
* bpo-36867: Make semaphore_tracker track other system resources (GH-13222)Pierre Glaser2019-05-101-1/+1
| | | The multiprocessing.resource_tracker replaces the multiprocessing.semaphore_tracker module. Other than semaphores, resource_tracker also tracks shared_memory segments. Patch by Pierre Glaser.
* bpo-35920: Windows 10 ARM32 platform support (GH-11774)Paul Monson2019-04-252-5/+6
|
* bpo-36635: Add _testinternalcapi module (GH-12841)Victor Stinner2019-04-184-2/+111
| | | | | | 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.
* bpo-36071 Add support for Windows ARM32 in ctypes/libffi (GH-12059)Paul Monson2019-04-182-2/+15
|
* bpo-36635: Change pyport.h for Py_BUILD_CORE_MODULE define (GH-12853)Victor Stinner2019-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | 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.
* bpo-35134: Add cpython/pymem.h to build system (GH-12842)Victor Stinner2019-04-152-0/+4
|
* bpo-36623: Clean parser headers and include files (GH-12253)Pablo Galindo2019-04-132-4/+0
| | | After the removal of pgen, multiple header and function prototypes that lack implementation or are unused are still lying around.
* bpo-35947: Update Windows to the current version of libffi (GH-11797)Paul Monson2019-03-296-44/+202
| | | We now use a pre-built libffi binary from our binaries repository, and no longer vendor the full implementation.
* bpo-36448: mention 'make regen-all' in error message (GH-12585)Jeroen Demeyer2019-03-291-2/+2
|
* bpo-36245: Fix more empty environment variable checks (GH-12592)Steve Dower2019-03-271-2/+2
|
* Fix registry key for Windows SDK detection (GH-12445)Isuru Fernando2019-03-211-1/+1
|
* bpo-36245: Avoid problems when building in a directory containing spaces. ↵Jess2019-03-211-3/+3
| | | | (GH-12241)
* bpo-36297: remove "unicode_internal" codec (GH-12342)Inada Naoki2019-03-181-1/+0
|
* bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as ↵Eric Snow2019-03-152-0/+8
| | | | necessary). (gh-12359)
* bpo-36108: Avoid failing the build on race condition in clean (GH-12217)Steve Dower2019-03-071-1/+1
|
* Revert: bpo-33608: Factor out a private, per-interpreter ↵Victor Stinner2019-03-042-8/+0
| | | | | | | | | | | | | | | | | | | _Py_AddPendingCall(). (GH-11617) (GH-12159) * Revert "bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as necessary). (#12003)" This reverts commit bcfa450f210074e16feb761ae5b3e966a2532fcf. * Revert "bpo-33608: Simplify ceval's DISPATCH by hoisting eval_breaker ahead of time. (gh-12062)" This reverts commit bda918bf65a88560ec453aaba0758a9c0d49b449. * Revert "bpo-33608: Use _Py_AddPendingCall() in _PyCrossInterpreterData_Release(). (gh-12024)" This reverts commit b05b711a2cef6c6c381e01069dedac372e0b9fb2. * Revert "bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (GH-11617)" This reverts commit ef4ac967e2f3a9a18330cc6abe14adb4bc3d0465.
* bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as ↵Eric Snow2019-03-012-0/+8
| | | | necessary). (#12003)
* bpo-35808: Retire pgen and use pgen2 to generate the parser (GH-11814)Pablo Galindo2019-03-012-24/+0
| | | | | Pgen is the oldest piece of technology in the CPython repository, building it requires various #if[n]def PGEN hacks in other parts of the code and it also depends more and more on CPython internals. This commit removes the old pgen C code and replaces it for a new version implemented in pure Python. This is a modified and adapted version of lib2to3/pgen2 that can generate grammar files compatibles with the current parser. This commit also eliminates all the #ifdef and code branches related to pgen, simplifying the code and making it more maintainable. The regen-grammar step now uses $(PYTHON_FOR_REGEN) that can be any version of the interpreter, so the new pgen code maintains compatibility with older versions of the interpreter (this also allows regenerating the grammar with the current CI solution that uses Python3.5). The new pgen Python module also makes use of the Grammar/Tokens file that holds the token specification, so is always kept in sync and avoids having to maintain duplicate token definitions.
* bpo-36142: Add preconfig.c (GH-12128)Victor Stinner2019-03-012-0/+4
| | | | | * Add _PyArgv_Decode() function * Move _Py_ClearFileSystemEncoding() and _Py_SetFileSystemEncoding() to preconfig.c.
* bpo-36142: Exclude coreconfig.h from Py_LIMITED_API (GH-12111)Victor Stinner2019-03-012-3/+7
| | | | | | | | | The whole coreconfig.h header is now excluded from Py_LIMITED_API. Move functions definitions into a new internal pycore_coreconfig.h header. * Move Include/coreconfig.h to Include/cpython/coreconfig.h * coreconfig.h header is now excluded from Py_LIMITED_API * Move functions to pycore_coreconfig.h
* bpo-35976: Enable Windows projects to build with platform ARM32 (GH-11825)Paul Monson2019-02-1443-4/+956
| | | This change adds the necessary items to the build projects to avoid erroring out right at the start. It does not add _support_ for targeting Windows on ARM32, but is a necessary prerequisite for adding it.
* bpo-34691: Compile _contextvars module into main Python library (GH-11741)Steve Dower2019-02-023-94/+1
|