resolve(strict=True) is not case-sensitive on Windows and Python 2.7
- Dominant language
- Python
- Stars
- 86
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
Good day ladies and gentlemen,
I have a problem with the `pathlib2.Path().resolve(strict=True)` and `python-2`.
This function is case-sensitive when running with `python-3` but not when run with `python-2`.
In the example in the screenshot I would expect `pathlib2.Path("C:/temp/garbage.txt").resolve(strict=True)` to return `C:/temp/gArbage.txt` instead of `C:/temp/garbage.txt`.
See screenshot (old screenshot where I tested `python-3` agains `pathlib`):

I tested on Windows 10 with `python-2.7.17`, `pathlib2-2.3.3` and `pathlib2-2.3.7.post1`.
I doublechecked `python-3.7.5` with `pathlib2-2.3.7.post1`. This will resolve correctly. So it is a `python-2` specific problem.

Thanks in advance for looking into it!
Contributor guide
Assessment
This issue has not been assessed yet.