- 12 Feb, 2014 2 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Some tools do not support local/static symbols (one example is GNU ld map file). Exposing all functions will allow to do detailed size comparisons, etc. Also, added bunch of statics where they were missing, and replaced few identity functions with global mp_identity().
-
- 11 Feb, 2014 8 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Please don't submit patches with tab indentation!
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Test function needs to be called by something else. Test heap size reduced so its dump fits on a screenful of a typical terminal.
-
Paul Sokolovsky authored
With a nice traceback, helps debugging much better.
-
Paul Sokolovsky authored
-
- 10 Feb, 2014 6 commits
-
-
Damien George authored
-
Paul Sokolovsky authored
If there's malloc and memset, then there's no need for calloc, especially if we need to implement it ourselves.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 09 Feb, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 08 Feb, 2014 9 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Unlike CPython socket, microsocket object already implements stream protocol (read/write methods), so makefile() just returns object itself. TODO: this doesn't take care of arguments CPython's makefile() may accept.
-
Damien George authored
-
Damien George authored
Passing keyword arguments to a native function now no longer requires heap memory. The kw_args map is created on the stack using the args array as the table.
-
Damien George authored
This allows keyword maps to be created directly from stack data.
-
Damien George authored
Can't decide which is better for string type, char or byte pointer. Changing to char removes a few casts. Really need to do proper unicode.
-
- 06 Feb, 2014 5 commits
-
-
Damien George authored
Linear table at the moment, to eventually be replaced with a hash table generated by a preprocessor. Dynamic table is retained so that builtins can be overridden.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- 05 Feb, 2014 4 commits
-
-
Damien George authored
-
Damien George authored
Fixes Issue #261.
-
Damien George authored
-
Paul Sokolovsky authored
-
- 04 Feb, 2014 5 commits
-
-
Paul Sokolovsky authored
sys.path is not initialized by rt_init(), that's left for platform-specific startup code. (For example, bare metal port may have some hardcoded defaults, and let user change sys.path directly; while port for OS with environment feature can take path from environment). If it's not explicitly initialized, modules will be imported only from a current directory.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Similar to mp_obj_new_tuple().
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-