Message12752

Author pekka.klarck
Recipients pekka.klarck
Date 2019-11-04.19:25:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572895549.6.0.64475848398.issue2824@roundup.psfhosted.org>
In-reply-to
Content
E:\>c:\jython2.7.2b2\bin\jython.exe
Jython 2.7.2b2 (v2.7.2b2:b9b60766cabe, Nov 1 2019, 07:46:45)
[Java HotSpot(TM) Client VM (Oracle Corporation)] on java1.8.0_231
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.path.abspath(r'foo\bar')
'E:\\foo\\bar'
>>> os.path.abspath(r'\foo\bar')
'\\foo\\bar'
>>>

With CPython and with Jython 2.7.0 also the latter result has the drive letter.
History
Date User Action Args
2019-11-04 19:25:49pekka.klarcksetrecipients: + pekka.klarck
2019-11-04 19:25:49pekka.klarcksetmessageid: <1572895549.6.0.64475848398.issue2824@roundup.psfhosted.org>
2019-11-04 19:25:49pekka.klarcklinkissue2824 messages
2019-11-04 19:25:49pekka.klarckcreate