[issue15576] importlib: ExtensionFileLoader not used to load packages from __init__.so files

Brett Cannon report at bugs.python.org
Fri Aug 10 18:46:00 CEST 2012


Brett Cannon added the comment:

To add a nice wrinkle to all of this, Windows debug builds use _d.pyd as the extension suffix. Notice how that doesn't start with a nice '.' to make finding the suffix easy? Yeah, that complicates ExtensionLoader.is_package() as I will have to now directly reference imp.extension_suffixes() which sucks as it hard codes what extensions are used instead of being more flexible and just ignoring that bit of detail.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15576>
_______________________________________


More information about the Python-bugs-list mailing list