[issue16027] pkgutil doesn't support frozen modules

Nick Coghlan report at bugs.python.org
Tue Sep 25 16:29:36 CEST 2012


Nick Coghlan added the comment:

Can you confirm this problem still exists on 3.3? The pkgutil emulation isn't used by runpy any more - with the migration to importlib, the interface that runpy invokes fails outright if no loader is found rather than falling back to the emulation (we only retained the emulation for backwards compatibility - it's a public API, so others may be using it directly).

I have a feeling that there may still be a couple of checks which are restricted to PY_SOURCE and PY_COMPILED that really should be allowing PY_FROZEN as well.

----------

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


More information about the Python-bugs-list mailing list