New submission from Arfrever Frehtes Taifersar Arahesis <arfrever....@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 <rep...@bugs.python.org> <http://bugs.python.org/issue13032> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com