Skip to content

Commit 2c6e4e9

Browse files
authored
bpo-41039: Simplify python3.dll build (GH-20989)
Use linker comment #pragma and preprocessor for re-exporting stable API functions and variables. Module definition file, custom build targets and entry point code become unnecessary and can be removed. This change also fixes missing _PyErr_BadInternalCall export on x86.
1 parent 4efc336 commit 2c6e4e9

File tree

5 files changed

+818
-893
lines changed

5 files changed

+818
-893
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Stable ABI redirection DLL (python3.dll) now uses ``#pragma
2+
comment(linker)`` for re-exporting.

0 commit comments

Comments
 (0)