Guido van Rossum added the comment: If you really need an easy way to provide what the shell offers to end users, maybe you could submit a patch that adds an option similar to "GLOBIGNORE" in bash (but the default would be to return everything, which is more regular and more useful for Python programs). Though you might also consider how easy it would be to write a wrapper function around Path.glob() that implements this.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26096> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com