Ejemplo n.º 1
0
 def as_number(self, space):
     raise InterpreterError("unsupported as_number")
Ejemplo n.º 2
0
def microtime(space, is_float):
    if not is_float:
        raise InterpreterError("only is_float implemented")
    return space.wrap(time.time())
Ejemplo n.º 3
0
 def getchar(self, space):
     raise InterpreterError("TypeError: casting to string of wrong type")
Ejemplo n.º 4
0
 def is_true(self, space):
     raise InterpreterError("unsupported is_true")
Ejemplo n.º 5
0
 def store(self, w_value, unique=False):
     raise InterpreterError("Reference to something that's not a variable")
Ejemplo n.º 6
0
 def int_w(self, space):
     raise InterpreterError("TypeError: casting to int of wrong type")
Ejemplo n.º 7
0
 def hash(self, space):
     raise InterpreterError("unsupported hash")
Ejemplo n.º 8
0
 def getinstancearray(self, space):
     raise InterpreterError("unsupported getinstancearray")
Ejemplo n.º 9
0
 def arraylen(self):
     raise InterpreterError("unsupported arraylen")
Ejemplo n.º 10
0
 def append(self, space, w_item):
     raise InterpreterError("unsupported append")
Ejemplo n.º 11
0
 def strlen(self):
     raise InterpreterError("unsupported strlen")
Ejemplo n.º 12
0
 def uplusplus(self, space):
     raise InterpreterError("unsupport uplusplus")
Ejemplo n.º 13
0
 def uminus(self, space):
     raise InterpreterError("unsupport uminus")
Ejemplo n.º 14
0
 def repr(self):
     """A short representation of the object"""
     raise InterpreterError("Unimplemented repr()")
Ejemplo n.º 15
0
 def str(self, space, quiet=False):
     """Convert the object to an unwrapped string"""
     raise InterpreterError("Unimplemented str()")