[New-bugs-announce] [issue3798] SystemExit incorrectly displays unicode message

Amaury Forgeot d'Arc report at bugs.python.org
Sat Sep 6 23:51:02 CEST 2008


New submission from Amaury Forgeot d'Arc <amauryfa at gmail.com>:

When SystemExit is raised with a string argument, it is printed as UTF-8
to the (libc) stderr, and does not use the terminal's encoding.

handle_system_exit() should use PyFile_WriteString() instead of
PyObject_Print().

----------
messages: 72708
nosy: amaury.forgeotdarc
severity: normal
status: open
title: SystemExit incorrectly displays unicode message
versions: Python 3.0

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


More information about the New-bugs-announce mailing list