[issue6071] no longer possible to hash arrays

ivank report at bugs.python.org
Mon Jul 13 09:45:36 CEST 2009

ivank <ivan at ludios.org> added the comment:

It no longer works with objects created with buffer() either:

>>> hashlib.sha1(buffer("x")).hexdigest()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: object supporting the buffer API required


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list