We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_PyWarnings_Init
1 parent cb2b4a7 commit c2db3b8Copy full SHA for c2db3b8
src/validation.rs
@@ -1952,9 +1952,10 @@ fn validate_distribution(
1952
// Static distributions never export symbols.
1953
let wanted = if is_static {
1954
false
1955
- // For some strange reason _PyWarnings_Init is exported as part of the ABI.
+ // For some strange reason _PyWarnings_Init is exported as part of the ABI before
1956
+ // Python 3.13.
1957
} else if name == "_warnings" {
- true
1958
+ matches!(python_major_minor, "3.9" | "3.10" | "3.11" | "3.12")
1959
// Windows dynamic doesn't export extension module init functions.
1960
} else if triple.contains("-windows-") {
1961
0 commit comments