2 ms·
> 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
by pdonis 4y 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.
- maxerickson 4y agoThere was some reorganization for Python 3: https://jeremyhylton.blogspot.com/2008/06/ 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(...)'.
- pdonis 4y agoThis might be true; I think the client code in the Python stdlib is much closer to production usable than the server code.