Antoine Pitrou <[email protected]> added the comment: 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. ---------- resolution: fixed -> status: closed -> open _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue32089> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
