Xavier de Gaye added the comment: FWIW the patch looks good to me.
I find the code in glob.py difficult to read as it happily joins regular filenames together with os.path.join() or attempts to list the files contained into a regular file (sic). The attached diff makes the code more correct and easier to understand. It is meant to be applied on top of Serhiy's patch. ---------- Added file: http://bugs.python.org/file40988/rglob_isdir.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25584> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com