[issue40118] os.stat in linux shows the wrong inode

Ammar Askar report at bugs.python.org
Fri Apr 3 16:22:59 EDT 2020


Ammar Askar <ammar at ammaraskar.com> added the comment:

As noted in the documentation for os.stat (https://docs.python.org/3.9/library/os.html#os.stat):

> This function normally follows symlinks; to stat a symlink add the argument follow_symlinks=False, or use lstat().

----------
nosy: +ammar2
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list