You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PEP 594: Remove stdlib modules scheduled for deletion in Python 3.13 #104773
PEP 594 ("Removing dead batteries from the standard library") deprecated the following 19 modules in Python 3.11 (or before) and their removal in Python 3.13:
aifc
audioop
cgi
cgitb
chunk
crypt
imghdr
mailcap
msilib
nis
nntplib
ossaudiodev
pipes
sndhdr
spwd
sunau
telnetlib
uu
xdrlib
I propose to remove them as soon as possible in the Python 3.13 development cycle to help users to prepare for this incompatible change before Python 3.13 final release (scheduled for October 2024).
I plan to work on pull requests to remove these modules.
I was wrong: we must not close all issues of removed modules, since bugs can still be fixed in Python 3.11 and 3.12: https://devguide.python.org/versions/
The remaining minor task related to the uu encoding is covered by PR #92758.
I'm not sure how to coordinate the work on helping third-party Python projects migrating to Python 3.13: move away from removed modules. But I prefer to not reuse this issue for this. Maybe discuss.python.org is a better place for that, since it's more visible than the Python bug tracker.
Activity
pythongh-104773: PEP 594: Remove the sndhdr module.
pythongh-104773: PEP 594: Remove the sndhdr module
pythongh-104773: PEP 594: Remove cgi and cgitb modules
pythongh-104773: PEP 594: Remove the sndhdr module
pythongh-104773: PEP 594: Remove cgi and cgitb modules
pythongh-104773: PEP 594: Remove cgi and cgitb modules
pythongh-104773: PEP 594: Remove the imghdr module
pythongh-104773: PEP 594: Remove the imghdr module
pythongh-104773: PEP 594: Remove the telnetlib module
pythongh-104773: PEP 594: Remove cgi and cgitb modules
pythongh-104773: PEP 594: Remove cgi and cgitb modules
pythongh-104773: PEP 594: Remove the telnetlib module
gh-104773: PEP 594: Remove the telnetlib module (#104778)
pythongh-104773: PEP 594: Remove cgi and cgitb modules
61 remaining items
pythongh-104773: PEP 594: Remove the imghdr module
pythongh-104773: PEP 594: Remove the imghdr module
gh-104773: PEP 594: Remove the imghdr module (#104777)
vstinner commentedon May 26, 2023
Summary:
The remaining minor task related to the uu encoding is covered by PR #92758.
I'm not sure how to coordinate the work on helping third-party Python projects migrating to Python 3.13: move away from removed modules. But I prefer to not reuse this issue for this. Maybe discuss.python.org is a better place for that, since it's more visible than the Python bug tracker.
I created python/peps#3156 to mark PEP 594 as Final.
vstinner commentedon May 26, 2023
Thanks again to all reviewers of my PRs removing modules, especially @hugovk! Thanks @zware for handling msilib removal!
vstinner commentedon May 26, 2023
I created a discussion on discuss.python.org: PEP 594 has been implementated: Python 3.13 removes 20 stdlib modules.
pythongh-104773: cgi: Fix typo in What's New in Python 3.13
gh-104773: cgi: Fix typo in What's New in Python 3.13 (#105139)
GitHub Actions: Test on Python 3.13 beta
GitHub Actions: Test on Python 3.13 beta
Travis CI: Test on Python 3.13 beta
Travis CI: Test on Python 3.13 beta
Travis CI: Test on Python 3.13 beta
cpython: remove deprecated module support for 3.13+