Skip to content

🐛 fix(descriptor): reject a non-bool blocking - #969

Merged
gaborbernat merged 4 commits into
tox-dev:mainfrom
feiiiiii5:fix/descriptor-blocking-type
Nov 20, 2026
Merged

gaborbernat merged 4 commits into
tox-dev:mainfrom
feiiiiii5:fix/descriptor-blocking-type

Conversation

@feiiiiii5

@feiiiiii5 feiiiiii5 commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

lock_descriptor accepted non-boolean blocking values that changed its retry behavior: 0 made a single attempt, while "false" entered the blocking loop. #870 and #908 established TypeError for the other lock APIs. Descriptor locking now uses the same validation before attempting the native lock, so callers get that error for either value.

@gaborbernat
gaborbernat merged commit af9ccd6 into tox-dev:main Nov 20, 2026
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants