This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients Alan.Cristhian, georg.brandl, lemburg, martin.panter, ncoghlan, serhiy.storchaka
Date 2017-11-14.01:01:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510621289.89.0.213398074469.issue1539925@psf.upfronthosting.co.za>
In-reply-to
Content
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__')"
History
Date User Action Args
2017-11-14 01:01:30ncoghlansetrecipients: + ncoghlan, lemburg, georg.brandl, martin.panter, serhiy.storchaka, Alan.Cristhian
2017-11-14 01:01:29ncoghlansetmessageid: <1510621289.89.0.213398074469.issue1539925@psf.upfronthosting.co.za>
2017-11-14 01:01:29ncoghlanlinkissue1539925 messages
2017-11-14 01:01:29ncoghlancreate