Christian Heimes added the comment:

* "Cryptographic Hash Function" is the correct technical term for algorithms 
like SHA-1. http://en.wikipedia.org/wiki/Cryptographic_hash_function

* PEP 452 is going to suggest that 3rd party libraries register their hash 
function as subclasses of the ABC.

* __slots__ are required for subclassing. All our ABCs in Python 3.x have 
__slots__

* I don't want to import yet another module just for the ABC. I'd rather not 
provide a sample implementation of hexdigest() if you think it is too slow.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18742>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to