Message284045
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. |
|
Date |
User |
Action |
Args |
2016-12-26 20:46:14 | Georg Mischler | set | recipients:
+ Georg Mischler, paul.moore, tim.golden, zach.ware, steve.dower |
2016-12-26 20:46:14 | Georg Mischler | set | messageid: <1482785174.29.0.0980303906914.issue29079@psf.upfronthosting.co.za> |
2016-12-26 20:46:14 | Georg Mischler | link | issue29079 messages |
2016-12-26 20:46:14 | Georg Mischler | create | |
|