ipython/ipython — pull request #1726 by minrk (2012-05-11 17:31:39+00:00)
Title: use eval for command-line args instead of exec

eval has more appropriately strict syntax, which prevents things like 'a=5' from being interpreted as Python code to be run.

Previously-failing test included.