Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Limit size of exact collections #913

Merged
merged 1 commit into from
Apr 9, 2019
Merged

Conversation

jakebailey
Copy link
Member

Fixes #877.

Limit the size of exact collections to 1000 items (when they are created from the expressions). This is set high in order to not affect potentially large __all__ definitions.

probablepeople has a dictionary with more than 150,000 key/value pairs, which takes a very long time to process; 1000 doesn't take very long.

@jakebailey jakebailey merged commit a718093 into microsoft:master Apr 9, 2019
@jakebailey jakebailey deleted the fix-877 branch April 9, 2019 20:11
jakebailey added a commit to jakebailey/python-language-server that referenced this pull request Nov 1, 2019
Fixes microsoft#877.

Limit the size of exact collections to 1000 items (when they are created from the expressions). This is set high in order to not affect potentially large `__all__` definitions.

probablepeople has a dictionary with more than 150,000 key/value pairs, which takes a very long time to process; 1000 doesn't take very long.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants