[issue26569] pyclbr.readmodule() and pyclbr.readmodule_ex() don't support namespace packages
Eric Snow
report at bugs.python.org
Wed Mar 16 20:52:54 EDT 2016
Eric Snow added the comment:
Also, beside namespace packages, custom loaders may run into a similar problem with get_filename() and probably other code in there. It looks like the pyclbr module assumes that modules will be either builtin or loaded through SourceFileLoader. For example, you get a similar failure for frozen modules:
./python Lib/pyclbr.py _frozen_importlib
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26569>
_______________________________________
More information about the Python-bugs-list
mailing list