From 4aee119f940b15da16c5e3609bb904f5e881a3df Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Tue, 18 Feb 2014 00:06:37 +0200 Subject: 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"). --- py/makeqstrdata.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'py') diff --git a/py/makeqstrdata.py b/py/makeqstrdata.py index f231a5d861..6ae229c734 100644 --- a/py/makeqstrdata.py +++ b/py/makeqstrdata.py @@ -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): -- cgit v1.2.3