Eric Snow added the comment:

Hmm, look like the test suite masks the issue due to the fact that importlib 
gets imported before running the applicable tests in test_namespace_pkgs.py.  
This causes _frozen_importlib.__package__ to get set properly, thus masking the 
problem.

The problem is the use of relative imports in importlib._bootstrap.  The 
solution is to accomplish this in a different way.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24192>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to