by masklinn · 9y ago · 0 comments
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.
It seems like urllib3 uses Python's socket library stuff though? I guess that part of the code isn't the trickiest part.