Logged In: YES
user_id=89016
It seems that this has been fixed in ntpath.py rev 1.41:
$ cvs up -r 1.41 Lib/ntpath.py
P Lib/ntpath.py
$ ./pcbuild/python
Python 2.3b1+ (#40, Jun 16 2003, 18:55:59) [MSC v.1200 32
bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more
information.
>>> import ntpath
>>> ntpath.normpath(".")
'.'
>>> ntpath.normpath("./")
'.'
>>> ntpath.normpath(".\\")
'.'
>>>
$ cvs up -r 1.40 Lib/ntpath.py
P Lib/ntpath.py
$ ./pcbuild/python
Python 2.3b1+ (#40, Jun 16 2003, 18:55:59) [MSC v.1200 32
bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more
information.
>>> import ntpath
>>> ntpath.normpath(".")
'.'
>>> ntpath.normpath("./")
''
>>> ntpath.normpath(".\\")
''
rev 1.41 was part of Python 2.2, so I think we can close
this bug.
|