miguelgrinberg/microdot

signal module doesnt exist in micropython

Closed this issue · 4 comments

https://github.com/miguelgrinberg/microdot/blame/901f4e55b83cba4eb297e070ef159ff19d456059/src/microdot/wsgi.py#L3

I commented out this line and the line using signal and in my limited testing it seems to work.

What is the point of using the WSGI module with micropython? That module only makes sense when using standard Python.

I am not sure, I just wanted to use websockets and the examples used this module.

@seandepagnier what examples are you running? Where from? If you are looking for code in this repository, echo.py should work under MicroPython. Any examples that have "wsgi" or "asgi" in their names are for regular Python, not for MicroPython. Ignore those.

Sorry, I found another example now.