/* Generated by Cython 0.10.3 on Mon Mar  2 23:58:26 2009 */

#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include "structmember.h"
#ifndef PY_LONG_LONG
  #define PY_LONG_LONG LONG_LONG
#endif
#ifndef DL_EXPORT
  #define DL_EXPORT(t) t
#endif
#if PY_VERSION_HEX < 0x02040000
  #define METH_COEXIST 0
#endif
#if PY_VERSION_HEX < 0x02050000
  typedef int Py_ssize_t;
  #define PY_SSIZE_T_MAX INT_MAX
  #define PY_SSIZE_T_MIN INT_MIN
  #define PyInt_FromSsize_t(z) PyInt_FromLong(z)
  #define PyInt_AsSsize_t(o)   PyInt_AsLong(o)
  #define PyNumber_Index(o)    PyNumber_Int(o)
  #define PyIndex_Check(o)     PyNumber_Check(o)
#endif
#if PY_VERSION_HEX < 0x02060000
  #define Py_REFCNT(ob) (((PyObject*)(ob))->ob_refcnt)
  #define Py_TYPE(ob)   (((PyObject*)(ob))->ob_type)
  #define Py_SIZE(ob)   (((PyVarObject*)(ob))->ob_size)
  #define PyVarObject_HEAD_INIT(type, size) \
          PyObject_HEAD_INIT(type) size,
  #define PyType_Modified(t)

  typedef struct {
       void *buf;
       PyObject *obj;
       Py_ssize_t len;
       Py_ssize_t itemsize;
       int readonly;
       int ndim;
       char *format;
       Py_ssize_t *shape;
       Py_ssize_t *strides;
       Py_ssize_t *suboffsets;
       void *internal;
  } Py_buffer;

  #define PyBUF_SIMPLE 0
  #define PyBUF_WRITABLE 0x0001
  #define PyBUF_LOCK 0x0002
  #define PyBUF_FORMAT 0x0004
  #define PyBUF_ND 0x0008
  #define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  #define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES)
  #define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES)
  #define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES)
  #define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)

#endif
#if PY_MAJOR_VERSION < 3
  #define __Pyx_BUILTIN_MODULE_NAME "__builtin__"
#else
  #define __Pyx_BUILTIN_MODULE_NAME "builtins"
#endif
#if PY_MAJOR_VERSION >= 3
  #define Py_TPFLAGS_CHECKTYPES 0
  #define Py_TPFLAGS_HAVE_INDEX 0
#endif
#if (PY_VERSION_HEX < 0x02060000) || (PY_MAJOR_VERSION >= 3)
  #define Py_TPFLAGS_HAVE_NEWBUFFER 0
#endif
#if PY_MAJOR_VERSION >= 3
  #define PyBaseString_Type            PyUnicode_Type
  #define PyString_Type                PyBytes_Type
  #define PyInt_Type                   PyLong_Type
  #define PyInt_Check(op)              PyLong_Check(op)
  #define PyInt_CheckExact(op)         PyLong_CheckExact(op)
  #define PyInt_FromString             PyLong_FromString
  #define PyInt_FromUnicode            PyLong_FromUnicode
  #define PyInt_FromLong               PyLong_FromLong
  #define PyInt_FromSize_t             PyLong_FromSize_t
  #define PyInt_FromSsize_t            PyLong_FromSsize_t
  #define PyInt_AsLong                 PyLong_AsLong
  #define PyInt_AS_LONG                PyLong_AS_LONG
  #define PyInt_AsSsize_t              PyLong_AsSsize_t
  #define PyInt_AsUnsignedLongMask     PyLong_AsUnsignedLongMask
  #define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_TrueDivide(x,y)
#else
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_Divide(x,y)
  #define PyBytes_Type                 PyString_Type
#endif
#if PY_MAJOR_VERSION >= 3
  #define PyMethod_New(func, self, klass) PyInstanceMethod_New(func)
#endif
#if !defined(WIN32) && !defined(MS_WINDOWS)
  #ifndef __stdcall
    #define __stdcall
  #endif
  #ifndef __cdecl
    #define __cdecl
  #endif
#else
  #define _USE_MATH_DEFINES
#endif
#ifdef __cplusplus
#define __PYX_EXTERN_C extern "C"
#else
#define __PYX_EXTERN_C extern
#endif
#include <math.h>
#define __PYX_HAVE_API__tailspin__fastlazy_h


#ifdef __GNUC__
#define INLINE __inline__
#elif _WIN32
#define INLINE __inline
#else
#define INLINE 
#endif

typedef struct {PyObject **p; char *s; long n; char is_unicode; char intern; char is_identifier;} __Pyx_StringTabEntry; /*proto*/



static int __pyx_skip_dispatch = 0;


/* Type Conversion Predeclarations */

#if PY_MAJOR_VERSION < 3
#define __Pyx_PyBytes_FromString PyString_FromString
#define __Pyx_PyBytes_AsString   PyString_AsString
#else
#define __Pyx_PyBytes_FromString PyBytes_FromString
#define __Pyx_PyBytes_AsString   PyBytes_AsString
#endif

#define __Pyx_PyBool_FromLong(b) ((b) ? (Py_INCREF(Py_True), Py_True) : (Py_INCREF(Py_False), Py_False))
static INLINE int __Pyx_PyObject_IsTrue(PyObject* x);
static INLINE PY_LONG_LONG __pyx_PyInt_AsLongLong(PyObject* x);
static INLINE unsigned PY_LONG_LONG __pyx_PyInt_AsUnsignedLongLong(PyObject* x);
static INLINE Py_ssize_t __pyx_PyIndex_AsSsize_t(PyObject* b);

#define __pyx_PyInt_AsLong(x) (PyInt_CheckExact(x) ? PyInt_AS_LONG(x) : PyInt_AsLong(x))
#define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))

static INLINE unsigned char __pyx_PyInt_unsigned_char(PyObject* x);
static INLINE unsigned short __pyx_PyInt_unsigned_short(PyObject* x);
static INLINE char __pyx_PyInt_char(PyObject* x);
static INLINE short __pyx_PyInt_short(PyObject* x);
static INLINE int __pyx_PyInt_int(PyObject* x);
static INLINE long __pyx_PyInt_long(PyObject* x);
static INLINE signed char __pyx_PyInt_signed_char(PyObject* x);
static INLINE signed short __pyx_PyInt_signed_short(PyObject* x);
static INLINE signed int __pyx_PyInt_signed_int(PyObject* x);
static INLINE signed long __pyx_PyInt_signed_long(PyObject* x);
static INLINE long double __pyx_PyInt_long_double(PyObject* x);
#ifdef __GNUC__
/* Test for GCC > 2.95 */
#if __GNUC__ > 2 ||               (__GNUC__ == 2 && (__GNUC_MINOR__ > 95)) 
#define likely(x)   __builtin_expect(!!(x), 1)
#define unlikely(x) __builtin_expect(!!(x), 0)
#else /* __GNUC__ > 2 ... */
#define likely(x)   (x)
#define unlikely(x) (x)
#endif /* __GNUC__ > 2 ... */
#else /* __GNUC__ */
#define likely(x)   (x)
#define unlikely(x) (x)
#endif /* __GNUC__ */
    
static PyObject *__pyx_m;
static PyObject *__pyx_b;
static PyObject *__pyx_empty_tuple;
static int __pyx_lineno;
static int __pyx_clineno = 0;
static const char * __pyx_cfilenm= __FILE__;
static const char *__pyx_filename;
static const char **__pyx_f;

static void __Pyx_RaiseDoubleKeywordsError(
    const char* func_name, PyObject* kw_name); /*proto*/

static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact,
    Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found); /*proto*/

static int __Pyx_ParseOptionalKeywords(PyObject *kwds, PyObject **argnames[],     PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args,     const char* function_name); /*proto*/

static INLINE int __Pyx_CheckKeywordStrings(PyObject *kwdict,
    const char* function_name, int kw_allowed); /*proto*/

static INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb); /*proto*/
static INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb); /*proto*/

static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list); /*proto*/

static PyObject *__Pyx_GetName(PyObject *dict, PyObject *name); /*proto*/

static int __Pyx_SetVtable(PyObject *dict, void *vtable); /*proto*/

static void __Pyx_AddTraceback(const char *funcname); /*proto*/

static int __Pyx_InitStrings(__Pyx_StringTabEntry *t); /*proto*/

/* Type declarations */

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":9
 *         return o
 * 
 * cdef class tailfish:             # <<<<<<<<<<<<<<
 *     cdef object func
 *     cdef object args
 */

struct __pyx_obj_8tailspin_10fastlazy_h_tailfish {
  PyObject_HEAD
  struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *__pyx_vtab;
  PyObject *func;
  PyObject *args;
  PyObject *kw;
};


struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish {
  PyObject *(*__force__)(struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *);
};
static struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *__pyx_vtabptr_8tailspin_10fastlazy_h_tailfish;
/* Module declarations from tailspin.fastlazy_h */

static PyTypeObject *__pyx_ptype_8tailspin_10fastlazy_h_tailfish = 0;
static PyObject *__pyx_f_8tailspin_10fastlazy_h_force(PyObject *, int __pyx_skip_dispatch); /*proto*/


/* Implementation of tailspin.fastlazy_h */
static char __pyx_k_force[] = "force";
static PyObject *__pyx_kp_force;
static char __pyx_k___cinit__[] = "__cinit__";
static PyObject *__pyx_kp___cinit__;
static char __pyx_k___add__[] = "__add__";
static PyObject *__pyx_kp___add__;
static char __pyx_k___sub__[] = "__sub__";
static PyObject *__pyx_kp___sub__;
static char __pyx_k___mul__[] = "__mul__";
static PyObject *__pyx_kp___mul__;
static char __pyx_k___div__[] = "__div__";
static PyObject *__pyx_kp___div__;
static char __pyx_k___floordiv__[] = "__floordiv__";
static PyObject *__pyx_kp___floordiv__;
static char __pyx_k___truediv__[] = "__truediv__";
static PyObject *__pyx_kp___truediv__;
static char __pyx_k___mod__[] = "__mod__";
static PyObject *__pyx_kp___mod__;
static char __pyx_k___lshift__[] = "__lshift__";
static PyObject *__pyx_kp___lshift__;
static char __pyx_k___rshift__[] = "__rshift__";
static PyObject *__pyx_kp___rshift__;
static char __pyx_k___and__[] = "__and__";
static PyObject *__pyx_kp___and__;
static char __pyx_k___or__[] = "__or__";
static PyObject *__pyx_kp___or__;
static char __pyx_k___xor__[] = "__xor__";
static PyObject *__pyx_kp___xor__;
static char __pyx_k___neg__[] = "__neg__";
static PyObject *__pyx_kp___neg__;
static char __pyx_k___pos__[] = "__pos__";
static PyObject *__pyx_kp___pos__;
static char __pyx_k___abs__[] = "__abs__";
static PyObject *__pyx_kp___abs__;
static char __pyx_k___nonzero__[] = "__nonzero__";
static PyObject *__pyx_kp___nonzero__;
static char __pyx_k___invert__[] = "__invert__";
static PyObject *__pyx_kp___invert__;
static char __pyx_k___cmp__[] = "__cmp__";
static PyObject *__pyx_kp___cmp__;
static char __pyx_k___richcmp__[] = "__richcmp__";
static PyObject *__pyx_kp___richcmp__;
static char __pyx_k___str__[] = "__str__";
static PyObject *__pyx_kp___str__;
static char __pyx_k___repr__[] = "__repr__";
static PyObject *__pyx_kp___repr__;
static char __pyx_k___hash__[] = "__hash__";
static PyObject *__pyx_kp___hash__;
static char __pyx_k___call__[] = "__call__";
static PyObject *__pyx_kp___call__;
static char __pyx_k___iter__[] = "__iter__";
static PyObject *__pyx_kp___iter__;
static char __pyx_k___getattr__[] = "__getattr__";
static PyObject *__pyx_kp___getattr__;
static char __pyx_k___setattr__[] = "__setattr__";
static PyObject *__pyx_kp___setattr__;
static char __pyx_k___delattr__[] = "__delattr__";
static PyObject *__pyx_kp___delattr__;
static char __pyx_k___int__[] = "__int__";
static PyObject *__pyx_kp___int__;
static char __pyx_k___long__[] = "__long__";
static PyObject *__pyx_kp___long__;
static char __pyx_k___float__[] = "__float__";
static PyObject *__pyx_kp___float__;
static char __pyx_k___oct__[] = "__oct__";
static PyObject *__pyx_kp___oct__;
static char __pyx_k___hex__[] = "__hex__";
static PyObject *__pyx_kp___hex__;
static char __pyx_k___index__[] = "__index__";
static PyObject *__pyx_kp___index__;
static char __pyx_k___len__[] = "__len__";
static PyObject *__pyx_kp___len__;
static char __pyx_k___getitem__[] = "__getitem__";
static PyObject *__pyx_kp___getitem__;
static char __pyx_k___setitem__[] = "__setitem__";
static PyObject *__pyx_kp___setitem__;
static char __pyx_k___delitem__[] = "__delitem__";
static PyObject *__pyx_kp___delitem__;
static char __pyx_k___contains__[] = "__contains__";
static PyObject *__pyx_kp___contains__;
static char __pyx_k___next__[] = "__next__";
static PyObject *__pyx_kp___next__;
static char __pyx_k_o[] = "o";
static PyObject *__pyx_kp_o;
static char __pyx_k_func[] = "func";
static PyObject *__pyx_kp_func;
static char __pyx_k_args[] = "args";
static PyObject *__pyx_kp_args;
static char __pyx_k_kw[] = "kw";
static PyObject *__pyx_kp_kw;
static char __pyx_k_x[] = "x";
static PyObject *__pyx_kp_x;
static char __pyx_k_y[] = "y";
static PyObject *__pyx_kp_y;
static char __pyx_k_op[] = "op";
static PyObject *__pyx_kp_op;
static char __pyx_k_name[] = "name";
static PyObject *__pyx_kp_name;
static char __pyx_k_val[] = "val";
static PyObject *__pyx_kp_val;
static char __pyx_k_threading[] = "threading";
static PyObject *__pyx_kp_threading;
static char __pyx_k_cmp[] = "cmp";
static PyObject *__pyx_kp_cmp;
static char __pyx_k_oct[] = "oct";
static PyObject *__pyx_kp_oct;
static char __pyx_k_hex[] = "hex";
static PyObject *__pyx_kp_hex;
static char __pyx_k_next[] = "next";
static PyObject *__pyx_kp_next;
static char __pyx_k_recur[] = "recur";
static PyObject *__pyx_kp_recur;
static PyObject *__pyx_builtin_cmp;
static PyObject *__pyx_builtin_oct;
static PyObject *__pyx_builtin_hex;

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":3
 * import threading
 * 
 * cpdef force(o):             # <<<<<<<<<<<<<<
 *     if isinstance(o,tailfish):
 *         return (<tailfish>o).__force__()
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_force(PyObject *__pyx_self, PyObject *__pyx_v_o); /*proto*/
static  PyObject *__pyx_f_8tailspin_10fastlazy_h_force(PyObject *__pyx_v_o, int __pyx_skip_dispatch) {
  PyObject *__pyx_r;
  int __pyx_1;
  PyObject *__pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":4
 * 
 * cpdef force(o):
 *     if isinstance(o,tailfish):             # <<<<<<<<<<<<<<
 *         return (<tailfish>o).__force__()
 *     else:
 */
  __pyx_1 = PyObject_TypeCheck(__pyx_v_o, ((PyTypeObject *)((PyObject*)__pyx_ptype_8tailspin_10fastlazy_h_tailfish))); 
  if (__pyx_1) {

    /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":5
 * cpdef force(o):
 *     if isinstance(o,tailfish):
 *         return (<tailfish>o).__force__()             # <<<<<<<<<<<<<<
 *     else:
 *         return o
 */
    __pyx_2 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_o)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_o)); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 5; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_r = __pyx_2;
    __pyx_2 = 0;
    goto __pyx_L0;
    goto __pyx_L3;
  }
  /*else*/ {

    /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":7
 *         return (<tailfish>o).__force__()
 *     else:
 *         return o             # <<<<<<<<<<<<<<
 * 
 * cdef class tailfish:
 */
    Py_INCREF(__pyx_v_o);
    __pyx_r = __pyx_v_o;
    goto __pyx_L0;
  }
  __pyx_L3:;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.force");
  __pyx_r = 0;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":3
 * import threading
 * 
 * cpdef force(o):             # <<<<<<<<<<<<<<
 *     if isinstance(o,tailfish):
 *         return (<tailfish>o).__force__()
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_force(PyObject *__pyx_self, PyObject *__pyx_v_o); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_force(PyObject *__pyx_self, PyObject *__pyx_v_o) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  __pyx_self = __pyx_self;
  __pyx_1 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_o, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 3; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_1;
  __pyx_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  __Pyx_AddTraceback("tailspin.fastlazy_h.force");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":13
 *     cdef object args
 *     cdef object kw
 *     def __cinit__(tailfish self,func,args,kw):             # <<<<<<<<<<<<<<
 *         self.func = func
 *         self.args = args
 */

