-
- Downloads
py: Make globals and locals proper dictionary objects.
Finishes addressing issue #424. In the end this was a very neat refactor that now makes things a lot more consistent across the py code base. It allowed some simplifications in certain places, now that everything is a dict object. Also converted builtins tables to dictionaries. This will be useful when we need to turn builtins into a proper module.
Showing
- py/builtin.c 11 additions, 11 deletionspy/builtin.c
- py/builtinevex.c 4 additions, 4 deletionspy/builtinevex.c
- py/builtinimport.c 4 additions, 4 deletionspy/builtinimport.c
- py/builtintables.c 104 additions, 113 deletionspy/builtintables.c
- py/builtintables.h 2 additions, 2 deletionspy/builtintables.h
- py/objfun.c 2 additions, 2 deletionspy/objfun.c
- py/objmodule.c 8 additions, 6 deletionspy/objmodule.c
- py/runtime.c 28 additions, 41 deletionspy/runtime.c
- py/runtime.h 4 additions, 4 deletionspy/runtime.h
- stmhal/mpconfigport.h 6 additions, 6 deletionsstmhal/mpconfigport.h
- unix/mpconfigport.h 1 addition, 1 deletionunix/mpconfigport.h
Loading
Please register or sign in to comment