[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
--- /dev/null
+Debug builds will no longer to attempt to import extension modules built
+for the ABI as they were never compatible to begin with.
+Patch by Stefano Rivera.
".dll",
#else /* !__CYGWIN__ */
"." SOABI ".so",
+#ifndef Py_DEBUG
".abi" PYTHON_ABI_STRING ".so",
+#endif /* ! Py_DEBUG */
".so",
#endif /* __CYGWIN__ */
NULL,