Brett Cannon <br...@python.org> added the comment:

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__.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14043>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to