static int __pyx_pf_8tailspin_10fastlazy_h_8tailfish___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pf_8tailspin_10fastlazy_h_8tailfish___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kw = 0;
  int __pyx_r;
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_func,&__pyx_kp_args,&__pyx_kp_kw,0};
  if (unlikely(__pyx_kwds)) {
    PyObject* values[3] = {0,0,0};
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
    switch (PyTuple_GET_SIZE(__pyx_args)) {
      case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      case  0: break;
      default: goto __pyx_L5_argtuple_error;
    }
    switch (PyTuple_GET_SIZE(__pyx_args)) {
      case  0:
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_func);
      if (likely(values[0])) kw_args--;
      else goto __pyx_L5_argtuple_error;
      case  1:
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_kp_args);
      if (likely(values[1])) kw_args--;
      else {
        __Pyx_RaiseArgtupleInvalid("__cinit__", 1, 3, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 13; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
      case  2:
      values[2] = PyDict_GetItem(__pyx_kwds, __pyx_kp_kw);
      if (likely(values[2])) kw_args--;
      else {
        __Pyx_RaiseArgtupleInvalid("__cinit__", 1, 3, 3, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 13; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    }
    if (unlikely(kw_args > 0)) {
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "__cinit__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 13; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
    }
    __pyx_v_func = values[0];
    __pyx_v_args = values[1];
    __pyx_v_kw = values[2];
  } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
    goto __pyx_L5_argtuple_error;
  } else {
    __pyx_v_func = PyTuple_GET_ITEM(__pyx_args, 0);
    __pyx_v_args = PyTuple_GET_ITEM(__pyx_args, 1);
    __pyx_v_kw = PyTuple_GET_ITEM(__pyx_args, 2);
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__cinit__", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 13; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__cinit__");
  return -1;
  __pyx_L4_argument_unpacking_done:;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":14
 *     cdef object kw
 *     def __cinit__(tailfish self,func,args,kw):
 *         self.func = func             # <<<<<<<<<<<<<<
 *         self.args = args
 *         self.kw = kw
 */
  Py_INCREF(__pyx_v_func);
  Py_DECREF(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->func);
  ((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->func = __pyx_v_func;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":15
 *     def __cinit__(tailfish self,func,args,kw):
 *         self.func = func
 *         self.args = args             # <<<<<<<<<<<<<<
 *         self.kw = kw
 *     cdef __force__(tailfish self):
 */
  Py_INCREF(__pyx_v_args);
  Py_DECREF(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->args);
  ((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->args = __pyx_v_args;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":16
 *         self.func = func
 *         self.args = args
 *         self.kw = kw             # <<<<<<<<<<<<<<
 *     cdef __force__(tailfish self):
 *         return self.func(*self.args,**self.kw)
 */
  Py_INCREF(__pyx_v_kw);
  Py_DECREF(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->kw);
  ((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->kw = __pyx_v_kw;

  __pyx_r = 0;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":17
 *         self.args = args
 *         self.kw = kw
 *     cdef __force__(tailfish self):             # <<<<<<<<<<<<<<
 *         return self.func(*self.args,**self.kw)
 * 
 */

static  PyObject *__pyx_f_8tailspin_10fastlazy_h_8tailfish___force__(struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *__pyx_v_self) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":18
 *         self.kw = kw
 *     cdef __force__(tailfish self):
 *         return self.func(*self.args,**self.kw)             # <<<<<<<<<<<<<<
 * 
 *     # Methods for autoforcing
 */
  __pyx_1 = PySequence_Tuple(__pyx_v_self->args); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 18; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyEval_CallObjectWithKeywords(__pyx_v_self->func, __pyx_1, __pyx_v_self->kw); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 18; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  __pyx_r = __pyx_2;
  __pyx_2 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__force__");
  __pyx_r = 0;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":23
 *     # see http://docs.cython.org/docs/special_methods.html
 *     # Some of these were skipped due to laziness; add them if you need them
 *     def __add__(x,y):             # <<<<<<<<<<<<<<
 *         return force(x) + force(y)
 *     def __sub__(x,y):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___add__(PyObject *__pyx_v_x, PyObject *__pyx_v_y); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___add__(PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;
  PyObject *__pyx_t_1 = NULL;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":24
 *     # Some of these were skipped due to laziness; add them if you need them
 *     def __add__(x,y):
 *         return force(x) + force(y)             # <<<<<<<<<<<<<<
 *     def __sub__(x,y):
 *         return force(x) - force(y)
 */
  __pyx_1 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_1 = PyNumber_Add(__pyx_1, __pyx_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  Py_DECREF(__pyx_2); __pyx_2 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__add__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":25
 *     def __add__(x,y):
 *         return force(x) + force(y)
 *     def __sub__(x,y):             # <<<<<<<<<<<<<<
 *         return force(x) - force(y)
 *     def __mul__(x,y):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___sub__(PyObject *__pyx_v_x, PyObject *__pyx_v_y); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___sub__(PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;
  PyObject *__pyx_t_1 = NULL;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":26
 *         return force(x) + force(y)
 *     def __sub__(x,y):
 *         return force(x) - force(y)             # <<<<<<<<<<<<<<
 *     def __mul__(x,y):
 *         return force(x) * force(y)
 */
  __pyx_1 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_1 = PyNumber_Subtract(__pyx_1, __pyx_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  Py_DECREF(__pyx_2); __pyx_2 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__sub__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":27
 *     def __sub__(x,y):
 *         return force(x) - force(y)
 *     def __mul__(x,y):             # <<<<<<<<<<<<<<
 *         return force(x) * force(y)
 *     def __div__(x,y):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___mul__(PyObject *__pyx_v_x, PyObject *__pyx_v_y); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___mul__(PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;
  PyObject *__pyx_t_1 = NULL;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":28
 *         return force(x) - force(y)
 *     def __mul__(x,y):
 *         return force(x) * force(y)             # <<<<<<<<<<<<<<
 *     def __div__(x,y):
 *         return force(x) / force(y)
 */
  __pyx_1 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_1 = PyNumber_Multiply(__pyx_1, __pyx_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  Py_DECREF(__pyx_2); __pyx_2 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__mul__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":29
 *     def __mul__(x,y):
 *         return force(x) * force(y)
 *     def __div__(x,y):             # <<<<<<<<<<<<<<
 *         return force(x) / force(y)
 *     def __floordiv__(x,y):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___div__(PyObject *__pyx_v_x, PyObject *__pyx_v_y); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___div__(PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;
  PyObject *__pyx_t_1 = NULL;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":30
 *         return force(x) * force(y)
 *     def __div__(x,y):
 *         return force(x) / force(y)             # <<<<<<<<<<<<<<
 *     def __floordiv__(x,y):
 *         return force(x) // force(y)
 */
  __pyx_1 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_1 = __Pyx_PyNumber_Divide(__pyx_1, __pyx_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 30; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  Py_DECREF(__pyx_2); __pyx_2 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__div__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":31
 *     def __div__(x,y):
 *         return force(x) / force(y)
 *     def __floordiv__(x,y):             # <<<<<<<<<<<<<<
 *         return force(x) // force(y)
 *     def __truediv__(x,y):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___floordiv__(PyObject *__pyx_v_x, PyObject *__pyx_v_y); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___floordiv__(PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;
  PyObject *__pyx_t_1 = NULL;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":32
 *         return force(x) / force(y)
 *     def __floordiv__(x,y):
 *         return force(x) // force(y)             # <<<<<<<<<<<<<<
 *     def __truediv__(x,y):
 *         return force(x) / force(y)
 */
  __pyx_1 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_1 = PyNumber_FloorDivide(__pyx_1, __pyx_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  Py_DECREF(__pyx_2); __pyx_2 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__floordiv__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":33
 *     def __floordiv__(x,y):
 *         return force(x) // force(y)
 *     def __truediv__(x,y):             # <<<<<<<<<<<<<<
 *         return force(x) / force(y)
 *     def __mod__(x,y):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___truediv__(PyObject *__pyx_v_x, PyObject *__pyx_v_y); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___truediv__(PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;
  PyObject *__pyx_t_1 = NULL;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":34
 *         return force(x) // force(y)
 *     def __truediv__(x,y):
 *         return force(x) / force(y)             # <<<<<<<<<<<<<<
 *     def __mod__(x,y):
 *         return force(x) % force(y)
 */
  __pyx_1 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_1 = __Pyx_PyNumber_Divide(__pyx_1, __pyx_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 34; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  Py_DECREF(__pyx_2); __pyx_2 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__truediv__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":35
 *     def __truediv__(x,y):
 *         return force(x) / force(y)
 *     def __mod__(x,y):             # <<<<<<<<<<<<<<
 *         return force(x) % force(y)
 *     def __lshift__(x,y):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___mod__(PyObject *__pyx_v_x, PyObject *__pyx_v_y); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___mod__(PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;
  PyObject *__pyx_t_1 = NULL;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":36
 *         return force(x) / force(y)
 *     def __mod__(x,y):
 *         return force(x) % force(y)             # <<<<<<<<<<<<<<
 *     def __lshift__(x,y):
 *         return force(x) << force(y)
 */
  __pyx_1 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_1 = PyNumber_Remainder(__pyx_1, __pyx_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 36; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  Py_DECREF(__pyx_2); __pyx_2 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__mod__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":37
 *     def __mod__(x,y):
 *         return force(x) % force(y)
 *     def __lshift__(x,y):             # <<<<<<<<<<<<<<
 *         return force(x) << force(y)
 *     def __rshift__(x,y):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___lshift__(PyObject *__pyx_v_x, PyObject *__pyx_v_y); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___lshift__(PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;
  PyObject *__pyx_t_1 = NULL;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":38
 *         return force(x) % force(y)
 *     def __lshift__(x,y):
 *         return force(x) << force(y)             # <<<<<<<<<<<<<<
 *     def __rshift__(x,y):
 *         return force(x) >> force(y)
 */
  __pyx_1 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_1 = PyNumber_Lshift(__pyx_1, __pyx_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  Py_DECREF(__pyx_2); __pyx_2 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__lshift__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":39
 *     def __lshift__(x,y):
 *         return force(x) << force(y)
 *     def __rshift__(x,y):             # <<<<<<<<<<<<<<
 *         return force(x) >> force(y)
 *     def __and__(x,y):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___rshift__(PyObject *__pyx_v_x, PyObject *__pyx_v_y); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___rshift__(PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;
  PyObject *__pyx_t_1 = NULL;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":40
 *         return force(x) << force(y)
 *     def __rshift__(x,y):
 *         return force(x) >> force(y)             # <<<<<<<<<<<<<<
 *     def __and__(x,y):
 *         return force(x) & force(y)
 */
  __pyx_1 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_1 = PyNumber_Rshift(__pyx_1, __pyx_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 40; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  Py_DECREF(__pyx_2); __pyx_2 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__rshift__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":41
 *     def __rshift__(x,y):
 *         return force(x) >> force(y)
 *     def __and__(x,y):             # <<<<<<<<<<<<<<
 *         return force(x) & force(y)
 *     def __or__(x,y):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___and__(PyObject *__pyx_v_x, PyObject *__pyx_v_y); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___and__(PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;
  PyObject *__pyx_t_1 = NULL;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":42
 *         return force(x) >> force(y)
 *     def __and__(x,y):
 *         return force(x) & force(y)             # <<<<<<<<<<<<<<
 *     def __or__(x,y):
 *         return force(x) | force(y)
 */
  __pyx_1 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 42; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 42; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_1 = PyNumber_And(__pyx_1, __pyx_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 42; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  Py_DECREF(__pyx_2); __pyx_2 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__and__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":43
 *     def __and__(x,y):
 *         return force(x) & force(y)
 *     def __or__(x,y):             # <<<<<<<<<<<<<<
 *         return force(x) | force(y)
 *     def __xor__(x,y):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___or__(PyObject *__pyx_v_x, PyObject *__pyx_v_y); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___or__(PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;
  PyObject *__pyx_t_1 = NULL;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":44
 *         return force(x) & force(y)
 *     def __or__(x,y):
 *         return force(x) | force(y)             # <<<<<<<<<<<<<<
 *     def __xor__(x,y):
 *         return force(x) ^ force(y)
 */
  __pyx_1 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_1 = PyNumber_Or(__pyx_1, __pyx_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 44; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  Py_DECREF(__pyx_2); __pyx_2 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__or__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":45
 *     def __or__(x,y):
 *         return force(x) | force(y)
 *     def __xor__(x,y):             # <<<<<<<<<<<<<<
 *         return force(x) ^ force(y)
 * 
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___xor__(PyObject *__pyx_v_x, PyObject *__pyx_v_y); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___xor__(PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;
  PyObject *__pyx_t_1 = NULL;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":46
 *         return force(x) | force(y)
 *     def __xor__(x,y):
 *         return force(x) ^ force(y)             # <<<<<<<<<<<<<<
 * 
 *     def __neg__(tailfish self):
 */
  __pyx_1 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_1 = PyNumber_Xor(__pyx_1, __pyx_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  Py_DECREF(__pyx_2); __pyx_2 = 0;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__xor__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":48
 *         return force(x) ^ force(y)
 * 
 *     def __neg__(tailfish self):             # <<<<<<<<<<<<<<
 *         return -self.__force__()
 *     def __pos__(tailfish self):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___neg__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___neg__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":49
 * 
 *     def __neg__(tailfish self):
 *         return -self.__force__()             # <<<<<<<<<<<<<<
 *     def __pos__(tailfish self):
 *         return +self.__force__()
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyNumber_Negative(__pyx_1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  __pyx_r = __pyx_2;
  __pyx_2 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__neg__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":50
 *     def __neg__(tailfish self):
 *         return -self.__force__()
 *     def __pos__(tailfish self):             # <<<<<<<<<<<<<<
 *         return +self.__force__()
 *     def __abs__(tailfish self):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___pos__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___pos__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":51
 *         return -self.__force__()
 *     def __pos__(tailfish self):
 *         return +self.__force__()             # <<<<<<<<<<<<<<
 *     def __abs__(tailfish self):
 *         return abs(self.__force__())
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyNumber_Positive(__pyx_1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 51; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  __pyx_r = __pyx_2;
  __pyx_2 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__pos__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":52
 *     def __pos__(tailfish self):
 *         return +self.__force__()
 *     def __abs__(tailfish self):             # <<<<<<<<<<<<<<
 *         return abs(self.__force__())
 *     def __nonzero__(tailfish self):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___abs__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___abs__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":53
 *         return +self.__force__()
 *     def __abs__(tailfish self):
 *         return abs(self.__force__())             # <<<<<<<<<<<<<<
 *     def __nonzero__(tailfish self):
 *         return bool(self.__force__())
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyNumber_Absolute(__pyx_1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 53; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  __pyx_r = __pyx_2;
  __pyx_2 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__abs__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":54
 *     def __abs__(tailfish self):
 *         return abs(self.__force__())
 *     def __nonzero__(tailfish self):             # <<<<<<<<<<<<<<
 *         return bool(self.__force__())
 *     def __invert__(tailfish self):
 */

static int __pyx_pf_8tailspin_10fastlazy_h_8tailfish___nonzero__(PyObject *__pyx_v_self); /*proto*/
static int __pyx_pf_8tailspin_10fastlazy_h_8tailfish___nonzero__(PyObject *__pyx_v_self) {
  int __pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;
  int __pyx_3;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":55
 *         return abs(self.__force__())
 *     def __nonzero__(tailfish self):
 *         return bool(self.__force__())             # <<<<<<<<<<<<<<
 *     def __invert__(tailfish self):
 *         return ~self.__force__()
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
  __pyx_1 = 0;
  __pyx_1 = PyObject_Call(((PyObject *)((PyObject*)&PyBool_Type)), ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
  __pyx_3 = __pyx_PyInt_int(__pyx_1); if (unlikely((__pyx_3 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 55; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  __pyx_r = __pyx_3;
  goto __pyx_L0;

  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__nonzero__");
  __pyx_r = -1;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":56
 *     def __nonzero__(tailfish self):
 *         return bool(self.__force__())
 *     def __invert__(tailfish self):             # <<<<<<<<<<<<<<
 *         return ~self.__force__()
 * 
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___invert__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___invert__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":57
 *         return bool(self.__force__())
 *     def __invert__(tailfish self):
 *         return ~self.__force__()             # <<<<<<<<<<<<<<
 * 
 *     def __cmp__(x,y):
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyNumber_Invert(__pyx_1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  __pyx_r = __pyx_2;
  __pyx_2 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__invert__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":59
 *         return ~self.__force__()
 * 
 *     def __cmp__(x,y):             # <<<<<<<<<<<<<<
 *         return cmp(force(x),force(y))
 *     def __richcmp__(x,y,int op):
 */

static int __pyx_pf_8tailspin_10fastlazy_h_8tailfish___cmp__(PyObject *__pyx_v_x, PyObject *__pyx_v_y); /*proto*/
static int __pyx_pf_8tailspin_10fastlazy_h_8tailfish___cmp__(PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
  int __pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;
  PyObject *__pyx_3 = 0;
  int __pyx_4;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":60
 * 
 *     def __cmp__(x,y):
 *         return cmp(force(x),force(y))             # <<<<<<<<<<<<<<
 *     def __richcmp__(x,y,int op):
 *         if op == 0:
 */
  __pyx_1 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_3 = PyTuple_New(2); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  PyTuple_SET_ITEM(__pyx_3, 0, __pyx_1);
  PyTuple_SET_ITEM(__pyx_3, 1, __pyx_2);
  __pyx_1 = 0;
  __pyx_2 = 0;
  __pyx_1 = PyObject_Call(__pyx_builtin_cmp, ((PyObject *)__pyx_3), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(((PyObject *)__pyx_3)); __pyx_3 = 0;
  __pyx_4 = __pyx_PyInt_int(__pyx_1); if (unlikely((__pyx_4 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  __pyx_r = __pyx_4;
  goto __pyx_L0;

  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  Py_XDECREF(__pyx_3);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__cmp__");
  __pyx_r = -1;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":61
 *     def __cmp__(x,y):
 *         return cmp(force(x),force(y))
 *     def __richcmp__(x,y,int op):             # <<<<<<<<<<<<<<
 *         if op == 0:
 *             return force(x) < force(y)
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___richcmp__(PyObject *__pyx_v_x, PyObject *__pyx_v_y, int __pyx_v_op); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___richcmp__(PyObject *__pyx_v_x, PyObject *__pyx_v_y, int __pyx_v_op) {
  PyObject *__pyx_r;
  int __pyx_1;
  PyObject *__pyx_2 = 0;
  PyObject *__pyx_3 = 0;
  PyObject *__pyx_4 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":62
 *         return cmp(force(x),force(y))
 *     def __richcmp__(x,y,int op):
 *         if op == 0:             # <<<<<<<<<<<<<<
 *             return force(x) < force(y)
 *         elif op == 1:
 */
  switch (__pyx_v_op) {
    case 0:

    /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":63
 *     def __richcmp__(x,y,int op):
 *         if op == 0:
 *             return force(x) < force(y)             # <<<<<<<<<<<<<<
 *         elif op == 1:
 *             return force(x) <= force(y)
 */
    __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_3 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_4 = PyObject_RichCompare(__pyx_2, __pyx_3, Py_LT); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    Py_DECREF(__pyx_2); __pyx_2 = 0;
    Py_DECREF(__pyx_3); __pyx_3 = 0;
    __pyx_r = __pyx_4;
    __pyx_4 = 0;
    goto __pyx_L0;
    break;
    case 1:

    /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":65
 *             return force(x) < force(y)
 *         elif op == 1:
 *             return force(x) <= force(y)             # <<<<<<<<<<<<<<
 *         elif op == 2:
 *             return force(x) == force(y)
 */
    __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_3 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_4 = PyObject_RichCompare(__pyx_2, __pyx_3, Py_LE); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    Py_DECREF(__pyx_2); __pyx_2 = 0;
    Py_DECREF(__pyx_3); __pyx_3 = 0;
    __pyx_r = __pyx_4;
    __pyx_4 = 0;
    goto __pyx_L0;
    break;
    case 2:

    /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":67
 *             return force(x) <= force(y)
 *         elif op == 2:
 *             return force(x) == force(y)             # <<<<<<<<<<<<<<
 *         elif op == 3:
 *             return force(x) != force(y)
 */
    __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_3 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_4 = PyObject_RichCompare(__pyx_2, __pyx_3, Py_EQ); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 67; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    Py_DECREF(__pyx_2); __pyx_2 = 0;
    Py_DECREF(__pyx_3); __pyx_3 = 0;
    __pyx_r = __pyx_4;
    __pyx_4 = 0;
    goto __pyx_L0;
    break;
    case 3:

    /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":69
 *             return force(x) == force(y)
 *         elif op == 3:
 *             return force(x) != force(y)             # <<<<<<<<<<<<<<
 *         elif op == 4:
 *             return force(x) > force(y)
 */
    __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_3 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_4 = PyObject_RichCompare(__pyx_2, __pyx_3, Py_NE); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 69; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    Py_DECREF(__pyx_2); __pyx_2 = 0;
    Py_DECREF(__pyx_3); __pyx_3 = 0;
    __pyx_r = __pyx_4;
    __pyx_4 = 0;
    goto __pyx_L0;
    break;
    case 4:

    /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":71
 *             return force(x) != force(y)
 *         elif op == 4:
 *             return force(x) > force(y)             # <<<<<<<<<<<<<<
 *         elif op == 5:
 *             return force(x) >= force(y)
 */
    __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_3 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_4 = PyObject_RichCompare(__pyx_2, __pyx_3, Py_GT); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    Py_DECREF(__pyx_2); __pyx_2 = 0;
    Py_DECREF(__pyx_3); __pyx_3 = 0;
    __pyx_r = __pyx_4;
    __pyx_4 = 0;
    goto __pyx_L0;
    break;
    case 5:

    /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":73
 *             return force(x) > force(y)
 *         elif op == 5:
 *             return force(x) >= force(y)             # <<<<<<<<<<<<<<
 *     def __str__(tailfish self):
 *         return str(self.__force__())
 */
    __pyx_2 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_x, 0); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_3 = __pyx_f_8tailspin_10fastlazy_h_force(__pyx_v_y, 0); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_4 = PyObject_RichCompare(__pyx_2, __pyx_3, Py_GE); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 73; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    Py_DECREF(__pyx_2); __pyx_2 = 0;
    Py_DECREF(__pyx_3); __pyx_3 = 0;
    __pyx_r = __pyx_4;
    __pyx_4 = 0;
    goto __pyx_L0;
    break;
  }

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_2);
  Py_XDECREF(__pyx_3);
  Py_XDECREF(__pyx_4);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__richcmp__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":74
 *         elif op == 5:
 *             return force(x) >= force(y)
 *     def __str__(tailfish self):             # <<<<<<<<<<<<<<
 *         return str(self.__force__())
 *     def __repr__(tailfish self):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___str__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___str__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":75
 *             return force(x) >= force(y)
 *     def __str__(tailfish self):
 *         return str(self.__force__())             # <<<<<<<<<<<<<<
 *     def __repr__(tailfish self):
 *         return repr(self.__force__())
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
  __pyx_1 = 0;
  __pyx_1 = PyObject_Call(((PyObject *)((PyObject*)&PyString_Type)), ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 75; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
  __pyx_r = __pyx_1;
  __pyx_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__str__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":76
 *     def __str__(tailfish self):
 *         return str(self.__force__())
 *     def __repr__(tailfish self):             # <<<<<<<<<<<<<<
 *         return repr(self.__force__())
 *     def __hash__(tailfish self):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___repr__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___repr__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":77
 *         return str(self.__force__())
 *     def __repr__(tailfish self):
 *         return repr(self.__force__())             # <<<<<<<<<<<<<<
 *     def __hash__(tailfish self):
 *         return hash(self.__force__())
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyObject_Repr(__pyx_1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  __pyx_r = __pyx_2;
  __pyx_2 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__repr__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":78
 *     def __repr__(tailfish self):
 *         return repr(self.__force__())
 *     def __hash__(tailfish self):             # <<<<<<<<<<<<<<
 *         return hash(self.__force__())
 *     def __call__(tailfish self,*args,**kw):
 */

static long __pyx_pf_8tailspin_10fastlazy_h_8tailfish___hash__(PyObject *__pyx_v_self); /*proto*/
static long __pyx_pf_8tailspin_10fastlazy_h_8tailfish___hash__(PyObject *__pyx_v_self) {
  long __pyx_r;
  PyObject *__pyx_1 = 0;
  long __pyx_2;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":79
 *         return repr(self.__force__())
 *     def __hash__(tailfish self):
 *         return hash(self.__force__())             # <<<<<<<<<<<<<<
 *     def __call__(tailfish self,*args,**kw):
 *         return self.__force__()(*args,**kw)
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyObject_Hash(__pyx_1); if (unlikely(__pyx_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  __pyx_r = __pyx_2;
  goto __pyx_L0;

  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__hash__");
  __pyx_r = -1;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":80
 *     def __hash__(tailfish self):
 *         return hash(self.__force__())
 *     def __call__(tailfish self,*args,**kw):             # <<<<<<<<<<<<<<
 *         return self.__force__()(*args,**kw)
 *     def __iter__(tailfish self):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___call__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___call__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kw = 0;
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;
  PyObject *__pyx_3 = 0;
  if (unlikely(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__call__", 1))) return NULL;
  __pyx_v_kw = (__pyx_kwds) ? PyDict_Copy(__pyx_kwds) : PyDict_New();
  if (unlikely(!__pyx_v_kw)) return NULL;
  Py_INCREF(__pyx_args);
  __pyx_v_args = __pyx_args;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":81
 *         return hash(self.__force__())
 *     def __call__(tailfish self,*args,**kw):
 *         return self.__force__()(*args,**kw)             # <<<<<<<<<<<<<<
 *     def __iter__(tailfish self):
 *         return iter(self.__force__())
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_3 = PyEval_CallObjectWithKeywords(__pyx_1, __pyx_2, __pyx_v_kw); if (unlikely(!__pyx_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  Py_DECREF(__pyx_2); __pyx_2 = 0;
  __pyx_r = __pyx_3;
  __pyx_3 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  Py_XDECREF(__pyx_3);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__call__");
  __pyx_r = NULL;
  __pyx_L0:;
  Py_DECREF(__pyx_v_args);
  Py_DECREF(__pyx_v_kw);
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":82
 *     def __call__(tailfish self,*args,**kw):
 *         return self.__force__()(*args,**kw)
 *     def __iter__(tailfish self):             # <<<<<<<<<<<<<<
 *         return iter(self.__force__())
 * 
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___iter__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___iter__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":83
 *         return self.__force__()(*args,**kw)
 *     def __iter__(tailfish self):
 *         return iter(self.__force__())             # <<<<<<<<<<<<<<
 * 
 *     def __getattr__(tailfish self,name):
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyObject_GetIter(__pyx_1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 83; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  __pyx_r = __pyx_2;
  __pyx_2 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__iter__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":85
 *         return iter(self.__force__())
 * 
 *     def __getattr__(tailfish self,name):             # <<<<<<<<<<<<<<
 *         return getattr(self.__force__(),name)
 *     def __setattr__(tailfish self,name,val):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___getattr__(PyObject *__pyx_v_self, PyObject *__pyx_v_name); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___getattr__(PyObject *__pyx_v_self, PyObject *__pyx_v_name) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":86
 * 
 *     def __getattr__(tailfish self,name):
 *         return getattr(self.__force__(),name)             # <<<<<<<<<<<<<<
 *     def __setattr__(tailfish self,name,val):
 *         setattr(self.__force__(),name,val)
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_v_name); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 86; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  __pyx_r = __pyx_2;
  __pyx_2 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__getattr__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":87
 *     def __getattr__(tailfish self,name):
 *         return getattr(self.__force__(),name)
 *     def __setattr__(tailfish self,name,val):             # <<<<<<<<<<<<<<
 *         setattr(self.__force__(),name,val)
 *     def __delattr__(tailfish self,name):
 */

static int __pyx_pf_8tailspin_10fastlazy_h_8tailfish___setattr__(PyObject *__pyx_v_self, PyObject *__pyx_v_name, PyObject *__pyx_v_val); /*proto*/
static int __pyx_pf_8tailspin_10fastlazy_h_8tailfish___setattr__(PyObject *__pyx_v_self, PyObject *__pyx_v_name, PyObject *__pyx_v_val) {
  int __pyx_r;
  PyObject *__pyx_1 = 0;
  int __pyx_2;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":88
 *         return getattr(self.__force__(),name)
 *     def __setattr__(tailfish self,name,val):
 *         setattr(self.__force__(),name,val)             # <<<<<<<<<<<<<<
 *     def __delattr__(tailfish self,name):
 *         delattr(self.__force__(),name)
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyObject_SetAttr(__pyx_1, __pyx_v_name, __pyx_v_val); if (unlikely(__pyx_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;

  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__setattr__");
  __pyx_r = -1;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":89
 *     def __setattr__(tailfish self,name,val):
 *         setattr(self.__force__(),name,val)
 *     def __delattr__(tailfish self,name):             # <<<<<<<<<<<<<<
 *         delattr(self.__force__(),name)
 * 
 */

static int __pyx_pf_8tailspin_10fastlazy_h_8tailfish___delattr__(PyObject *__pyx_v_self, PyObject *__pyx_v_name); /*proto*/
static int __pyx_pf_8tailspin_10fastlazy_h_8tailfish___delattr__(PyObject *__pyx_v_self, PyObject *__pyx_v_name) {
  int __pyx_r;
  PyObject *__pyx_1 = 0;
  int __pyx_2;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":90
 *         setattr(self.__force__(),name,val)
 *     def __delattr__(tailfish self,name):
 *         delattr(self.__force__(),name)             # <<<<<<<<<<<<<<
 * 
 *     def __int__(tailfish self):
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyObject_DelAttr(__pyx_1, __pyx_v_name); if (unlikely(__pyx_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;

  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__delattr__");
  __pyx_r = -1;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":92
 *         delattr(self.__force__(),name)
 * 
 *     def __int__(tailfish self):             # <<<<<<<<<<<<<<
 *         return int(self.__force__())
 *     def __long__(tailfish self):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___int__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___int__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":93
 * 
 *     def __int__(tailfish self):
 *         return int(self.__force__())             # <<<<<<<<<<<<<<
 *     def __long__(tailfish self):
 *         return long(self.__force__())
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
  __pyx_1 = 0;
  __pyx_1 = PyObject_Call(((PyObject *)((PyObject*)&PyInt_Type)), ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
  __pyx_r = __pyx_1;
  __pyx_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__int__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":94
 *     def __int__(tailfish self):
 *         return int(self.__force__())
 *     def __long__(tailfish self):             # <<<<<<<<<<<<<<
 *         return long(self.__force__())
 *     def __float__(tailfish self):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___long__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___long__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":95
 *         return int(self.__force__())
 *     def __long__(tailfish self):
 *         return long(self.__force__())             # <<<<<<<<<<<<<<
 *     def __float__(tailfish self):
 *         return float(self.__force__())
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
  __pyx_1 = 0;
  __pyx_1 = PyObject_Call(((PyObject *)((PyObject*)&PyLong_Type)), ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 95; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
  __pyx_r = __pyx_1;
  __pyx_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__long__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":96
 *     def __long__(tailfish self):
 *         return long(self.__force__())
 *     def __float__(tailfish self):             # <<<<<<<<<<<<<<
 *         return float(self.__force__())
 *     def __oct__(tailfish self):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___float__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___float__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":97
 *         return long(self.__force__())
 *     def __float__(tailfish self):
 *         return float(self.__force__())             # <<<<<<<<<<<<<<
 *     def __oct__(tailfish self):
 *         return oct(self.__force__())
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
  __pyx_1 = 0;
  __pyx_1 = PyObject_Call(((PyObject *)((PyObject*)&PyFloat_Type)), ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
  __pyx_r = __pyx_1;
  __pyx_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__float__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":98
 *     def __float__(tailfish self):
 *         return float(self.__force__())
 *     def __oct__(tailfish self):             # <<<<<<<<<<<<<<
 *         return oct(self.__force__())
 *     def __hex__(tailfish self):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___oct__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___oct__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":99
 *         return float(self.__force__())
 *     def __oct__(tailfish self):
 *         return oct(self.__force__())             # <<<<<<<<<<<<<<
 *     def __hex__(tailfish self):
 *         return hex(self.__force__())
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
  __pyx_1 = 0;
  __pyx_1 = PyObject_Call(__pyx_builtin_oct, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
  __pyx_r = __pyx_1;
  __pyx_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__oct__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":100
 *     def __oct__(tailfish self):
 *         return oct(self.__force__())
 *     def __hex__(tailfish self):             # <<<<<<<<<<<<<<
 *         return hex(self.__force__())
 *     def __index__(tailfish self):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___hex__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___hex__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":101
 *         return oct(self.__force__())
 *     def __hex__(tailfish self):
 *         return hex(self.__force__())             # <<<<<<<<<<<<<<
 *     def __index__(tailfish self):
 *         return self.__force__().__index__()
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyTuple_New(1); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1);
  __pyx_1 = 0;
  __pyx_1 = PyObject_Call(__pyx_builtin_hex, ((PyObject *)__pyx_2), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(((PyObject *)__pyx_2)); __pyx_2 = 0;
  __pyx_r = __pyx_1;
  __pyx_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__hex__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":102
 *     def __hex__(tailfish self):
 *         return hex(self.__force__())
 *     def __index__(tailfish self):             # <<<<<<<<<<<<<<
 *         return self.__force__().__index__()
 * 
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___index__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___index__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":103
 *         return hex(self.__force__())
 *     def __index__(tailfish self):
 *         return self.__force__().__index__()             # <<<<<<<<<<<<<<
 * 
 *     # Skipped in-place operators
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp___index__); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  __pyx_1 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 103; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_2); __pyx_2 = 0;
  __pyx_r = __pyx_1;
  __pyx_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__index__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":107
 *     # Skipped in-place operators
 * 
 *     def __len__(tailfish self):             # <<<<<<<<<<<<<<
 *         return len(self.__force__())
 *     def __getitem__(tailfish self,x):
 */

static Py_ssize_t __pyx_pf_8tailspin_10fastlazy_h_8tailfish___len__(PyObject *__pyx_v_self); /*proto*/
static Py_ssize_t __pyx_pf_8tailspin_10fastlazy_h_8tailfish___len__(PyObject *__pyx_v_self) {
  Py_ssize_t __pyx_r;
  PyObject *__pyx_1 = 0;
  Py_ssize_t __pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":108
 * 
 *     def __len__(tailfish self):
 *         return len(self.__force__())             # <<<<<<<<<<<<<<
 *     def __getitem__(tailfish self,x):
 *         return self.__force__()[x]
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyObject_Length(__pyx_1); if (unlikely(__pyx_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  __pyx_r = __pyx_2;
  goto __pyx_L0;

  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__len__");
  __pyx_r = -1;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":109
 *     def __len__(tailfish self):
 *         return len(self.__force__())
 *     def __getitem__(tailfish self,x):             # <<<<<<<<<<<<<<
 *         return self.__force__()[x]
 *     def __setitem__(tailfish self,x,y):
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_x); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_x) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":110
 *         return len(self.__force__())
 *     def __getitem__(tailfish self,x):
 *         return self.__force__()[x]             # <<<<<<<<<<<<<<
 *     def __setitem__(tailfish self,x,y):
 *         self.__force__()[x] = y
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyObject_GetItem(__pyx_1, __pyx_v_x); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  __pyx_r = __pyx_2;
  __pyx_2 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__getitem__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":111
 *     def __getitem__(tailfish self,x):
 *         return self.__force__()[x]
 *     def __setitem__(tailfish self,x,y):             # <<<<<<<<<<<<<<
 *         self.__force__()[x] = y
 *     def __delitem__(tailfish self,x):
 */

static int __pyx_pf_8tailspin_10fastlazy_h_8tailfish___setitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y); /*proto*/
static int __pyx_pf_8tailspin_10fastlazy_h_8tailfish___setitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_x, PyObject *__pyx_v_y) {
  int __pyx_r;
  PyObject *__pyx_1 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":112
 *         return self.__force__()[x]
 *     def __setitem__(tailfish self,x,y):
 *         self.__force__()[x] = y             # <<<<<<<<<<<<<<
 *     def __delitem__(tailfish self,x):
 *         del self.__force__()[x]
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (PyObject_SetItem(__pyx_1, __pyx_v_x, __pyx_v_y) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 112; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;

  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__setitem__");
  __pyx_r = -1;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":113
 *     def __setitem__(tailfish self,x,y):
 *         self.__force__()[x] = y
 *     def __delitem__(tailfish self,x):             # <<<<<<<<<<<<<<
 *         del self.__force__()[x]
 *     def __contains__(tailfish self,x):
 */

static int __pyx_pf_8tailspin_10fastlazy_h_8tailfish___delitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_x); /*proto*/
static int __pyx_pf_8tailspin_10fastlazy_h_8tailfish___delitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_x) {
  int __pyx_r;
  PyObject *__pyx_1 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":114
 *         self.__force__()[x] = y
 *     def __delitem__(tailfish self,x):
 *         del self.__force__()[x]             # <<<<<<<<<<<<<<
 *     def __contains__(tailfish self,x):
 *         return x in self.__force__()
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (PyObject_DelItem(__pyx_1, __pyx_v_x) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;

  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__delitem__");
  __pyx_r = -1;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":115
 *     def __delitem__(tailfish self,x):
 *         del self.__force__()[x]
 *     def __contains__(tailfish self,x):             # <<<<<<<<<<<<<<
 *         return x in self.__force__()
 *     # Punting slice operators
 */

static int __pyx_pf_8tailspin_10fastlazy_h_8tailfish___contains__(PyObject *__pyx_v_self, PyObject *__pyx_v_x); /*proto*/
static int __pyx_pf_8tailspin_10fastlazy_h_8tailfish___contains__(PyObject *__pyx_v_self, PyObject *__pyx_v_x) {
  int __pyx_r;
  PyObject *__pyx_1 = 0;
  int __pyx_2;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":116
 *         del self.__force__()[x]
 *     def __contains__(tailfish self,x):
 *         return x in self.__force__()             # <<<<<<<<<<<<<<
 *     # Punting slice operators
 * 
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = (PySequence_Contains(__pyx_1, __pyx_v_x)); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 116; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  __pyx_r = __pyx_2;
  goto __pyx_L0;

  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__contains__");
  __pyx_r = -1;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":119
 *     # Punting slice operators
 * 
 *     def __next__(tailfish self):             # <<<<<<<<<<<<<<
 *         return self.__force__().next()
 * 
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___next__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_8tailfish___next__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  PyObject *__pyx_2 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":120
 * 
 *     def __next__(tailfish self):
 *         return self.__force__().next()             # <<<<<<<<<<<<<<
 * 
 * def helper(func,args,kw):
 */
  __pyx_1 = ((struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish *)((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)->__pyx_vtab)->__force__(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_self)); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_next); if (unlikely(!__pyx_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  __pyx_1 = PyObject_Call(__pyx_2, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 120; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_2); __pyx_2 = 0;
  __pyx_r = __pyx_1;
  __pyx_1 = 0;
  goto __pyx_L0;

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_2);
  __Pyx_AddTraceback("tailspin.fastlazy_h.tailfish.__next__");
  __pyx_r = NULL;
  __pyx_L0:;
  return __pyx_r;
}

/* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":122
 *         return self.__force__().next()
 * 
 * def helper(func,args,kw):             # <<<<<<<<<<<<<<
 *     if not func.recur:
 *         func.recur = True
 */

static PyObject *__pyx_pf_8tailspin_10fastlazy_h_helper(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyObject *__pyx_pf_8tailspin_10fastlazy_h_helper(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_func = 0;
  PyObject *__pyx_v_args = 0;
  PyObject *__pyx_v_kw = 0;
  PyObject *__pyx_v_f;
  PyObject *__pyx_v_ret;
  PyObject *__pyx_r;
  PyObject *__pyx_1 = 0;
  int __pyx_2;
  int __pyx_3;
  PyObject *__pyx_4 = 0;
  static PyObject **__pyx_pyargnames[] = {&__pyx_kp_func,&__pyx_kp_args,&__pyx_kp_kw,0};
  __pyx_self = __pyx_self;
  if (unlikely(__pyx_kwds)) {
    PyObject* values[3] = {0,0,0};
    Py_ssize_t kw_args = PyDict_Size(__pyx_kwds);
    switch (PyTuple_GET_SIZE(__pyx_args)) {
      case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
      case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      case  0: break;
      default: goto __pyx_L5_argtuple_error;
    }
    switch (PyTuple_GET_SIZE(__pyx_args)) {
      case  0:
      values[0] = PyDict_GetItem(__pyx_kwds, __pyx_kp_func);
      if (likely(values[0])) kw_args--;
      else goto __pyx_L5_argtuple_error;
      case  1:
      values[1] = PyDict_GetItem(__pyx_kwds, __pyx_kp_args);
      if (likely(values[1])) kw_args--;
      else {
        __Pyx_RaiseArgtupleInvalid("helper", 1, 3, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
      case  2:
      values[2] = PyDict_GetItem(__pyx_kwds, __pyx_kp_kw);
      if (likely(values[2])) kw_args--;
      else {
        __Pyx_RaiseArgtupleInvalid("helper", 1, 3, 3, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    }
    if (unlikely(kw_args > 0)) {
      if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "helper") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
    }
    __pyx_v_func = values[0];
    __pyx_v_args = values[1];
    __pyx_v_kw = values[2];
  } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
    goto __pyx_L5_argtuple_error;
  } else {
    __pyx_v_func = PyTuple_GET_ITEM(__pyx_args, 0);
    __pyx_v_args = PyTuple_GET_ITEM(__pyx_args, 1);
    __pyx_v_kw = PyTuple_GET_ITEM(__pyx_args, 2);
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("helper", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 122; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("tailspin.fastlazy_h.helper");
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  Py_INCREF(__pyx_v_args);
  Py_INCREF(__pyx_v_kw);
  __pyx_v_f = Py_None; Py_INCREF(Py_None);
  __pyx_v_ret = Py_None; Py_INCREF(Py_None);

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":123
 * 
 * def helper(func,args,kw):
 *     if not func.recur:             # <<<<<<<<<<<<<<
 *         func.recur = True
 *     else:
 */
  __pyx_1 = PyObject_GetAttr(__pyx_v_func, __pyx_kp_recur); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_2 = __Pyx_PyObject_IsTrue(__pyx_1); if (unlikely(__pyx_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;
  __pyx_3 = (!__pyx_2);
  if (__pyx_3) {

    /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":124
 * def helper(func,args,kw):
 *     if not func.recur:
 *         func.recur = True             # <<<<<<<<<<<<<<
 *     else:
 *         return tailfish(func,args,kw)
 */
    __pyx_1 = __Pyx_PyBool_FromLong(1); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (PyObject_SetAttr(__pyx_v_func, __pyx_kp_recur, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 124; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    Py_DECREF(__pyx_1); __pyx_1 = 0;
    goto __pyx_L6;
  }
  /*else*/ {

    /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":126
 *         func.recur = True
 *     else:
 *         return tailfish(func,args,kw)             # <<<<<<<<<<<<<<
 *     f = func
 *     try:
 */
    __pyx_1 = PyTuple_New(3); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    Py_INCREF(__pyx_v_func);
    PyTuple_SET_ITEM(__pyx_1, 0, __pyx_v_func);
    Py_INCREF(__pyx_v_args);
    PyTuple_SET_ITEM(__pyx_1, 1, __pyx_v_args);
    Py_INCREF(__pyx_v_kw);
    PyTuple_SET_ITEM(__pyx_1, 2, __pyx_v_kw);
    __pyx_4 = PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_8tailspin_10fastlazy_h_tailfish)), ((PyObject *)__pyx_1), NULL); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    Py_DECREF(((PyObject *)__pyx_1)); __pyx_1 = 0;
    __pyx_r = __pyx_4;
    __pyx_4 = 0;
    goto __pyx_L0;
  }
  __pyx_L6:;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":127
 *     else:
 *         return tailfish(func,args,kw)
 *     f = func             # <<<<<<<<<<<<<<
 *     try:
 *         while True:
 */
  Py_INCREF(__pyx_v_func);
  Py_DECREF(__pyx_v_f);
  __pyx_v_f = __pyx_v_func;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":128
 *         return tailfish(func,args,kw)
 *     f = func
 *     try:             # <<<<<<<<<<<<<<
 *         while True:
 *             ret = f(*args,**kw)
 */
  /*try:*/ {

    /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":129
 *     f = func
 *     try:
 *         while True:             # <<<<<<<<<<<<<<
 *             ret = f(*args,**kw)
 *             if isinstance(ret,tailfish):
 */
    while (1) {
      __pyx_2 = 1;
      if (!__pyx_2) break;

      /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":130
 *     try:
 *         while True:
 *             ret = f(*args,**kw)             # <<<<<<<<<<<<<<
 *             if isinstance(ret,tailfish):
 *                 f = (<tailfish>ret).func
 */
      __pyx_1 = PySequence_Tuple(__pyx_v_args); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L8;}
      __pyx_4 = PyEval_CallObjectWithKeywords(__pyx_v_f, __pyx_1, __pyx_v_kw); if (unlikely(!__pyx_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L8;}
      Py_DECREF(__pyx_1); __pyx_1 = 0;
      Py_DECREF(__pyx_v_ret);
      __pyx_v_ret = __pyx_4;
      __pyx_4 = 0;

      /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":131
 *         while True:
 *             ret = f(*args,**kw)
 *             if isinstance(ret,tailfish):             # <<<<<<<<<<<<<<
 *                 f = (<tailfish>ret).func
 *                 args = (<tailfish>ret).args
 */
      __pyx_3 = PyObject_TypeCheck(__pyx_v_ret, ((PyTypeObject *)((PyObject*)__pyx_ptype_8tailspin_10fastlazy_h_tailfish))); 
      if (__pyx_3) {

        /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":132
 *             ret = f(*args,**kw)
 *             if isinstance(ret,tailfish):
 *                 f = (<tailfish>ret).func             # <<<<<<<<<<<<<<
 *                 args = (<tailfish>ret).args
 *                 kw = (<tailfish>ret).kw
 */
        Py_INCREF(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_ret)->func);
        Py_DECREF(__pyx_v_f);
        __pyx_v_f = ((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_ret)->func;

        /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":133
 *             if isinstance(ret,tailfish):
 *                 f = (<tailfish>ret).func
 *                 args = (<tailfish>ret).args             # <<<<<<<<<<<<<<
 *                 kw = (<tailfish>ret).kw
 *             else:
 */
        Py_INCREF(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_ret)->args);
        Py_DECREF(__pyx_v_args);
        __pyx_v_args = ((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_ret)->args;

        /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":134
 *                 f = (<tailfish>ret).func
 *                 args = (<tailfish>ret).args
 *                 kw = (<tailfish>ret).kw             # <<<<<<<<<<<<<<
 *             else:
 *                 return ret
 */
        Py_INCREF(((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_ret)->kw);
        Py_DECREF(__pyx_v_kw);
        __pyx_v_kw = ((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)__pyx_v_ret)->kw;
        goto __pyx_L12;
      }
      /*else*/ {

        /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":136
 *                 kw = (<tailfish>ret).kw
 *             else:
 *                 return ret             # <<<<<<<<<<<<<<
 *     finally:
 *         func.recur = False
 */
        Py_INCREF(__pyx_v_ret);
        __pyx_r = __pyx_v_ret;
        goto __pyx_L7;
      }
      __pyx_L12:;
    }
  }
  /*finally:*/ {
    int __pyx_why;
    PyObject *__pyx_exc_type, *__pyx_exc_value, *__pyx_exc_tb;
    int __pyx_exc_lineno;
    __pyx_exc_type = 0; __pyx_exc_value = 0; __pyx_exc_tb = 0; __pyx_exc_lineno = 0;
    __pyx_why = 0; goto __pyx_L9;
    __pyx_L7: __pyx_exc_type = 0; __pyx_exc_value = 0; __pyx_exc_tb = 0; __pyx_exc_lineno = 0;
    __pyx_why = 3; goto __pyx_L9;
    __pyx_L8: {
      __pyx_why = 4;
      Py_XDECREF(__pyx_1); __pyx_1 = 0;
      Py_XDECREF(__pyx_4); __pyx_4 = 0;
      __Pyx_ErrFetch(&__pyx_exc_type, &__pyx_exc_value, &__pyx_exc_tb);
      __pyx_exc_lineno = __pyx_lineno;
      goto __pyx_L9;
    }
    __pyx_L9:;

    /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":138
 *                 return ret
 *     finally:
 *         func.recur = False             # <<<<<<<<<<<<<<
 */
    __pyx_1 = __Pyx_PyBool_FromLong(0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L13_error;}
    if (PyObject_SetAttr(__pyx_v_func, __pyx_kp_recur, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L13_error;}
    Py_DECREF(__pyx_1); __pyx_1 = 0;
    goto __pyx_L14;
    __pyx_L13_error:;
    if (__pyx_why == 4) {
      Py_XDECREF(__pyx_exc_type);
      Py_XDECREF(__pyx_exc_value);
      Py_XDECREF(__pyx_exc_tb);
    }
    goto __pyx_L1_error;
    __pyx_L14:;
    switch (__pyx_why) {
      case 3: goto __pyx_L0;
      case 4: {
        __Pyx_ErrRestore(__pyx_exc_type, __pyx_exc_value, __pyx_exc_tb);
        __pyx_lineno = __pyx_exc_lineno;
        __pyx_exc_type = 0;
        __pyx_exc_value = 0;
        __pyx_exc_tb = 0;
        goto __pyx_L1_error;
      }
    }
  }

  __pyx_r = Py_None; Py_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  Py_XDECREF(__pyx_4);
  __Pyx_AddTraceback("tailspin.fastlazy_h.helper");
  __pyx_r = NULL;
  __pyx_L0:;
  Py_DECREF(__pyx_v_f);
  Py_DECREF(__pyx_v_ret);
  Py_DECREF(__pyx_v_args);
  Py_DECREF(__pyx_v_kw);
  return __pyx_r;
}
static struct __pyx_vtabstruct_8tailspin_10fastlazy_h_tailfish __pyx_vtable_8tailspin_10fastlazy_h_tailfish;

static PyObject *__pyx_tp_new_8tailspin_10fastlazy_h_tailfish(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *p;
  PyObject *o = (*t->tp_alloc)(t, 0);
  if (!o) return 0;
  p = ((struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)o);
  p->__pyx_vtab = __pyx_vtabptr_8tailspin_10fastlazy_h_tailfish;
  p->func = Py_None; Py_INCREF(Py_None);
  p->args = Py_None; Py_INCREF(Py_None);
  p->kw = Py_None; Py_INCREF(Py_None);
  if (__pyx_pf_8tailspin_10fastlazy_h_8tailfish___cinit__(o, a, k) < 0) {
    Py_DECREF(o); o = 0;
  }
  return o;
}

static void __pyx_tp_dealloc_8tailspin_10fastlazy_h_tailfish(PyObject *o) {
  struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *p = (struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)o;
  Py_XDECREF(p->func);
  Py_XDECREF(p->args);
  Py_XDECREF(p->kw);
  (*Py_TYPE(o)->tp_free)(o);
}

static int __pyx_tp_traverse_8tailspin_10fastlazy_h_tailfish(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *p = (struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)o;
  if (p->func) {
    e = (*v)(p->func, a); if (e) return e;
  }
  if (p->args) {
    e = (*v)(p->args, a); if (e) return e;
  }
  if (p->kw) {
    e = (*v)(p->kw, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_8tailspin_10fastlazy_h_tailfish(PyObject *o) {
  struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *p = (struct __pyx_obj_8tailspin_10fastlazy_h_tailfish *)o;
  PyObject* tmp;
  tmp = ((PyObject*)p->func);
  p->func = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->args);
  p->args = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->kw);
  p->kw = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}
static PyObject *__pyx_sq_item_8tailspin_10fastlazy_h_tailfish(PyObject *o, Py_ssize_t i) {
  PyObject *r;
  PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0;
  r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x);
  Py_DECREF(x);
  return r;
}

static int __pyx_mp_ass_subscript_8tailspin_10fastlazy_h_tailfish(PyObject *o, PyObject *i, PyObject *v) {
  if (v) {
    return __pyx_pf_8tailspin_10fastlazy_h_8tailfish___setitem__(o, i, v);
  }
  else {
    return __pyx_pf_8tailspin_10fastlazy_h_8tailfish___delitem__(o, i);
  }
}

static PyObject *__pyx_tp_getattro_8tailspin_10fastlazy_h_tailfish(PyObject *o, PyObject *n) {
  PyObject *v = PyObject_GenericGetAttr(o, n);
  if (!v && PyErr_ExceptionMatches(PyExc_AttributeError)) {
    PyErr_Clear();
    v = __pyx_pf_8tailspin_10fastlazy_h_8tailfish___getattr__(o, n);
  }
  return v;
}

static int __pyx_tp_setattro_8tailspin_10fastlazy_h_tailfish(PyObject *o, PyObject *n, PyObject *v) {
  if (v) {
    return __pyx_pf_8tailspin_10fastlazy_h_8tailfish___setattr__(o, n, v);
  }
  else {
    return __pyx_pf_8tailspin_10fastlazy_h_8tailfish___delattr__(o, n);
  }
}

static struct PyMethodDef __pyx_methods_8tailspin_10fastlazy_h_tailfish[] = {
  {"__add__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___add__, METH_O|METH_COEXIST, 0},
  {"__sub__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___sub__, METH_O|METH_COEXIST, 0},
  {"__mul__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___mul__, METH_O|METH_COEXIST, 0},
  {"__div__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___div__, METH_O|METH_COEXIST, 0},
  {"__floordiv__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___floordiv__, METH_O|METH_COEXIST, 0},
  {"__truediv__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___truediv__, METH_O|METH_COEXIST, 0},
  {"__mod__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___mod__, METH_O|METH_COEXIST, 0},
  {"__lshift__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___lshift__, METH_O|METH_COEXIST, 0},
  {"__rshift__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___rshift__, METH_O|METH_COEXIST, 0},
  {"__and__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___and__, METH_O|METH_COEXIST, 0},
  {"__or__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___or__, METH_O|METH_COEXIST, 0},
  {"__xor__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___xor__, METH_O|METH_COEXIST, 0},
  {"__neg__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___neg__, METH_NOARGS|METH_COEXIST, 0},
  {"__pos__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___pos__, METH_NOARGS|METH_COEXIST, 0},
  {"__abs__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___abs__, METH_NOARGS|METH_COEXIST, 0},
  {"__invert__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___invert__, METH_NOARGS|METH_COEXIST, 0},
  {"__str__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___str__, METH_NOARGS|METH_COEXIST, 0},
  {"__repr__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___repr__, METH_NOARGS|METH_COEXIST, 0},
  {"__call__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___call__, METH_VARARGS|METH_KEYWORDS|METH_COEXIST, 0},
  {"__iter__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___iter__, METH_NOARGS|METH_COEXIST, 0},
  {"__getattr__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___getattr__, METH_O|METH_COEXIST, 0},
  {"__int__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___int__, METH_NOARGS|METH_COEXIST, 0},
  {"__long__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___long__, METH_NOARGS|METH_COEXIST, 0},
  {"__float__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___float__, METH_NOARGS|METH_COEXIST, 0},
  {"__oct__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___oct__, METH_NOARGS|METH_COEXIST, 0},
  {"__hex__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___hex__, METH_NOARGS|METH_COEXIST, 0},
  {"__index__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___index__, METH_NOARGS|METH_COEXIST, 0},
  {"__getitem__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___getitem__, METH_O|METH_COEXIST, 0},
  {"__next__", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_8tailfish___next__, METH_NOARGS|METH_COEXIST, 0},
  {0, 0, 0, 0}
};

static PyNumberMethods __pyx_tp_as_number_tailfish = {
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___add__, /*nb_add*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___sub__, /*nb_subtract*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___mul__, /*nb_multiply*/
  #if PY_MAJOR_VERSION < 3
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___div__, /*nb_divide*/
  #endif
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___mod__, /*nb_remainder*/
  0, /*nb_divmod*/
  0, /*nb_power*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___neg__, /*nb_negative*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___pos__, /*nb_positive*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___abs__, /*nb_absolute*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___nonzero__, /*nb_nonzero*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___invert__, /*nb_invert*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___lshift__, /*nb_lshift*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___rshift__, /*nb_rshift*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___and__, /*nb_and*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___xor__, /*nb_xor*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___or__, /*nb_or*/
  #if PY_MAJOR_VERSION < 3
  0, /*nb_coerce*/
  #endif
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___int__, /*nb_int*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___long__, /*nb_long*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___float__, /*nb_float*/
  #if PY_MAJOR_VERSION < 3
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___oct__, /*nb_oct*/
  #endif
  #if PY_MAJOR_VERSION < 3
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___hex__, /*nb_hex*/
  #endif
  0, /*nb_inplace_add*/
  0, /*nb_inplace_subtract*/
  0, /*nb_inplace_multiply*/
  #if PY_MAJOR_VERSION < 3
  0, /*nb_inplace_divide*/
  #endif
  0, /*nb_inplace_remainder*/
  0, /*nb_inplace_power*/
  0, /*nb_inplace_lshift*/
  0, /*nb_inplace_rshift*/
  0, /*nb_inplace_and*/
  0, /*nb_inplace_xor*/
  0, /*nb_inplace_or*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___floordiv__, /*nb_floor_divide*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___truediv__, /*nb_true_divide*/
  0, /*nb_inplace_floor_divide*/
  0, /*nb_inplace_true_divide*/
  #if (PY_MAJOR_VERSION >= 3) || (Py_TPFLAGS_DEFAULT & Py_TPFLAGS_HAVE_INDEX)
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___index__, /*nb_index*/
  #endif
};

static PySequenceMethods __pyx_tp_as_sequence_tailfish = {
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___len__, /*sq_length*/
  0, /*sq_concat*/
  0, /*sq_repeat*/
  __pyx_sq_item_8tailspin_10fastlazy_h_tailfish, /*sq_item*/
  0, /*sq_slice*/
  0, /*sq_ass_item*/
  0, /*sq_ass_slice*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___contains__, /*sq_contains*/
  0, /*sq_inplace_concat*/
  0, /*sq_inplace_repeat*/
};

static PyMappingMethods __pyx_tp_as_mapping_tailfish = {
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___len__, /*mp_length*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___getitem__, /*mp_subscript*/
  __pyx_mp_ass_subscript_8tailspin_10fastlazy_h_tailfish, /*mp_ass_subscript*/
};

static PyBufferProcs __pyx_tp_as_buffer_tailfish = {
  #if PY_MAJOR_VERSION < 3
  0, /*bf_getreadbuffer*/
  #endif
  #if PY_MAJOR_VERSION < 3
  0, /*bf_getwritebuffer*/
  #endif
  #if PY_MAJOR_VERSION < 3
  0, /*bf_getsegcount*/
  #endif
  #if PY_MAJOR_VERSION < 3
  0, /*bf_getcharbuffer*/
  #endif
  #if PY_VERSION_HEX >= 0x02060000
  0, /*bf_getbuffer*/
  #endif
  #if PY_VERSION_HEX >= 0x02060000
  0, /*bf_releasebuffer*/
  #endif
};

PyTypeObject __pyx_type_8tailspin_10fastlazy_h_tailfish = {
  PyVarObject_HEAD_INIT(0, 0)
  "tailspin.fastlazy_h.tailfish", /*tp_name*/
  sizeof(struct __pyx_obj_8tailspin_10fastlazy_h_tailfish), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_8tailspin_10fastlazy_h_tailfish, /*tp_dealloc*/
  0, /*tp_print*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___cmp__, /*tp_compare*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___repr__, /*tp_repr*/
  &__pyx_tp_as_number_tailfish, /*tp_as_number*/
  &__pyx_tp_as_sequence_tailfish, /*tp_as_sequence*/
  &__pyx_tp_as_mapping_tailfish, /*tp_as_mapping*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___hash__, /*tp_hash*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___call__, /*tp_call*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___str__, /*tp_str*/
  __pyx_tp_getattro_8tailspin_10fastlazy_h_tailfish, /*tp_getattro*/
  __pyx_tp_setattro_8tailspin_10fastlazy_h_tailfish, /*tp_setattro*/
  &__pyx_tp_as_buffer_tailfish, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  0, /*tp_doc*/
  __pyx_tp_traverse_8tailspin_10fastlazy_h_tailfish, /*tp_traverse*/
  __pyx_tp_clear_8tailspin_10fastlazy_h_tailfish, /*tp_clear*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___richcmp__, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___iter__, /*tp_iter*/
  __pyx_pf_8tailspin_10fastlazy_h_8tailfish___next__, /*tp_iternext*/
  __pyx_methods_8tailspin_10fastlazy_h_tailfish, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  0, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_8tailspin_10fastlazy_h_tailfish, /*tp_new*/
  0, /*tp_free*/
  0, /*tp_is_gc*/
  0, /*tp_bases*/
  0, /*tp_mro*/
  0, /*tp_cache*/
  0, /*tp_subclasses*/
  0, /*tp_weaklist*/
};

static struct PyMethodDef __pyx_methods[] = {
  {"force", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_force, METH_O, 0},
  {"helper", (PyCFunction)__pyx_pf_8tailspin_10fastlazy_h_helper, METH_VARARGS|METH_KEYWORDS, 0},
  {0, 0, 0, 0}
};

static void __pyx_init_filenames(void); /*proto*/

#if PY_MAJOR_VERSION >= 3
static struct PyModuleDef __pyx_moduledef = {
    PyModuleDef_HEAD_INIT,
    "fastlazy_h",
    0, /* m_doc */
    -1, /* m_size */
    __pyx_methods /* m_methods */,
    NULL, /* m_reload */
    NULL, /* m_traverse */
    NULL, /* m_clear */
    NULL /* m_free */
};
#endif

static __Pyx_StringTabEntry __pyx_string_tab[] = {
  {&__pyx_kp_force, __pyx_k_force, sizeof(__pyx_k_force), 1, 1, 1},
  {&__pyx_kp___cinit__, __pyx_k___cinit__, sizeof(__pyx_k___cinit__), 1, 1, 1},
  {&__pyx_kp___add__, __pyx_k___add__, sizeof(__pyx_k___add__), 1, 1, 1},
  {&__pyx_kp___sub__, __pyx_k___sub__, sizeof(__pyx_k___sub__), 1, 1, 1},
  {&__pyx_kp___mul__, __pyx_k___mul__, sizeof(__pyx_k___mul__), 1, 1, 1},
  {&__pyx_kp___div__, __pyx_k___div__, sizeof(__pyx_k___div__), 1, 1, 1},
  {&__pyx_kp___floordiv__, __pyx_k___floordiv__, sizeof(__pyx_k___floordiv__), 1, 1, 1},
  {&__pyx_kp___truediv__, __pyx_k___truediv__, sizeof(__pyx_k___truediv__), 1, 1, 1},
  {&__pyx_kp___mod__, __pyx_k___mod__, sizeof(__pyx_k___mod__), 1, 1, 1},
  {&__pyx_kp___lshift__, __pyx_k___lshift__, sizeof(__pyx_k___lshift__), 1, 1, 1},
  {&__pyx_kp___rshift__, __pyx_k___rshift__, sizeof(__pyx_k___rshift__), 1, 1, 1},
  {&__pyx_kp___and__, __pyx_k___and__, sizeof(__pyx_k___and__), 1, 1, 1},
  {&__pyx_kp___or__, __pyx_k___or__, sizeof(__pyx_k___or__), 1, 1, 1},
  {&__pyx_kp___xor__, __pyx_k___xor__, sizeof(__pyx_k___xor__), 1, 1, 1},
  {&__pyx_kp___neg__, __pyx_k___neg__, sizeof(__pyx_k___neg__), 1, 1, 1},
  {&__pyx_kp___pos__, __pyx_k___pos__, sizeof(__pyx_k___pos__), 1, 1, 1},
  {&__pyx_kp___abs__, __pyx_k___abs__, sizeof(__pyx_k___abs__), 1, 1, 1},
  {&__pyx_kp___nonzero__, __pyx_k___nonzero__, sizeof(__pyx_k___nonzero__), 1, 1, 1},
  {&__pyx_kp___invert__, __pyx_k___invert__, sizeof(__pyx_k___invert__), 1, 1, 1},
  {&__pyx_kp___cmp__, __pyx_k___cmp__, sizeof(__pyx_k___cmp__), 1, 1, 1},
  {&__pyx_kp___richcmp__, __pyx_k___richcmp__, sizeof(__pyx_k___richcmp__), 1, 1, 1},
  {&__pyx_kp___str__, __pyx_k___str__, sizeof(__pyx_k___str__), 1, 1, 1},
  {&__pyx_kp___repr__, __pyx_k___repr__, sizeof(__pyx_k___repr__), 1, 1, 1},
  {&__pyx_kp___hash__, __pyx_k___hash__, sizeof(__pyx_k___hash__), 1, 1, 1},
  {&__pyx_kp___call__, __pyx_k___call__, sizeof(__pyx_k___call__), 1, 1, 1},
  {&__pyx_kp___iter__, __pyx_k___iter__, sizeof(__pyx_k___iter__), 1, 1, 1},
  {&__pyx_kp___getattr__, __pyx_k___getattr__, sizeof(__pyx_k___getattr__), 1, 1, 1},
  {&__pyx_kp___setattr__, __pyx_k___setattr__, sizeof(__pyx_k___setattr__), 1, 1, 1},
  {&__pyx_kp___delattr__, __pyx_k___delattr__, sizeof(__pyx_k___delattr__), 1, 1, 1},
  {&__pyx_kp___int__, __pyx_k___int__, sizeof(__pyx_k___int__), 1, 1, 1},
  {&__pyx_kp___long__, __pyx_k___long__, sizeof(__pyx_k___long__), 1, 1, 1},
  {&__pyx_kp___float__, __pyx_k___float__, sizeof(__pyx_k___float__), 1, 1, 1},
  {&__pyx_kp___oct__, __pyx_k___oct__, sizeof(__pyx_k___oct__), 1, 1, 1},
  {&__pyx_kp___hex__, __pyx_k___hex__, sizeof(__pyx_k___hex__), 1, 1, 1},
  {&__pyx_kp___index__, __pyx_k___index__, sizeof(__pyx_k___index__), 1, 1, 1},
  {&__pyx_kp___len__, __pyx_k___len__, sizeof(__pyx_k___len__), 1, 1, 1},
  {&__pyx_kp___getitem__, __pyx_k___getitem__, sizeof(__pyx_k___getitem__), 1, 1, 1},
  {&__pyx_kp___setitem__, __pyx_k___setitem__, sizeof(__pyx_k___setitem__), 1, 1, 1},
  {&__pyx_kp___delitem__, __pyx_k___delitem__, sizeof(__pyx_k___delitem__), 1, 1, 1},
  {&__pyx_kp___contains__, __pyx_k___contains__, sizeof(__pyx_k___contains__), 1, 1, 1},
  {&__pyx_kp___next__, __pyx_k___next__, sizeof(__pyx_k___next__), 1, 1, 1},
  {&__pyx_kp_o, __pyx_k_o, sizeof(__pyx_k_o), 0, 1, 1},
  {&__pyx_kp_func, __pyx_k_func, sizeof(__pyx_k_func), 1, 1, 1},
  {&__pyx_kp_args, __pyx_k_args, sizeof(__pyx_k_args), 1, 1, 1},
  {&__pyx_kp_kw, __pyx_k_kw, sizeof(__pyx_k_kw), 1, 1, 1},
  {&__pyx_kp_x, __pyx_k_x, sizeof(__pyx_k_x), 1, 1, 1},
  {&__pyx_kp_y, __pyx_k_y, sizeof(__pyx_k_y), 1, 1, 1},
  {&__pyx_kp_op, __pyx_k_op, sizeof(__pyx_k_op), 1, 1, 1},
  {&__pyx_kp_name, __pyx_k_name, sizeof(__pyx_k_name), 1, 1, 1},
  {&__pyx_kp_val, __pyx_k_val, sizeof(__pyx_k_val), 1, 1, 1},
  {&__pyx_kp_threading, __pyx_k_threading, sizeof(__pyx_k_threading), 1, 1, 1},
  {&__pyx_kp_cmp, __pyx_k_cmp, sizeof(__pyx_k_cmp), 1, 1, 1},
  {&__pyx_kp_oct, __pyx_k_oct, sizeof(__pyx_k_oct), 1, 1, 1},
  {&__pyx_kp_hex, __pyx_k_hex, sizeof(__pyx_k_hex), 1, 1, 1},
  {&__pyx_kp_next, __pyx_k_next, sizeof(__pyx_k_next), 1, 1, 1},
  {&__pyx_kp_recur, __pyx_k_recur, sizeof(__pyx_k_recur), 1, 1, 1},
  {0, 0, 0, 0, 0, 0}
};
static int __Pyx_InitCachedBuiltins(void) {
  __pyx_builtin_cmp = __Pyx_GetName(__pyx_b, __pyx_kp_cmp); if (!__pyx_builtin_cmp) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 60; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_builtin_oct = __Pyx_GetName(__pyx_b, __pyx_kp_oct); if (!__pyx_builtin_oct) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 99; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_builtin_hex = __Pyx_GetName(__pyx_b, __pyx_kp_hex); if (!__pyx_builtin_hex) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 101; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  return 0;
  __pyx_L1_error:;
  return -1;
}

static int __Pyx_InitGlobals(void) {
  if (__Pyx_InitStrings(__pyx_string_tab) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  return 0;
  __pyx_L1_error:;
  return -1;
}

#if PY_MAJOR_VERSION < 3
PyMODINIT_FUNC initfastlazy_h(void); /*proto*/
PyMODINIT_FUNC initfastlazy_h(void)
#else
PyMODINIT_FUNC PyInit_fastlazy_h(void); /*proto*/
PyMODINIT_FUNC PyInit_fastlazy_h(void)
#endif
{
  PyObject *__pyx_1 = 0;
  __pyx_empty_tuple = PyTuple_New(0); if (unlikely(!__pyx_empty_tuple)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  /*--- Library function declarations ---*/
  __pyx_init_filenames();
  /*--- Initialize various global constants etc. ---*/
  if (unlikely(__Pyx_InitGlobals() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  /*--- Module creation code ---*/
  #if PY_MAJOR_VERSION < 3
  __pyx_m = Py_InitModule4("fastlazy_h", __pyx_methods, 0, 0, PYTHON_API_VERSION);
  #else
  __pyx_m = PyModule_Create(&__pyx_moduledef);
  #endif
  if (!__pyx_m) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  #if PY_MAJOR_VERSION < 3
  Py_INCREF(__pyx_m);
  #endif
  __pyx_b = PyImport_AddModule(__Pyx_BUILTIN_MODULE_NAME);
  if (!__pyx_b) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  /*--- Builtin init code ---*/
  if (unlikely(__Pyx_InitCachedBuiltins() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_skip_dispatch = 0;
  /*--- Global init code ---*/
  /*--- Function export code ---*/
  /*--- Type init code ---*/
  __pyx_vtabptr_8tailspin_10fastlazy_h_tailfish = &__pyx_vtable_8tailspin_10fastlazy_h_tailfish;
  *(void(**)(void))&__pyx_vtable_8tailspin_10fastlazy_h_tailfish.__force__ = (void(*)(void))__pyx_f_8tailspin_10fastlazy_h_8tailfish___force__;
  if (PyType_Ready(&__pyx_type_8tailspin_10fastlazy_h_tailfish) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 9; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__Pyx_SetVtable(__pyx_type_8tailspin_10fastlazy_h_tailfish.tp_dict, __pyx_vtabptr_8tailspin_10fastlazy_h_tailfish) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 9; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (PyObject_SetAttrString(__pyx_m, "tailfish", (PyObject *)&__pyx_type_8tailspin_10fastlazy_h_tailfish) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 9; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_8tailspin_10fastlazy_h_tailfish = &__pyx_type_8tailspin_10fastlazy_h_tailfish;
  /*--- Type import code ---*/
  /*--- Function import code ---*/
  /*--- Execution code ---*/

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":1
 * import threading             # <<<<<<<<<<<<<<
 * 
 * cpdef force(o):
 */
  __pyx_1 = __Pyx_Import(__pyx_kp_threading, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (PyObject_SetAttr(__pyx_m, __pyx_kp_threading, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_DECREF(__pyx_1); __pyx_1 = 0;

  /* "/Users/xavid/Documents/tailspin/src/tailspin/fastlazy_h.pyx":122
 *         return self.__force__().next()
 * 
 * def helper(func,args,kw):             # <<<<<<<<<<<<<<
 *     if not func.recur:
 *         func.recur = True
 */
  #if PY_MAJOR_VERSION < 3
  return;
  #else
  return __pyx_m;
  #endif
  __pyx_L1_error:;
  Py_XDECREF(__pyx_1);
  __Pyx_AddTraceback("tailspin.fastlazy_h");
  #if PY_MAJOR_VERSION >= 3
  return NULL;
  #endif
}

static const char *__pyx_filenames[] = {
  "fastlazy_h.pyx",
};

/* Runtime support code */

static void __pyx_init_filenames(void) {
  __pyx_f = __pyx_filenames;
}

static void __Pyx_RaiseDoubleKeywordsError(
    const char* func_name,
    PyObject* kw_name)
{
    PyErr_Format(PyExc_TypeError,
        #if PY_MAJOR_VERSION >= 3
        "%s() got multiple values for keyword argument '%U'", func_name, kw_name);
        #else
        "%s() got multiple values for keyword argument '%s'", func_name,
        PyString_AS_STRING(kw_name));
        #endif
}

static void __Pyx_RaiseArgtupleInvalid(
    const char* func_name,
    int exact,
    Py_ssize_t num_min,
    Py_ssize_t num_max,
    Py_ssize_t num_found)
{
    Py_ssize_t num_expected;
    const char *number, *more_or_less;

    if (num_found < num_min) {
        num_expected = num_min;
        more_or_less = "at least";
    } else {
        num_expected = num_max;
        more_or_less = "at most";
    }
    if (exact) {
        more_or_less = "exactly";
    }
    number = (num_expected == 1) ? "" : "s";
    PyErr_Format(PyExc_TypeError,
        #if PY_VERSION_HEX < 0x02050000
            "%s() takes %s %d positional argument%s (%d given)",
        #else
            "%s() takes %s %zd positional argument%s (%zd given)",
        #endif
        func_name, more_or_less, num_expected, number, num_found);
}

static int __Pyx_ParseOptionalKeywords(
    PyObject *kwds,
    PyObject **argnames[],
    PyObject *kwds2,
    PyObject *values[],
    Py_ssize_t num_pos_args,
    const char* function_name)
{
    PyObject *key = 0, *value = 0;
    Py_ssize_t pos = 0;
    PyObject*** name;
    PyObject*** first_kw_arg = argnames + num_pos_args;

    while (PyDict_Next(kwds, &pos, &key, &value)) {
        #if PY_MAJOR_VERSION < 3
        if (unlikely(!PyString_CheckExact(key)) && unlikely(!PyString_Check(key))) {
        #else
        if (unlikely(!PyUnicode_CheckExact(key)) && unlikely(!PyUnicode_Check(key))) {
        #endif
            goto invalid_keyword_type;
        } else {
            name = argnames;
            while (*name && (**name != key)) name++;
            if (*name) {
                if (name < first_kw_arg) goto arg_passed_twice;
                values[name-argnames] = value;
            } else {
                for (name = first_kw_arg; *name; name++) {
                    #if PY_MAJOR_VERSION >= 3
                    if (PyUnicode_GET_SIZE(**name) == PyUnicode_GET_SIZE(key) &&
                        PyUnicode_Compare(**name, key) == 0) break;
                    #else
                    if (PyString_GET_SIZE(**name) == PyString_GET_SIZE(key) &&
                        strcmp(PyString_AS_STRING(**name),
                               PyString_AS_STRING(key)) == 0) break;
                    #endif
                }
                if (*name) {
                    values[name-argnames] = value;
                } else {
                    /* unexpected keyword found */
                    for (name=argnames; name != first_kw_arg; name++) {
                        if (**name == key) goto arg_passed_twice;
                        #if PY_MAJOR_VERSION >= 3
                        if (PyUnicode_GET_SIZE(**name) == PyUnicode_GET_SIZE(key) &&
                            PyUnicode_Compare(**name, key) == 0) goto arg_passed_twice;
                        #else
                        if (PyString_GET_SIZE(**name) == PyString_GET_SIZE(key) &&
                            strcmp(PyString_AS_STRING(**name),
                                   PyString_AS_STRING(key)) == 0) goto arg_passed_twice;
                        #endif
                    }
                    if (kwds2) {
                        if (unlikely(PyDict_SetItem(kwds2, key, value))) goto bad;
                    } else {
                        goto invalid_keyword;
                    }
                }
            }
        }
    }
    return 0;
arg_passed_twice:
    __Pyx_RaiseDoubleKeywordsError(function_name, **name);
    goto bad;
invalid_keyword_type:
    PyErr_Format(PyExc_TypeError,
        "%s() keywords must be strings", function_name);
    goto bad;
invalid_keyword:
    PyErr_Format(PyExc_TypeError,
    #if PY_MAJOR_VERSION < 3
        "%s() got an unexpected keyword argument '%s'",
        function_name, PyString_AsString(key));
    #else
        "%s() got an unexpected keyword argument '%U'",
        function_name, key);
    #endif
bad:
    return -1;
}

static INLINE int __Pyx_CheckKeywordStrings(
    PyObject *kwdict,
    const char* function_name,
    int kw_allowed)
{
    PyObject* key = 0;
    Py_ssize_t pos = 0;
    while (PyDict_Next(kwdict, &pos, &key, 0)) {
        #if PY_MAJOR_VERSION < 3
        if (unlikely(!PyString_CheckExact(key)) && unlikely(!PyString_Check(key)))
        #else
        if (unlikely(!PyUnicode_CheckExact(key)) && unlikely(!PyUnicode_Check(key)))
        #endif
            goto invalid_keyword_type;
    }
    if ((!kw_allowed) && unlikely(key))
        goto invalid_keyword;
    return 1;
invalid_keyword_type:
    PyErr_Format(PyExc_TypeError,
        "%s() keywords must be strings", function_name);
    return 0;
invalid_keyword:
    PyErr_Format(PyExc_TypeError,
    #if PY_MAJOR_VERSION < 3
        "%s() got an unexpected keyword argument '%s'",
        function_name, PyString_AsString(key));
    #else
        "%s() got an unexpected keyword argument '%U'",
        function_name, key);
    #endif
    return 0;
}

static INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb) {
    PyObject *tmp_type, *tmp_value, *tmp_tb;
    PyThreadState *tstate = PyThreadState_GET();

    tmp_type = tstate->curexc_type;
    tmp_value = tstate->curexc_value;
    tmp_tb = tstate->curexc_traceback;
    tstate->curexc_type = type;
    tstate->curexc_value = value;
    tstate->curexc_traceback = tb;
    Py_XDECREF(tmp_type);
    Py_XDECREF(tmp_value);
    Py_XDECREF(tmp_tb);
}

static INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb) {
    PyThreadState *tstate = PyThreadState_GET();
    *type = tstate->curexc_type;
    *value = tstate->curexc_value;
    *tb = tstate->curexc_traceback;

    tstate->curexc_type = 0;
    tstate->curexc_value = 0;
    tstate->curexc_traceback = 0;
}


static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list) {
    PyObject *__import__ = 0;
    PyObject *empty_list = 0;
    PyObject *module = 0;
    PyObject *global_dict = 0;
    PyObject *empty_dict = 0;
    PyObject *list;
    __import__ = PyObject_GetAttrString(__pyx_b, "__import__");
    if (!__import__)
        goto bad;
    if (from_list)
        list = from_list;
    else {
        empty_list = PyList_New(0);
        if (!empty_list)
            goto bad;
        list = empty_list;
    }
    global_dict = PyModule_GetDict(__pyx_m);
    if (!global_dict)
        goto bad;
    empty_dict = PyDict_New();
    if (!empty_dict)
        goto bad;
    module = PyObject_CallFunction(__import__, "OOOO",
        name, global_dict, empty_dict, list);
bad:
    Py_XDECREF(empty_list);
    Py_XDECREF(__import__);
    Py_XDECREF(empty_dict);
    return module;
}

static PyObject *__Pyx_GetName(PyObject *dict, PyObject *name) {
    PyObject *result;
    result = PyObject_GetAttr(dict, name);
    if (!result)
        PyErr_SetObject(PyExc_NameError, name);
    return result;
}

static int __Pyx_SetVtable(PyObject *dict, void *vtable) {
    PyObject *pycobj = 0;
    int result;
    
    pycobj = PyCObject_FromVoidPtr(vtable, 0);
    if (!pycobj)
        goto bad;
    if (PyDict_SetItemString(dict, "__pyx_vtable__", pycobj) < 0)
        goto bad;
    result = 0;
    goto done;

bad:
    result = -1;
done:
    Py_XDECREF(pycobj);
    return result;
}

#include "compile.h"
#include "frameobject.h"
#include "traceback.h"

static void __Pyx_AddTraceback(const char *funcname) {
    PyObject *py_srcfile = 0;
    PyObject *py_funcname = 0;
    PyObject *py_globals = 0;
    PyObject *empty_string = 0;
    PyCodeObject *py_code = 0;
    PyFrameObject *py_frame = 0;

    #if PY_MAJOR_VERSION < 3
    py_srcfile = PyString_FromString(__pyx_filename);
    #else
    py_srcfile = PyUnicode_FromString(__pyx_filename);
    #endif
    if (!py_srcfile) goto bad;
    if (__pyx_clineno) {
        #if PY_MAJOR_VERSION < 3
        py_funcname = PyString_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, __pyx_clineno);
        #else
        py_funcname = PyUnicode_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, __pyx_clineno);
        #endif
    }
    else {
        #if PY_MAJOR_VERSION < 3
        py_funcname = PyString_FromString(funcname);
        #else
        py_funcname = PyUnicode_FromString(funcname);
        #endif
    }
    if (!py_funcname) goto bad;
    py_globals = PyModule_GetDict(__pyx_m);
    if (!py_globals) goto bad;
    #if PY_MAJOR_VERSION < 3
    empty_string = PyString_FromStringAndSize("", 0);
    #else
    empty_string = PyBytes_FromStringAndSize("", 0);
    #endif
    if (!empty_string) goto bad;
    py_code = PyCode_New(
        0,            /*int argcount,*/
        #if PY_MAJOR_VERSION >= 3
        0,            /*int kwonlyargcount,*/
        #endif
        0,            /*int nlocals,*/
        0,            /*int stacksize,*/
        0,            /*int flags,*/
        empty_string, /*PyObject *code,*/
        __pyx_empty_tuple,  /*PyObject *consts,*/
        __pyx_empty_tuple,  /*PyObject *names,*/
        __pyx_empty_tuple,  /*PyObject *varnames,*/
        __pyx_empty_tuple,  /*PyObject *freevars,*/
        __pyx_empty_tuple,  /*PyObject *cellvars,*/
        py_srcfile,   /*PyObject *filename,*/
        py_funcname,  /*PyObject *name,*/
        __pyx_lineno,   /*int firstlineno,*/
        empty_string  /*PyObject *lnotab*/
    );
    if (!py_code) goto bad;
    py_frame = PyFrame_New(
        PyThreadState_GET(), /*PyThreadState *tstate,*/
        py_code,             /*PyCodeObject *code,*/
        py_globals,          /*PyObject *globals,*/
        0                    /*PyObject *locals*/
    );
    if (!py_frame) goto bad;
    py_frame->f_lineno = __pyx_lineno;
    PyTraceBack_Here(py_frame);
bad:
    Py_XDECREF(py_srcfile);
    Py_XDECREF(py_funcname);
    Py_XDECREF(empty_string);
    Py_XDECREF(py_code);
    Py_XDECREF(py_frame);
}

static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) {
    while (t->p) {
        #if PY_MAJOR_VERSION < 3
        if (t->is_unicode && (!t->is_identifier)) {
            *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL);
        } else if (t->intern) {
            *t->p = PyString_InternFromString(t->s);
        } else {
            *t->p = PyString_FromStringAndSize(t->s, t->n - 1);
        }
        #else  /* Python 3+ has unicode identifiers */
        if (t->is_identifier || (t->is_unicode && t->intern)) {
            *t->p = PyUnicode_InternFromString(t->s);
        } else if (t->is_unicode) {
            *t->p = PyUnicode_FromStringAndSize(t->s, t->n - 1);
        } else {
            *t->p = PyBytes_FromStringAndSize(t->s, t->n - 1);
        }
        #endif
        if (!*t->p)
            return -1;
        ++t;
    }
    return 0;
}

/* Type Conversion Functions */

static INLINE Py_ssize_t __pyx_PyIndex_AsSsize_t(PyObject* b) {
  Py_ssize_t ival;
  PyObject* x = PyNumber_Index(b);
  if (!x) return -1;
  ival = PyInt_AsSsize_t(x);
  Py_DECREF(x);
  return ival;
}

static INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
   if (x == Py_True) return 1;
   else if (x == Py_False) return 0;
   else return PyObject_IsTrue(x);
}

static INLINE PY_LONG_LONG __pyx_PyInt_AsLongLong(PyObject* x) {
    if (PyInt_CheckExact(x)) {
        return PyInt_AS_LONG(x);
    }
    else if (PyLong_CheckExact(x)) {
        return PyLong_AsLongLong(x);
    }
    else {
        PY_LONG_LONG val;
        PyObject* tmp = PyNumber_Int(x); if (!tmp) return (PY_LONG_LONG)-1;
        val = __pyx_PyInt_AsLongLong(tmp);
        Py_DECREF(tmp);
        return val;
    }
}

static INLINE unsigned PY_LONG_LONG __pyx_PyInt_AsUnsignedLongLong(PyObject* x) {
    if (PyInt_CheckExact(x)) {
        long val = PyInt_AS_LONG(x);
        if (unlikely(val < 0)) {
            PyErr_SetString(PyExc_TypeError, "Negative assignment to unsigned type.");
            return (unsigned PY_LONG_LONG)-1;
        }
        return val;
    }
    else if (PyLong_CheckExact(x)) {
        return PyLong_AsUnsignedLongLong(x);
    }
    else {
        PY_LONG_LONG val;
        PyObject* tmp = PyNumber_Int(x); if (!tmp) return (PY_LONG_LONG)-1;
        val = __pyx_PyInt_AsUnsignedLongLong(tmp);
        Py_DECREF(tmp);
        return val;
    }
}


static INLINE unsigned char __pyx_PyInt_unsigned_char(PyObject* x) {
    if (sizeof(unsigned char) < sizeof(long)) {
        long long_val = __pyx_PyInt_AsLong(x);
        unsigned char val = (unsigned char)long_val;
        if (unlikely((val != long_val)  || (long_val < 0))) {
            PyErr_SetString(PyExc_OverflowError, "value too large to convert to unsigned char");
            return (unsigned char)-1;
        }
        return val;
    }
    else {
        return __pyx_PyInt_AsLong(x);
    }
}

static INLINE unsigned short __pyx_PyInt_unsigned_short(PyObject* x) {
    if (sizeof(unsigned short) < sizeof(long)) {
        long long_val = __pyx_PyInt_AsLong(x);
        unsigned short val = (unsigned short)long_val;
        if (unlikely((val != long_val)  || (long_val < 0))) {
            PyErr_SetString(PyExc_OverflowError, "value too large to convert to unsigned short");
            return (unsigned short)-1;
        }
        return val;
    }
    else {
        return __pyx_PyInt_AsLong(x);
    }
}

static INLINE char __pyx_PyInt_char(PyObject* x) {
    if (sizeof(char) < sizeof(long)) {
        long long_val = __pyx_PyInt_AsLong(x);
        char val = (char)long_val;
        if (unlikely((val != long_val) )) {
            PyErr_SetString(PyExc_OverflowError, "value too large to convert to char");
            return (char)-1;
        }
        return val;
    }
    else {
        return __pyx_PyInt_AsLong(x);
    }
}

static INLINE short __pyx_PyInt_short(PyObject* x) {
    if (sizeof(short) < sizeof(long)) {
        long long_val = __pyx_PyInt_AsLong(x);
        short val = (short)long_val;
        if (unlikely((val != long_val) )) {
            PyErr_SetString(PyExc_OverflowError, "value too large to convert to short");
            return (short)-1;
        }
        return val;
    }
    else {
        return __pyx_PyInt_AsLong(x);
    }
}

static INLINE int __pyx_PyInt_int(PyObject* x) {
    if (sizeof(int) < sizeof(long)) {
        long long_val = __pyx_PyInt_AsLong(x);
        int val = (int)long_val;
        if (unlikely((val != long_val) )) {
            PyErr_SetString(PyExc_OverflowError, "value too large to convert to int");
            return (int)-1;
        }
        return val;
    }
    else {
        return __pyx_PyInt_AsLong(x);
    }
}

static INLINE long __pyx_PyInt_long(PyObject* x) {
    if (sizeof(long) < sizeof(long)) {
        long long_val = __pyx_PyInt_AsLong(x);
        long val = (long)long_val;
        if (unlikely((val != long_val) )) {
            PyErr_SetString(PyExc_OverflowError, "value too large to convert to long");
            return (long)-1;
        }
        return val;
    }
    else {
        return __pyx_PyInt_AsLong(x);
    }
}

static INLINE signed char __pyx_PyInt_signed_char(PyObject* x) {
    if (sizeof(signed char) < sizeof(long)) {
        long long_val = __pyx_PyInt_AsLong(x);
        signed char val = (signed char)long_val;
        if (unlikely((val != long_val) )) {
            PyErr_SetString(PyExc_OverflowError, "value too large to convert to signed char");
            return (signed char)-1;
        }
        return val;
    }
    else {
        return __pyx_PyInt_AsLong(x);
    }
}

static INLINE signed short __pyx_PyInt_signed_short(PyObject* x) {
    if (sizeof(signed short) < sizeof(long)) {
        long long_val = __pyx_PyInt_AsLong(x);
        signed short val = (signed short)long_val;
        if (unlikely((val != long_val) )) {
            PyErr_SetString(PyExc_OverflowError, "value too large to convert to signed short");
            return (signed short)-1;
        }
        return val;
    }
    else {
        return __pyx_PyInt_AsLong(x);
    }
}

static INLINE signed int __pyx_PyInt_signed_int(PyObject* x) {
    if (sizeof(signed int) < sizeof(long)) {
        long long_val = __pyx_PyInt_AsLong(x);
        signed int val = (signed int)long_val;
        if (unlikely((val != long_val) )) {
            PyErr_SetString(PyExc_OverflowError, "value too large to convert to signed int");
            return (signed int)-1;
        }
        return val;
    }
    else {
        return __pyx_PyInt_AsLong(x);
    }
}

static INLINE signed long __pyx_PyInt_signed_long(PyObject* x) {
    if (sizeof(signed long) < sizeof(long)) {
        long long_val = __pyx_PyInt_AsLong(x);
        signed long val = (signed long)long_val;
        if (unlikely((val != long_val) )) {
            PyErr_SetString(PyExc_OverflowError, "value too large to convert to signed long");
            return (signed long)-1;
        }
        return val;
    }
    else {
        return __pyx_PyInt_AsLong(x);
    }
}

static INLINE long double __pyx_PyInt_long_double(PyObject* x) {
    if (sizeof(long double) < sizeof(long)) {
        long long_val = __pyx_PyInt_AsLong(x);
        long double val = (long double)long_val;
        if (unlikely((val != long_val) )) {
            PyErr_SetString(PyExc_OverflowError, "value too large to convert to long double");
            return (long double)-1;
        }
        return val;
    }
    else {
        return __pyx_PyInt_AsLong(x);
    }
}

