3 ms·
> a lot of low-level functionality. So people can easily write wrapper libraries with more "pythonic" usage. Think about requests vs. urllib (though technically
by masklinn 10y ago
> a lot of low-level functionality. So people can easily write wrapper libraries with more "pythonic" usage. Think about requests vs. urllib (though technically requests' backend can be replaced).
To my knowledge, requests is implemented on top of urllib3 (a third-party library from which it gets most of its advanced feature), not the stdlib's urllib or urllib2.
- rtpg 10y agoAh, I stand corrected. It seems like urllib3 uses Python's socket library stuff though? I guess that part of the code isn't the trickiest part.