Christian Heimes <[email protected]> added the comment:
I'm well aware of the fact that they have different timings. That's why I
argued against including a unicode aware variant of the timing safe compare
function.
I've used Guido's time machine and seen requests for a unicode function in the
future. ;) I think (educated guess) that s.encode('unicode-internal') discloses
the least amount of information. That way I argued that we suggest it in the
documentation.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue15061>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com