# PEP 594, take 2: Removing dead batteries from the standard library

**URL:** <https://discuss.python.org/t/pep-594-take-2-removing-dead-batteries-from-the-standard-library/13508>\
**Category:** PEPs\
**Created:** [February 4, 2022, 11:51pm UTC](https://discuss.python.org/t/pep-594-take-2-removing-dead-batteries-from-the-standard-library/13508 "2022-02-04T23:51:50Z")\
**Posts on this page:** 1\
**Showing post:** 51

<div class="post-metadata">

**Author:** ![brettcannon](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/brettcannon/32/34895_2.png) [@brettcannon](https://discuss.python.org/u/brettcannon)\
**Post date:** [May 11, 2022, 10:15pm UTC](https://discuss.python.org/t/pep-594-take-2-removing-dead-batteries-from-the-standard-library/13508/51 "2022-05-11T22:15:09Z")

</div>

> [@CAM-Gerlach](#):
>
> You mean linking the sections directly and mentioning/linking any stdlib replacements, [like my PR currently does](https://github.com/python/cpython/pull/92612)? Or are you suggesting going further (as mentioned as a possibility in [the issue](https://github.com/python/cpython/issues/92611)) and actually reproducing more details of the full sections in the docs?

The latter. For instance, for `cgi.parse()`, add an explicit deprecation there that says, “See `urllib.parse.parse_qs` as a replacement.” And I am only thinking about this for `cgi` since the research was already done as part of the PEP discussion by various folks.

It could also be a whole block at the top, but at least by doing it per feature that has a replacement you will get the suggestion if someone deep-linked into the docs.

---

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