[issue13968] Support recursive globs

Serhiy Storchaka report at bugs.python.org
Mon Jan 14 22:51:00 CET 2013


Serhiy Storchaka added the comment:

In fact glob() is already protected against an endless recursion (in the same way as Bash). The level of recursion is simply limited by the maximum length of the path. So I did not change the implementation, I have just added a test for symlink loop. I also corrected the other new tests so that they should not fail on the platform without symlinks.

----------
stage: needs patch -> patch review
Added file: http://bugs.python.org/file28728/glob_recursive_3.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13968>
_______________________________________


More information about the Python-bugs-list mailing list