[issue25521] optparse module does not emit DeprecationWarning

John Hagen report at bugs.python.org
Sat Oct 31 17:10:21 EDT 2015


John Hagen added the comment:

First time trying to contribute to the Python standard library.

I attached a patch that is modeled off the deprecated imp module.  The DeprecationWarning message is taken from the Python docs: https://docs.python.org/3/library/optparse.html

----------
keywords: +patch
Added file: http://bugs.python.org/file40913/optparse_deprecationwarning.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25521>
_______________________________________


More information about the Python-bugs-list mailing list