Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Bug description:
>>>importntpath>>>ntpath.commonpath(["/foo","foo"])Traceback (mostrecentcalllast):File"<stdin>",line1,in<module>File"<frozen ntpath>",line808,incommonpathValueError:Can'tmixabsoluteandrelativepaths
/foo is not an absolute path, but a rooted path, which can't be mixed with not-rooted paths.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows