Bugs item #2993640, was opened at 2010-04-28 10:04
Message generated for change (Tracker Item Submitted) made by ferrata
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2993640&group_id=78018
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: win32
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: ferrata (ferrata)
Assigned to: Nobody/Anonymous (nobody)
Summary: win32api.GetFullPathName converts unicode to non-unicode
Initial Comment:
win32api.GetFullPathName converts unicode string to non-unicode string
Environment:
python 2.5; pywin32-214.win32-py2.5.exe
CODE FOR REPRODUCE:
import win32api
s = u'C:\\test'
print repr( s )
print repr( win32api.GetFullPathName( s ) )
OUTPUT:
u'C:\\test'
'C:\\test'
-> BUG: string has been converted
EXPECTED OUTPUT:
u'C:\\test'
u'C:\\test'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2993640&group_id=78018
|