Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run IPython shell without embedding #269

Merged
merged 1 commit into from Jul 16, 2016
Merged

Run IPython shell without embedding #269

merged 1 commit into from Jul 16, 2016

Conversation

mehrdadn
Copy link
Collaborator

@mehrdadn mehrdadn commented Jul 15, 2016

Works around bug ipython/ipython#62 from 2010 which still hasn't been fixed.

Ready for merge.

@robertnishihara
Copy link
Collaborator

This looks really good. It seems to do exactly what we want. Question, about the line

IPython.terminal.ipapp.launch_new_instance(argv=main(sys.argv[1:]), user_ns=globals())

Is this stable? The function launch_new_instance seems to be undocumented. At least it isn't on this page. http://ipython.readthedocs.io/en/stable/api/generated/IPython.terminal.ipapp.html?highlight=ipython%20ipapp

I assume you found this by looking at the implementation of ipython -i? Anyway, if there isn't a better way, then this solution is good.

@mehrdadn
Copy link
Collaborator Author

mehrdadn commented Jul 16, 2016

Yeah. I have no idea if it's stable, but it had documentation in the comments so I assumed it was semi stable. I'm not aware of a better way.

@robertnishihara robertnishihara merged commit 0f1d7c5 into master Jul 16, 2016
@robertnishihara robertnishihara deleted the shell branch July 16, 2016 21:43
pcmoritz pushed a commit to pcmoritz/ray that referenced this pull request Dec 18, 2017
* Attempt to start web UI when starting Ray.

* Add instructions for using web UI to cluster documentation.

* Don't check if port 8080 is open.

* Remove print statement.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants