[issue18864] Implementation for PEP 451 (importlib.machinery.ModuleSpec)

Brett Cannon report at bugs.python.org
Tue Nov 19 19:28:24 CET 2013


Brett Cannon added the comment:

That's not the right fix for that test failure. If exec_module() is not meant to set import-related attributes like __cached__ because import itself (through _SpecMethods.init_module_attrs()) then test_frozen needs to be updated to not expect such attributes.

Honestly test_frozen should probably either be rolled into test_importlib.frozen or deleted instead of existing separately.

----------

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


More information about the Python-bugs-list mailing list