Member-only story
Python is deprecating some old modules in their 3.13 version of the language
Python is currently the only language that I program in, so I take an interest in anything that happens to the language. People may not be aware of this, but Python has a website dedicated to it and lots of information can be found concerning updates and new developments in the language.
One thing that I discovered today is the fact that Python is intending to deprecate 21 of its modules in its 3.13 version of the language. People who program using these really old models will therefore be given two years to rewrite the code with alternative replacement code. The modules that are to be deprecated are as much as three decades old and are used on technology that is that age as well.
The 21 modules that are schedule to be deprecated and then removed are:-
- aifc
- asynchat to be replaced by asyncio
- asyncore to be replaced by asyncio
- audioop
- cgi
- cgitb
- chunk
- crypt to be replaced by legacycrypt, bcrypt, argon2-cffi, hashlib,and passlib
- imghdr to be replaced by filetype, puremagic, python-magic
- msilib
- nntplib