Benjamin Peterson <[EMAIL PROTECTED]> added the comment: The reason for this is that the C implementation of warnings doesn't show up on the frame stack. (The pure Python implementation of warnings in 2.6 works like in 2.5.) The only solution for this one might be using the Python implementation. (I'd also be interested to know why a stacklevel of 0 is being used.)
---------- nosy: +benjamin.peterson, brett.cannon _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4182> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com