def as_number(self, space): raise InterpreterError("unsupported as_number")
def microtime(space, is_float): if not is_float: raise InterpreterError("only is_float implemented") return space.wrap(time.time())
def getchar(self, space): raise InterpreterError("TypeError: casting to string of wrong type")
def is_true(self, space): raise InterpreterError("unsupported is_true")
def store(self, w_value, unique=False): raise InterpreterError("Reference to something that's not a variable")
def int_w(self, space): raise InterpreterError("TypeError: casting to int of wrong type")
def hash(self, space): raise InterpreterError("unsupported hash")
def getinstancearray(self, space): raise InterpreterError("unsupported getinstancearray")
def arraylen(self): raise InterpreterError("unsupported arraylen")
def append(self, space, w_item): raise InterpreterError("unsupported append")
def strlen(self): raise InterpreterError("unsupported strlen")
def uplusplus(self, space): raise InterpreterError("unsupport uplusplus")
def uminus(self, space): raise InterpreterError("unsupport uminus")
def repr(self): """A short representation of the object""" raise InterpreterError("Unimplemented repr()")
def str(self, space, quiet=False): """Convert the object to an unwrapped string""" raise InterpreterError("Unimplemented str()")