psf / requests

A simple, yet elegant, HTTP library.
https://requests.readthedocs.io/en/latest/
Apache License 2.0
52.19k stars 9.33k forks source link

Do not load ssl context during import #6791

Open holmanb opened 3 months ago

holmanb commented 3 months ago

Possible fix for https://github.com/psf/requests/issues/6790.

This removes the ssl context load from the import path, and instead caches the context the first time that it is requested.