Xavier de Gaye added the comment:

Oops, the list comprehension in _glob1() of glob_scandir_3.patch should be 
instead: names = [x.name for x in _iterdir(dirname, dironly)]
This does not change the tests results except it improves 
glob('/usr/lib*/**/*', True) that gives now 820 msec instead of 927 msec with 
glob_scandir_2.patch.

----------

_______________________________________
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