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 <rep...@bugs.python.org>
<http://bugs.python.org/issue26131>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to