On 26 avr, 08:28, Massimo Di Pierro <[email protected]> wrote: > import my_module # not right now always assumes reload=False (I > think).
Yes, assume reload is False. This is the normal behavior for Python.
So the code can be:
if "my_module" in dir() and DEBUG:
reload("applications.my_app.modules.my_modules")
import my_modules
reload is working the way it was. Would it be better to adapt it so we
can simply write "reload('my_module')"?

