Serhiy Storchaka added the comment:

os.listdir() with dir_fd:

    fd = os.open(path, os.O_RDONLY, dir_fd=dir_fd)
    try:
        result = os.listdir(fd)
    finally:
        os.close(fd)

What meaning of follow_symlinks for os.listdir()?

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

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27084>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to