Message195900
If the check was done based on simply the format what was being searched for (e.g. just assume it's a file if "module.py" exists in the directory) then a couple of stat calls per search could be saved.
If that is deemed to dangerous due to backwards-compatibility, at least extract an API so people can skip the stat calls if they know they are not going to do something as silly as have something named module.py that is not a file. |
|
Date |
User |
Action |
Args |
2013-08-22 14:49:46 | brett.cannon | set | recipients:
+ brett.cannon |
2013-08-22 14:49:46 | brett.cannon | set | messageid: <1377182986.55.0.892405433608.issue18810@psf.upfronthosting.co.za> |
2013-08-22 14:49:46 | brett.cannon | link | issue18810 messages |
2013-08-22 14:49:46 | brett.cannon | create | |
|