svgui/pyjs/pyjs.py
changeset 2445 4f7abbc8506f
parent 2442 b13f021c68a5
child 2450 5024c19ca8f0
equal deleted inserted replaced
2444:235f847be37e 2445:4f7abbc8506f
    21 import compiler
    21 import compiler
    22 from compiler import ast
    22 from compiler import ast
    23 import os
    23 import os
    24 import copy
    24 import copy
    25 from builtins import str as text
    25 from builtins import str as text
       
    26 from past.builtins import basestring
    26 from six.moves import cStringIO
    27 from six.moves import cStringIO
    27 
    28 
    28 # the standard location for builtins (e.g. pyjslib) can be
    29 # the standard location for builtins (e.g. pyjslib) can be
    29 # over-ridden by changing this.  it defaults to sys.prefix
    30 # over-ridden by changing this.  it defaults to sys.prefix
    30 # so that on a system-wide install of pyjamas the builtins
    31 # so that on a system-wide install of pyjamas the builtins