Hello, There is a new version of the web2py importer in the trunk version. This new version has the capability of reloading any modules when an import is made on a module that has changed. So you can edit your .py files in 'modules' or 'site-packages' or somewhere else and web2py will reload the new version during the next import.
To turn this feature on or off, you have to edit the web2py file gluon/ custom_import.py and set DEBUG to True or False. The default value is True so the feature is enabled by default. Feedback on this new feature would be appreciated. I would appreciate feedback on how might be the best to set this feature on and off. Thank you.