Message9072
os.path.normpath() on WIN32 systems returns a null
string for . followed by a directory separator:
>>> os.path.normpath('./')
''
>>> os.path.normpath('.\\')
''
>>> os.path.normpath('.')
'.'
>>>
Contrast with what happens on Linux:
>>> os.path.normpath('./')
'.'
>>> os.path.normpath('.')
'.'
>>>
Sorry, I don't have a later version than 2.1.1
available to check whether this is fixed in a later
version, but I did do a search for other reports of
this bug and found none.
--SK
|
|
Date |
User |
Action |
Args |
2007-08-23 13:59:02 | admin | link | issue511261 messages |
2007-08-23 13:59:02 | admin | create | |
|