[issue13032] h2py.py can fail with UnicodeDecodeError

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Wed May 2 20:46:03 CEST 2012


Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail.Com> added the comment:

UTF-8 is default encoding in Python 3, so statements with UTF-8 characters could be accepted.

Any strings are very rare in these statements. On my system, only generated TYPES.py contains 2 strings:
# Included from bits/select.h
__FD_ZERO_STOS = "stosq"
__FD_ZERO_STOS = "stosl"

/usr/include/bits/select.h contains:
# if __WORDSIZE == 64
#  define __FD_ZERO_STOS "stosq"
# else
#  define __FD_ZERO_STOS "stosl"
# endif

----------

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


More information about the Python-bugs-list mailing list