Author pekka.klarck
Date 2007-05-20.09:20:34
SpamBayes Score
Marked as misclassified
My bad. Should have a) written a test for this and b) tested it also on Windows. I had actually noticed that gatCanonicalPath and getAbsolutePath (used by realpath and abspath, respectively) behave differently in Windows so that one of them normalizes the path and the other doesn't. Of course I didn't remember that when writing the patch...

Assuming that normpath is fixed this can simply be fixed by changing the return statement to following

    return _normpath(_abspath(path)) != _normpath(_realpath(path))

Leaving this open for 2.2 is totally ok too because this is such a small issue anyway. I'm also looking forward to those platform specific os.path modules.
Date User Action Args
2008-02-20 17:18:43adminlinkissue1718450 messages
2008-02-20 17:18:43admincreate