Bugs item #1422398, was opened at 2006-02-02 12:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1422398&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Interpreter Core
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Robert Kiendl (kxroberto)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unicode IOError: execfile(u'\u043a\u043a\u043a/x.py') 

Initial Comment:
WinXP/NTFS/py2.4.2:

>>> glob.glob(u'\u043a\u043a\u043a/x.py')
[u'\u043a\u043a\u043a/x.py']
>>> execfile(u'\u043a\u043a\u043a/x.py')
Traceback (most recent call last):
  File "<interactive input>", line 1, in ?
IOError: [Errno 2] No such file or directory: '???/x.py'

shouldn't it work even when the base filename is unicode:

>>> glob.glob(u'\u043a\u043a\u043a.py')
[u'\u043a\u043a\u043a.py']
>>> execfile(u'\u043a\u043a\u043a.py')
Traceback (most recent call last):
  File "<interactive input>", line 1, in ?
IOError: [Errno 2] No such file or directory: '???.py'
>>> 

Robert


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1422398&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to