R. David Murray <rdmur...@bitdance.com> added the comment: I believe the ability to log warning messages was added recently, but that it does not give you an control over what warnings are *generated*, just what happens to them (that is, allowing you to log them).
On the other hand, what is the motivation for wanting this control? In 2.7/3.2, warnings will be silent by default. Is it that you want the command/framework author to be able to allow users to turn warnings on? This seems like an infrequent enough use case that it is probably better as a recipe rather than in the core (perhaps an example in the docs for warnings, but I'm not sure about that even). In addition, ---------- nosy: +brett.cannon, r.david.murray priority: -> low _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7976> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com