This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.snow
Recipients brett.cannon, eric.smith, eric.snow, r.david.murray, ronaldoussoren
Date 2015-05-15.04:26:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431664015.06.0.87569530712.issue24192@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-05-15 04:26:55eric.snowsetrecipients: + eric.snow, brett.cannon, ronaldoussoren, eric.smith, r.david.murray
2015-05-15 04:26:55eric.snowsetmessageid: <1431664015.06.0.87569530712.issue24192@psf.upfronthosting.co.za>
2015-05-15 04:26:55eric.snowlinkissue24192 messages
2015-05-15 04:26:54eric.snowcreate