New submission from Brett Cannon:

BuiltinImporter, FrozenImporter, and ExtensionFileLoader all have their own 
custom code to manage clearing sys.modules if something goes wrong. Should see 
if any of them would break if they used importlib.util.module_to_load. And if 
they would break thanks to any pre-existing module in sys.modules, then add a 
keyword argument to suppress creating a new module.

----------
assignee: brett.cannon
components: Library (Lib)
keywords: easy
messages: 190435
nosy: brett.cannon
priority: normal
severity: normal
stage: needs patch
status: open
title: Use importlib.util.module_to_load in all loaders in importlib
type: enhancement
versions: Python 3.4

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

Reply via email to