Brett Cannon <[EMAIL PROTECTED]> added the comment: So I found the problem. The C implementation of 'warnings' is not handling the case where the module that triggered the exception does not define __file__, __name__ == '__main__', and sys.argv[0] is a false value in the same way as the Python implementation.
Rather obscure to say the least. =) __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2743> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com