Ezio Melotti <ezio.melo...@gmail.com> added the comment:

> The source line showed in the traceback could not be the same line executed.

My point is that when I see an error and modify the source to fix it, then I 
know that I'll have to reload.  If for some reason I forget to reload, I'll get 
the wrong line in the traceback and then reload, but I don't think that ever 
happened to me.
So to me, your warning will only be useful in the case where I modified the 
source, forgot to reload and got the same error again with a wrong line 
displayed.  Also note that reloading is not so common; usually you just restart 
your application and that will give you the right traceback.

Also I'm not sure the warning you proposed is the best way to handle this.

----------

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

Reply via email to