-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat: proper weakref support #19056
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
base: master
Are you sure you want to change the base?
feat: proper weakref support #19056
Conversation
I've added a I have not yet added any logic for setting supports_weakref, it is currently always set == cls.has_dict. I'm thinking to implement one or more of the options listed here: mypyc/mypyc#1102 Something in this PR has broken your serialization tests, it would be helpful if somebody could share some pointers wrt where I should look. |
Well... I tried fixing the serialization issue and now I just get segfaults instead. Not sure where to go from here. |
This is the beginning of a PR intended to fix a compatibility issue between mypyc and weakrefs
Fixes mypyc/mypyc#1102