-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Hi, I have questions about using this library errno,
- I can import this library
errno,but how do I know how the error flags correspond to the numbers? I refer to the source code here: python-stdlib/errno/errno.py but found a problem:
>>> import errno
>>> errno.ETIMEDOUT
116
>>> errno.EINPROGRESS
119
>>> errno.EPIPE
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'EPIPE'
- But in errno.py,
errno.ETIMEDOUTshould be110,errno.EINPROGRESSshould be115,errno.EPIPEshould be32. Did I refer to the wrong source code?
This problem will affect the porting and development of some libraries especially using errno.EPIPE and I am confuse. I 'd love to know where the exact source code is.
- hardware: ESP32 / WROOM
- micropython version: ESP32_GENERIC-20230426-v1.20.0.bin
Metadata
Metadata
Assignees
Labels
No labels