[Tutor] Up All Night with IDLE.

Tesla Coil tescoil@irtc.net
Mon, 15 Jan 2001 12:04:45 -0600

On 14 Jan 2001, Daniel Yoo replied:
>> I return to the editor and modify the function:
>> def foobaz():
>>     print 'foobaz'
>> foobar()                     ## <--- warning, warning!
>> Save, run, prints foobar.
> Note: you're still running the foobar() function.  I sincerly hope
> that you meant to do this.  *grin*  Don't you mean foobaz()?

It's on purpose this time around anyway.  I was talking about
how IDLE doesn't return the expected NameError as long as it's
kept running between revisions.  One closes the python shell 
window, revises the file, Ctrl-f5, and it looks like a fresh
new python shell, but one can still call functions and variables
no longer named in the revised program.   I'm not fussing about
it--just wondering if there's a way that I can keep IDLE going
and assure that I get a NameError when I deserve one...