mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
bpo-28401: prevent Py_DEBUG builds from trying to import limited ABI modules (GH-1766)
[Issue 28401](https://bugs.python.org/issue28401): Don't attempt to import the stable API extensions, they are not supported in PyDEBUG builds (which don't implement that ABI). https://bugs.python.org/issue28401
This commit is contained in:
parent
ad65f15581
commit
338d54f0a5
2 changed files with 5 additions and 0 deletions
|
@ -38,7 +38,9 @@ const char *_PyImport_DynLoadFiletab[] = {
|
|||
".dll",
|
||||
#else /* !__CYGWIN__ */
|
||||
"." SOABI ".so",
|
||||
#ifndef Py_DEBUG
|
||||
".abi" PYTHON_ABI_STRING ".so",
|
||||
#endif /* ! Py_DEBUG */
|
||||
".so",
|
||||
#endif /* __CYGWIN__ */
|
||||
NULL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue