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

Brett Cannon report at bugs.python.org
Tue Nov 12 16:34:53 CET 2013


Brett Cannon added the comment:

I think worrying about more API expansions to handle edge case/advanced reload scenarios is not worth it (or at least not in Python 3.4). And if we are shifting importlib.reload() back to looking for a new finder then we are only worrying about when people decide to directly call exec_module() manually and want some pre-condition way to verify that the reload would succeed w/o putting that logic into exec_module() itself.

All I'm seeing is a mole hill for some advanced users who should be able to deal with it on their own.

----------

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


More information about the Python-bugs-list mailing list