[PYTHON-CRYPTO] Reviving PEP 247: Hashing API

Andrew Kuchling akuchlin at mems-exchange.org
Wed Sep 19 21:41:19 CEST 2001


On Mon, Sep 17, 2001 at 01:51:13PM -0400, Rich Salz wrote:
>slight preference for 2: reset() takes same args as __init__

Any other opinions on this issue?  It's the last thing holding up
stamping the PEP "done".

To repeat the question: what should reset() for a hash that takes
keyword parameters do -- raise an exception, or accept the same
arguments as the constructor?

--amk





More information about the python-crypto mailing list