15 Commits (3d0e3a3d3eb3079599de63f2a232b5cf4b26399f)

Author SHA1 Message Date
Damien George e84325bd1d py: Add mp_get_stream_raise to factor out check for stream methods. 9 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Damien George 4e7107a572 py: Change mp_print_strn_t func type to use size_t for the str length. 9 years ago
Paul Sokolovsky 7799410950 py/stream: Allow to reuse is_nonblocking_error(). 9 years ago
blmorris bdd78c31b6 py: Add stream_tell method, and use for unix and stmhal file tell. 9 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Paul Sokolovsky 838eb1fa2d stream: Implement seek operation support via ioctl, wrapped in generic method. 10 years ago
Paul Sokolovsky 1a55b6a787 unix, stmhal: Implement file.readinto() method. 10 years ago
Paul Sokolovsky ac736f15c9 stream: Factor out mp_stream_write() method to write a memstring to stream. 10 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George d5f5b2f766 py, stream: Implement readlines for a stream. 11 years ago
Paul Sokolovsky d54bef7692 stream: Add generic unbuffered iternext method. 11 years ago
Paul Sokolovsky 9953ca432b Add unbuffered readline() implementation for Raw I/O files. 11 years ago
Paul Sokolovsky 5225450b9f Add generic impl of stream .readall() method. Use one for unix io.FileIO. 11 years ago
Paul Sokolovsky e98cf40c34 Add generic implementations of Python read()/write methods for streams. 11 years ago