Hacker News new | ask | show | jobs
by pdonis 1269 days ago
> the urllib module that he links to it's not the best thing ever

I think the reason it (and the http modules in general) has never been improved is that even when Python was young, there were better third party packages out there, but no single one of them ever got to the point where the Python devs would consider making it part of the standard library. Particularly when it comes to servers, there have always been multiple third party frameworks with significant market share. For clients, we might be getting to the point where the requests library is common enough to be a candidate for the standard library.

1 comments

There was some reorganization for Python 3:

https://jeremyhylton.blogspot.com/2008/06/

I think there's quite a lot of use of requests that would be fine with 'urllib.request.urlopen(...)'.

This might be true; I think the client code in the Python stdlib is much closer to production usable than the server code.