R. David Murray added the comment:

Note that there has never been a strict correspondence between 
linecache/getsource, the module in memory, and the code on disk.  If the file 
is changed before a traceback is generated, for example, you will get the new 
source.  That doesn't mean fixing the reload case is wrong, it's just something 
to keep in mind.

----------
nosy: +r.david.murray

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

Reply via email to