Skip to content
Snippets Groups Projects
Select Git revision
  • dualcore
  • ch3/leds
  • wip-bootstrap default
  • ch3/time
  • master
5 results

lexerunix.c

  • Paul Sokolovsky's avatar
    e11b17c2
    Implement support for sys.path when loading modules. · e11b17c2
    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.
    e11b17c2
    History
    Implement support for sys.path when loading modules.
    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.