31 Commits (f882d53fcd4ba9775409c994cbf183770963b37e)

Author SHA1 Message Date
Damien George 3a2171e406 py: Eliminate some cases which trigger unused parameter warnings. 9 years ago
Damien George 95f53461c2 py: Replace py-version.sh with makeversionhdr.py, written in Python. 10 years ago
Paul Sokolovsky 8b85d14b92 modsys: Add basic sys.exc_info() implementation. 10 years ago
Damien George c3184aea63 py: Add sys.implementation, containing uPy name and version number. 10 years ago
Damien George 5ae5ec986e py: Make mp_sys_stdout_print object, wrapping sys.stdout for mp_print*. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
stijn e50cff69bb py: Use a dummy type for referring to extern structs 10 years ago
Damien George e1e359ff59 py: Put mp_sys_path, mp_sys_argv and gc_collected in mp_state_ctx_t. 10 years ago
Damien George cd34207409 py: Can compile with -Wmissing-declarations and -Wmissing-prototypes. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Paul Sokolovsky 46c3ab2004 modsys: Add sys.print_exception(exc, file=sys.stdout) function. 10 years ago
Damien George 3b603f29ec Use MP_DEFINE_CONST_DICT macro to define module dicts. 10 years ago
Damien George b92cbe6129 py: Move definition of mp_sys_exit to core. 10 years ago
Damien George 4ef26c14b1 doc: Fix up a few docs in sys module. 10 years ago
Damien George 30dd23aa7f doc: Document gc, sys, math, cmath. 10 years ago
Paul Sokolovsky cb66f41ebc py: Make print() accept "file" argument, and actually print to stream. 10 years ago
Paul Sokolovsky 4e0eeebdc2 py: Implement sys.maxsize, standard way to check platform "bitness". 11 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 b9b9354e6c modsys: Add optional support for sys.platform. 11 years ago
Damien George ee3fd46f13 Rename configuration variables controling Python features. 11 years ago
Damien George 89755ae67f py: Rename MICROPY_SYS_EXIT to MICROPY_MOD_SYS_EXIT. 11 years ago
Paul Sokolovsky deaeaac469 modsys: Enable sys.exit() per port after all. 11 years ago
Paul Sokolovsky d99e9083cb modsys, unix: Add sys.exit(), should be implemented by a port. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 6d3c5e4301 Add ARRAY_SIZE macro, and use it where possible. 11 years ago
Paul Sokolovsky bbae42d62f modsys: Implement sys.version. 11 years ago
Paul Sokolovsky 978d2c0267 modsys: Implement sys.byteorder. 11 years ago
Paul Sokolovsky baaaf65eaa modsys: Implement basic sys.version_info. 11 years ago
Paul Sokolovsky 4165cd1c0c stmhal: Update for static mod sys. 11 years ago
Paul Sokolovsky 5500cdeec7 py, unix: Convert sys module to static representation. 11 years ago