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
{{ message }}
Repository navigation
uasyncio: current_task behaviour differs from CPython #11530
Background: I am looking for a way detect whether a function has been called in a uasyncio context. The asyncio_running function works in CPython, but in MP it fails if a uasyncio script has previously run. In the absence of a fix, a non-hacky workround would be appreciated :)
Activity
dpgeorge commentedon Feb 28, 2024
Fixed by 8692d26
extmod/asyncio: Make current_task raise exception when there is no task.
extmod/asyncio: Make current_task raise exception when there is no task.
extmod/asyncio: Make current_task raise exception when there is no task.
extmod/asyncio: Make current_task raise exception when there is no task.
extmod/asyncio: Make current_task raise exception when there is no task.
Merge pull request micropython#11530 from dhalbert/usb-drive-reenable