Issue1879989

classification
Title: cPython/Jython different os.path.abspath() behavior
Type: Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: billiejoex, pjenvey
Priority: normal Keywords:

Created on 2008-01-25.20:49:41 by billiejoex, last changed 2008-06-09.13:27:57 by billiejoex.

Messages
msg2067 (view) Author: Giampaolo Rodola' (billiejoex) Date: 2008-01-25.20:49:41
This problem is very similar to bug 1879984 reported here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1879984&group_id=12867&atid=112867

...Having "C:\\dist" as current working directory:


cPython 2.3
>>> os.path.abspath('\\')
'C:\\'
>>>

Jython
>>> os.path.abspath('\\')
'C:\\dist'
msg3167 (view) Author: Giampaolo Rodola' (billiejoex) Date: 2008-04-28.14:11:03
Any news about this issue?
I'm not aware of it since I'm going to ask: in this case is Jython
supposed to reflect the same behavior as cPython or not?
msg3236 (view) Author: Philip Jenvey (pjenvey) Date: 2008-06-08.00:03:44
Yes, this was definitely a bug.

This should be fixed on trunk with the switch to use ntpath instead of 
javapath on windows (at least I can't reproduce it). That was done almost 
a couple months ago (r4356). Reopen this if there's still a problem
msg3263 (view) Author: Giampaolo Rodola' (billiejoex) Date: 2008-06-09.13:27:57
The problem is still there.
I haven't enough priviledges to reopen this issue.
History
Date User Action Args
2008-06-09 13:27:57billiejoexsetmessages: + msg3263
2008-06-08 00:03:49pjenveysetstatus: open -> closed
resolution: fixed
messages: + msg3236
nosy: + pjenvey
2008-04-28 14:11:03billiejoexsetmessages: + msg3167
2008-01-25 20:49:41billiejoexcreate