[issue13032] h2py.py can fail with UnicodeDecodeError
Arfrever Frehtes Taifersar Arahesis
report at bugs.python.org
Fri Sep 23 10:37:41 CEST 2011
New submission from Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail.Com>:
Tools/scripts/h2py.py fails with UnicodeDecodeError when a header file contains characters undecodable in current locale. I suggest to use binary mode. I'm attaching a patch.
----------
components: Demos and Tools
files: h2py.py.patch
keywords: needs review, patch
messages: 144438
nosy: Arfrever, georg.brandl, haypo
priority: normal
severity: normal
status: open
title: h2py.py can fail with UnicodeDecodeError
versions: Python 3.2, Python 3.3
Added file: http://bugs.python.org/file23230/h2py.py.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13032>
_______________________________________
More information about the Python-bugs-list
mailing list