This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:46brett.cannonsetrecipients: + brett.cannon
2013-08-22 14:49:46brett.cannonsetmessageid: <1377182986.55.0.892405433608.issue18810@psf.upfronthosting.co.za>
2013-08-22 14:49:46brett.cannonlinkissue18810 messages
2013-08-22 14:49:46brett.cannoncreate