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

Fix Typeguard error #6730

Merged
merged 1 commit into from
Feb 18, 2021
Merged

Conversation

gmarkall
Copy link
Member

@gmarkall gmarkall commented Feb 18, 2021

Typeguard reports:

TypeError: can only assign string to GUFunc.__name__, not 'property'

It seems that setting __name__ in __init__ should achieve the same effect, and avoid the Typeguard error.

Typeguard reports:

```
TypeError: can only assign string to GUFunc.__name__, not 'property'
```

It seems that setting `__name__` in `__init__` should achieve the same
effect, and avoid the Typeguard error.
Copy link
Member

@sklam sklam left a comment

Choose a reason for hiding this comment

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

LGTM

@sklam sklam added 5 - Ready to merge Review and testing done, is ready to merge and removed 3 - Ready for Review labels Feb 18, 2021
@stuartarchibald stuartarchibald merged commit d89d341 into numba:master Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Ready to merge Review and testing done, is ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants