https://github.com/python/cpython
Revision f3c695c4675e61d5c303c96db699184253810306 authored by Guido van Rossum on 06 April 1999, 19:32:19 UTC, committed by Guido van Rossum on 06 April 1999, 19:32:19 UTC
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()).
1 parent 8137680
History
Tip revision: f3c695c4675e61d5c303c96db699184253810306 authored by Guido van Rossum on 06 April 1999, 19:32:19 UTC
Withdraw the UNC support from splitdrive(). Instead, a new function
Tip revision: f3c695c
File Mode Size
BeOS
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.hgtags -rw-r--r-- 1.4 KB
Makefile.in -rw-r--r-- 17.9 KB
README -rw-r--r-- 36.1 KB
acconfig.h -rw-r--r-- 4.2 KB
config.h.in -rw-r--r-- 12.1 KB
configure -rwxr-xr-x 135.4 KB
configure.in -rw-r--r-- 25.1 KB
install-sh -rwxr-xr-x 2.2 KB

README

back to top