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

Support weakref in limited api cdef classes #5840

Merged
merged 4 commits into from
Jun 3, 2024

Conversation

da-woods
Copy link
Contributor

Fixes #5793.

Note that this won't work on Python versions <3.9. (The code will compile fine, but the classes won't be weak referenceable).

Fixes cython#5793.

Note that this won't work on Python versions <3.9. (The code will
compile fine, but the classes won't be weak referenceable).
@scoder
Copy link
Contributor

scoder commented Nov 18, 2023 via email

@da-woods
Copy link
Contributor Author

This is next on my list of limited API stuff that I'm threatening to merge fairly soon unless there are objections.

@da-woods da-woods modified the milestone: 3.1 Jun 3, 2024
@da-woods da-woods merged commit 4f91ac3 into cython:master Jun 3, 2024
64 checks passed
@da-woods da-woods deleted the limited-api-weakref branch June 3, 2024 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] classes with __weakref__ don't compile using the limited api
2 participants