Re-loading updated modules

fileexit mayyash at gmail.com
Tue Jun 27 15:18:14 CEST 2006


Hi,
Shouldn't python recompile a module if there is a later version of the
code (.py file)? While i am debuging, i always have to exit python and
delete the pyc before every run, then start it again and import the
modules.  It seems that this is the only way for it to recompile the
new code.

What is going on? is this normal behaviour? I noticed that on both
Windows and linux (Fedora Core 4, and 5 and RHEL 4)




More information about the Python-list mailing list