Issue738389
Created on 2003年05月15日 17:11 by progoth, last changed 2022年04月10日 16:08 by admin. This issue is now closed.
| Files |
| File name |
Uploaded |
Description |
Edit |
|
globfix.patch
|
progoth,
2003年05月15日 17:11
|
patch to Lib\glob.py & Lib\fnmatch.py |
| Messages (1) |
|
msg43806 - (view) |
Author: Steven Scott (progoth) |
Date: 2003年05月15日 17:11 |
see bug #738631,
http://sourceforge.net/tracker/index.php?func=detail&aid=738361&group_id=5470&atid=105470
if you give glob a pattern with [...], it assumes it's
a file pattern. this changes glob.py to add a \ in
front of the [ if a directory actually exists with the
bracket in it.
it also changes translate in fnmatch.py to take the
special case of \[ and add that straight to the regex
instead of trying to handle the shell pattern.
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2022年04月10日 16:08:47 | admin | set | github: 38511 |
| 2003年05月15日 17:11:32 | progoth | create |