Brian Curtin <cur...@acm.org> added the comment: I attached a patch against trunk r76237 which seems to cover this, sans official tests. I looked around and didn't find a good place for specifically testing environment variables. I could add test code in test_warnings if that's the best place.
The patch allows multiple warnings to be passed to the environment variable as a comma separated string, and works in conjunction with -W. Let me know what you think. ---------- keywords: +patch nosy: +brian.curtin Added file: http://bugs.python.org/file15322/issue7301.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7301> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com