Skip to content
Snippets Groups Projects
Commit d43c7377 authored by Ayke van Laethem's avatar Ayke van Laethem Committed by Damien George
Browse files

py/stream: Use uPy errno instead of system's for non-blocking check.

This is a more consistent use of errno codes.  For example, it may be that
a stream returns MP_EAGAIN but the mp_is_nonblocking_error() macro doesn't
catch this value because it checks for EAGAIN instead (which may have a
different value than MP_EAGAIN when MICROPY_USE_INTERNAL_ERRNO is enabled).
parent 96740be3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment