Nick Coghlan <[email protected]> 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 <[email protected]>
<https://bugs.python.org/issue1539925>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com