You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PYTHONSTARTUP rc file is run when ipdb is imported in non-interactive mode #9949
ipdb is setting up the entire IPython application when it's imported in order to read IPython's config. That will result in startup files being run. If you want to report it to ipdb, I think they can avoid it by configuring:
c.InteractiveShellApp.exec_PYTHONSTARTUP=False
Or, to prevent other startup code executing, subclass TerminalIPythonApp and override the methods:
Activity
takluyver commentedon Feb 20, 2017
ipdb is setting up the entire IPython application when it's imported in order to read IPython's config. That will result in startup files being run. If you want to report it to ipdb, I think they can avoid it by configuring:
Or, to prevent other startup code executing, subclass
TerminalIPythonAppand override the methods:alanbernstein commentedon Feb 20, 2017
Thanks for the info, I didn't realize ipdb was distinct from ipython.