I have reopened
#1451. This is a serious and upsetting bug.
The symptom is that my unit tests weren't seeing the supposed changes to @file leoAst.py. After reloading leoPy.leo the changes were gone.
If it strikes you, the workaround is to copy any new code to your outline outside the external file.
Edward