logoalt Hacker News

0x696C6961yesterday at 5:50 AM4 repliesview on HN

It begs the question, why don't these languages put out a v2 stdlib?


Replies

fredoraliveyesterday at 8:30 PM

Python has some work to trim bits of it's built in libraries, see for example https://peps.python.org/pep-0594/ and https://docs.python.org/3/deprecations/index.html .

remusyesterday at 7:06 AM

Broadly speaking, maintaining a big std lib is a huge amount of work, so it makes sense that a language team is conservative about adding new surface to a stb lib which they will then have to maintain for a long time.

show 1 reply
gzreadyesterday at 12:14 PM

What would that entail, just a package whitelist? A few renamed packages? In the python 3 transition they renamed urllib2 to just urllib, but now it's almost a dead battery too and you want to use requests.

isbvhodnvemrwvnyesterday at 1:09 PM

Python had enough fun with 2 to 3 transition I think.

show 1 reply