[issue7976] warnings should provide a public API for accessing its option parsing code
Bruno Dupuis
report at bugs.python.org
Thu Nov 29 04:06:38 CET 2012
Bruno Dupuis added the comment:
Thanks, I'll write the doc.
Now, I'm not sure that keeping _OptionError as WarningsOptParsingError base class is a good idea. I can't see any use case to catch this exception outside the module and I'm quite sure nobody ever has. However, I tend to be over-conservative when it comes to backward-compatibility, even for underscore names.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7976>
_______________________________________
More information about the Python-bugs-list
mailing list