Miss Islington (bot)
f5b63eab9b
[3.11] ARM64 clamping bug also exists in MSVC 14.35 (GH-105679) ( #105696 )
...
ARM64 clamping bug also exists in MSVC 14.35 (GH-105679)
(cherry picked from commit 58f0bda341
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2023-06-12 17:02:39 +01:00
Gregory P. Smith
a5d2b546c1
[3.11] gh-103142: Upgrade binary builds and CI to OpenSSL 1.1.1u (GH-105174) ( #105200 )
...
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.
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).
(cherry picked from commit ede89af
)
2023-06-01 18:07:53 +00:00
Erlend E. Aasland
ba39ea48d5
[3.11] gh-104623: Update Windows installer to use SQLite 3.42.0 ( #104625 ) ( #104633 )
2023-05-18 23:33:58 +00:00
Erlend E. Aasland
61f1fbd040
[3.11] gh-102997: Update Windows installer to SQLite 3.41.2. ( #102999 ) ( #104085 )
...
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-05-02 08:15:06 +00:00
Steve Dower
cbe14c87c6
gh-103097: Add workaround for Windows ARM64 compiler bug (GH-103098)
...
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.
2023-03-29 15:33:29 +01:00
Miss Islington (bot)
d025b1d278
Increase stack reserve size for Windows debug builds to avoid test crashes (GH-102764)
...
(cherry picked from commit f33b33eb31
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2023-03-16 18:34:49 -07:00
Erlend E. Aasland
836098857b
[3.11] gh-101759: Update Windows installer to SQLite 3.40.1 (GH-101762) ( #101791 )
...
(cherry picked from commit 5d15224011
)
2023-02-10 22:21:55 +01:00
Miss Islington (bot)
7ca9da9316
gh-101763: Update bundled copy of libffi to 3.4.4 on Windows (GH-101784)
...
(cherry picked from commit e1aadedf09
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2023-02-10 09:27:53 -08:00
Steve Dower
52a03a0006
gh-101726: Update the OpenSSL version to 1.1.1t (GH-101727)
...
Fixes CVE-2023-0286 (High) and a couple of Medium security issues.
https://www.openssl.org/news/secadv/20230207.txt
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2023-02-09 19:28:59 +00:00
Steve Dower
898de13f91
gh-101522: Allow overriding Windows dependencies versions and paths using MSBuild properties (GH-101523)
2023-02-03 18:54:39 +00:00
Miss Islington (bot)
13453a205b
gh-100180: Update Windows installer to OpenSSL 1.1.1s (GH-100901)
...
(cherry picked from commit d7ab7149f8
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2023-01-09 16:51:49 -08:00
Miss Islington (bot)
2d5f4ba174
gh-98629: Fixes sys._git and sys.version creation on Windows (GH-99664)
...
(cherry picked from commit 49e554dbaf
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2022-11-21 13:13:52 -08:00
Miss Islington (bot)
1e5e38b0ee
gh-94280: Require Python 3.9 or higher to compile CPython on Windows (GH-94281)
...
(cherry picked from commit acc6468f7e
)
Co-authored-by: Shixian Li <34830785+znsoooo@users.noreply.github.com>
2022-11-07 13:12:56 -08:00
Miss Islington (bot)
cd6655a858
gh-98689: Update Windows builds to zlib v1.2.13 (GH-98968)
...
(cherry picked from commit c0859743d9
)
Co-authored-by: Zachary Ware <zach@python.org>
2022-11-01 11:30:54 -07:00
Miss Islington (bot)
f7194cace0
gh-94328: Update Windows installer to use SQLite 3.39.4 (GH-98640)
...
(cherry picked from commit 0c84593275
)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-10-25 14:51:32 -07:00
Miss Islington (bot)
c2916d2f0e
gh-96965: Update Windows release to libffi 3.4.3 (GH-97512)
...
(cherry picked from commit f1cca801f5
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2022-09-23 08:31:53 -07:00
Miss Islington (bot)
512b305856
gh-94781: Fix Windows projects not cleaning intermediate and output files for frozen modules (GH-96423)
...
(cherry picked from commit 3e26de3c1f
)
Co-authored-by: Charlie Zhao <zhaoyu_hit@qq.com>
2022-09-23 16:23:41 +01:00
Miss Islington (bot)
882c7cf4c7
gh-94682: Build and test with OpenSSL 1.1.1q (gh-94683)
...
(cherry picked from commit 873554ef84
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-08-29 09:47:20 -07:00
Miss Islington (bot)
6d83441442
gh-95656: Enable the sqlite3 load extension API in Windows build (GH-95662)
...
(cherry picked from commit 6a5104f4fa
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-08-04 12:53:21 -07:00
Miss Islington (bot)
7bca87d384
gh-92348: Add quotes to support building on Windows with spaces in directory name (GH-94925)
...
(cherry picked from commit 5c19ddab65
)
Co-authored-by: Steve Dower <steve.dower@python.org>
2022-07-17 07:46:43 -07:00
Victor Stinner
96254a9acd
gh-93937, C API: Move PyFrame_GetBack() to Python.h ( #93938 ) ( #94000 )
...
Move the follow functions and type from frameobject.h to pyframe.h,
so the standard <Python.h> provide frame getter functions:
* PyFrame_Check()
* PyFrame_GetBack()
* PyFrame_GetBuiltins()
* PyFrame_GetGenerator()
* PyFrame_GetGlobals()
* PyFrame_GetLasti()
* PyFrame_GetLocals()
* PyFrame_Type
Remove #include "frameobject.h" from many C files. It's no longer
needed.
(cherry picked from commit 27b9894033
)
2022-06-20 15:47:41 +02:00
Miss Islington (bot)
76fe10a89a
gh-92984: Explicitly disable incremental linking for Windows Release and PGO builds (GH-92985)
...
(cherry picked from commit 38feffa09c
)
Co-authored-by: David Machaj <46852402+dmachaj@users.noreply.github.com>
2022-05-19 15:52:22 -07:00
Miss Islington (bot)
635b62a376
[3.11] gh-76773: Update docs mentioning no-longer-supported Windows versions & features (GH-92529) (GH-92608)
...
(cherry picked from commit f1bbcba74f
)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Automerge-Triggered-By: GH:serhiy-storchaka
2022-05-10 02:55:36 -07:00
Miss Islington (bot)
a86229e824
bpo-46907: Update Windows installer to SQLite 3.38.4. (GH-92322)
...
(cherry picked from commit 22bddc864d
)
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-05-09 15:07:29 -07:00
Mariusz Felisiak
e6040604b3
bpo-46907: Update Windows installer to SQLite 3.38.3. (GH-91995)
2022-05-02 16:02:54 +01:00
Mariusz Felisiak
eddd07f840
bpo-46907: Update Windows installer to SQLite 3.38.2 (GH-32147)
2022-04-25 23:33:45 +01:00
Victor Stinner
64a54e511d
gh-91719: Add pycore_opcode.h internal header file ( #91906 )
...
Move the following API from Include/opcode.h (public C API) to a new
Include/internal/pycore_opcode.h header file (internal C API):
* EXTRA_CASES
* _PyOpcode_Caches
* _PyOpcode_Deopt
* _PyOpcode_Jump
* _PyOpcode_OpName
* _PyOpcode_RelativeJump
2022-04-26 00:14:30 +02:00
Victor Stinner
20cc695286
gh-64783: Fix signal.NSIG value on FreeBSD ( #91929 )
...
Fix signal.NSIG value on FreeBSD to accept signal numbers greater
than 32, like signal.SIGRTMIN and signal.SIGRTMAX.
* Add Py_NSIG constant.
* Add pycore_signal.h internal header file.
* _Py_Sigset_Converter() now includes the range of valid signals in
the error message.
2022-04-26 00:13:31 +02:00
Victor Stinner
8a4e519e78
gh-79315: Add Include/cpython/pythread.h header ( #91798 )
2022-04-21 23:00:42 +02:00
Victor Stinner
6f9addb5ba
gh-79315: Add Include/cpython/modsupport.h header ( #91797 )
2022-04-21 23:00:26 +02:00
Ma Lin
a059395921
bpo-40859: Update Windows build to use xz-5.2.5 (GH-20622)
2022-04-19 17:36:51 +01:00
Erlend Egeberg Aasland
ee475430d4
gh-69093: Support basic incremental I/O to blobs in sqlite3
(GH-30680)
...
Authored-by: Aviv Palivoda <palaviv@gmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no>
Co-authored-by: palaviv <palaviv@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-14 17:02:56 -07:00
Victor Stinner
85addfb9c6
bpo-35134: Remove the Include/code.h header file (GH-32385)
...
Remove the Include/code.h header file. C extensions should only
include the main <Python.h> header file.
Python.h includes directly Include/cpython/code.h instead.
2022-04-07 02:29:52 +02:00
Victor Stinner
5c4d1f6e0e
bpo-35134: Add Include/cpython/setobject.h header (GH-32384)
2022-04-07 01:26:24 +02:00
Victor Stinner
ca219f6dfc
bpo-35134: Add Include/cpython/complexobject.h header (GH-32383)
...
Move the private _PyComplex_FormatAdvancedWriter() function to the
internal C API. This function is no longer exported.
2022-04-07 01:05:27 +02:00
Steve Dower
074da78802
bpo-47103: Copy pgort140.dll into output directory when building PGInstrument on Windows (GH-32083)
2022-04-06 11:56:31 +01:00
Jeremy Kloth
944f09adfc
bpo-47230: Silence compiler warnings on Windows from zlib 1.2.12 (GH-32337)
2022-04-05 20:03:17 +01:00
Erlend Egeberg Aasland
a7551247e7
bpo-41930: Add support for SQLite serialise/deserialise API (GH-26728)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-04-05 07:15:25 -07:00
Serhiy Storchaka
1578f06c1c
bpo-47152: Move sources of the _sre module into a subdirectory (GH-32290)
2022-04-04 10:53:26 +03:00
Zachary Ware
6066739ff7
bpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-25032 (GH-32241)
2022-04-02 14:10:23 +01:00
Steve Dower
bad86a621a
bpo-46566: Add new py.exe launcher implementation (GH-32062)
2022-03-29 00:21:08 +01:00
neonene
cd05d0a423
bpo-43166: Disable ceval.c optimizations for Windows debug builds (GH-32023)
...
Also increases the stack allocation when run with `python_d.exe` to account for the extra stack checks that are added.
2022-03-23 00:35:25 +00:00
Gregory P. Smith
9d1c4d69db
bpo-38256: Fix binascii.crc32() when inputs are 4+GiB (GH-32000)
...
When compiled with `USE_ZLIB_CRC32` defined (`configure` sets this on POSIX systems), `binascii.crc32(...)` failed to compute the correct value when the input data was >= 4GiB. Because the zlib crc32 API is limited to a 32-bit length.
This lines it up with the `zlib.crc32(...)` implementation that doesn't have that flaw.
**Performance:** This also adopts the same GIL releasing for larger inputs logic that `zlib.crc32` has, and causes the Windows build to always use zlib's crc32 instead of our slow C code as zlib is a required build dependency on Windows.
2022-03-20 12:28:15 -07:00
Christian Heimes
af0a50de4b
bpo-47024: Update OpenSSL to 1.1.1n (GH-31895)
...
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
2022-03-15 21:03:04 +01:00
Mariusz Felisiak
a8c728b8b7
bpo-46907: Update Windows installer to SQLite 3.38.1. (GH-31655)
2022-03-15 16:55:10 +00:00
Steve Dower
105b9ac001
bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900 (GH-31731)
2022-03-07 18:23:29 +00:00
Steve Dower
da7d99a4de
bpo-46567: Add Tcl/Tk build for Windows ARM64 (GH-31574)
2022-02-28 12:06:43 +00:00
Brandt Bucher
0f41aac109
bpo-46841: Use *inline* caching for BINARY_OP
(GH-31543)
2022-02-25 12:11:34 +00:00
Christian Heimes
38f331d465
bpo-45898: Remove duplicate symbols from _ctypes/cfield.c (GH-29791)
2022-02-24 20:51:57 +01:00
Victor Stinner
ec091bd47e
bpo-45459: Add pytypedefs.h header file (GH-31527)
...
Move forward declarations of Python C API types to a new pytypedefs.h
header file to solve interdependency issues between header files.
pytypedefs.h contains forward declarations of the following types:
* PyCodeObject
* PyFrameObject
* PyGetSetDef
* PyInterpreterState
* PyLongObject
* PyMemberDef
* PyMethodDef
* PyModuleDef
* PyObject
* PyThreadState
* PyTypeObject
2022-02-24 17:07:12 +01:00