Use standard IPython startup instead of embed#74
Use standard IPython startup instead of embed#74bendavis78 wants to merge 2 commits intosmurfix:masterfrom
Conversation
|
One reason I changed to use
|
|
Yeah as for #36 I agree there's no point to add an argument for confirm_ext, when a better way to do that would be via ipython config. The main thing should be to get user configuration loading correctly. I also realized my patch is broken as it doesn't seem to pull in the user context, so I need to figure that out as well. I'll see if I can add conditional support for the various versions also. |
|
I just got a chance to look to see how Django is handling this and see that IPython 1.x now has a public API It also seems like you're doing a lot with the |
|
Unfortunately start_ipython() doesn't take user_ns (yet). See my stackoverflow question here: http://stackoverflow.com/questions/18318257/how-can-i-start-an-ipython-application-instance-while-passing-a-custom-user-ns-a/18345717#18345717 Ideally ipython should be using TerminalIPythonApp. Unfortunately this is the best way I've found to do it while still supporting a custom user_ns and banner. |
|
Seems to work for me |
Fixes #73