[issue41994] Refcount issues in import

Gregory Szorc report at bugs.python.org
Sun Sep 26 23:43:15 EDT 2021


Gregory Szorc <gregory.szorc at gmail.com> added the comment:

While testing 3.10.0rc2, I noticed that commit 4db8988420e0a122d617df741381b0c385af032c removed _PyImport_FindExtensionObject() from libpython. This breaks both PyOxidizer and py2exe, which rely on this function for a custom implementation of Loader.create_module() to enable loading Windows DLLs from memory.

It can probably be worked around. But I wanted to note it here in case it was an unwanted regression.

----------
nosy: +indygreg

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41994>
_______________________________________


More information about the Python-bugs-list mailing list