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

Make type checks of scope search more restrictive #105

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

theister
Copy link

When encountering a scope that is a str, we should not call getattr() on it and make a ducktyped check if it's actually a complex type. This could also return references to builtin functions of str, which in turn will cause unexpected behaviour downstream.

This PR fixes issue #104 .

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.

1 participant