Antoine Pitrou added the comment: What happens if you replace iteration with something like:
with open(file, "rb") as f: while True: data = f.read(16384) if not data: break myhash.update(data) ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16606> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com