On 21 March 2015 at 10:15, 罗勇刚(Yonggang Luo) <luoyongg...@gmail.com> wrote: > ---------- Forwarded message ---------- > From: 罗勇刚(Yonggang Luo) <luoyongg...@gmail.com> > Date: 2015-03-21 2:24 GMT+08:00 > Subject: class os.DirEntry is confusing, > To: Python <python-id...@python.org> > > > Should be replaced with os.FsEntry or os.ScanEntry
The name comes from the underlying C/POSIX concept (dirent in this case), which is fairly common for the low level APIs in the os module. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com