[issue1539925] warnings in interactive sessions
Nick Coghlan
report at bugs.python.org
Mon Nov 13 20:01:29 EST 2017
Nick Coghlan <ncoghlan at gmail.com> added the comment:
As a user, what would I actually gain from being warned more than once per session that a particular API I'm using is deprecated?
If I want that behaviour, I can already opt in to it by doing "warnings.simplefilter('always')".
As things stand, the perpetually reset line counter just means that the effective default at the REPL is "warnings.simplefilter('module:::__main__')"
----------
nosy: +ncoghlan
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue1539925>
_______________________________________
More information about the Python-bugs-list
mailing list