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

Bug: Should protect against name=None #7

Closed
Technologicat opened this issue Oct 26, 2018 · 0 comments
Closed

Bug: Should protect against name=None #7

Technologicat opened this issue Oct 26, 2018 · 0 comments
Assignees
Labels

Comments

@Technologicat
Copy link
Owner

Relative imports may create nodes with name=None, which crashes remove_wild, when it checks whether the node is a function argument.

Hence, remove_wild needs a None check.

See https://github.com/johnyf/pyan/issues/6

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

No branches or pull requests

1 participant