[issue22602] UTF-7 codec decodes ill-formed sequences starting with "+"

Serhiy Storchaka report at bugs.python.org
Sun Aug 12 11:04:29 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

What about a "+" character followed immediately by the end of the bytestring?

>>> b'+'.decode('utf-7')
''

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue22602>
_______________________________________


More information about the Python-bugs-list mailing list