save future compile directives from ipython -i module.py
Merge pull request #6436 from thomasballinger/fix-6430

Saving future compile directives from ipython -i