@@ -691,12 +691,16 @@ Removed
691691PEP 594: dead batteries
692692-----------------------
693693
694- * :pep: `594 `: Removed 19 modules from the standard library,
694+ * :pep: `594 ` removed 19 modules from the standard library,
695695 deprecated in Python 3.11:
696696
697- * :mod: `!telnetlib `, :use the projects
698- `telnetlib3 <https://pypi.org/project/telnetlib3/ >`_ or
699- `Exscript <https://pypi.org/project/Exscript/ >`_ instead.
697+ * :mod: `!aifc `.
698+ (Contributed by Victor Stinner in :gh: `104773 `.)
699+
700+ * :mod: `!audioop `.
701+ (Contributed by Victor Stinner in :gh: `104773 `.)
702+
703+ * :mod: `!chunk `.
700704 (Contributed by Victor Stinner in :gh: `104773 `.)
701705
702706 * :mod: `!cgi ` and :mod: `!cgitb `.
@@ -711,11 +715,6 @@ PEP 594: dead batteries
711715 directly on the desired query string, except for ``multipart/form-data ``
712716 input, which can be handled as described for ``cgi.parse_multipart() ``.
713717
714- * ``cgi.parse_multipart() `` can be replaced with the functionality in the
715- :mod: `email ` package (e.g. :class: `email.message.EmailMessage ` and
716- :class: `email.message.Message `) which implements the same MIME RFCs, or
717- with the `multipart <https://pypi.org/project/multipart/ >`__ PyPI project.
718-
719718 * ``cgi.parse_header() `` can be replaced with the functionality in the
720719 :mod: `email ` package, which implements the same MIME RFCs. For example,
721720 with :class: `email.message.EmailMessage `::
@@ -725,79 +724,79 @@ PEP 594: dead batteries
725724 msg['content-type'] = 'application/json; charset="utf8"'
726725 main, params = msg.get_content_type(), msg['content-type'].params
727726
728- (Contributed by Victor Stinner in :gh: `104773 `.)
727+ * ``cgi.parse_multipart() `` can be replaced with the functionality in the
728+ :mod: `email ` package (e.g. :class: `email.message.EmailMessage ` and
729+ :class: `email.message.Message `) which implements the same MIME RFCs, or
730+ with the `multipart <https://pypi.org/project/multipart/ >`__ PyPI project.
729731
730- * :mod: `!sndhdr `: use the projects
731- `filetype <https://pypi.org/project/filetype/ >`_,
732- `puremagic <https://pypi.org/project/puremagic/ >`_, or
733- `python-magic <https://pypi.org/project/python-magic/ >`_ instead.
734732 (Contributed by Victor Stinner in :gh: `104773 `.)
735733
736- * :mod: `!pipes `: use the :mod: `subprocess ` module instead.
737- (Contributed by Victor Stinner in :gh: `104773 `.)
734+ * :mod: `!crypt ` module and its private :mod: `!_crypt ` extension.
735+ The :mod: `hashlib ` module is a potential replacement for certain use cases.
736+ Otherwise, the following PyPI projects can be used:
738737
739- * :mod: `!ossaudiodev `: use the
740- `pygame project <https://www.pygame.org/ >`_ for audio playback.
741- (Contributed by Victor Stinner in :gh: `104780 `.)
738+ * `bcrypt <https://pypi.org/project/bcrypt/ >`_:
739+ Modern password hashing for your software and your servers.
740+ * `passlib <https://pypi.org/project/passlib/ >`_:
741+ Comprehensive password hashing framework supporting over 30 schemes.
742+ * `argon2-cffi <https://pypi.org/project/argon2-cffi/ >`_:
743+ The secure Argon2 password hashing algorithm.
744+ * `legacycrypt <https://pypi.org/project/legacycrypt/ >`_:
745+ Wrapper to the POSIX crypt library call and associated functionality.
742746
743- * :mod: `!sunau `.
747+ (Contributed by Victor Stinner in :gh: `104773 `.)
748+
749+ * :mod: `!imghdr `: use the projects
750+ `filetype <https://pypi.org/project/filetype/ >`_,
751+ `puremagic <https://pypi.org/project/puremagic/ >`_,
752+ or `python-magic <https://pypi.org/project/python-magic/ >`_ instead.
744753 (Contributed by Victor Stinner in :gh: `104773 `.)
745754
746755 * :mod: `!mailcap `.
747756 The :mod: `mimetypes ` module provides an alternative.
748757 (Contributed by Victor Stinner in :gh: `104773 `.)
749758
750- * :mod: `!spwd `:
751- the `python-pam project <https://pypi.org/project/python-pam/ >`_
752- can be used instead.
759+ * :mod: `!msilib `.
760+ (Contributed by Zachary Ware in :gh: `104773 `.)
761+
762+ * :mod: `!nis `.
753763 (Contributed by Victor Stinner in :gh: `104773 `.)
754764
755765 * :mod: `!nntplib `:
756766 the `PyPI nntplib project <https://pypi.org/project/nntplib/ >`_
757767 can be used instead.
758768 (Contributed by Victor Stinner in :gh: `104773 `.)
759769
760- * :mod: `!nis `.
761- (Contributed by Victor Stinner in :gh: `104773 `.)
770+ * :mod: `!ossaudiodev `: use the
771+ `pygame project <https://www.pygame.org/ >`_ for audio playback.
772+ (Contributed by Victor Stinner in :gh: `104780 `.)
762773
763- * :mod: `!xdrlib ` .
774+ * :mod: `!pipes `: use the :mod: ` subprocess ` module instead .
764775 (Contributed by Victor Stinner in :gh: `104773 `.)
765776
766- * :mod: `!msilib `.
767- (Contributed by Zachary Ware in :gh: `104773 `.)
768-
769- * :mod: `!crypt ` module and its private :mod: `!_crypt ` extension.
770- The :mod: `hashlib ` module is a potential replacement for certain use cases.
771- Otherwise, the following PyPI projects can be used:
772-
773- * `bcrypt <https://pypi.org/project/bcrypt/ >`_:
774- Modern password hashing for your software and your servers.
775- * `passlib <https://pypi.org/project/passlib/ >`_:
776- Comprehensive password hashing framework supporting over 30 schemes.
777- * `argon2-cffi <https://pypi.org/project/argon2-cffi/ >`_:
778- The secure Argon2 password hashing algorithm.
779- * `legacycrypt <https://pypi.org/project/legacycrypt/ >`_:
780- Wrapper to the POSIX crypt library call and associated functionality.
781-
777+ * :mod: `!sndhdr `: use the projects
778+ `filetype <https://pypi.org/project/filetype/ >`_,
779+ `puremagic <https://pypi.org/project/puremagic/ >`_, or
780+ `python-magic <https://pypi.org/project/python-magic/ >`_ instead.
782781 (Contributed by Victor Stinner in :gh: `104773 `.)
783782
784- * :mod: `!uu `: the :mod: `base64 ` module is a modern alternative.
783+ * :mod: `!spwd `:
784+ the `python-pam project <https://pypi.org/project/python-pam/ >`_
785+ can be used instead.
785786 (Contributed by Victor Stinner in :gh: `104773 `.)
786787
787- * :mod: `!aifc `.
788+ * :mod: `!sunau `.
788789 (Contributed by Victor Stinner in :gh: `104773 `.)
789790
790- * :mod: `!audioop `.
791+ * :mod: `!telnetlib `, use the projects
792+ `telnetlib3 <https://pypi.org/project/telnetlib3/ >`_ or
793+ `Exscript <https://pypi.org/project/Exscript/ >`_ instead.
791794 (Contributed by Victor Stinner in :gh: `104773 `.)
792795
793- * :mod: `!chunk ` .
796+ * :mod: `!uu `: the :mod: ` base64 ` module is a modern alternative .
794797 (Contributed by Victor Stinner in :gh: `104773 `.)
795798
796- * :mod: `!imghdr `:
797- use the projects
798- `filetype <https://pypi.org/project/filetype/ >`_,
799- `puremagic <https://pypi.org/project/puremagic/ >`_,
800- or `python-magic <https://pypi.org/project/python-magic/ >`_ instead.
799+ * :mod: `!xdrlib `.
801800 (Contributed by Victor Stinner in :gh: `104773 `.)
802801
803802* Remove support for the keyword-argument method of creating
0 commit comments