[New-bugs-announce] [issue42137] Raise an ImportWarning for calling module_repr() on loaders
Brett Cannon
report at bugs.python.org
Fri Oct 23 19:20:55 EDT 2020
New submission from Brett Cannon <brett at python.org>:
Once all traces of module_repr() are gone, raise an `ImportWarning` when using `module_repr()`.
Once this is implemented and has been out in the wild for a sufficient amount of time, it should be switching to a DeprecationWarning and then the fallback eventually removed.
----------
components: Interpreter Core
messages: 379496
nosy: brett.cannon
priority: normal
severity: normal
status: open
title: Raise an ImportWarning for calling module_repr() on loaders
type: behavior
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42137>
_______________________________________
More information about the New-bugs-announce
mailing list