Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
Using recursion is rather an implementation detail, because splitpath() splits a path from the end (Path.glob() does it from other side). Also, it may be a tiny bit more efficient if the pattern contains a long literal prefix. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38149> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com