[issue6975] symlinks incorrectly resolved on Linux

Marco Buccini report at bugs.python.org
Sat Oct 17 17:15:25 CEST 2009


Marco Buccini <marcusbu at gmail.com> added the comment:

I've just found a similar bug:
http://bugs.python.org/issue1646838

However, does os.path.realpath's behavior have to be as the one
specified by the POSIX standard (
http://www.kernel.org/doc/man-pages/online/pages/man3/realpath.3.html )?
If we wanted to follow the standard, we should break the
retro-compatibility, since we should raise an exception in the case the
path passed as argument doesn't exist.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6975>
_______________________________________


More information about the Python-bugs-list mailing list