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 pitrou
Recipients ncoghlan, pitrou, serhiy.storchaka, vstinner
Date 2017-11-21.11:38:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1511264296.63.0.213398074469.issue32089@psf.upfronthosting.co.za>
In-reply-to
Content
I don't agree with this.  You're comparing "-X dev" with a pydebug build of Python, not with a normal Python.

Your example shows the problem.  If a program calls func() 1000 times in a row, they will show the same warning 1000 times.  What does it bring to have the exact same warning (and line number) displayed 1000 times instead of once?  Nothing.  There is a reason the filter "default" isn't the same as "always", and it's that "always" can be completely overwhelming.
History
Date User Action Args
2017-11-21 11:38:16pitrousetrecipients: + pitrou, ncoghlan, vstinner, serhiy.storchaka
2017-11-21 11:38:16pitrousetmessageid: <1511264296.63.0.213398074469.issue32089@psf.upfronthosting.co.za>
2017-11-21 11:38:16pitroulinkissue32089 messages
2017-11-21 11:38:16pitroucreate