[Python-bugs-list] idle dosnt recompile modules changed externally (PR#308)
jnc@ecs.soton.ac.uk
jnc@ecs.soton.ac.uk
Fri, 28 Apr 2000 13:41:57 -0400 (EDT)
Full_Name: John Carter
Version: 1.5.2
OS: windows 98
Submission from: host62-7-13-197.btinternet.com (62.7.13.197)
Consider two scripts
showbug.py
=====
import bug1
bug1.bug()
=====
and bug1.py
=====
def bug():
print 'Bug 5'
=====
both in the same directory.
load showbug.py into idle (0.5) and runit with F5,
the bug function prints Bug 5
Now change bug1.py outside or even with idle, save it.
dates on disk now show bug1.py is newer than bug1.pyc
rerun showbug.py pressing F5 or ctrl-F5
it still prints Bug 5.
I dont think this behaviour is what is required.Certainly it cost me most
of the afternoon tracking down non-existant problems in my code.
John Carter