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 <rep...@bugs.python.org>
<http://bugs.python.org/issue26569>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to