Author Georg Mischler
Recipients Georg Mischler, paul.moore, steve.dower, tim.golden, zach.ware
Date 2016-12-26.20:46:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1482785174.29.0.0980303906914.issue29079@psf.upfronthosting.co.za>
In-reply-to
Content
When pathlib.resolve() is invoked on Windows(10) with an absolute path including a non-existing drive, it gets caught in an infinite loop.

To reproduce:
Select a drive letter that doesn't exist on the system (in my case H:).
Run the following line of code:
    pathlib.Path('h:\\').resolve()

Expected result:
returns the input string unchanged.

Actual result:
pathlib.resolve() ends up in an infinite loop, repeatedly calling _getfinalpathname() on the same string.
History
Date User Action Args
2016-12-26 20:46:14Georg Mischlersetrecipients: + Georg Mischler, paul.moore, tim.golden, zach.ware, steve.dower
2016-12-26 20:46:14Georg Mischlersetmessageid: <1482785174.29.0.0980303906914.issue29079@psf.upfronthosting.co.za>
2016-12-26 20:46:14Georg Mischlerlinkissue29079 messages
2016-12-26 20:46:14Georg Mischlercreate