Skip to content

Improve checking of "__slots__" #12531

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

Merged
merged 1 commit into from
Apr 7, 2022
Merged

Improve checking of "__slots__" #12531

merged 1 commit into from
Apr 7, 2022

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Apr 6, 2022

Don't rely on object.__slots__ being defined, since it's not
defined at runtime (and currently it's removed in typeshed).

Don't rely on `object.__slots__` being defined, since it's not
defined at runtime (and currently it's removed in typeshed).
@JukkaL JukkaL merged commit e7e1db6 into master Apr 7, 2022
@JukkaL JukkaL deleted the new-slots branch April 7, 2022 10:06
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.

2 participants