
March 21, 2015
12:14 p.m.
On 21 March 2015 at 10:15, 罗勇刚(Yonggang Luo) <luoyonggang@gmail.com> wrote:
---------- Forwarded message ---------- From: 罗勇刚(Yonggang Luo) <luoyonggang@gmail.com> Date: 2015-03-21 2:24 GMT+08:00 Subject: class os.DirEntry is confusing, To: Python <python-ideas@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 | ncoghlan@gmail.com | Brisbane, Australia