[issue7976] warnings should provide a public API for accessing its option parsing code
R. David Murray
report at bugs.python.org
Tue Feb 23 16:53:58 CET 2010
R. David Murray <rdmurray at bitdance.com> added the comment:
I see. I agree with Nick, a public API function in Warnings is better than something specific to optparse or argparse. If the op (or anyone else) wants to propose a patch to create such an API (with docs and tests), that would be welcome. The docs for that API could then include the recipe for using it with argparse.
----------
nosy: +ncoghlan
priority: low -> normal
title: warnings could provide a pre-filled -W option for third-party tools -> warnings should provide a public API for accessing its option parsing code
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7976>
_______________________________________
More information about the Python-bugs-list
mailing list