Jan. 14, 2013
5:06 p.m.
Le Mon, 14 Jan 2013 18:21:40 +0200, Serhiy Storchaka <storchaka@gmail.com> a écrit :
On 14.01.13 17:46, Vinay Sajip wrote:
Isn't the requirement to recurse implied by the presence of '**' in the pattern? What's to be gained by specifying it using allow_recursive as well?
I'll be glad to make it enabled by default, however I'm feeling this is too dangerous. glob('**') on FS root takes too long time. Perhaps that's why (and for backward compatibility) this option (called "starglob") is disabled by default in Bash.
But there's no reason to write glob('**') with the current API. Regards Antoine.