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

NotebookApp: Make the number of ports to retry user configurable. #1820

Merged
merged 2 commits into from Jun 1, 2012

Conversation

bfroehle
Copy link
Contributor

Implements Brian Granger's suggestion for ipython notebook --port-retries=... in #1750.

@ellisonbg
Copy link
Member

I think this looks good, thanks for the PR. I haven't tested it yet, but will try to soon.

@@ -97,6 +98,17 @@ def url_path_join(a,b):
else:
return a+b

def random_ports(port, n):
"""Generate a list of n random ports near the given port.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably should say that it returns a sequence not a list.

@minrk
Copy link
Member

minrk commented May 31, 2012

Other than the fact that I'm not 100% convinced this warrants an alias, this seems good to me.

@ellisonbg
Copy link
Member

OK, I have tested this and it looks great. I am going to merge.

ellisonbg added a commit that referenced this pull request Jun 1, 2012
NotebookApp: Make the number of ports to retry user configurable.
@ellisonbg ellisonbg merged commit d15448f into ipython:master Jun 1, 2012
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
NotebookApp: Make the number of ports to retry user configurable.
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

3 participants