diff options
author | Ayke van Laethem <aykevanlaethem@gmail.com> | 2018-04-24 17:43:14 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-05-01 15:54:50 +1000 |
commit | d43c7377564b3e1be36f627a465df2c5779a1ae8 (patch) | |
tree | 8754283d6817b263927c469d1c91e3f8761aa526 /py/formatfloat.c | |
parent | 96740be3574d91279ca883adbb19b976413ef52b (diff) |
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).
Diffstat (limited to 'py/formatfloat.c')
0 files changed, 0 insertions, 0 deletions