[issue7976] warnings could provide a pre-filled -W option for third-party tools
report at bugs.python.org
Tue Feb 23 15:55:34 CET 2010
Éric Araujo <merwok at netwok.org> added the comment:
I believe the OP’s request is partly motivated by the fact that there is a need to access a private function in warnings. See http://mail.python.org/pipermail/python-ideas/2010-February/006870.html where Nick Coghlan proposes that “the idea of creating a public API in the warnings module to expose the functionality of warnings._processoptions in a clean fashion seems like a reasonable idea that achieves the same goal without coupling it to a particular command line parsing approach”.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list