Message230101
Paths are processed by the Windows API. This processing includes (at least):
* resolve to current directory
* convert forward slashes to backslashes
* remove adjacent backslashes
* trim trailing dots and spaces from names
* resolve short path names
This processing can be skipped with the '\\?\' prefix, but in general it shouldn't be.
I would be okay with seeing this processing performed by pathlib so that str(Path("C:\\") / "test ") == "C:\\test" (or maybe as part of .resolve() - there's another issue where we started discussing this), but I would be really hesitant to change ntpath to do it or detect it. |
|
Date |
User |
Action |
Args |
2014-10-27 20:14:26 | steve.dower | set | recipients:
+ steve.dower, tim.golden, r.david.murray, zach.ware, tegavu |
2014-10-27 20:14:25 | steve.dower | set | messageid: <1414440865.99.0.341627275105.issue22744@psf.upfronthosting.co.za> |
2014-10-27 20:14:25 | steve.dower | link | issue22744 messages |
2014-10-27 20:14:25 | steve.dower | create | |
|