Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue13032] h2py.py can fail with UnicodeDecodeError

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

May 2, 2012, 8:30 AM

Post #1 of 2 (82 views)
Permalink
[issue13032] h2py.py can fail with UnicodeDecodeError

Changes by Mike Gilbert <floppymaster [at] gmail>:


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

_______________________________________
Python tracker <report [at] bugs>
<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


report at bugs

May 2, 2012, 11:46 AM

Post #2 of 2 (86 views)
Permalink
[issue13032] h2py.py can fail with UnicodeDecodeError [In reply to]

Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA [at] GMail> 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>
<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

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.