When I use python-shell-send-buffer (C-c C-c) I can see changes from my main buffer in python shell.
But if my buffer has imported modules they are not reloaded. How can it be fixed?
For exmple:
main.py:
from functions import foo
print 'a'
functions.py:
def foo():
print 'bcdef'
So if I change foo() and run python-shell-send-buffer on main.py - it gives me the same foo() it read 1st time
a
bcdef # never changed