[issue19259] Provide Python implementation of operator.compare_digest()

Antoine Pitrou report at bugs.python.org
Mon Oct 14 13:48:47 CEST 2013


Antoine Pitrou added the comment:

It explains why the function isn't implemented in Python, it doesn't say that there shouldn't be a best-effort Python fallback.

All in all, Christian's version looks reasonable. All arithmetic is done on small ints, so there shouldn't be a strong data-dependent timing issue.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19259>
_______________________________________


More information about the Python-bugs-list mailing list