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

I'm not sure this is useful to have.  If you changed your code you know that 
you have to reload, so why would you want a warning that tells you that you 
changed the code?

For some reason I always had the opposite problem (i.e. after a reload the 
traceback was still showing the original code, and not the new one), while IIUC 
you are saying that it shows the new code even if the module is not reloaded.
I tried your code and indeed it does what you say, so either I am mistaken and 
I've been misreading the tracebacks, or this changed from 2.6 to 2.7, or in 
some cases even the behavior (I think) I observed might happen.
I'll have to verify this next time it happens.

----------
nosy: +ezio.melotti

_______________________________________
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