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

Mypyc ignores custom __del__ without warning #1035

Open
nickdrozd opened this issue Nov 22, 2023 · 0 comments
Open

Mypyc ignores custom __del__ without warning #1035

nickdrozd opened this issue Nov 22, 2023 · 0 comments

Comments

@nickdrozd
Copy link

Similar to #1013. A __del__ method won't be respected and no warning is issued.

It's possible to work around a restriction on __new__ by using a wrapper function to call a class. But there is no corresponding workaround for __del__, at least not that I'm aware of. So this is a bigger problem than missing __new__.

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

No branches or pull requests

1 participant