Review Board 2.0.15


base: Fix broken IPython argument handling

Review Request #1697 - Created Feb. 6, 2013 and submitted

Information
Andreas Sandberg
gem5
default
Reviewers
Default
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[0] 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.
Review request changed
Updated (Feb. 9, 2013, 11:30 p.m.)

Status: Closed (submitted)