holger krekel <holger.kre...@gmail.com> added the comment:

Thanks for helping with this!  Attached is a patch that adds a keyword 
"check=True" to getsourcefile so that findsource can defer existence-checking 
until after cache lookup.  Eventually, findsource will still raise an IOError 
if it can't find the source file and cannot recover the source from cache.  The 
patch mainly consists of adding a number of tests to specify the (refined) 
behaviour of findsource and getsourcefile.  

best, holger

----------
keywords: +patch
Added file: http://bugs.python.org/file17350/findsource.patch

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

Reply via email to