Jeff McNeil <j...@jmcneil.net> added the comment: I was looking at a somewhat unrelated issue and I bumped up against a similar situation with the warnings system.
I didn't look too much into it, but it appeared that warnings didn't get added to __warningregistry__ correctly. Though, when I set the stack level explicitly (to an incorrect value for the issue at hand), the warnings were caught by catch_warnings. I don't know if it is related or not, but my assumption at the time was that smarter people than I had vetted warnings. =) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10050> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com