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
CPython's tasks are subclasses of PyFuture. This means they have result, exception methods. They also have a cancelled method.
As a user of the asyncio library I want the circuitpython library to support these so I can inspect tasaks more easily from outside asyncio - eg, without having to muck around with CircuitPython asyncio task internals like state or data.
This would require some changes to the core loop for setting these values, but shouldn't be a huge difficulty otherwise? It should be negligible for memory usage / library footprint / etc, unless I'm misunderstanding how the library operates today.
The text was updated successfully, but these errors were encountered:
CPython's tasks are subclasses of
PyFuture
. This means they haveresult
,exception
methods. They also have acancelled
method.As a user of the asyncio library I want the circuitpython library to support these so I can inspect tasaks more easily from outside
asyncio
- eg, without having to muck around with CircuitPython asyncio task internals likestate
ordata
.This would require some changes to the core loop for setting these values, but shouldn't be a huge difficulty otherwise? It should be negligible for memory usage / library footprint / etc, unless I'm misunderstanding how the library operates today.
The text was updated successfully, but these errors were encountered: