78 Commits (8762fe8b4c6a7608d48daa8458e6501fafd3eafc)

Author SHA1 Message Date
Angus Gratton decf8e6a8b all: Remove the "STATIC" macro and just use "static" instead. 8 months ago
stijn 85c02166ca py/modsys: Implement optional sys.intern. 11 months ago
Jim Mussared 3bf70f16e9 py/mkrules.mk: Add MICROPY_PREVIEW_VERSION_2. 1 year ago
Jim Mussared 69e34b6b6b all: Switch to new preview build versioning scheme. 1 year ago
Damien George 5ce1a03a78 py/makemoduledefs.py: Automatically declare delegation attr functions. 1 year ago
Jim Mussared 5e50975a6d py/modsys: Allow sys.path to be assigned to. 1 year ago
Jim Mussared 7d2ee8aed0 py/mpconfig: Enable module delegation if sys needs it. 1 year ago
Jim Mussared 13c817e61c py/objmodule: Add a table of built-in modules with delegation. 1 year ago
Jim Mussared 2eba98f1e0 all: Use MP_REGISTER_EXTENSIBLE_MODULE for overrideable built-ins. 1 year ago
Jim Mussared 0ceccd4cf8 all: Rename *umodule*.h to remove the "u" prefix. 2 years ago
Jim Mussared 30628d1bb7 all: Rename MP_QSTR_umodule to MP_QSTR_module everywhere. 2 years ago
Jim Mussared 0e8dfaf538 py/modsys: Add support for sys.executable. 2 years ago
David Lechner 85b4f36100 py/modsys: Use MP_REGISTER_ROOT_POINTER(). 2 years ago
Damien George efe23aca71 all: Remove third argument to MP_REGISTER_MODULE. 2 years ago
Jim Mussared d8d3e6ae78 py: Make builtin modules use MP_REGISTER_MODULE. 3 years ago
Damien George 402df833fe py/modsys: Introduce sys.implementation._machine constant. 3 years ago
Damien George 59c5d41611 py/modsys: Rename sys.implementation.mpy to sys.implementation._mpy. 3 years ago
Damien George 40047823bc py/modsys: Append MicroPython git version and build date to sys.version. 3 years ago
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