# PEP 594: Removing dead batteries from the standard library

**URL:** <https://discuss.python.org/t/pep-594-removing-dead-batteries-from-the-standard-library/1704>\
**Category:** PEPs\
**Created:** [May 22, 2019, 10:58am UTC](https://discuss.python.org/t/pep-594-removing-dead-batteries-from-the-standard-library/1704 "2019-05-22T10:58:29Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![tiran](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/tiran/32/48_2.png) [@tiran](https://discuss.python.org/u/tiran)\
**Post date:** [May 23, 2019, 1:33pm UTC](https://discuss.python.org/t/pep-594-removing-dead-batteries-from-the-standard-library/1704/20 "2019-05-23T13:33:03Z")

</div>

> [@andersk](#):
>
> Regarding `getopt` and `optparse`: I’d like to remind you all that they’re not just “deprecated but too widely used to remove”. `argparse` uses a nonstandard reinterpretation of Unix command line grammars that makes certain arguments impossible to express. See [issue 9334](https://bugs.python.org/issue9334) which I filed nine years ago. Since apparently it can’t or won’t be fixed with the current `argparse` architecture, `optparse` should be un-deprecated.

Thanks for you feedback, but it’s slightly off topic. Could you please look for an existing bug on our bug tracker for de-deprecation of the optparse module and creaet a new one in case there is none? Thanks

---

_[View the full topic](https://discuss.python.org/t/pep-594-removing-dead-batteries-from-the-standard-library/1704)._
