This driving me crazy. Is there some kind of code cache in web2py and how do I turn it off?
>From a controller I call a python program in modules and web2py correctly reports an error: html=cleaner.clean_html(html) NameError: global name 'cleaner' is not defined I then comment out the offending line and rerun. However it appears that the old version of the code is still running. Web2py still reports an error but this time highlights the new source code where the bad line has been commented out! #html=cleaner.clean_html(html) NameError: global name 'cleaner' is not defined If I stop and start the web2py server same problem. If I close down web2py entirely and restart then it behaves as it should. This is quite annoying as every time I make a change to the code I have to shut down web2py and restart to make sure I have the correct version.