Mailing List Archive

[issue13032] h2py.py can fail with UnicodeDecodeError
Changes by Mike Gilbert <floppymaster@gmail.com>:


----------
nosy: +floppymaster

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue13032>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue13032] h2py.py can fail with UnicodeDecodeError [ In reply to ]
Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@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@bugs.python.org>
<http://bugs.python.org/issue13032>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com