base: Fix broken IPython argument handling
Review Request #1697 - Created Feb. 6, 2013 and submitted
Changeset 9497:51712ef0d573 --------------------------- base: Fix broken IPython argument handling Prior to this changeset, we used to clear sys.argv before entering the IPython shell. This caused some versions of IPython to crash because they assume argv to exist. The correct way of overriding the arguments passed to IPython is to set the argv keyword argument when initializing the shell.
Tested interactive shell with IPython 0.10. Tried to pass command line options to the script as this was the original reason (presumably) for zapping sys.argv.