R. David Murray <rdmur...@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 <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

Reply via email to