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
The uasyncio library does not have the ThreadSafeFlag, Lock and possibly other classes (I haven't checked the rest), and the gather method does not work either. I get the following errors when running on release 1.18:
MicroPython v1.18 on 2022-04-29; linux version
Use Ctrl-D to exit, Ctrl-E for paste mode
>>> import uasyncio as asyncio
>>> asyncio.ThreadSafeFlag
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "uasyncio/__init__.py", line 26, in __getattr__
AttributeError: ThreadSafeFlag
>>> asyncio.gather
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "uasyncio/__init__.py", line 27, in __getattr__
ImportError: no module named 'uasyncio.funcs'
>>> asyncio.Lock
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "uasyncio/__init__.py", line 27, in __getattr__
ImportError: no module named 'uasyncio.lock'
>>> asyncio.__version__
(3, 0, 0)
I'm not sure whether this is related, but when creating the Unix port with the release zip, I couldn't run make submodules as it wasn't a git directory. When I tried to build from the master branch, I couldn't import uasyncio as it said the .mpy versions were incompatible.
The text was updated successfully, but these errors were encountered:
The
uasyncio
library does not have theThreadSafeFlag
,Lock
and possibly other classes (I haven't checked the rest), and thegather
method does not work either. I get the following errors when running on release 1.18:I'm not sure whether this is related, but when creating the Unix port with the release zip, I couldn't run
make submodules
as it wasn't a git directory. When I tried to build from the master branch, I couldn't importuasyncio
as it said the .mpy versions were incompatible.The text was updated successfully, but these errors were encountered: