mirror of https://github.com/python/cpython
e4ff131e01
On Windows, `os.path.isabs()` now returns `False` when given a path that starts with exactly one (back)slash. This is more compatible with other functions in `os.path`, and with Microsoft's own documentation. Also adjust `pathlib.PureWindowsPath.is_absolute()` to call `ntpath.isabs()`, which corrects its handling of partial UNC/device paths like `//foo`. Co-authored-by: Jon Foster <jon@jon-foster.co.uk> |
||
---|---|---|
.. | ||
data | ||
__init__.py | ||
__main__.py | ||
_support.py | ||
test_zoneinfo.py | ||
test_zoneinfo_property.py |