diff options
author | Guido van Rossum <guido@python.org> | 1999-04-06 19:32:19 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-04-06 19:32:19 (GMT) |
commit | f3c695c4675e61d5c303c96db699184253810306 (patch) | |
tree | 0895e627025bc3d437dac785d19e544256c9f483 /Lib/test/test_ntpath.py | |
parent | 8137680704e1d2b81a0b7fef84c5e954369b6231 (diff) | |
download | cpython-f3c695c4675e61d5c303c96db699184253810306.zip cpython-f3c695c4675e61d5c303c96db699184253810306.tar.gz cpython-f3c695c4675e61d5c303c96db699184253810306.tar.bz2 |
Withdraw the UNC support from splitdrive(). Instead, a new function
splitunc() parses UNC paths. The contributor of the UNC parsing in
splitdrive() doesn't like it, but I haven't heard a good reason to
keep it, and it causes some problems. (I think there's a
philosophical problem -- to me, the split*() functions are purely
syntactical, and the fact that \\foo is not a valid path doesn't mean
that it shouldn't be considered an absolute path.)
Also (quite separately, but strangely related to the philosophical
issue above) fix abspath() so that if win32api exists, it doesn't fail
when the path doesn't actually exist -- if GetFullPathName() fails,
fall back on the old strategy (join with getcwd() if neccessary, and
then use normpath()).
Diffstat (limited to 'Lib/test/test_ntpath.py')
0 files changed, 0 insertions, 0 deletions