31 Commits (a270cf280b22a969581a7f1ca1ad6ba071bad299)

Author SHA1 Message Date
Damien George 529dcce2be py/modio: Make iobase_singleton object const so it goes in ROM. 6 years ago
Damien George af0932a779 py/modio: Add uio.IOBase class to allow to define user streams. 7 years ago
Damien George 304a3bcc1c py/modio: Use correct config macro to enable resource_stream function. 7 years ago
Damien George 4601759bf5 py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Paul Sokolovsky 456450437f py/modio: BufferedWriter: Convert to mp_rom_map_elem_t. 7 years ago
Paul Sokolovsky 4a4490ffcc py/modio: resource_stream: Implement "package" param handling. 8 years ago
Paul Sokolovsky d7da2dba07 py/modio: Implement uio.resource_stream(package, resource_path). 8 years ago
Damien George 3a0a771730 py: Add mp_raise_OSError(errno) helper function. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Paul Sokolovsky 07209f8592 all: Rename mp_obj_type_t::stream_p to protocol. 9 years ago
Paul Sokolovsky 7f7c84b10a py/stream: Support both "exact size" and "one underlying call" operations. 9 years ago
Paul Sokolovsky ddb9dba2f7 py/modio: Rename module name to "uio" for consistency with other modules. 9 years ago
Paul Sokolovsky 2c81b9be28 py/modio: io.BufferedWriter: Describe flushing policy. 9 years ago
Paul Sokolovsky 063e6e7d0a py/modio: Implement io.BufferedWriter.flush(). 9 years ago
Paul Sokolovsky 5d93dfbc2c py/modio: Initial implementation of io.BufferedWriter class. 9 years ago
Damien George cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Damien George e5039c6ff8 py: Use TextIOWrapper only if PY_IO_FILEIO def'd; cast size_t for print. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 3b603f29ec Use MP_DEFINE_CONST_DICT macro to define module dicts. 10 years ago
Paul Sokolovsky 59c675a64c py: Include mpconfig.h before all other includes. 11 years ago
Emmanuel Blot f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ 11 years ago
Paul Sokolovsky fbdf2f1d63 py: Rename builtin "io" to "_io". 11 years ago
Damien George ee3fd46f13 Rename configuration variables controling Python features. 11 years ago
Paul Sokolovsky 9e29666bf9 py: Implement proper separation between io.FileIO and io.TextIOWrapper. 11 years ago
Paul Sokolovsky a47b64ae2d objstringio: Implement io.BytesIO. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Paul Sokolovsky cb9dc086a3 modio: Implement io.StringIO class. 11 years ago
Damien George 6d3c5e4301 Add ARRAY_SIZE macro, and use it where possible. 11 years ago
Damien George 8b0535e23f py: Change module globals from mp_map_t* to mp_obj_dict_t*. 11 years ago
Paul Sokolovsky 98a627dc03 py: Add "io" module. 11 years ago