Skip to content

Commit

Permalink
bpo-41039: Simplify python3.dll build (GH-20989)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nnemkin committed Jun 23, 2020
1 parent 4efc336 commit 2c6e4e9
Show file tree
Hide file tree
Showing 5 changed files with 818 additions and 893 deletions.
@@ -0,0 +1,2 @@
Stable ABI redirection DLL (python3.dll) now uses ``#pragma
comment(linker)`` for re-exporting.

0 comments on commit 2c6e4e9

Please sign in to comment.