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 <rep...@bugs.python.org>
<http://bugs.python.org/issue13968>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to