99 Commits (6caca3259f4ec8f298b1d35f15e4492efbcff6b1)

Author SHA1 Message Date
Paul Sokolovsky 7ea3fa2641 py/builtinimport: Fix nanbox build after change to better handle -m modules. 8 years ago
Delio Brignoli 21c719bd0a builtinimport: add the module specified by -m to sys.modules as '__main__' 8 years ago
Paul Sokolovsky ae184cb9de py/builtinimport: Disable "imported as namespace package" warning. 8 years ago
Damien George 274952a117 py: Allow to stat and import frozen mpy files using new frozen "VFS". 9 years ago
Paul Sokolovsky 2c573f00b8 py/builtinimport: Unbreak bare-arm build. 9 years ago
Paul Sokolovsky 8a2970e136 py/builtinimport: Unbreak minimal build. 9 years ago
Paul Sokolovsky fb742cdc12 py/{builtinimport,frozenmod}: Rework frozen modules support to support packages. 9 years ago
Damien George 0a2e9650f5 py: Add ability to have frozen persistent bytecode from .mpy files. 9 years ago
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 9 years ago
Damien George dd5353a405 py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts. 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
Damien George 432e8275a9 py: Allow to import compiled bytecode files. 9 years ago
Paul Sokolovsky 9780e55274 builtinimport: Fix running package submodule with -m. 9 years ago
Paul Sokolovsky c4045f57e3 builtinimport: Catch case when relative import happens without active package. 10 years ago
Paul Sokolovsky 07408cbd1f unix: Make micropython -m <module> work for frozen modules. 10 years ago
Damien George 044c473de2 py: Add %q format support to mp_[v]printf, and use it. 10 years ago
Paul Sokolovsky 9e6c82960e builtinimport: Revamp&refactor handling of relative imports. 10 years ago
Paul Sokolovsky 078172dcab builtinimport: Improve debugging output. 10 years ago
Damien George 827b0f747b py: Change vstr_null_terminate -> vstr_null_terminated_str, returns str. 10 years ago
Damien George 0d3cb6726d py: Change vstr so that it doesn't null terminate buffer by default. 10 years ago
Paul Sokolovsky 8064892c9b builtinimport: Make sure that qstr is used properly to load frozen modules. 10 years ago
Paul Sokolovsky 640e0b221e py: Implement very simple frozen modules support. 10 years ago
Damien George 963a5a3e82 py, unix: Allow to compile with -Wsign-compare. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Paul Sokolovsky 8a8c1fc82f py: Add basic framework for issuing compile/runtime warnings. 10 years ago
Damien George 78d702c300 py: Allow builtins to be overridden. 10 years ago
Damien George a4c52c5a3d py: Optimise lexer by exposing lexer type. 10 years ago
Damien George 1e9a92f84f py: Use shorter, static error msgs when ERROR_REPORTING_TERSE enabled. 10 years ago
Sven Wegener 238ab5013b py: Deactivate more code without MICROPY_PY_SYS 10 years ago
Damien George 7860c2a68a py: Fix some macros defines; cleanup some includes. 10 years ago
Paul Sokolovsky e503512f83 unix: Implement -m option (execute module from stdlib). 10 years ago
Paul Sokolovsky e5a3759ff5 py: Factor out mp_obj_is_package() function. 10 years ago
Paul Sokolovsky 8becca7c82 py: mp_builtin___import__(): Add const to arg type. 10 years ago
Damien George c14a81662c py: Add module weak link support. 10 years ago
Damien George c4d0868df1 py: Implement proper context save/restore for eval/exec; factor code. 10 years ago
Damien George a91ac2011f py: Make compiler return a proper exception on SyntaxError. 10 years ago
Damien George 42f3de924b py: Convert [u]int to mp_[u]int_t where appropriate. 10 years ago
Damien George 52b5d76a6b py: Free non-interned strings in the parser when not needed. 10 years ago
Damien George eaaebf3291 stmhal: Initialise stack pointer correctly. 10 years ago
Damien George 4abff7500f py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h. 10 years ago
Damien George d182b98a37 py: Change all uint to mp_uint_t in obj.h. 10 years ago
Damien George 9c4cbe2ac0 py: Make tuple and list use mp_int_t/mp_uint_t. 10 years ago
Paul Sokolovsky d0f5e61ab5 py: Implement __file__ attribute for modules. 10 years ago
Damien George 8a0801ad24 py: Make 3 functions static. 11 years ago
Marcus von Appen 0c90eb1658 - FreeBSD provides alloca() via stdlib.h, in contrast to Linux and Windows 11 years ago
Chris Angelico daf973ae00 Change comments (mainly URLs) to no longer specifically say Python 3.3 11 years ago
Paul Sokolovsky 75ce9256b2 objstr: Implement "%(key)s" % {} formatting for strings and dicts. 11 years ago
Damien George 2617eebf2f Change const byte* to const char* where sensible. 11 years ago
Damien George ee3fd46f13 Rename configuration variables controling Python features. 11 years ago