|
From: Pekka K. <re...@bu...> - 2019-11-04 19:51:26
|
New submission from Pekka Klärck <pe...@ik...>: 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. ---------- messages: 12752 nosy: pekka.klarck severity: normal status: open title: `os.path.abspath()` doesn't add drive letter to absolute paths on Windows (regression) _______________________________________ Jython tracker <re...@bu...> <https://bugs.jython.org/issue2824> _______________________________________ |