Index: Lib/javapath.py =================================================================== --- Lib/javapath.py (revision 3226) +++ Lib/javapath.py (working copy) @@ -6,7 +6,6 @@ """ # Incompletely implemented: -# islink -- How? # ismount -- How? # normcase -- How? @@ -140,13 +139,10 @@ return prefix def islink(path): - """Test whether a path is a symbolic link. + """Test whether a path is a symbolic link.""" + path = _tostr(path, "islink") + return _abspath(path) != _realpath(path) - XXX This incorrectly always returns false under JDK. - - """ - return 0 - def samefile(path, path2): """Test whether two pathnames reference the same actual file""" path = _tostr(path, "samefile")