-
- Downloads
py: Implement proper separation between io.FileIO and io.TextIOWrapper.
io.FileIO is binary I/O, ans actually optional. Default file type is io.TextIOWrapper, which provides str results. CPython3 explicitly describes io.TextIOWrapper as buffered I/O, but we don't have buffering support yet anyway.
Showing
- py/modio.c 9 additions, 0 deletionspy/modio.c
- py/mpconfig.h 4 additions, 0 deletionspy/mpconfig.h
- py/qstrdefs.h 2 additions, 0 deletionspy/qstrdefs.h
- stmhal/file.c 4 additions, 4 deletionsstmhal/file.c
- unix/file.c 49 additions, 24 deletionsunix/file.c
- unix/mpconfigport.h 1 addition, 0 deletionsunix/mpconfigport.h
Please register or sign in to comment