Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Python で _ssl モジュールを変更したいと考えています。しかし、私はその場所を見つけることができません。ssl.py を見つけましたが、_ssl モジュールの場所についての手がかりが得られません。
インタプリタを起動して:
>>> import _ssl >>> _ssl #<module '_ssl' from 'the/location/you/wanted.so'>
ただし、これは動的にロードされるライブラリ (プラットフォームによっては.so、.dll) であるため、単に変更することはできません。
.so
.dll