def __init__(self, space, default): self.valid_default = False try: self.default = rffi.cast(self.c_type, capi.c_strtoull(space, default)) self.valid_default = True except Exception: self.default = rffi.cast(self.c_type, 0)
def __init__(self, space, default): self.default = rffi.cast(self.c_type, capi.c_strtoull(space, default))