[issue19717] resolve() fails when the path doesn't exist

Serhiy Storchaka report at bugs.python.org
Tue Dec 3 10:27:52 CET 2013


Serhiy Storchaka added the comment:

The readlink utility has different modes for canonization:

       -f, --canonicalize
              canonicalize by following every symlink in every component of the given name recursively; all but the last component must exist

       -e, --canonicalize-existing
              canonicalize by following every symlink in every component of the given name recursively, all components must exist

       -m, --canonicalize-missing
              canonicalize by following every symlink in every component of the given name recursively, without requirements on components existence

I think every mode has use cases.

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list