Skip to content

Conversation

nbyoung
Copy link

@nbyoung nbyoung commented Sep 20, 2020

Thanks, Jean-Christophe, for this great web server. It makes MicroPython very valuable, especially for our application.

The default build of ports/unix MicroPython does not provide select.poll. For consistency, this pull request replaces select.select with select.poll for all MicroPython ports. The CPython execution remains unchanged with select.select.

It has been tested using the demo application on CPython, and MicroPython ports/unix and ports/stm32.

The second commit changes main.py to warn when / fails to resolve with the default RootPath.

@J4Chard
Copy link

J4Chard commented Feb 27, 2021

Thanks for submitting this PR, Norman! I started trying to fix errors in XAsyncSockets.py on my own and then decided to look through unmerged PRs when I found I needed to peel back more than one layer of this onion. After applying your changes, I am very happy to see that I run MicroWebSrv2 2.0.6 in micropython 1.14!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants