Re:Python 2 Removed from Debian
by jjluoma on Tuesday January 03, 2023 @03:11AM
(#34229092)
At least they removed something that had been deprecated
[ Parent
| on HN ]
Re:Python 2 Removed from Debian
by EdwardDiego on Tuesday January 03, 2023 @03:45AM
(#34229318)
That was a 3.8 change I think? It moved from collections to collections.abc, IIRC.
Re:Python 2 Removed from Debian
by Beltalowda on Tuesday January 03, 2023 @06:49AM
(#34230352)
In the 3.9 release notes it says "Aliases to Abstract Base Classes in the collections module, like collections.Mapping alias to collections.abc.Mapping, are kept for one last release for backward compatibility. They will be removed from Python 3.10" but the 3.10 release notes don't really mention it. Apparently it's been emitting a DeprecationWarning since Python 3.3 (2012), but still... I like to have things "just work" even if I return to them after 5 or 10 years.
Re:Python 2 Removed from Debian
by EdwardDiego on Tuesday January 03, 2023 @07:56AM
(#34230769)
Oh definitely, I agree, it struck me as a rather unnecessary API change.