Skip to content

Test: borrowed field read mutant (N-12, #193) - #258

Merged
b-re-w merged 1 commit into
developfrom
feat/n12-borrow-guard
Oct 24, 2026
Merged

b-re-w merged 1 commit into
developfrom
feat/n12-borrow-guard

Conversation

@b-re-w

@b-re-w b-re-w commented Oct 24, 2026

Copy link
Copy Markdown
Member

Refs #193. Current FieldGet takes a strong reference (PyMember_GetOne), so N-11 has no borrowed field reads. This adds a race_mutant test: a borrowed read (load slot, incref later) is caught by a concurrent reader/writer test, and the same body passes on the real extension. test_free_threaded.py: 24 passed locally on 3.15t. #193 stays open for the N-12 implementation stress test under ASan/TSan.

@b-re-w
b-re-w merged commit 9ca549e into develop Oct 24, 2026
@b-re-w
b-re-w deleted the feat/n12-borrow-guard branch October 24, 2026 14:52
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