kopia lustrzana https://github.com/micropython/micropython-lib
uasyncio.core: Report unknown syscalls.
rodzic
24125191ce
commit
793bc05be5
|
@ -103,6 +103,8 @@ class EventLoop:
|
|||
self.remove_writer(arg.fileno())
|
||||
elif isinstance(ret, StopLoop):
|
||||
return arg
|
||||
else:
|
||||
assert False, "Unknown syscall yielded: %r (of type %r)" % (ret, type(ret))
|
||||
elif isinstance(ret, type_gen):
|
||||
self.call_soon(ret)
|
||||
elif isinstance(ret, int):
|
||||
|
|
Ładowanie…
Reference in New Issue