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

[3.11] GH-92678: Fix tp_dictoffset inheritance. Backport of GH-95596 #95604

Merged
merged 1 commit into from
Aug 4, 2022

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Aug 3, 2022

@markshannon
Copy link
Member Author

Bah, Modules/_testcapi/heaptype.c doesn't exist in 3.11. I'll need to fix it up manually.

* Add test for inheriting explicit __dict__ and weakref.

* Restore 3.10 behavior for multiple inheritance of C extension classes that store their dictionary at the end of the struct.
@markshannon markshannon added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Aug 3, 2022
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @markshannon for commit 53093f3 🤖

If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Aug 3, 2022
@gvanrossum
Copy link
Member

What about the Windows warnings (see the Files section of this PR)?

@pablogsal
Copy link
Member

pablogsal commented Aug 4, 2022

What about the Windows warnings (see the Files section of this PR)?

Yeah, those are legitimate errors, it should return NULL (in main this function returned -1) . I will open a PR

@pablogsal
Copy link
Member

#95664

@markshannon markshannon deleted the backport-95596 branch September 26, 2023 12:55
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.

4 participants