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 <rep...@bugs.python.org>
<http://bugs.python.org/issue25521>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to