[issue3745] _sha256 et al. encode to UTF-8 by default

Gregory P. Smith report at bugs.python.org
Sat Jan 2 23:33:32 CET 2010


Gregory P. Smith <greg at krypto.org> added the comment:

trunk r77252 switches python 2.7 to use 's*' for argument parsing.  unicodes can be hashed (encoded to the system default encoding by s*) again.

This change has been blocked from being merged into py3k unless someone decides we actually want this magic unicode encoding behavior to exist there as well.

setup.py has also been updated to compile all versions of the hash algorithm modules when Py_DEBUG is defined.  I'll update tests run on all implementations next so that it is easier for developers to maintain identical behavior across all implementations without needing to explicitly remember to reconfigure their setup and test those.

----------

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


More information about the Python-bugs-list mailing list