Skip to content

Add subclassing testcase which previously caused a segfault#721

Merged
kngwyu merged 3 commits intoPyO3:masterfrom
Alexander-N:subclassing
Jan 12, 2020
Merged

Add subclassing testcase which previously caused a segfault#721
kngwyu merged 3 commits intoPyO3:masterfrom
Alexander-N:subclassing

Conversation

@Alexander-N
Copy link
Member

@Alexander-N Alexander-N commented Jan 11, 2020

Add a testcase from #407. Both test cases don't segfault after the
change to the #[pyclass] system in #683.

Edit: Also remove unsound-subclass feature.

Closes #407, Closes #220

Add a testcase from PyO3#407. Both test cases don't segfault after the
change to the #[pyclass] system in PyO3#683.

Closes PyO3#407
@kngwyu
Copy link
Member

kngwyu commented Jan 12, 2020

Thank you!

@kngwyu kngwyu merged commit 6bd6633 into PyO3:master Jan 12, 2020
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.

Segfault on GC cleanup of subclass Subclassing a #[pyclass] in Python causes segfault during interpreter finalization

2 participants