[issue1422398] Unicode IOError: execfile(u'\u043a\u043a\u043a/x.py')

Amaury Forgeot d'Arc report at bugs.python.org
Sun Mar 8 17:48:53 CET 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

It works with python 3.0.
Of course you have to replace execfile with

>>> s = '\u043a\u043a\u043a.py'
>>> exec(compile(open(s).read(), s, 'exec'))

----------
message_count: 1.0 -> 2.0
nosy: +amaury.forgeotdarc
nosy_count: 1.0 -> 2.0
resolution:  -> out of date
status: open -> closed
title: Unicode IOError: execfile(u'\u043a\u043a\u043a/x.py')  -> Unicode IOError: execfile(u'\u043a\u043a\u043a/x.py')

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


More information about the Python-bugs-list mailing list