On Sat, Nov 03, 2018 at 02:49:00AM +0900, Stephen J. Turnbull wrote:
> If you're going to improve the glob module, why not use bash or zsh
> extended globbing ('**', '{a,b}') as the model? This is more
> powerful, and already familiar to many users.
I thought it did support extended globbing?
https://docs.python.org/3/library/glob.html#glob.glob
But brace expansion should be a thing. For backwards compatibility
reasons, we probably need a switch to turn it on, or a separate function
call, or maybe a deprecation period.
--
Steve
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/