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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user