[Python-bugs-list] [ python-Bugs-789995 ] access fails on Windows
with Unicode file name
SourceForge.net
noreply at sourceforge.net
Sat Oct 18 13:43:09 EDT 2003
Bugs item #789995, was opened at 2003-08-17 09:10
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=789995&group_id=5470
Category: Unicode
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Neil Hodgson (nyamatongwe)
Assigned to: Martin v. Löwis (loewis)
Summary: access fails on Windows with Unicode file name
Initial Comment:
Using current CVS version of Python 2.4 on Windows
2000.
The os.access function fails when the filename argument
is a Unicode string:
File "test_pep277.py", line 103, in test_directory
os.access(filename,os.R_OK)
UnicodeEncodeError: 'ascii' codec can't encode
character '\udf' in position 0: ordinal not in range(128)
I will upload a patch to fix this in the patch manager.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2003-10-18 19:43
Message:
Logged In: YES
user_id=21627
I cannot reproduce this. Are you sure you are using the
latest posixmodule.c?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=789995&group_id=5470
More information about the Python-bugs-list
mailing list