STINNER Victor <victor.stin...@haypocalc.com> added the comment: Update small lock patch: replace all tabs by spaces! I forget a change between Python trunk and my patch: there is also the error message for Unicode object. Before: >>> import hashlib; hashlib.md5("abc") TypeError: object supporting the buffer API required after: >>> import hashlib; hashlib.md5("abc") TypeError: Unicode-objects must be encoded before hashing
Added file: http://bugs.python.org/file12542/hashlibopenssl_small_lock-2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4751> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com