60 Commits (752fe759104172af2e8cbd7a3713b29134bd5a7f)

Author SHA1 Message Date
Damien George ac2293161e py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them. 3 years ago
Damien George cac939ddc3 py/modsys: Add optional sys.tracebacklimit attribute. 3 years ago
Damien George bc181550a4 py/modsys: Add optional attribute delegation. 3 years ago
Damien George 123dcdb8e5 py/modsys: Replace non-ASCII quote char with ASCII char. 3 years ago
Damien George 74085f167e py/modsys: Optimise sys.exit for code size by using exception helpers. 3 years ago
David Lechner 093fd80760 py/modsys: Use consistent naming pattern for module-level const objects. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George 80df377e95 py/modsys: Report .mpy version in sys.implementation. 5 years ago
Milan Rossa 310b3d1b81 py: Integrate sys.settrace feature into the VM and runtime. 5 years ago
Milan Rossa cb3647004f py: Implement new sys.atexit feature. 5 years ago
Damien George 7cd59c5bc3 py/mpconfig: Move MICROPY_VERSION macros to static ones in mpconfig.h. 6 years ago
Damien George 582b190764 py: Add checks for stream objects in print() and sys.print_exception(). 6 years ago
Damien George 323b5f7270 py/modsys: Don't compile getsizeof function if feature is disabled. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George 0102ee092b py: Change obsolete "///" comment formatting to normal comments. 7 years ago
Paul Sokolovsky bfc2092dc5 py/modsys: Initial implementation of sys.getsizeof(). 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George b62bb53d0e py/modsys: Use MP_ROM_INT for int values in an mp_rom_map_elem_t. 7 years ago
Damien George e1cda00387 py/modsys: Allow to compile with obj-repr D and PY_ATTRTUPLE disabled. 8 years ago
Tom Collins f06d0839bd py/modsys: update conditionals for code referencing sys.stdout 8 years ago
Paul Sokolovsky 96aa3a3102 py/modsys: Use MP_SMALL_INT_MAX for sys.maxsize in case of LONGINT_IMPL_NONE. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 9 years ago
Damien George 3911d5af32 py/modsys: Fix module globals table to use MP_ROM_QSTR. 9 years ago
Paul Sokolovsky f2d532c404 py/modsys: Use MP_ROM_PTR() initializer for sys.modules. 9 years ago
Paul Sokolovsky 1a1d11fa32 py/modsys: Implement sys.modules. 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 cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Paul Sokolovsky 72bd172b30 py/modsys: Consistently use indented #if's. 9 years ago
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