summaryrefslogtreecommitdiffstats
path: root/PCbuild
Commit message (Collapse)AuthorAgeFilesLines
* [3.12] gh-123418: Update OpenSSL to 3.0.15 on Windows (GH-123691)Zachary Ware2024-09-042-4/+4
| | | (cherry picked from commit d2eafe2f48aac31aa8a152620bdfd0f2a274ee1d)
* [3.12] gh-122573: Require Python 3.10 or newer for Windows builds ↵Gregory P. Smith2024-08-061-3/+5
| | | | | | | | | | (GH-122574) (#122677) gh-122573: Require Python 3.10 or newer for Windows builds (GH-122574) Match statements in tooling require a more recent Python. `Tools/cases_generator/*.py` Co-authored-by: Jonathan Protzenko <protz@microsoft.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-116122: Add SBOM generation to PCbuild/build.bat (GH-116138)Seth Michael Larson2024-05-011-2/+13
| | | | | (cherry picked from commit 72dae53e09a5344bf4922d934a34a2fa48a11c86) Co-authored-by: Seth Michael Larson <seth@python.org>
* [3.12] gh-117968: Add tests for the part of the PyRun family of the C API ↵Serhiy Storchaka2024-04-222-0/+4
| | | | | | | | (GH-117982) (GH-118011) (cherry picked from commit 6078f2033ea15a16cf52fe8d644a95a3be72d2e3) Co-authored-by: NGRsoftlab <78017794+NGRsoftlab@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* [3.12] gh-115009: Update Windows installer to use SQLite 3.45.3 (GH-117445) ↵Mariusz Felisiak2024-04-173-3/+3
| | | | | (#118008) (cherry picked from commit de0dc68b8263da4e3e69d517f303b9b08b36f142)
* gh-116472: Replace literal newlines with escape characters in MSBuild files ↵Miss Islington (bot)2024-03-071-3/+1
| | | | | | | (GH-116473) (cherry picked from commit 5d0cdfe519e6f35ccae1a1adca1ffd7fac10cee0) Co-authored-by: Dan Albert <dan@gingerhq.net>
* gh-113655: Increase stack reserve size on Windows for when running PGO ↵Steve Dower2024-02-212-0/+2
| | | | (GH-115770)
* gh-115167: Exclude vcruntime140_threads.dll from Windows build output ↵Miss Islington (bot)2024-02-081-1/+1
| | | | | | | (GH-115176) (cherry picked from commit 5914a211ef5542edd1f792c2684e373a42647b04) Co-authored-by: adang1345 <adang1345@gmail.com>
* [3.12] gh-115009: Update Windows installer to use SQLite 3.45.1 (#115065) ↵Erlend E. Aasland2024-02-063-3/+3
| | | | | (#115110) (cherry picked from commit 11ac6f5354ec7a4da2a7e052d27d636b5a41c714)
* [3.12] gh-111239: Update Windows build to use zlib 1.3.1 (GH-114877) (GH-115076)Miss Islington (bot)2024-02-062-2/+2
| | | | | | gh-111239: Update Windows build to use zlib 1.3.1 (GH-114877) (cherry picked from commit 618d7256e78da8200f6e2c6235094a1ef885dca4) Co-authored-by: Zachary Ware <zach@python.org>
* [3.12] gh-109991: Update Windows build to use OpenSSL 3.0.13 (#115047)Zachary Ware2024-02-062-4/+4
| | | (cherry picked from commit 01dceba13e872e9ca24b8e00a2b75db3d0d6c1a3)
* [3.12] gh-111495: add stub files for C API test modules (GH-111586) (GH-111592)Sergey B Kirpichev2023-11-012-0/+35
| | | | | This is to reduce merge conflicts (Modules/Setup.stdlib.in) for subsequent pull requests for the issue. (cherry picked from commit 33ed5fa69dbe25d64a910c450be527f4db9dc5dd)
* [3.12] gh-111065: Add more tests for the C API with the PySys_ prefix ↵Serhiy Storchaka2023-10-252-0/+4
| | | | | | | | | | | | (GH-111067) (GH-111305) * Move existing tests for PySys_GetObject() and PySys_SetObject() into specialized files. * Add test for PySys_GetXOptions() using _testcapi. * Add tests for PySys_FormatStdout(), PySys_FormatStderr(), PySys_WriteStdout() and PySys_WriteStderr() using ctypes. (cherry picked from commit b2ba2985275d1200e5c44c3f224d754141fc5292)
* [3.12] gh-110437: Allow overriding VCRuntimeDLL with a semicolon separated ↵Miss Islington (bot)2023-10-091-1/+4
| | | | | | | | list of DLLs to bundle (GH-110470) gh-110437: Allow overriding VCRuntimeDLL with a semicolon separated list of DLLs to bundle (GH-110470) (cherry picked from commit 12cc6792d0ca1d0b72712d77c6efcb0aa0c7e7ba) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.12] gh-110525: Add CAPI tests for set and frozenset objects (GH-110526). ↵Nikita Sobolev2023-10-091-0/+1
| | | | | (GH-110547) (cherry picked from commit c49edd7d9c5395a6a6696a4846f56bc8b2b22792)
* [3.12] gh-109286: Update Windows installer to use SQLite 3.43.1 (GH-110403) ↵Miss Islington (bot)2023-10-093-3/+3
| | | | | | | | | | (#110478) gh-109286: Update Windows installer to use SQLite 3.43.1 (GH-110403) (cherry picked from commit 201dc11aeb4699de3c5ebaea9798796c30087bcc) Co-authored-by: jtranquilli <76231120+jtranquilli@users.noreply.github.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend@python.org>
* [3.12] gh-108494: Document how to add a project in PCbuild/readme.txt ↵Miss Islington (bot)2023-10-021-0/+28
| | | | | | | | | (GH-110077) (#110230) gh-108494: Document how to add a project in PCbuild/readme.txt (GH-110077) (cherry picked from commit 6387b5313c60c1403785b2245db33372476ac304) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-109991: Update Windows build to use OpenSSL 3.0.11 (GH-110054) ↵Miss Islington (bot)2023-10-022-4/+4
| | | | | | | | (#110056) gh-109991: Update Windows build to use OpenSSL 3.0.11 (GH-110054) (cherry picked from commit cf4c29725636e1a0dd2ebab443613b56ca6c9486) Co-authored-by: Zachary Ware <zach@python.org>
* [3.12] gh-107565: Update Windows build to use OpenSSL 3.0.10 (GH-108928) ↵Miss Islington (bot)2023-09-052-4/+4
| | | | | | | | (#108930) gh-107565: Update Windows build to use OpenSSL 3.0.10 (GH-108928) (cherry picked from commit deea7c82682848b2a0db971a4dcc3a32c73a9f8c) Co-authored-by: Zachary Ware <zach@python.org>
* [3.12] gh-107178: Add the C API tests for the Abstract Objects Layer ↵Serhiy Storchaka2023-08-162-2/+10
| | | | | | | | | | | | (GH-107179) (#107728) Cover all the Mapping Protocol, almost all the Sequence Protocol (except PySequence_Fast) and a part of the Object Protocol. Move existing tests to Lib/test/test_capi/test_abstract.py and Modules/_testcapi/abstract.c. Add also tests for PyDict C API.. (cherry picked from commit 16c9415fba4972743f1944ebc44946e475e68bc4)
* [3.12] gh-91795: Update build optimization part of PCbuild/readme.txt ↵Miss Islington (bot)2023-08-161-3/+5
| | | | | | | | (GH-91849) (#107776) gh-91795: Update build optimization part of PCbuild/readme.txt (GH-91849) (cherry picked from commit 906b73be5eada1995bd667a02c59f7a11998310f) Co-authored-by: Fatih <77548106+fatihkabakk@users.noreply.github.com>
* [3.12] gh-107814: Avoid output from Nuget installation in find_python.bat ↵Miss Islington (bot)2023-08-101-2/+6
| | | | | | | | (GH-107815) (#107823) gh-107814: Avoid output from Nuget installation in find_python.bat (GH-107815) (cherry picked from commit 1e229e2c3d212accbd5fbe3a46cd42f8252b2868) Co-authored-by: Max Bachmann <kontakt@maxbachmann.de>
* [3.12] gh-104629: Build _testclinic extension module on Windows (GH-104723) ↵Miss Islington (bot)2023-07-285-1/+168
| | | | | | | (#107393) (cherry picked from commit 3a1d819ebc36189e086198212822c9b29384f242) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* [3.12] gh-101524: Only Use Public C-API in the _xxsubinterpreters Module ↵Miss Islington (bot)2023-07-272-4/+8
| | | | | | | | (gh-105258) (gh-107303) The _xxsubinterpreters module was meant to only use public API. Some internal C-API usage snuck in over the last few years (e.g. gh-28969). This fixes that. (cherry picked from commit e6373c0d8b59512aa7f0dea7f3fb162b6ed10fa4) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
* [3.12] gh-99079: Update Windows build to use OpenSSL 3.0.9 (GH-106649) (#106680)Miss Islington (bot)2023-07-125-8/+9
| | | | | | gh-99079: Update Windows build to use OpenSSL 3.0.9 (GH-106649) (cherry picked from commit e2d7366fb3df44e7434132636d49f22d6d25cc9f) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.12] ARM64 clamping bug also exists in MSVC 14.35 (GH-105679) (#105695)Miss Islington (bot)2023-06-121-1/+1
| | | | | | ARM64 clamping bug also exists in MSVC 14.35 (GH-105679) (cherry picked from commit 58f0bda34126ed790000451874b96140737f40ed) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.12] gh-103142: Upgrade binary builds and CI to OpenSSL 1.1.1u (GH-105174) ↵Miss Islington (bot)2023-06-013-5/+5
| | | | | | | | | | | | | | | | | | | | (#105199) gh-103142: Upgrade binary builds and CI to OpenSSL 1.1.1u (GH-105174) Upgrade builds to OpenSSL 1.1.1u. This OpenSSL version addresses a pile if less-urgent CVEs since 1.1.1t. The Mac/BuildScript/build-installer.py was already updated. Also updates _ssl_data_111.h from OpenSSL 1.1.1u, _ssl_data_300.h from 3.0.9, and adds a new _ssl_data_31.h file from 3.1.1 along with the ssl.c code to use it. Manual edits to the _ssl_data_300.h file prevent it from removing any existing definitions in case those exist in some peoples builds and were important (avoiding regressions during backporting). backports of this prior to 3.12 will not include the openssl 3.1 header. (cherry picked from commit ede89af605b1c0442353435ad22195c16274f65d) Co-authored-by: Gregory P. Smith [Google] <greg@krypto.org>
* [3.12] gh-99108: Refresh HACL* (GH-104808) (#104893)Miss Islington (bot)2023-05-242-2/+2
| | | | | | | | gh-99108: Refresh HACL* (GH-104808) Refresh HACL* from upstream to improve SHA2 performance and fix a 32-bit issue in SHA3. (cherry picked from commit 160321e5304b962a162eb023472aa2bc8307ae15) Co-authored-by: Jonathan Protzenko <protz@microsoft.com>
* gh-104623: Update Windows installer to use SQLite 3.42.0 (#104625)Erlend E. Aasland2023-05-183-3/+3
|
* GH-101520: Move tracemalloc functionality into core, leaving interface in ↵Mark Shannon2023-05-174-0/+8
| | | | Modules. (#104508)
* gh-103763: Implement PEP 695 (#103764)Jelle Zijlstra2023-05-163-0/+9
| | | | | | | | | | | | | | This implements PEP 695, Type Parameter Syntax. It adds support for: - Generic functions (def func[T](): ...) - Generic classes (class X[T](): ...) - Type aliases (type X = ...) - New scoping when the new syntax is used within a class body - Compiler and interpreter changes to support the new syntax and scoping rules Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: Eric Traut <eric@traut.com> Co-authored-by: Larry Hastings <larry@hastings.org> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-93649: Split gc- and allocation tests from _testcapimodule.c (GH-104403)Jurica Bradarić2023-05-122-0/+4
|
* gh-99108: Replace SHA3 implementation HACL* version (#103597)Jonathan Protzenko2023-05-082-12/+16
| | | | | | | | | | | Replaces our built-in SHA3 implementation with a verified one from the HACL* project. This implementation is used when OpenSSL does not provide SHA3 or is not present. 3.11 shiped with a very slow tiny sha3 implementation to get off of the <=3.10 reference implementation that wound up having serious bugs. This brings us back to a reasonably performing built-in implementation consistent with what we've just replaced our other guaranteed available standard hash algorithms with: code from the HACL* project. --------- Co-authored-by: Gregory P. Smith <greg@krypto.org>
* gh-103963: fix 'make regen-opcode' in out-of-tree builds (#104177)Carl Meyer2023-05-041-1/+1
|
* gh-102500: Implement PEP 688 (#102521)Jelle Zijlstra2023-05-042-0/+4
| | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* gh-103509: PEP 697 -- Limited C API for Extending Opaque Types (GH-103511)Petr Viktorin2023-05-042-0/+4
| | | | Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-84436: Add integration C API tests for immortal objects (gh-103962)Dong-hee Na2023-05-021-0/+1
|
* gh-102997: Update Windows installer to SQLite 3.41.2. (#102999)Mariusz Felisiak2023-05-023-3/+3
|
* GH-103082: Implementation of PEP 669: Low Impact Monitoring for CPython ↵Mark Shannon2023-04-124-0/+16
| | | | | | | | | | (GH-103083) * The majority of the monitoring code is in instrumentation.c * The new instrumentation bytecodes are in bytecodes.c * legacy_tracing.c adapts the new API to the old sys.setrace and sys.setprofile APIs
* gh-103088: Sanitize venv paths when using MSYS or Cygwin Bash (GH-103325)Stanislav Syekirin2023-04-111-1/+1
|
* gh-87092: move assembler related code from compile.c to assemble.c (#103277)Irit Katriel2023-04-114-8/+16
|
* gh-101659: Add _Py_AtExit() (gh-103298)Eric Snow2023-04-062-0/+4
| | | | | The function is like Py_AtExit() but for a single interpreter. This is a companion to the atexit module's register() function, taking a C callback instead of a Python one. We also update the _xxinterpchannels module to use _Py_AtExit(), which is the motivating case. (This is inspired by pain points felt while working on gh-101660.)
* gh-87092: move CFG related code from compile.c to flowgraph.c (#103021)Irit Katriel2023-03-314-0/+9
|
* gh-103097: Add workaround for Windows ARM64 compiler bug (GH-103098)Steve Dower2023-03-281-0/+9
| | | See https://developercommunity.visualstudio.com/t/Regression-in-MSVC-1433-1434-ARM64-co/10224361 for details of the issue. It only applies to version 14.34.
* GH-94808: Cover `PyOS_mystrnicmp` and `PyOS_mystricmp` (gh-102469)Artem Mukhin2023-03-222-0/+4
|
* gh-102304: Move _Py_RefTotal to _PyRuntimeState (gh-102543)Eric Snow2023-03-202-0/+4
| | | | | | | The essentially eliminates the global variable, with the associated benefits. This is also a precursor to isolating this bit of state to PyInterpreterState. Folks that currently read _Py_RefTotal directly would have to start using _Py_GetGlobalRefTotal() instead. https://github.com/python/cpython/issues/102304
* Increase stack reserve size for Windows debug builds to avoid test crashes ↵Steve Dower2023-03-172-2/+3
| | | | (GH-102764)
* gh-99726: Improves correctness of stat results for Windows, and uses faster ↵Steve Dower2023-03-162-0/+4
| | | | | API when available (GH-102149) This deprecates `st_ctime` fields on Windows, with the intent to change them to contain the correct value in 3.14. For now, they should keep returning the creation time as they always have.
* gh-101101: Unstable C API tier (PEP 689) (GH-101102)Petr Viktorin2023-02-282-0/+4
|
* gh-93649: Split exception tests from _testcapimodule.c (GH-102173)Erlend E. Aasland2023-02-232-0/+4
| | | Automerge-Triggered-By: GH:erlend-aasland