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

Limit length of GUI autocomplete to 1000 #3195

Merged
merged 1 commit into from
Jan 19, 2018

Conversation

areading314
Copy link

@areading314 areading314 commented Jan 9, 2018

If an object's dir() call returns a long list (greater than a few thousand), the UI locks up while it is creating this long list of elements. This just limits the maximum length to 1000 elements.

@takluyver
Copy link
Member

Thanks. We also introduced a limit in IPython - see ipython/ipython#10743 - but I think the new Jedi completions might not be affected by that.

@takluyver takluyver added this to the 5.4 milestone Jan 10, 2018
@takluyver
Copy link
Member

I've marked this as for 5.4, as we're just about to release notebook 5.3.

@areading314
Copy link
Author

@takluyver is there anything else I need to do to get this merged?

@takluyver
Copy link
Member

No, I think this makes sense as is. Thanks!

@takluyver takluyver merged commit 31215b8 into jupyter:master Jan 19, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants