[issue24294] DeprecationWarnings should be visible by default in the interactive REPL

Nick Coghlan report at bugs.python.org
Mon Nov 13 20:04:02 EST 2017


Nick Coghlan <ncoghlan at gmail.com> added the comment:

I don't think anybody consistently does proper resource management in the REPL, so the trade-offs involved there are quite different from those for deprecation warnings.

Assuming PEP 565 gets accepted, we'll end up with once-per-session warnings for use of deprecated APIs (due to the REPL's perpetually reset line counter, as per issue 1539925), and that seems like a good level of notification to me (not too noisy, not so unobtrusive as to never be seen at all)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue24294>
_______________________________________


More information about the Python-bugs-list mailing list