ipython/ipython — pull request #4700 by minrk (2013-12-15 18:33:20+00:00)
Title: use if main block in entry points

closes #4698