[issue39856] glob : some 'unix style' glob items are not supported

2020-03-06 Thread Je GeVa
Je GeVa added the comment: well ; 1) tilde expansion this is an issue 2) brace expansion have no clue how the engineers at the fruity company maimed your bash and zsh man but brace expansion is core to both of them. https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html

[issue39856] glob : some 'unix style' glob items are not supported

2020-03-05 Thread Isaac Muse
Isaac Muse added the comment: Brace expansion does not currently exist in Python's glob. You'd have to use a third party module to expand the braces and then run glob on each returned pattern, or use a third party module that implements a glob that does it for you. Shameless plug: Brace

[issue39856] glob : some 'unix style' glob items are not supported

2020-03-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be similar to issue9584. Below are the results in my zsh and bash in Mac. bash bash-3.2$ cd /tmp/ bash-3.2$ ls *py hello_1.py hello_2.py hello_3.py bash-3.2$ ls hell*{1-2}.* ls: hell*{1-2}.*: No such file or directory

[issue39856] glob : some 'unix style' glob items are not supported

2020-03-04 Thread Je GeVa
New submission from Je GeVa : some common Unix style pathname pattern expansions are not supported : ~/ for $HOME ~user/ for $HOME of user {1,abc,999} for enumeration ex: lets say $ls ~ hello1.a hello2.a helli3.c then : $echo ~/hell*{1,3}.* hello1.a helli3.c while >> glob.glob("~/hel*") []