[New-bugs-announce] [issue26131] Raise ImportWarning when loader.load_module() is used
Brett Cannon
report at bugs.python.org
Fri Jan 15 16:44:04 EST 2016
New submission from Brett Cannon:
Since loader.load_module() is documented as deprecated, we should consider raising an ImportWarning when it is used. That way when Python 2.7 support ends we can either remove it or have one more release where the various ImportWarnings turn into DeprecationWarnings and we finally clean up the import semantics to only be spec-based.
----------
components: Interpreter Core
messages: 258333
nosy: brett.cannon, eric.snow, ncoghlan
priority: normal
severity: normal
stage: test needed
status: open
title: Raise ImportWarning when loader.load_module() is used
type: behavior
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26131>
_______________________________________
More information about the New-bugs-announce
mailing list