[issue4874] decoding functions in _codecs module accept str arguments

STINNER Victor report at bugs.python.org
Sat Jan 17 02:31:43 CET 2009


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

New patch:
 - Leave unicode_escape_decode() and raw_unicode_escape_decode() 
unchanged (still accept unicode string)
 - Test changes (reject unicode for most codecs decode functions)
 - Write tests for unicode_escape_decode() and 
raw_unicode_escape_decode() (there was no test for these functions)

Added file: http://bugs.python.org/file12770/_codecs_bytes-2.patch

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


More information about the Python-bugs-list mailing list