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 pitrou
Recipients brett.cannon, pitrou
Date 2012-02-17.21:41:19
SpamBayes Score 1.2024653e-06
Marked as misclassified No
Message-id <1329514685.3678.23.camel@localhost.localdomain>
In-reply-to <1329510538.35.0.801977909386.issue14043@psf.upfronthosting.co.za>
Content
> And while I'm thinking about it, the hybrid caching approach of
> caching just the directory contents to start and then caching full
> details on successful searches (and failures) would also let you cache
> the full file path as the strings will be interned and used again by
> the loaders for setting __file__.

Well, you shouldn't call find_module() on the same module twice (except
for benchmarks), so I'm not sure what caching the results would bring.
History
Date User Action Args
2012-02-17 21:41:20pitrousetrecipients: + pitrou, brett.cannon
2012-02-17 21:41:19pitroulinkissue14043 messages
2012-02-17 21:41:19pitroucreate