[issue5414] asciibin.a2b_uu returns unexpected values on non ascii data
David Majnemer
report at bugs.python.org
Wed Mar 4 06:16:49 CET 2009
New submission from David Majnemer <david.majnemer at gmail.com>:
Note that binascii.a2b_uu("\0") returns
'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'.
This appears to be the same as binascii.a2b_uu() which is most likely
not the intention.
Also, binascii.a2b_uu("\0\0") returns an exception, "Illegal char",
which makes sense.
----------
components: Library (Lib)
messages: 83114
nosy: dmajnemer
severity: normal
status: open
title: asciibin.a2b_uu returns unexpected values on non ascii data
type: behavior
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5414>
_______________________________________
More information about the Python-bugs-list
mailing list