Skip to content

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

Merged
markshannon merged 1 commit into
python:3.11from
faster-cpython:backport-95596
Aug 4, 2022
Merged

[3.11] GH-92678: Fix tp_dictoffset inheritance. Backport of GH-95596#95604
markshannon merged 1 commit into
python:3.11from
faster-cpython:backport-95596

Conversation

@markshannon

@markshannonmarkshannon commented Aug 3, 2022

Copy link
Copy Markdown
Member

@markshannon

Copy link
Copy Markdown
MemberAuthor

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.
@markshannonmarkshannon added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Aug 3, 2022
@bedevere-bot

Copy link
Copy Markdown

🤖 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-botbedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Aug 3, 2022
@gvanrossum

Copy link
Copy Markdown
Member

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

@pablogsal

pablogsal commented Aug 4, 2022

Copy link
Copy Markdown
Member

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
Copy Markdown
Member

#95664

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

@markshannon@bedevere-bot@gvanrossum@pablogsal