Christian Heimes added the comment: 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" <rep...@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 <rep...@bugs.python.org> ><http://bugs.python.org/issue30276> >_______________________________________ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30276> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com