New submission from Serhiy Storchaka: Since 3.5 os.walk() consumes a lot of file descriptors. Its number equals to the deep of directories tree. Since the number of file descriptors is limited, this can cause problems.
This was the main reason for rejecting fwalk-based implementation of os.walk() (issue15200). ---------- components: Library (Lib) messages: 257352 nosy: benhoyt, haypo, larry, serhiy.storchaka priority: normal severity: normal status: open title: os.walk() consumes a lot of file descriptors type: resource usage versions: Python 3.5, Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25995> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com