Message1194

Author pekka.klarck
Recipients
Date 2006-12-11.11:34:27
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Noticed two more os.path related bugs that may cause interoperability issues with CPython and Jython.

1) os.path.realpath is missing. According to http://docs.python.org/lib/module-os.path.html it is in Python starting from 2.2.

2) os.path.normcase doesn't normalize the path in Windows as it should. See the doc mentioned above and examples below.

C:\>python
Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os.path
>>> os.path.normcase('C:\\Temp')
'c:\\temp'
>>>

C:\>jython
Jython 2.2a2952 on java1.5.0_06 (JIT: null)
Type "copyright", "credits" or "license" for more information.
>>> import os.path
>>> os.path.normcase('C:\\Temp')
'C:\\Temp'
>>>
History
Date User Action Args
2008-02-20 17:17:32adminlinkissue1534547 messages
2008-02-20 17:17:32admincreate