Skip to content

Conversation

@usiems
Copy link
Contributor

@usiems usiems commented Sep 24, 2025

Since Python 3.10, Python checks in Debug mode if a slot fails without an exception, or succeeds with an exception set, and aborts in this case.

We had the case that we had a wrapper type where setitem was defined, but no delitem, and we had an automatic test that checked the behavior when calling del on such an object with an index. In Debug mode this test aborted without this fix.

Since Python 3.10, Python checks in Debug mode if a slot fails without
an exception, or succeeds with an exception set, and aborts in this case.
@usiems usiems force-pushed the fix_missing_exception branch from 72ce38b to 37a0404 Compare September 24, 2025 15:24
@usiems usiems merged commit b37ee7a into master Sep 25, 2025
17 checks passed
@usiems usiems deleted the fix_missing_exception branch September 25, 2025 15:18
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.

2 participants