Message299763
Currently, the fnmatch module in Python does not operate like the Unix equivalent command. This is especially the case with patterns such as `dir/` which does not match directory path returned by `os` (which would be `dir`) and neither does the pattern match the underlying files and sub-directories. Adding these functionalities so that fnmatch matches it's Unix equivalent would make it much more powerful to use.
Glob is not useful since glob is a special case that matches only with the current directory paths rather than the a general purpose filename pattern matcher. |
|
Date |
User |
Action |
Args |
2017-08-04 23:22:19 | Varun Agrawal | set | recipients:
+ Varun Agrawal |
2017-08-04 23:22:19 | Varun Agrawal | set | messageid: <1501888939.57.0.889177550309.issue31123@psf.upfronthosting.co.za> |
2017-08-04 23:22:19 | Varun Agrawal | link | issue31123 messages |
2017-08-04 23:22:19 | Varun Agrawal | create | |
|