3 ms·
There's quite a bit more than just the unittest removals https://docs.python.org/dev/whatsnew/3.12.html#removed https://docs.python.org/dev/whatsnew/3.12.html#
by janzer 4y ago
There's quite a bit more than just the unittest removals
https://docs.python.org/dev/whatsnew/3.12.html#removed https://docs.python.org/dev/whatsnew/3.12.html#removed
An example of a more recent deprecation is the 'distutils' module which was deprecated in 3.10.
- duskwuff 4y ago> An example of a more recent deprecation is the 'distutils' module which was deprecated in 3.10. distutils was functionally deprecated long before that. Even the Python 2.7 documentation (released in 2010!) recommended that users avoid distutils and use setuptools instead: https://docs.python.org/2.7/library/distutils.html https://docs.python.org/2.7/library/distutils.html
- d1l 4y agoIsn't setuptools deprecated now too or on the chopping block?
- eesmith 4y agoI believe setuptools is more frowned upon - in favor of PEP 517/PEP 518 tools - than deprecated. Last I checked, there was no good way to package hand-written Python/C extensions than setuptools, but that was a couple of years ago. In any case, there's a large installed-based of setuptools-based projects making it hard to get rid of.