Message195900
| Author |
brett.cannon |
| Recipients |
brett.cannon |
| Date |
2013年08月22日.14:49:46 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1377182986.55.0.892405433608.issue18810@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|