[issue36768] distutils.util.convert_path mangles windows paths with forward slashes

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue36768] distutils.util.convert_path mangles windows paths with forward slashes

2019-05-01 Thread Charles P
New submission from Charles P : https://github.com/python/cpython/blob/master/Lib/distutils/util.py#L106-L131 Due to the split('/') and os.path.join(), this function converts an absolute path of the form "C:/foobar" into a relative "C:foobar", which is likely to be entirely different