Fredrik Lundh wrote: > JBW wrote: >> I'm not sure readlink() lives up to its documentation. ... >> The result makes sense, but it belies the documentation. Should I report >> this? Or is there another plausible interpretation? > > the part about joining with dirname(path) assumes that you pass in an > absolute path to the readlink function.
That documentation should probably say, "if it is relative, it may be converted to a pathname valid from the current working directory using ..." -Miles -- http://mail.python.org/mailman/listinfo/python-list