Skip to content

Fix crash in def_readwrite for non-smart-holder properties of smart-holder classes (v2)#6008

Open
virtuald wants to merge 2 commits intopybind:masterfrom
virtuald:enum-mismatch-2
Open

Fix crash in def_readwrite for non-smart-holder properties of smart-holder classes (v2)#6008
virtuald wants to merge 2 commits intopybind:masterfrom
virtuald:enum-mismatch-2

Conversation

@virtuald
Copy link
Contributor

@virtuald virtuald commented Mar 17, 2026

Description

Alternative fix for #6003, primarily made it because I'm not sure this is better and to check that all tests pass. See discussion over on that PR for background and analysis.

Suggested changelog entry:

Fix crash in def_readwrite for non-smart-holder properties of smart-holder classes

- Occurs with non-smart-holder property of smart-holder class
@virtuald virtuald changed the title Enum mismatch 2 Fix crash in def_readwrite for non-smart-holder properties of smart-holder classes (v2) Mar 17, 2026
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.

1 participant