• Guido van Rossum's avatar
    Withdraw the UNC support from splitdrive(). Instead, a new function · f3c695c4
    Guido van Rossum yazdı
    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()).
    f3c695c4
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...