Hacker News new | ask | show | jobs
by threeducks 411 days ago
You are right! https://github.com/psf/requests/blob/c65c780849563c891f35ffc...

The post function calls request the request function which uses its own context manager that will call the close function of the connection object.