stm: Initialize sys.path with ["0:/", "0:/src", "0:/lib"].

This is compatible with what search path was before sys.path refactor,
with addition of module library path ("0:/lib").
This commit is contained in:
Paul Sokolovsky
2014-02-18 00:06:37 +02:00
parent c839584222
commit 4aee119f94
3 changed files with 11 additions and 0 deletions

View File

@@ -10,6 +10,8 @@ elif platform.python_version_tuple()[0] == '3':
# add some custom names to map characters that aren't in HTML
codepoint2name[ord('.')] = 'dot'
codepoint2name[ord(':')] = 'colon'
codepoint2name[ord('/')] = 'slash'
# this must match the equivalent function in qstr.c
def compute_hash(qstr):