ipython/ipython — pull request #4740 by minrk (2013-12-25 18:25:33+00:00)
Title: %env can't set variables

at least as far back as 0.10, but the docs suggest that they can.