STINNER Victor <victor.stin...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue8226> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com