Skip to content

#Fix 21254#21259

Merged
hauntsaninja merged 6 commits intopython:masterfrom
pranavmanglik:fix-21254
Apr 17, 2026
Merged

#Fix 21254#21259
hauntsaninja merged 6 commits intopython:masterfrom
pranavmanglik:fix-21254

Conversation

@pranavmanglik
Copy link
Copy Markdown
Contributor

@pranavmanglik pranavmanglik commented Apr 16, 2026

Fixed stubtest false positive for properties with a deleter.

Previously, properties with a deleter but no setter were treated as read-only.
Update logic to consider a property read-only only if both fset and fdel are None.

Fixes #21254

Copy link
Copy Markdown
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@hauntsaninja hauntsaninja merged commit 410f933 into python:master Apr 17, 2026
17 checks passed
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.

stubtest incorrectly interprets property with deleter as overloaded function in stubs

2 participants