[issue1154351] add get_current_dir_name() to os module

STINNER Victor report at bugs.python.org
Mon Oct 29 08:28:30 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

os.stat() has a following_symlinks parameter because there is lstat(). There is no lgetcwd(), only getcwd(). I dislike the parameter choice. Use os.path.realpath() is you want to resolve symbolic links.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue1154351>
_______________________________________


More information about the Python-bugs-list mailing list