Xavier de Gaye added the comment:

I may be missing something, anyway here are few comments on the patch:
Is the call to entry.is_symlink() in _iterdir() necessary since is_dir() 
follows symlinks ?
If _iterdir() would yield the DirEntry instance instead of DirEntry.name, then 
_rlistdir() could use x.is_dir() to know whether it is correct to iterate over 
_rlistdir(x.path, dironly)

----------

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

Reply via email to