-
- Downloads
Implement support for sys.path when loading modules.
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.
Showing
- py/builtinimport.c 38 additions, 3 deletionspy/builtinimport.c
- py/lexerunix.c 0 additions, 1 deletionpy/lexerunix.c
- py/misc.h 11 additions, 0 deletionspy/misc.h
- py/qstrdefs.h 1 addition, 0 deletionspy/qstrdefs.h
- py/runtime.c 7 additions, 1 deletionpy/runtime.c
- py/runtime.h 1 addition, 0 deletionspy/runtime.h
Loading
Please register or sign in to comment