You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There being two sleep-related confusions can plausibly cause a bit of confusion, this code will raise TRIO115 (replace sleep(0) with checkpoint) and TRIO110 (replace looped sleep with an Event)
while foo():
await trio.sleep(0)
but if the user resolves the ASYNC115, then ASYNC110 will also stop warning. I don't think it's something super common, but it happened in python-trio/trio#2947 (review) - so plausibly might happen again.
The text was updated successfully, but these errors were encountered:
There being two sleep-related confusions can plausibly cause a bit of confusion, this code will raise TRIO115 (replace
sleep(0)
with checkpoint) and TRIO110 (replace looped sleep with an Event)but if the user resolves the ASYNC115, then ASYNC110 will also stop warning. I don't think it's something super common, but it happened in python-trio/trio#2947 (review) - so plausibly might happen again.
The text was updated successfully, but these errors were encountered: