[issue8226] sys.setfilesystemencoding("xxx"); open("a") => stack overflow

STINNER Victor report at bugs.python.org
Thu Mar 25 00:08:09 CET 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Attached patch raises a LookupError is the specified encoding is invalid. It uses _PyCodec_Lookup() function: is it allowed in bltinmodule.c?

----------
keywords: +patch
Added file: http://bugs.python.org/file16635/setfilesystemencoding.patch

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


More information about the Python-bugs-list mailing list