Aviv Palivoda added the comment: While working on issue 26488 I found a real need for this feature. I added a new method to the hash object named fromfile(). The function update the hash object with the content of the file like object it receives.
I only added the feature to hash algorithm provided by OpenSSL. If there will be good reviews on this I will do the work of adding this to all hash algorithms. ---------- keywords: +patch nosy: +palaviv versions: +Python 3.6 -Python 3.4 Added file: http://bugs.python.org/file42343/17436.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17436> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com