[Python-Dev] Fwd: class os.DirEntry is confusing,
Nick Coghlan
ncoghlan at gmail.com
Sat Mar 21 13:14:45 CET 2015
More information about the Python-Dev mailing list
Sat Mar 21 13:14:45 CET 2015
- Previous message (by thread): [Python-Dev] Fwd: class os.DirEntry is confusing,
- Next message (by thread): [Python-Dev] pep 7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 21 March 2015 at 10:15, 罗勇刚(Yonggang Luo) <luoyonggang at gmail.com> wrote: > ---------- Forwarded message ---------- > From: 罗勇刚(Yonggang Luo) <luoyonggang at gmail.com> > Date: 2015-03-21 2:24 GMT+08:00 > Subject: class os.DirEntry is confusing, > To: Python <python-ideas at 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 at gmail.com | Brisbane, Australia
- Previous message (by thread): [Python-Dev] Fwd: class os.DirEntry is confusing,
- Next message (by thread): [Python-Dev] pep 7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list