Message293117
If import of hashlib is slowed down by OpenSSL, then import of ssl module will be even slower.
Am 5. Mai 2017 17:57:41 MESZ schrieb "Bernhard M. Wiedemann" <report@bugs.python.org>:
>
>Bernhard M. Wiedemann added the comment:
>
>This might work in some places, but if you look at real-world users
>like
>urllib3/util/ssl_.py
>> from hashlib import md5, sha1, sha256
>
>or
>twisted/words/protocols/jabber/xmlstream.py
>> from hashlib import sha1
>
>It would probably not need any openssl at all, but still gets the full
>penalty time from the import.
>So you get all or nothing.
>It would be nice to just get access to those few hashes you need for
>your protocal (because you certainly do not want to reimplement it).
>
>----------
>
>_______________________________________
>Python tracker <report@bugs.python.org>
><http://bugs.python.org/issue30276>
>_______________________________________ |
|
Date |
User |
Action |
Args |
2017-05-05 16:08:52 | christian.heimes | set | recipients:
+ christian.heimes, vstinner, bmwiedemann |
2017-05-05 16:08:52 | christian.heimes | link | issue30276 messages |
2017-05-05 16:08:52 | christian.heimes | create | |
|