ipython/ipython — pull request #4710 by minrk (2013-12-17 22:20:03+00:00)
Title: make @interactive decorator friendlier with dill

sets the decorated function globals to main, in addition to just the module name.

This helps dill treat it as if it were defined locally, and the function actually behaves the same locally as it does on engines.

Still can't test the dill behavior due to the side effects it has on other tests.