socket.fileno()
-
Hi,
my local micropython installation exposes a fileno() method on socket objects whereas the mircopython installation on WiPy/LoPy does not. Is that by design or does that method remain to be ported?
I am trying to use the select package (from micropython) and asyncio package (from micropython-lib) but both appear to depend on that method to be available.
Thanks,
Hans -
@hcvst The LoPy port of MicroPython is not yet complete, but we'll have the socket.fileno() method for the release in a few weeks.
Cheers,
Daniel -
Hi Daniel,
do you have any news about this? I am using the Wipy 2.0, and socket.fileno() is not available yet.
Thanks in advance,
Mauro
-
@lemariva apologies, this was not added as promised, but now I'll make sure to include in the next release.
-
Hello,
fileno method added here: https://forum.pycom.io/topic/1951/new-firmware-release-version-v1-9-2-b1
Cheers,
Daniel
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login