/* Generated by Cython 0.20.1rc1 on Fri Feb  7 22:07:42 2014 */

#define PY_SSIZE_T_CLEAN
#ifndef CYTHON_USE_PYLONG_INTERNALS
#ifdef PYLONG_BITS_IN_DIGIT
#define CYTHON_USE_PYLONG_INTERNALS 0
#else
#include "pyconfig.h"
#ifdef PYLONG_BITS_IN_DIGIT
#define CYTHON_USE_PYLONG_INTERNALS 1
#else
#define CYTHON_USE_PYLONG_INTERNALS 0
#endif
#endif
#endif
#include "Python.h"
#ifndef Py_PYTHON_H
    #error Python headers needed to compile C extensions, please install development version of Python.
#elif PY_VERSION_HEX < 0x02040000
    #error Cython requires Python 2.4+.
#else
#define CYTHON_ABI "0_20_1rc1"
#include <stddef.h> /* For offsetof */
#ifndef offsetof
#define offsetof(type, member) ( (size_t) & ((type*)0) -> member )
#endif
#if !defined(WIN32) && !defined(MS_WINDOWS)
  #ifndef __stdcall
    #define __stdcall
  #endif
  #ifndef __cdecl
    #define __cdecl
  #endif
  #ifndef __fastcall
    #define __fastcall
  #endif
#endif
#ifndef DL_IMPORT
  #define DL_IMPORT(t) t
#endif
#ifndef DL_EXPORT
  #define DL_EXPORT(t) t
#endif
#ifndef PY_LONG_LONG
  #define PY_LONG_LONG LONG_LONG
#endif
#ifndef Py_HUGE_VAL
  #define Py_HUGE_VAL HUGE_VAL
#endif
#ifdef PYPY_VERSION
#define CYTHON_COMPILING_IN_PYPY 1
#define CYTHON_COMPILING_IN_CPYTHON 0
#else
#define CYTHON_COMPILING_IN_PYPY 0
#define CYTHON_COMPILING_IN_CPYTHON 1
#endif
#if CYTHON_COMPILING_IN_PYPY
#define Py_OptimizeFlag 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 PY_FORMAT_SIZE_T ""
  #define CYTHON_FORMAT_SSIZE_T ""
  #define PyInt_FromSsize_t(z) PyInt_FromLong(z)
  #define PyInt_AsSsize_t(o)   __Pyx_PyInt_As_int(o)
  #define PyNumber_Index(o)    ((PyNumber_Check(o) && !PyFloat_Check(o)) ? PyNumber_Int(o) : \
                                (PyErr_Format(PyExc_TypeError, \
                                              "expected index value, got %.200s", Py_TYPE(o)->tp_name), \
                                 (PyObject*)0))
  #define __Pyx_PyIndex_Check(o) (PyNumber_Check(o) && !PyFloat_Check(o) && \
                                  !PyComplex_Check(o))
  #define PyIndex_Check __Pyx_PyIndex_Check
  #define PyErr_WarnEx(category, message, stacklevel) PyErr_Warn(category, message)
  #define __PYX_BUILD_PY_SSIZE_T "i"
#else
  #define __PYX_BUILD_PY_SSIZE_T "n"
  #define CYTHON_FORMAT_SSIZE_T "z"
  #define __Pyx_PyIndex_Check PyIndex_Check
#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_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)
  #define PyBUF_RECORDS (PyBUF_STRIDES | PyBUF_FORMAT | PyBUF_WRITABLE)
  #define PyBUF_FULL (PyBUF_INDIRECT | PyBUF_FORMAT | PyBUF_WRITABLE)
  typedef int (*getbufferproc)(PyObject *, Py_buffer *, int);
  typedef void (*releasebufferproc)(PyObject *, Py_buffer *);
#endif
#if PY_MAJOR_VERSION < 3
  #define __Pyx_BUILTIN_MODULE_NAME "__builtin__"
  #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) \
          PyCode_New(a+k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  #define __Pyx_DefaultClassType PyClass_Type
#else
  #define __Pyx_BUILTIN_MODULE_NAME "builtins"
  #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) \
          PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
  #define __Pyx_DefaultClassType PyType_Type
#endif
#if PY_VERSION_HEX < 0x02060000
  #define PyUnicode_FromString(s) PyUnicode_Decode(s, strlen(s), "UTF-8", "strict")
#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_VERSION_HEX < 0x02060000
  #define Py_TPFLAGS_HAVE_VERSION_TAG 0
#endif
#if PY_VERSION_HEX < 0x02060000 && !defined(Py_TPFLAGS_IS_ABSTRACT)
  #define Py_TPFLAGS_IS_ABSTRACT 0
#endif
#if PY_VERSION_HEX < 0x030400a1 && !defined(Py_TPFLAGS_HAVE_FINALIZE)
  #define Py_TPFLAGS_HAVE_FINALIZE 0
#endif
#if PY_VERSION_HEX > 0x03030000 && defined(PyUnicode_KIND)
  #define CYTHON_PEP393_ENABLED 1
  #define __Pyx_PyUnicode_READY(op)       (likely(PyUnicode_IS_READY(op)) ? \
                                              0 : _PyUnicode_Ready((PyObject *)(op)))
  #define __Pyx_PyUnicode_GET_LENGTH(u)   PyUnicode_GET_LENGTH(u)
  #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_READ_CHAR(u, i)
  #define __Pyx_PyUnicode_KIND(u)         PyUnicode_KIND(u)
  #define __Pyx_PyUnicode_DATA(u)         PyUnicode_DATA(u)
  #define __Pyx_PyUnicode_READ(k, d, i)   PyUnicode_READ(k, d, i)
#else
  #define CYTHON_PEP393_ENABLED 0
  #define __Pyx_PyUnicode_READY(op)       (0)
  #define __Pyx_PyUnicode_GET_LENGTH(u)   PyUnicode_GET_SIZE(u)
  #define __Pyx_PyUnicode_READ_CHAR(u, i) ((Py_UCS4)(PyUnicode_AS_UNICODE(u)[i]))
  #define __Pyx_PyUnicode_KIND(u)         (sizeof(Py_UNICODE))
  #define __Pyx_PyUnicode_DATA(u)         ((void*)PyUnicode_AS_UNICODE(u))
  #define __Pyx_PyUnicode_READ(k, d, i)   ((void)(k), (Py_UCS4)(((Py_UNICODE*)d)[i]))
#endif
#if CYTHON_COMPILING_IN_PYPY
  #define __Pyx_PyUnicode_Concat(a, b)      PyNumber_Add(a, b)
  #define __Pyx_PyUnicode_ConcatSafe(a, b)  PyNumber_Add(a, b)
#else
  #define __Pyx_PyUnicode_Concat(a, b)      PyUnicode_Concat(a, b)
  #define __Pyx_PyUnicode_ConcatSafe(a, b)  ((unlikely((a) == Py_None) || unlikely((b) == Py_None)) ? \
      PyNumber_Add(a, b) : __Pyx_PyUnicode_Concat(a, b))
#endif
#define __Pyx_PyString_FormatSafe(a, b)  ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : __Pyx_PyString_Format(a, b))
#define __Pyx_PyUnicode_FormatSafe(a, b)  ((unlikely((a) == Py_None)) ? PyNumber_Remainder(a, b) : PyUnicode_Format(a, b))
#if PY_MAJOR_VERSION >= 3
  #define __Pyx_PyString_Format(a, b)  PyUnicode_Format(a, b)
#else
  #define __Pyx_PyString_Format(a, b)  PyString_Format(a, b)
#endif
#if PY_MAJOR_VERSION >= 3
  #define PyBaseString_Type            PyUnicode_Type
  #define PyStringObject               PyUnicodeObject
  #define PyString_Type                PyUnicode_Type
  #define PyString_Check               PyUnicode_Check
  #define PyString_CheckExact          PyUnicode_CheckExact
#endif
#if PY_VERSION_HEX < 0x02060000
  #define PyBytesObject                PyStringObject
  #define PyBytes_Type                 PyString_Type
  #define PyBytes_Check                PyString_Check
  #define PyBytes_CheckExact           PyString_CheckExact
  #define PyBytes_FromString           PyString_FromString
  #define PyBytes_FromStringAndSize    PyString_FromStringAndSize
  #define PyBytes_FromFormat           PyString_FromFormat
  #define PyBytes_DecodeEscape         PyString_DecodeEscape
  #define PyBytes_AsString             PyString_AsString
  #define PyBytes_AsStringAndSize      PyString_AsStringAndSize
  #define PyBytes_Size                 PyString_Size
  #define PyBytes_AS_STRING            PyString_AS_STRING
  #define PyBytes_GET_SIZE             PyString_GET_SIZE
  #define PyBytes_Repr                 PyString_Repr
  #define PyBytes_Concat               PyString_Concat
  #define PyBytes_ConcatAndDel         PyString_ConcatAndDel
#endif
#if PY_MAJOR_VERSION >= 3
  #define __Pyx_PyBaseString_Check(obj) PyUnicode_Check(obj)
  #define __Pyx_PyBaseString_CheckExact(obj) PyUnicode_CheckExact(obj)
#else
  #define __Pyx_PyBaseString_Check(obj) (PyString_CheckExact(obj) || PyUnicode_CheckExact(obj) || \
                                         PyString_Check(obj) || PyUnicode_Check(obj))
  #define __Pyx_PyBaseString_CheckExact(obj) (PyString_CheckExact(obj) || PyUnicode_CheckExact(obj))
#endif
#if PY_VERSION_HEX < 0x02060000
  #define PySet_Check(obj)             PyObject_TypeCheck(obj, &PySet_Type)
  #define PyFrozenSet_Check(obj)       PyObject_TypeCheck(obj, &PyFrozenSet_Type)
#endif
#ifndef PySet_CheckExact
  #define PySet_CheckExact(obj)        (Py_TYPE(obj) == &PySet_Type)
#endif
#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type)
#if PY_MAJOR_VERSION >= 3
  #define PyIntObject                  PyLongObject
  #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 PyNumber_Int                 PyNumber_Long
#endif
#if PY_MAJOR_VERSION >= 3
  #define PyBoolObject                 PyLongObject
#endif
#if PY_VERSION_HEX < 0x030200A4
  typedef long Py_hash_t;
  #define __Pyx_PyInt_FromHash_t PyInt_FromLong
  #define __Pyx_PyInt_AsHash_t   PyInt_AsLong
#else
  #define __Pyx_PyInt_FromHash_t PyInt_FromSsize_t
  #define __Pyx_PyInt_AsHash_t   PyInt_AsSsize_t
#endif
#if (PY_MAJOR_VERSION < 3) || (PY_VERSION_HEX >= 0x03010300)
  #define __Pyx_PySequence_GetSlice(obj, a, b) PySequence_GetSlice(obj, a, b)
  #define __Pyx_PySequence_SetSlice(obj, a, b, value) PySequence_SetSlice(obj, a, b, value)
  #define __Pyx_PySequence_DelSlice(obj, a, b) PySequence_DelSlice(obj, a, b)
#else
  #define __Pyx_PySequence_GetSlice(obj, a, b) (unlikely(!(obj)) ? \
        (PyErr_SetString(PyExc_SystemError, "null argument to internal routine"), (PyObject*)0) : \
        (likely((obj)->ob_type->tp_as_mapping) ? (PySequence_GetSlice(obj, a, b)) : \
            (PyErr_Format(PyExc_TypeError, "'%.200s' object is unsliceable", (obj)->ob_type->tp_name), (PyObject*)0)))
  #define __Pyx_PySequence_SetSlice(obj, a, b, value) (unlikely(!(obj)) ? \
        (PyErr_SetString(PyExc_SystemError, "null argument to internal routine"), -1) : \
        (likely((obj)->ob_type->tp_as_mapping) ? (PySequence_SetSlice(obj, a, b, value)) : \
            (PyErr_Format(PyExc_TypeError, "'%.200s' object doesn't support slice assignment", (obj)->ob_type->tp_name), -1)))
  #define __Pyx_PySequence_DelSlice(obj, a, b) (unlikely(!(obj)) ? \
        (PyErr_SetString(PyExc_SystemError, "null argument to internal routine"), -1) : \
        (likely((obj)->ob_type->tp_as_mapping) ? (PySequence_DelSlice(obj, a, b)) : \
            (PyErr_Format(PyExc_TypeError, "'%.200s' object doesn't support slice deletion", (obj)->ob_type->tp_name), -1)))
#endif
#if PY_MAJOR_VERSION >= 3
  #define PyMethod_New(func, self, klass) ((self) ? PyMethod_New(func, self) : PyInstanceMethod_New(func))
#endif
#if PY_VERSION_HEX < 0x02050000
  #define __Pyx_GetAttrString(o,n)   PyObject_GetAttrString((o),((char *)(n)))
  #define __Pyx_SetAttrString(o,n,a) PyObject_SetAttrString((o),((char *)(n)),(a))
  #define __Pyx_DelAttrString(o,n)   PyObject_DelAttrString((o),((char *)(n)))
#else
  #define __Pyx_GetAttrString(o,n)   PyObject_GetAttrString((o),(n))
  #define __Pyx_SetAttrString(o,n,a) PyObject_SetAttrString((o),(n),(a))
  #define __Pyx_DelAttrString(o,n)   PyObject_DelAttrString((o),(n))
#endif
#if PY_VERSION_HEX < 0x02050000
  #define __Pyx_NAMESTR(n) ((char *)(n))
  #define __Pyx_DOCSTR(n)  ((char *)(n))
#else
  #define __Pyx_NAMESTR(n) (n)
  #define __Pyx_DOCSTR(n)  (n)
#endif
#ifndef CYTHON_INLINE
  #if defined(__GNUC__)
    #define CYTHON_INLINE __inline__
  #elif defined(_MSC_VER)
    #define CYTHON_INLINE __inline
  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
    #define CYTHON_INLINE inline
  #else
    #define CYTHON_INLINE
  #endif
#endif
#ifndef CYTHON_RESTRICT
  #if defined(__GNUC__)
    #define CYTHON_RESTRICT __restrict__
  #elif defined(_MSC_VER) && _MSC_VER >= 1400
    #define CYTHON_RESTRICT __restrict
  #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
    #define CYTHON_RESTRICT restrict
  #else
    #define CYTHON_RESTRICT
  #endif
#endif
#ifdef NAN
#define __PYX_NAN() ((float) NAN)
#else
static CYTHON_INLINE float __PYX_NAN() {
  /* Initialize NaN. The sign is irrelevant, an exponent with all bits 1 and
   a nonzero mantissa means NaN. If the first bit in the mantissa is 1, it is
   a quiet NaN. */
  float value;
  memset(&value, 0xFF, sizeof(value));
  return value;
}
#endif


#if PY_MAJOR_VERSION >= 3
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_TrueDivide(x,y)
  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceTrueDivide(x,y)
#else
  #define __Pyx_PyNumber_Divide(x,y)         PyNumber_Divide(x,y)
  #define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceDivide(x,y)
#endif

#ifndef __PYX_EXTERN_C
  #ifdef __cplusplus
    #define __PYX_EXTERN_C extern "C"
  #else
    #define __PYX_EXTERN_C extern
  #endif
#endif

#if defined(WIN32) || defined(MS_WINDOWS)
#define _USE_MATH_DEFINES
#endif
#include <math.h>
#define __PYX_HAVE__Cython__Compiler__Scanning
#define __PYX_HAVE_API__Cython__Compiler__Scanning
#ifdef _OPENMP
#include <omp.h>
#endif /* _OPENMP */

#ifdef PYREX_WITHOUT_ASSERTIONS
#define CYTHON_WITHOUT_ASSERTIONS
#endif

#ifndef CYTHON_UNUSED
# if defined(__GNUC__)
#   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
#     define CYTHON_UNUSED __attribute__ ((__unused__))
#   else
#     define CYTHON_UNUSED
#   endif
# elif defined(__ICC) || (defined(__INTEL_COMPILER) && !defined(_MSC_VER))
#   define CYTHON_UNUSED __attribute__ ((__unused__))
# else
#   define CYTHON_UNUSED
# endif
#endif
typedef struct {PyObject **p; char *s; const Py_ssize_t n; const char* encoding;
                const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry; /*proto*/

#define __PYX_DEFAULT_STRING_ENCODING_IS_ASCII 0
#define __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT 0
#define __PYX_DEFAULT_STRING_ENCODING ""
#define __Pyx_PyObject_FromString __Pyx_PyBytes_FromString
#define __Pyx_PyObject_FromStringAndSize __Pyx_PyBytes_FromStringAndSize
#define __Pyx_fits_Py_ssize_t(v, type, is_signed)  (    \
    (sizeof(type) < sizeof(Py_ssize_t))  ||             \
    (sizeof(type) > sizeof(Py_ssize_t) &&               \
          likely(v < (type)PY_SSIZE_T_MAX ||            \
                 v == (type)PY_SSIZE_T_MAX)  &&         \
          (!is_signed || likely(v > (type)PY_SSIZE_T_MIN ||       \
                                v == (type)PY_SSIZE_T_MIN)))  ||  \
    (sizeof(type) == sizeof(Py_ssize_t) &&              \
          (is_signed || likely(v < (type)PY_SSIZE_T_MAX ||        \
                               v == (type)PY_SSIZE_T_MAX)))  )
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject*);
static CYTHON_INLINE char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
#define __Pyx_PyByteArray_FromString(s) PyByteArray_FromStringAndSize((const char*)s, strlen((const char*)s))
#define __Pyx_PyByteArray_FromStringAndSize(s, l) PyByteArray_FromStringAndSize((const char*)s, l)
#define __Pyx_PyBytes_FromString        PyBytes_FromString
#define __Pyx_PyBytes_FromStringAndSize PyBytes_FromStringAndSize
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(char*);
#if PY_MAJOR_VERSION < 3
    #define __Pyx_PyStr_FromString        __Pyx_PyBytes_FromString
    #define __Pyx_PyStr_FromStringAndSize __Pyx_PyBytes_FromStringAndSize
#else
    #define __Pyx_PyStr_FromString        __Pyx_PyUnicode_FromString
    #define __Pyx_PyStr_FromStringAndSize __Pyx_PyUnicode_FromStringAndSize
#endif
#define __Pyx_PyObject_AsSString(s)    ((signed char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_AsUString(s)    ((unsigned char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_FromUString(s)  __Pyx_PyObject_FromString((char*)s)
#define __Pyx_PyBytes_FromUString(s)   __Pyx_PyBytes_FromString((char*)s)
#define __Pyx_PyByteArray_FromUString(s)   __Pyx_PyByteArray_FromString((char*)s)
#define __Pyx_PyStr_FromUString(s)     __Pyx_PyStr_FromString((char*)s)
#define __Pyx_PyUnicode_FromUString(s) __Pyx_PyUnicode_FromString((char*)s)
#if PY_MAJOR_VERSION < 3
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u)
{
    const Py_UNICODE *u_end = u;
    while (*u_end++) ;
    return u_end - u - 1;
}
#else
#define __Pyx_Py_UNICODE_strlen Py_UNICODE_strlen
#endif
#define __Pyx_PyUnicode_FromUnicode(u)       PyUnicode_FromUnicode(u, __Pyx_Py_UNICODE_strlen(u))
#define __Pyx_PyUnicode_FromUnicodeAndLength PyUnicode_FromUnicode
#define __Pyx_PyUnicode_AsUnicode            PyUnicode_AsUnicode
#define __Pyx_Owned_Py_None(b) (Py_INCREF(Py_None), Py_None)
#define __Pyx_PyBool_FromLong(b) ((b) ? (Py_INCREF(Py_True), Py_True) : (Py_INCREF(Py_False), Py_False))
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject*);
static CYTHON_INLINE PyObject* __Pyx_PyNumber_Int(PyObject* x);
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t);
#if CYTHON_COMPILING_IN_CPYTHON
#define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
#else
#define __pyx_PyFloat_AsDouble(x) PyFloat_AsDouble(x)
#endif
#define __pyx_PyFloat_AsFloat(x) ((float) __pyx_PyFloat_AsDouble(x))
#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
static int __Pyx_sys_getdefaultencoding_not_ascii;
static int __Pyx_init_sys_getdefaultencoding_params(void) {
    PyObject* sys = NULL;
    PyObject* default_encoding = NULL;
    PyObject* ascii_chars_u = NULL;
    PyObject* ascii_chars_b = NULL;
    sys = PyImport_ImportModule("sys");
    if (sys == NULL) goto bad;
    default_encoding = PyObject_CallMethod(sys, (char*) (const char*) "getdefaultencoding", NULL);
    if (default_encoding == NULL) goto bad;
    if (strcmp(PyBytes_AsString(default_encoding), "ascii") == 0) {
        __Pyx_sys_getdefaultencoding_not_ascii = 0;
    } else {
        const char* default_encoding_c = PyBytes_AS_STRING(default_encoding);
        char ascii_chars[128];
        int c;
        for (c = 0; c < 128; c++) {
            ascii_chars[c] = c;
        }
        __Pyx_sys_getdefaultencoding_not_ascii = 1;
        ascii_chars_u = PyUnicode_DecodeASCII(ascii_chars, 128, NULL);
        if (ascii_chars_u == NULL) goto bad;
        ascii_chars_b = PyUnicode_AsEncodedString(ascii_chars_u, default_encoding_c, NULL);
        if (ascii_chars_b == NULL || strncmp(ascii_chars, PyBytes_AS_STRING(ascii_chars_b), 128) != 0) {
            PyErr_Format(
                PyExc_ValueError,
                "This module compiled with c_string_encoding=ascii, but default encoding '%.200s' is not a superset of ascii.",
                default_encoding_c);
            goto bad;
        }
    }
    Py_XDECREF(sys);
    Py_XDECREF(default_encoding);
    Py_XDECREF(ascii_chars_u);
    Py_XDECREF(ascii_chars_b);
    return 0;
bad:
    Py_XDECREF(sys);
    Py_XDECREF(default_encoding);
    Py_XDECREF(ascii_chars_u);
    Py_XDECREF(ascii_chars_b);
    return -1;
}
#endif
#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT && PY_MAJOR_VERSION >= 3
#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_DecodeUTF8(c_str, size, NULL)
#else
#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_Decode(c_str, size, __PYX_DEFAULT_STRING_ENCODING, NULL)
#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
static char* __PYX_DEFAULT_STRING_ENCODING;
static int __Pyx_init_sys_getdefaultencoding_params(void) {
    PyObject* sys = NULL;
    PyObject* default_encoding = NULL;
    char* default_encoding_c;
    sys = PyImport_ImportModule("sys");
    if (sys == NULL) goto bad;
    default_encoding = PyObject_CallMethod(sys, (char*) (const char*) "getdefaultencoding", NULL);
    if (default_encoding == NULL) goto bad;
    default_encoding_c = PyBytes_AS_STRING(default_encoding);
    __PYX_DEFAULT_STRING_ENCODING = (char*) malloc(strlen(default_encoding_c));
    strcpy(__PYX_DEFAULT_STRING_ENCODING, default_encoding_c);
    Py_DECREF(sys);
    Py_DECREF(default_encoding);
    return 0;
bad:
    Py_XDECREF(sys);
    Py_XDECREF(default_encoding);
    return -1;
}
#endif
#endif


#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_d;
static PyObject *__pyx_b;
static PyObject *__pyx_empty_tuple;
static PyObject *__pyx_empty_bytes;
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[] = {
  "Scanning.py",
  "Scanning.pxd",
  "Actions.pxd",
};

/*--- Type declarations ---*/
struct __pyx_obj_6Cython_4Plex_7Actions_Action;
struct __pyx_obj_6Cython_4Plex_7Actions_Return;
struct __pyx_obj_6Cython_4Plex_7Actions_Call;
struct __pyx_obj_6Cython_4Plex_7Actions_Begin;
struct __pyx_obj_6Cython_4Plex_7Actions_Ignore;
struct __pyx_obj_6Cython_4Plex_7Actions_Text;
struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner;
struct __pyx_obj_6Cython_8Compiler_8Scanning_Method;
struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope;
struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner;
struct __pyx_opt_args_6Cython_4Plex_8Scanners_7Scanner_produce;

/* "Cython/Plex/Scanners.pxd":43
 * 
 *     cdef begin(self, state)
 *     cdef produce(self, value, text = *)             # <<<<<<<<<<<<<<
 */
struct __pyx_opt_args_6Cython_4Plex_8Scanners_7Scanner_produce {
  int __pyx_n;
  PyObject *text;
};
struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expect;
struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expect_keyword;
struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expected;
struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expect_newline;

/* "Cython/Compiler/Scanning.pxd":47
 *     #cpdef put_back(self, sy, systring)
 *     #cdef unread(self, token, value)
 *     cdef bint expect(self, what, message = *) except -2             # <<<<<<<<<<<<<<
 *     cdef expect_keyword(self, what, message = *)
 *     cdef expected(self, what, message = *)
 */
struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expect {
  int __pyx_n;
  PyObject *message;
};

/* "Cython/Compiler/Scanning.pxd":48
 *     #cdef unread(self, token, value)
 *     cdef bint expect(self, what, message = *) except -2
 *     cdef expect_keyword(self, what, message = *)             # <<<<<<<<<<<<<<
 *     cdef expected(self, what, message = *)
 *     cdef expect_indent(self)
 */
struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expect_keyword {
  int __pyx_n;
  PyObject *message;
};

/* "Cython/Compiler/Scanning.pxd":49
 *     cdef bint expect(self, what, message = *) except -2
 *     cdef expect_keyword(self, what, message = *)
 *     cdef expected(self, what, message = *)             # <<<<<<<<<<<<<<
 *     cdef expect_indent(self)
 *     cdef expect_dedent(self)
 */
struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expected {
  int __pyx_n;
  PyObject *message;
};

/* "Cython/Compiler/Scanning.pxd":52
 *     cdef expect_indent(self)
 *     cdef expect_dedent(self)
 *     cdef expect_newline(self, message = *)             # <<<<<<<<<<<<<<
 */
struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expect_newline {
  int __pyx_n;
  PyObject *message;
};

/* "Cython/Plex/Actions.pxd":2
 * 
 * cdef class Action:             # <<<<<<<<<<<<<<
 *   cdef perform(self, token_stream, text)
 *   cpdef same_as(self, other)
 */
struct __pyx_obj_6Cython_4Plex_7Actions_Action {
  PyObject_HEAD
  struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Action *__pyx_vtab;
};


/* "Cython/Plex/Actions.pxd":6
 *   cpdef same_as(self, other)
 * 
 * cdef class Return(Action):             # <<<<<<<<<<<<<<
 *   cdef object value
 *   cdef perform(self, token_stream, text)
 */
struct __pyx_obj_6Cython_4Plex_7Actions_Return {
  struct __pyx_obj_6Cython_4Plex_7Actions_Action __pyx_base;
  PyObject *value;
};


/* "Cython/Plex/Actions.pxd":11
 *   cpdef same_as(self, other)
 * 
 * cdef class Call(Action):             # <<<<<<<<<<<<<<
 *   cdef object function
 *   cdef perform(self, token_stream, text)
 */
struct __pyx_obj_6Cython_4Plex_7Actions_Call {
  struct __pyx_obj_6Cython_4Plex_7Actions_Action __pyx_base;
  PyObject *function;
};


/* "Cython/Plex/Actions.pxd":16
 *   cpdef same_as(self, other)
 * 
 * cdef class Begin(Action):             # <<<<<<<<<<<<<<
 *   cdef object state_name
 *   cdef perform(self, token_stream, text)
 */
struct __pyx_obj_6Cython_4Plex_7Actions_Begin {
  struct __pyx_obj_6Cython_4Plex_7Actions_Action __pyx_base;
  PyObject *state_name;
};


/* "Cython/Plex/Actions.pxd":21
 *   cpdef same_as(self, other)
 * 
 * cdef class Ignore(Action):             # <<<<<<<<<<<<<<
 *   cdef perform(self, token_stream, text)
 * 
 */
struct __pyx_obj_6Cython_4Plex_7Actions_Ignore {
  struct __pyx_obj_6Cython_4Plex_7Actions_Action __pyx_base;
};


/* "Cython/Plex/Actions.pxd":24
 *   cdef perform(self, token_stream, text)
 * 
 * cdef class Text(Action):             # <<<<<<<<<<<<<<
 *   cdef perform(self, token_stream, text)
 */
struct __pyx_obj_6Cython_4Plex_7Actions_Text {
  struct __pyx_obj_6Cython_4Plex_7Actions_Action __pyx_base;
};


/* "Cython/Plex/Scanners.pxd":5
 * from Cython.Plex.Actions cimport Action
 * 
 * cdef class Scanner:             # <<<<<<<<<<<<<<
 * 
 *     cdef public lexicon
 */
struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner {
  PyObject_HEAD
  struct __pyx_vtabstruct_6Cython_4Plex_8Scanners_Scanner *__pyx_vtab;
  PyObject *lexicon;
  PyObject *stream;
  PyObject *name;
  PyObject *buffer;
  Py_ssize_t buf_start_pos;
  Py_ssize_t next_pos;
  Py_ssize_t cur_pos;
  Py_ssize_t cur_line;
  Py_ssize_t cur_line_start;
  Py_ssize_t start_pos;
  Py_ssize_t start_line;
  Py_ssize_t start_col;
  PyObject *text;
  PyObject *initial_state;
  PyObject *state_name;
  PyObject *queue;
  int trace;
  PyObject *cur_char;
  int input_state;
  PyObject *level;
};

struct __pyx_obj_6Cython_8Compiler_8Scanning_Method {
  PyObject_HEAD
  PyObject *name;
  PyObject *__pyx___name__;
};


/* "Cython/Compiler/Scanning.pxd":9
 *     cdef object __name__
 * 
 * cdef class CompileTimeScope:             # <<<<<<<<<<<<<<
 *     cdef public dict entries
 *     cdef public CompileTimeScope outer
 */
struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope {
  PyObject_HEAD
  struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_vtab;
  PyObject *entries;
  struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *outer;
};


/* "Cython/Compiler/Scanning.pxd":16
 *     cpdef lookup(self, name)
 * 
 * cdef class PyrexScanner(Scanner):             # <<<<<<<<<<<<<<
 *     cdef public context
 *     cdef public list included_files
 */
struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner {
  struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner __pyx_base;
  PyObject *context;
  PyObject *included_files;
  struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *compile_time_env;
  int compile_time_eval;
  int compile_time_expr;
  int parse_comments;
  int in_python_file;
  PyObject *source_encoding;
  PyObject *keywords;
  PyObject *indentation_stack;
  PyObject *indentation_char;
  int bracket_nesting_level;
  PyObject *sy;
  PyObject *systring;
};



/* "Cython/Plex/Actions.pxd":2
 * 
 * cdef class Action:             # <<<<<<<<<<<<<<
 *   cdef perform(self, token_stream, text)
 *   cpdef same_as(self, other)
 */

struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Action {
  PyObject *(*perform)(struct __pyx_obj_6Cython_4Plex_7Actions_Action *, PyObject *, PyObject *);
  PyObject *(*same_as)(struct __pyx_obj_6Cython_4Plex_7Actions_Action *, PyObject *, int __pyx_skip_dispatch);
};
static struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Action *__pyx_vtabptr_6Cython_4Plex_7Actions_Action;


/* "Cython/Plex/Actions.pxd":6
 *   cpdef same_as(self, other)
 * 
 * cdef class Return(Action):             # <<<<<<<<<<<<<<
 *   cdef object value
 *   cdef perform(self, token_stream, text)
 */

struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Return {
  struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Action __pyx_base;
};
static struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Return *__pyx_vtabptr_6Cython_4Plex_7Actions_Return;


/* "Cython/Plex/Actions.pxd":11
 *   cpdef same_as(self, other)
 * 
 * cdef class Call(Action):             # <<<<<<<<<<<<<<
 *   cdef object function
 *   cdef perform(self, token_stream, text)
 */

struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Call {
  struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Action __pyx_base;
};
static struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Call *__pyx_vtabptr_6Cython_4Plex_7Actions_Call;


/* "Cython/Plex/Actions.pxd":16
 *   cpdef same_as(self, other)
 * 
 * cdef class Begin(Action):             # <<<<<<<<<<<<<<
 *   cdef object state_name
 *   cdef perform(self, token_stream, text)
 */

struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Begin {
  struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Action __pyx_base;
};
static struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Begin *__pyx_vtabptr_6Cython_4Plex_7Actions_Begin;


/* "Cython/Plex/Actions.pxd":21
 *   cpdef same_as(self, other)
 * 
 * cdef class Ignore(Action):             # <<<<<<<<<<<<<<
 *   cdef perform(self, token_stream, text)
 * 
 */

struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Ignore {
  struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Action __pyx_base;
};
static struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Ignore *__pyx_vtabptr_6Cython_4Plex_7Actions_Ignore;


/* "Cython/Plex/Actions.pxd":24
 *   cdef perform(self, token_stream, text)
 * 
 * cdef class Text(Action):             # <<<<<<<<<<<<<<
 *   cdef perform(self, token_stream, text)
 */

struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Text {
  struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Action __pyx_base;
};
static struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Text *__pyx_vtabptr_6Cython_4Plex_7Actions_Text;


/* "Cython/Plex/Scanners.pxd":5
 * from Cython.Plex.Actions cimport Action
 * 
 * cdef class Scanner:             # <<<<<<<<<<<<<<
 * 
 *     cdef public lexicon
 */

struct __pyx_vtabstruct_6Cython_4Plex_8Scanners_Scanner {
  PyObject *(*next_char)(struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *);
  PyObject *(*read)(struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *);
  PyObject *(*scan_a_token)(struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *);
  PyObject *(*position)(struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *);
  PyObject *(*run_machine_inlined)(struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *);
  PyObject *(*begin)(struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *, PyObject *);
  PyObject *(*produce)(struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *, PyObject *, struct __pyx_opt_args_6Cython_4Plex_8Scanners_7Scanner_produce *__pyx_optional_args);
};
static struct __pyx_vtabstruct_6Cython_4Plex_8Scanners_Scanner *__pyx_vtabptr_6Cython_4Plex_8Scanners_Scanner;


/* "Cython/Compiler/Scanning.py":61
 * #------------------------------------------------------------------
 * 
 * class CompileTimeScope(object):             # <<<<<<<<<<<<<<
 * 
 *     def __init__(self, outer = None):
 */

struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_CompileTimeScope {
  PyObject *(*declare)(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *, PyObject *, PyObject *);
  PyObject *(*lookup_here)(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *, PyObject *);
  PyObject *(*lookup)(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *, PyObject *, int __pyx_skip_dispatch);
};
static struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_vtabptr_6Cython_8Compiler_8Scanning_CompileTimeScope;


/* "Cython/Compiler/Scanning.py":274
 * #------------------------------------------------------------------
 * 
 * class PyrexScanner(Scanner):             # <<<<<<<<<<<<<<
 *     #  context            Context  Compilation context
 *     #  included_files     [string] Files included with 'include' statement
 */

struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner {
  struct __pyx_vtabstruct_6Cython_4Plex_8Scanners_Scanner __pyx_base;
  long (*current_level)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *);
  PyObject *(*indentation_action)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *, PyObject *, int __pyx_skip_dispatch);
  PyObject *(*next)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *);
  PyObject *(*peek)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *);
  int (*expect)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *, PyObject *, struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expect *__pyx_optional_args);
  PyObject *(*expect_keyword)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *, PyObject *, struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expect_keyword *__pyx_optional_args);
  PyObject *(*expected)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *, PyObject *, struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expected *__pyx_optional_args);
  PyObject *(*expect_indent)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *);
  PyObject *(*expect_dedent)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *);
  PyObject *(*expect_newline)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *, struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expect_newline *__pyx_optional_args);
};
static struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_vtabptr_6Cython_8Compiler_8Scanning_PyrexScanner;
#ifndef CYTHON_REFNANNY
  #define CYTHON_REFNANNY 0
#endif
#if CYTHON_REFNANNY
  typedef struct {
    void (*INCREF)(void*, PyObject*, int);
    void (*DECREF)(void*, PyObject*, int);
    void (*GOTREF)(void*, PyObject*, int);
    void (*GIVEREF)(void*, PyObject*, int);
    void* (*SetupContext)(const char*, int, const char*);
    void (*FinishContext)(void**);
  } __Pyx_RefNannyAPIStruct;
  static __Pyx_RefNannyAPIStruct *__Pyx_RefNanny = NULL;
  static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname); /*proto*/
  #define __Pyx_RefNannyDeclarations void *__pyx_refnanny = NULL;
#ifdef WITH_THREAD
  #define __Pyx_RefNannySetupContext(name, acquire_gil) \
          if (acquire_gil) { \
              PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure(); \
              __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__); \
              PyGILState_Release(__pyx_gilstate_save); \
          } else { \
              __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__); \
          }
#else
  #define __Pyx_RefNannySetupContext(name, acquire_gil) \
          __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__)
#endif
  #define __Pyx_RefNannyFinishContext() \
          __Pyx_RefNanny->FinishContext(&__pyx_refnanny)
  #define __Pyx_INCREF(r)  __Pyx_RefNanny->INCREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_DECREF(r)  __Pyx_RefNanny->DECREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_GOTREF(r)  __Pyx_RefNanny->GOTREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_GIVEREF(r) __Pyx_RefNanny->GIVEREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
  #define __Pyx_XINCREF(r)  do { if((r) != NULL) {__Pyx_INCREF(r); }} while(0)
  #define __Pyx_XDECREF(r)  do { if((r) != NULL) {__Pyx_DECREF(r); }} while(0)
  #define __Pyx_XGOTREF(r)  do { if((r) != NULL) {__Pyx_GOTREF(r); }} while(0)
  #define __Pyx_XGIVEREF(r) do { if((r) != NULL) {__Pyx_GIVEREF(r);}} while(0)
#else
  #define __Pyx_RefNannyDeclarations
  #define __Pyx_RefNannySetupContext(name, acquire_gil)
  #define __Pyx_RefNannyFinishContext()
  #define __Pyx_INCREF(r) Py_INCREF(r)
  #define __Pyx_DECREF(r) Py_DECREF(r)
  #define __Pyx_GOTREF(r)
  #define __Pyx_GIVEREF(r)
  #define __Pyx_XINCREF(r) Py_XINCREF(r)
  #define __Pyx_XDECREF(r) Py_XDECREF(r)
  #define __Pyx_XGOTREF(r)
  #define __Pyx_XGIVEREF(r)
#endif /* CYTHON_REFNANNY */
#define __Pyx_XDECREF_SET(r, v) do {                            \
        PyObject *tmp = (PyObject *) r;                         \
        r = v; __Pyx_XDECREF(tmp);                              \
    } while (0)
#define __Pyx_DECREF_SET(r, v) do {                             \
        PyObject *tmp = (PyObject *) r;                         \
        r = v; __Pyx_DECREF(tmp);                               \
    } while (0)
#define __Pyx_CLEAR(r)    do { PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);} while(0)
#define __Pyx_XCLEAR(r)   do { if((r) != NULL) {PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);}} while(0)

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) {
    PyTypeObject* tp = Py_TYPE(obj);
    if (likely(tp->tp_getattro))
        return tp->tp_getattro(obj, attr_name);
#if PY_MAJOR_VERSION < 3
    if (likely(tp->tp_getattr))
        return tp->tp_getattr(obj, PyString_AS_STRING(attr_name));
#endif
    return PyObject_GetAttr(obj, attr_name);
}
#else
#define __Pyx_PyObject_GetAttrStr(o,n) PyObject_GetAttr(o,n)
#endif

static PyObject *__Pyx_GetBuiltinName(PyObject *name); /*proto*/

static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name); /*proto*/

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw); /*proto*/
#else
#define __Pyx_PyObject_Call(func, arg, kw) PyObject_Call(func, arg, kw)
#endif

static void __Pyx_RaiseDoubleKeywordsError(const char* func_name, PyObject* kw_name); /*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 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 CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *, PyObject *); /*proto*/

static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type); /*proto*/

#if PY_MAJOR_VERSION >= 3
static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key) {
    PyObject *value;
    value = PyDict_GetItemWithError(d, key);
    if (unlikely(!value)) {
        if (!PyErr_Occurred()) {
            PyObject* args = PyTuple_Pack(1, key);
            if (likely(args))
                PyErr_SetObject(PyExc_KeyError, args);
            Py_XDECREF(args);
        }
        return NULL;
    }
    Py_INCREF(value);
    return value;
}
#else
    #define __Pyx_PyDict_GetItem(d, key) PyObject_GetItem(d, key)
#endif

static CYTHON_INLINE int __Pyx_PyDict_Contains(PyObject* item, PyObject* dict, int eq) {
    int result = PyDict_Contains(dict, item);
    return unlikely(result < 0) ? result : (result == (eq == Py_EQ));
}

static CYTHON_INLINE void __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb); /*proto*/
static void __Pyx_ExceptionReset(PyObject *type, PyObject *value, PyObject *tb); /*proto*/

static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb); /*proto*/

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

static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected);

static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index);

static CYTHON_INLINE int __Pyx_IterFinish(void); /*proto*/

static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected); /*proto*/

#include <string.h>

static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int equals); /*proto*/

static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int equals); /*proto*/

static CYTHON_INLINE PyObject* __Pyx_PyObject_GetSlice(
        PyObject* obj, Py_ssize_t cstart, Py_ssize_t cstop,
        PyObject** py_start, PyObject** py_stop, PyObject** py_slice,
        int has_cstart, int has_cstop, int wraparound);

#if CYTHON_COMPILING_IN_CPYTHON
#define __Pyx_PyObject_DelAttrStr(o,n) __Pyx_PyObject_SetAttrStr(o,n,NULL)
static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr_name, PyObject* value) {
    PyTypeObject* tp = Py_TYPE(obj);
    if (likely(tp->tp_setattro))
        return tp->tp_setattro(obj, attr_name, value);
#if PY_MAJOR_VERSION < 3
    if (likely(tp->tp_setattr))
        return tp->tp_setattr(obj, PyString_AS_STRING(attr_name), value);
#endif
    return PyObject_SetAttr(obj, attr_name, value);
}
#else
#define __Pyx_PyObject_DelAttrStr(o,n)   PyObject_DelAttr(o,n)
#define __Pyx_PyObject_SetAttrStr(o,n,v) PyObject_SetAttr(o,n,v)
#endif

static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value, PyObject **tb); /*proto*/

static CYTHON_INLINE int __Pyx_PySequence_Contains(PyObject* item, PyObject* seq, int eq) {
    int result = PySequence_Contains(seq, item);
    return unlikely(result < 0) ? result : (result == (eq == Py_EQ));
}

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE int __Pyx_ListComp_Append(PyObject* list, PyObject* x) {
    PyListObject* L = (PyListObject*) list;
    Py_ssize_t len = Py_SIZE(list);
    if (likely(L->allocated > len)) {
        Py_INCREF(x);
        PyList_SET_ITEM(list, len, x);
        Py_SIZE(list) = len+1;
        return 0;
    }
    return PyList_Append(list, x);
}
#else
#define __Pyx_ListComp_Append(L,x) PyList_Append(L,x)
#endif

#if PY_VERSION_HEX < 0x02050000
#ifndef PyAnySet_CheckExact
#define PyAnySet_CheckExact(ob) \
    ((ob)->ob_type == &PySet_Type || \
     (ob)->ob_type == &PyFrozenSet_Type)
#define PySet_New(iterable) \
    PyObject_CallFunctionObjArgs((PyObject *)&PySet_Type, (iterable), NULL)
#define Pyx_PyFrozenSet_New(iterable) \
    PyObject_CallFunctionObjArgs((PyObject *)&PyFrozenSet_Type, (iterable), NULL)
#define PySet_Size(anyset) \
    PyObject_Size((anyset))
#define PySet_Contains(anyset, key) \
    PySequence_Contains((anyset), (key))
#define PySet_Pop(set) \
    PyObject_CallMethod((set), (char*)"pop", NULL)
static CYTHON_INLINE int PySet_Clear(PyObject *set) {
    PyObject *ret = PyObject_CallMethod(set, (char*)"clear", NULL);
    if (!ret) return -1;
    Py_DECREF(ret); return 0;
}
static CYTHON_INLINE int PySet_Discard(PyObject *set, PyObject *key) {
    PyObject *ret = PyObject_CallMethod(set, (char*)"discard", (char*)"(O)", key);
    if (!ret) return -1;
    Py_DECREF(ret); return 0;
}
static CYTHON_INLINE int PySet_Add(PyObject *set, PyObject *key) {
    PyObject *ret = PyObject_CallMethod(set, (char*)"add", (char*)"(O)", key);
    if (!ret) return -1;
    Py_DECREF(ret); return 0;
}
#endif /* PyAnySet_CheckExact (<= Py2.4) */
#endif /* < Py2.5  */

#define __Pyx_GetItemInt(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck) \
    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ? \
    __Pyx_GetItemInt_Fast(o, (Py_ssize_t)i, is_list, wraparound, boundscheck) : \
    (is_list ? (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL) : \
               __Pyx_GetItemInt_Generic(o, to_py_func(i))))
#define __Pyx_GetItemInt_List(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck) \
    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ? \
    __Pyx_GetItemInt_List_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) : \
    (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL))
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
                                                              int wraparound, int boundscheck);
#define __Pyx_GetItemInt_Tuple(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck) \
    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ? \
    __Pyx_GetItemInt_Tuple_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) : \
    (PyErr_SetString(PyExc_IndexError, "tuple index out of range"), (PyObject*)NULL))
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
                                                              int wraparound, int boundscheck);
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j);
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
                                                     int is_list, int wraparound, int boundscheck);

static void __Pyx_WriteUnraisable(const char *name, int clineno,
                                  int lineno, const char *filename,
                                  int full_traceback); /*proto*/

static CYTHON_INLINE int __Pyx_PyUnicode_Contains(PyObject* substring, PyObject* text, int eq) {
    int result = PyUnicode_Contains(text, substring);
    return unlikely(result < 0) ? result : (result == (eq == Py_EQ));
}

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE int __Pyx_PyList_Append(PyObject* list, PyObject* x) {
    PyListObject* L = (PyListObject*) list;
    Py_ssize_t len = Py_SIZE(list);
    if (likely(L->allocated > len) & likely(len > (L->allocated >> 1))) {
        Py_INCREF(x);
        PyList_SET_ITEM(list, len, x);
        Py_SIZE(list) = len+1;
        return 0;
    }
    return PyList_Append(list, x);
}
#else
#define __Pyx_PyList_Append(L,x) PyList_Append(L,x)
#endif

static PyObject* __Pyx_PyObject_CallMethodTuple(PyObject* obj, PyObject* method_name, PyObject* args) {
    PyObject *method, *result = NULL;
    if (unlikely(!args)) return NULL;
    method = __Pyx_PyObject_GetAttrStr(obj, method_name);
    if (unlikely(!method)) goto bad;
    result = __Pyx_PyObject_Call(method, args, NULL);
    Py_DECREF(method);
bad:
    Py_DECREF(args);
    return result;
}
#define __Pyx_PyObject_CallMethod3(obj, name, arg1, arg2, arg3) \
    __Pyx_PyObject_CallMethodTuple(obj, name, PyTuple_Pack(3, arg1, arg2, arg3))
#define __Pyx_PyObject_CallMethod2(obj, name, arg1, arg2) \
    __Pyx_PyObject_CallMethodTuple(obj, name, PyTuple_Pack(2, arg1, arg2))
#define __Pyx_PyObject_CallMethod1(obj, name, arg1) \
    __Pyx_PyObject_CallMethodTuple(obj, name, PyTuple_Pack(1, arg1))
#define __Pyx_PyObject_CallMethod0(obj, name) \
    __Pyx_PyObject_CallMethodTuple(obj, name, (Py_INCREF(__pyx_empty_tuple), __pyx_empty_tuple))

#define __Pyx_PyObject_Pop(L) (PyList_CheckExact(L) ? \
    __Pyx_PyList_Pop(L) : __Pyx__PyObject_Pop(L))
static CYTHON_INLINE PyObject* __Pyx_PyList_Pop(PyObject* L); /*proto*/
static CYTHON_INLINE PyObject* __Pyx__PyObject_Pop(PyObject* L); /*proto*/

static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void);

static CYTHON_INLINE void __Pyx_RaiseUnboundLocalError(const char *varname);

static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause); /*proto*/

static void __Pyx_call_next_tp_dealloc(PyObject* obj, destructor current_tp_dealloc);

static int __Pyx_call_next_tp_traverse(PyObject* obj, visitproc v, void *a, traverseproc current_tp_traverse);

static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_dealloc);

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

static void* __Pyx_GetVtable(PyObject *dict); /*proto*/

static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name); /*proto*/

static PyTypeObject* __Pyx_FetchCommonType(PyTypeObject* type);

#define __Pyx_CyFunction_USED 1
#include <structmember.h>
#define __Pyx_CYFUNCTION_STATICMETHOD  0x01
#define __Pyx_CYFUNCTION_CLASSMETHOD   0x02
#define __Pyx_CYFUNCTION_CCLASS        0x04
#define __Pyx_CyFunction_GetClosure(f) \
    (((__pyx_CyFunctionObject *) (f))->func_closure)
#define __Pyx_CyFunction_GetClassObj(f) \
    (((__pyx_CyFunctionObject *) (f))->func_classobj)
#define __Pyx_CyFunction_Defaults(type, f) \
    ((type *)(((__pyx_CyFunctionObject *) (f))->defaults))
#define __Pyx_CyFunction_SetDefaultsGetter(f, g) \
    ((__pyx_CyFunctionObject *) (f))->defaults_getter = (g)
typedef struct {
    PyCFunctionObject func;
    PyObject *func_dict;
    PyObject *func_weakreflist;
    PyObject *func_name;
    PyObject *func_qualname;
    PyObject *func_doc;
    PyObject *func_globals;
    PyObject *func_code;
    PyObject *func_closure;
    PyObject *func_classobj; /* No-args super() class cell */
    void *defaults;
    int defaults_pyobjects;
    int flags;
    PyObject *defaults_tuple;   /* Const defaults tuple */
    PyObject *defaults_kwdict;  /* Const kwonly defaults dict */
    PyObject *(*defaults_getter)(PyObject *);
    PyObject *func_annotations; /* function annotations dict */
} __pyx_CyFunctionObject;
static PyTypeObject *__pyx_CyFunctionType = 0;
#define __Pyx_CyFunction_NewEx(ml, flags, qualname, self, module, globals, code) \
    __Pyx_CyFunction_New(__pyx_CyFunctionType, ml, flags, qualname, self, module, globals, code)
static PyObject *__Pyx_CyFunction_New(PyTypeObject *, PyMethodDef *ml,
                                      int flags, PyObject* qualname,
                                      PyObject *self,
                                      PyObject *module, PyObject *globals,
                                      PyObject* code);
static CYTHON_INLINE void *__Pyx_CyFunction_InitDefaults(PyObject *m,
                                                         size_t size,
                                                         int pyobjects);
static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsTuple(PyObject *m,
                                                            PyObject *tuple);
static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *m,
                                                             PyObject *dict);
static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *m,
                                                              PyObject *dict);
static int __Pyx_CyFunction_init(void);

static PyObject *__Pyx_CalculateMetaclass(PyTypeObject *metaclass, PyObject *bases);

static PyObject *__Pyx_Py3MetaclassPrepare(PyObject *metaclass, PyObject *bases, PyObject *name, PyObject *qualname,
                                           PyObject *mkw, PyObject *modname, PyObject *doc); /*proto*/
static PyObject *__Pyx_Py3ClassCreate(PyObject *metaclass, PyObject *name, PyObject *bases, PyObject *dict,
                                      PyObject *mkw, int calculate_metaclass, int allow_py2_metaclass); /*proto*/

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value);

static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *);

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

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value);

static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *);

static int __Pyx_check_binary_version(void);

#if !defined(__Pyx_PyIdentifier_FromString)
#if PY_MAJOR_VERSION < 3
  #define __Pyx_PyIdentifier_FromString(s) PyString_FromString(s)
#else
  #define __Pyx_PyIdentifier_FromString(s) PyUnicode_FromString(s)
#endif
#endif

static PyObject *__Pyx_ImportModule(const char *name); /*proto*/

static PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class_name, size_t size, int strict);  /*proto*/

typedef struct {
    int code_line;
    PyCodeObject* code_object;
} __Pyx_CodeObjectCacheEntry;
struct __Pyx_CodeObjectCache {
    int count;
    int max_count;
    __Pyx_CodeObjectCacheEntry* entries;
};
static struct __Pyx_CodeObjectCache __pyx_code_cache = {0,0,NULL};
static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line);
static PyCodeObject *__pyx_find_code_object(int code_line);
static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object);

static void __Pyx_AddTraceback(const char *funcname, int c_line,
                               int py_line, const char *filename); /*proto*/

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


/* Module declarations from 'cython' */

/* Module declarations from 'Cython.Plex.Actions' */
static PyTypeObject *__pyx_ptype_6Cython_4Plex_7Actions_Action = 0;
static PyTypeObject *__pyx_ptype_6Cython_4Plex_7Actions_Return = 0;
static PyTypeObject *__pyx_ptype_6Cython_4Plex_7Actions_Call = 0;
static PyTypeObject *__pyx_ptype_6Cython_4Plex_7Actions_Begin = 0;
static PyTypeObject *__pyx_ptype_6Cython_4Plex_7Actions_Ignore = 0;
static PyTypeObject *__pyx_ptype_6Cython_4Plex_7Actions_Text = 0;

/* Module declarations from 'Cython.Plex.Scanners' */
static PyTypeObject *__pyx_ptype_6Cython_4Plex_8Scanners_Scanner = 0;

/* Module declarations from 'Cython.Compiler.Scanning' */
static PyTypeObject *__pyx_ptype_6Cython_8Compiler_8Scanning_Method = 0;
static PyTypeObject *__pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope = 0;
static PyTypeObject *__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner = 0;
static PyObject *__pyx_v_6Cython_8Compiler_8Scanning_EncodedString = 0;
static PyObject *__pyx_v_6Cython_8Compiler_8Scanning_any_string_prefix = 0;
static PyObject *__pyx_v_6Cython_8Compiler_8Scanning_IDENT = 0;
static PyObject *__pyx_v_6Cython_8Compiler_8Scanning_print_function = 0;
#define __Pyx_MODULE_NAME "Cython.Compiler.Scanning"
int __pyx_module_is_main_Cython__Compiler__Scanning = 0;

/* Implementation of 'Cython.Compiler.Scanning' */
static PyObject *__pyx_builtin_object;
static PyObject *__pyx_builtin_KeyError;
static PyObject *__pyx_builtin_zip;
static PyObject *__pyx_builtin_ImportError;
static PyObject *__pyx_builtin_AttributeError;
static PyObject *__pyx_builtin_id;
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_get_lexicon(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_6Method___init__(struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *__pyx_v_self, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_6Method_2__call__(struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *__pyx_v_self, PyObject *__pyx_v_stream, PyObject *__pyx_v_text); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope___init__(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_outer); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_2update(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_other); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_4__contains__(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_6lookup(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_7entries___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_7entries_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_7entries_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_5outer___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_5outer_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_5outer_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_2initial_compile_time_env(CYTHON_UNUSED PyObject *__pyx_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor___str__(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_2set_file_type_from_name(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_filename); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_4is_cython_file(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_6is_python_file(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_8get_escaped_description(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_10__gt__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_other); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_12__lt__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_other); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_14__le__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_other); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_filename, PyObject *__pyx_v_path_description); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_2get_lines(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_encoding, PyObject *__pyx_v_error_handling); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_4get_description(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_6get_error_description(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_8get_filenametable_entry(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_10__eq__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_other); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_12__hash__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_14__repr__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_name, PyObject *__pyx_v_code); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_2get_lines(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_encoding, PyObject *__pyx_v_error_handling); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_4get_description(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_6get_filenametable_entry(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_8__hash__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_10__eq__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_other); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_12__repr__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner___init__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_file, PyObject *__pyx_v_filename, PyObject *__pyx_v_parent_scanner, PyObject *__pyx_v_scope, PyObject *__pyx_v_context, PyObject *__pyx_v_source_encoding, PyObject *__pyx_v_parse_comments, PyObject *__pyx_v_initial_pos); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_2commentline(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_text); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_4open_bracket_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_text); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_6close_bracket_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_text); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_8newline_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_text); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_10begin_string_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_text); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_12end_string_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_text); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14unclosed_string_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_text); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_text); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_18eof_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_text); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_20put_back(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_sy, PyObject *__pyx_v_systring); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_22unread(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_token, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_24error(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_message, PyObject *__pyx_v_pos, PyObject *__pyx_v_fatal); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_7context___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_7context_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_7context_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14included_files___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14included_files_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14included_files_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16compile_time_env___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16compile_time_env_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16compile_time_env_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_eval___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_eval_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_expr___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_expr_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14parse_comments___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14parse_comments_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14in_python_file___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14in_python_file_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_15source_encoding___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_15source_encoding_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_15source_encoding_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_stack___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_stack_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_stack_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_char___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_char_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_char_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_21bracket_nesting_level___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_21bracket_nesting_level_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_2sy___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_2sy_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_2sy_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_8systring___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_8systring_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_8systring_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static PyObject *__pyx_tp_new_6Cython_8Compiler_8Scanning_Method(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_6Cython_8Compiler_8Scanning_CompileTimeScope(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_6Cython_8Compiler_8Scanning_PyrexScanner(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static char __pyx_k_f[] = "f";
static char __pyx_k_IF[] = "IF";
static char __pyx_k__6[] = "\n";
static char __pyx_k__8[] = "";
static char __pyx_k_eq[] = "__eq__";
static char __pyx_k_gt[] = "__gt__";
static char __pyx_k_id[] = "id";
static char __pyx_k_if[] = "if";
static char __pyx_k_in[] = "in";
static char __pyx_k_is[] = "is";
static char __pyx_k_le[] = "__le__";
static char __pyx_k_lt[] = "__lt__";
static char __pyx_k_or[] = "or";
static char __pyx_k_os[] = "os";
static char __pyx_k_py[] = ".py";
static char __pyx_k_sy[] = "sy";
static char __pyx_k_DEF[] = "DEF";
static char __pyx_k_EOF[] = "EOF";
static char __pyx_k__70[] = "'";
static char __pyx_k__71[] = "\"";
static char __pyx_k__72[] = "'''";
static char __pyx_k__73[] = "\"\"\"";
static char __pyx_k_abs[] = "abs";
static char __pyx_k_all[] = "all";
static char __pyx_k_and[] = "and";
static char __pyx_k_any[] = "any";
static char __pyx_k_bin[] = "bin";
static char __pyx_k_chr[] = "chr";
static char __pyx_k_cmp[] = "cmp";
static char __pyx_k_cwd[] = "cwd";
static char __pyx_k_def[] = "def";
static char __pyx_k_del[] = "del";
static char __pyx_k_doc[] = "__doc__";
static char __pyx_k_ext[] = "ext";
static char __pyx_k_for[] = "for";
static char __pyx_k_hex[] = "hex";
static char __pyx_k_int[] = "int";
static char __pyx_k_key[] = "key";
static char __pyx_k_len[] = "len";
static char __pyx_k_map[] = "map";
static char __pyx_k_max[] = "max";
static char __pyx_k_min[] = "min";
static char __pyx_k_not[] = "not";
static char __pyx_k_oct[] = "oct";
static char __pyx_k_ord[] = "ord";
static char __pyx_k_pop[] = "pop";
static char __pyx_k_pos[] = "pos";
static char __pyx_k_pow[] = "pow";
static char __pyx_k_pxd[] = ".pxd";
static char __pyx_k_pyx[] = ".pyx";
static char __pyx_k_sep[] = "sep";
static char __pyx_k_set[] = "set";
static char __pyx_k_str[] = "str";
static char __pyx_k_sum[] = "sum";
static char __pyx_k_try[] = "try";
static char __pyx_k_zip[] = "zip";
static char __pyx_k_ELIF[] = "ELIF";
static char __pyx_k_ELSE[] = "ELSE";
static char __pyx_k_True[] = "True";
static char __pyx_k_benv[] = "benv";
static char __pyx_k_bool[] = "bool";
static char __pyx_k_cdef[] = "cdef";
static char __pyx_k_code[] = "code";
static char __pyx_k_denv[] = "denv";
static char __pyx_k_dict[] = "dict";
static char __pyx_k_elif[] = "elif";
static char __pyx_k_else[] = "else";
static char __pyx_k_exec[] = "exec";
static char __pyx_k_file[] = "file";
static char __pyx_k_from[] = "from";
static char __pyx_k_hash[] = "hash";
static char __pyx_k_init[] = "__init__";
static char __pyx_k_list[] = "list";
static char __pyx_k_long[] = "long";
static char __pyx_k_main[] = "__main__";
static char __pyx_k_name[] = "name";
static char __pyx_k_pass[] = "pass";
static char __pyx_k_path[] = "path";
static char __pyx_k_py_2[] = "py";
static char __pyx_k_repr[] = "repr";
static char __pyx_k_self[] = "self";
static char __pyx_k_test[] = "__test__";
static char __pyx_k_text[] = "text";
static char __pyx_k_with[] = "with";
static char __pyx_k_ASCII[] = "ASCII";
static char __pyx_k_False[] = "False";
static char __pyx_k_IDENT[] = "IDENT";
static char __pyx_k_Utils[] = "Utils";
static char __pyx_k_ascii[] = "ascii";
static char __pyx_k_break[] = "break";
static char __pyx_k_bytes[] = "bytes";
static char __pyx_k_class[] = "class";
static char __pyx_k_close[] = "close";
static char __pyx_k_cpdef[] = "cpdef";
static char __pyx_k_error[] = "error";
static char __pyx_k_fatal[] = "fatal";
static char __pyx_k_float[] = "float";
static char __pyx_k_lines[] = "_lines";
static char __pyx_k_names[] = "names";
static char __pyx_k_other[] = "other";
static char __pyx_k_outer[] = "outer";
static char __pyx_k_print[] = "print";
static char __pyx_k_pxd_2[] = "pxd";
static char __pyx_k_pyx_2[] = "pyx";
static char __pyx_k_raise[] = "raise";
static char __pyx_k_range[] = "range";
static char __pyx_k_round[] = "round";
static char __pyx_k_scope[] = "scope";
static char __pyx_k_slice[] = "slice";
static char __pyx_k_split[] = "split";
static char __pyx_k_str_2[] = "__str__";
static char __pyx_k_token[] = "token";
static char __pyx_k_tuple[] = "tuple";
static char __pyx_k_uname[] = "uname";
static char __pyx_k_value[] = "value";
static char __pyx_k_while[] = "while";
static char __pyx_k_yield[] = "yield";
static char __pyx_k_Cython[] = "Cython";
static char __pyx_k_DEDENT[] = "DEDENT";
static char __pyx_k_Errors[] = "Errors";
static char __pyx_k_Future[] = "Future";
static char __pyx_k_INDENT[] = "INDENT";
static char __pyx_k_assert[] = "assert";
static char __pyx_k_decode[] = "decode";
static char __pyx_k_divmod[] = "divmod";
static char __pyx_k_encode[] = "encode";
static char __pyx_k_except[] = "except";
static char __pyx_k_filter[] = "filter";
static char __pyx_k_format[] = "format";
static char __pyx_k_getcwd[] = "getcwd";
static char __pyx_k_global[] = "global";
static char __pyx_k_hash_2[] = "__hash__";
static char __pyx_k_import[] = "import";
static char __pyx_k_lambda[] = "lambda";
static char __pyx_k_lookup[] = "lookup";
static char __pyx_k_module[] = "__module__";
static char __pyx_k_object[] = "object";
static char __pyx_k_repr_2[] = "__repr__";
static char __pyx_k_return[] = "return";
static char __pyx_k_sorted[] = "sorted";
static char __pyx_k_stream[] = "stream";
static char __pyx_k_unread[] = "unread";
static char __pyx_k_update[] = "update";
static char __pyx_k_xrange[] = "xrange";
static char __pyx_k_Lexicon[] = "Lexicon";
static char __pyx_k_NEWLINE[] = "NEWLINE";
static char __pyx_k_Scanner[] = "Scanner";
static char __pyx_k_builtin[] = "__builtin__";
static char __pyx_k_cimport[] = "cimport";
static char __pyx_k_complex[] = "complex";
static char __pyx_k_context[] = "context";
static char __pyx_k_discard[] = "discard";
static char __pyx_k_finally[] = "finally";
static char __pyx_k_include[] = "include";
static char __pyx_k_lexicon[] = "lexicon";
static char __pyx_k_lines_2[] = "lines";
static char __pyx_k_message[] = "message";
static char __pyx_k_options[] = "options";
static char __pyx_k_prepare[] = "__prepare__";
static char __pyx_k_replace[] = "replace";
static char __pyx_k_KeyError[] = "KeyError";
static char __pyx_k_builtins[] = "builtins";
static char __pyx_k_cmp_name[] = "_cmp_name";
static char __pyx_k_continue[] = "continue";
static char __pyx_k_ctypedef[] = "ctypedef";
static char __pyx_k_encoding[] = "encoding";
static char __pyx_k_filename[] = "filename";
static char __pyx_k_import_2[] = "__import__";
static char __pyx_k_nonlocal[] = "nonlocal";
static char __pyx_k_platform[] = "platform";
static char __pyx_k_qualname[] = "__qualname__";
static char __pyx_k_reversed[] = "reversed";
static char __pyx_k_splitext[] = "splitext";
static char __pyx_k_systring[] = "systring";
static char __pyx_k_DQ_STRING[] = "DQ_STRING";
static char __pyx_k_SQ_STRING[] = "SQ_STRING";
static char __pyx_k_bytearray[] = "bytearray";
static char __pyx_k_codelines[] = "codelines";
static char __pyx_k_enumerate[] = "enumerate";
static char __pyx_k_file_type[] = "_file_type";
static char __pyx_k_frozenset[] = "frozenset";
static char __pyx_k_get_lines[] = "get_lines";
static char __pyx_k_metaclass[] = "__metaclass__";
static char __pyx_k_END_STRING[] = "END_STRING";
static char __pyx_k_TDQ_STRING[] = "TDQ_STRING";
static char __pyx_k_TSQ_STRING[] = "TSQ_STRING";
static char __pyx_k_pyx_vtable[] = "__pyx_vtable__";
static char __pyx_k_startswith[] = "startswith";
static char __pyx_k_ImportError[] = "ImportError";
static char __pyx_k_commentline[] = "commentline";
static char __pyx_k_get_lexicon[] = "get_lexicon";
static char __pyx_k_initial_pos[] = "initial_pos";
static char __pyx_k_BEGIN_STRING[] = "BEGIN_STRING";
static char __pyx_k_make_lexicon[] = "make_lexicon";
static char __pyx_k_stringsource[] = "stringsource";
static char __pyx_k_EncodedString[] = "EncodedString";
static char __pyx_k_UNAME_MACHINE[] = "UNAME_MACHINE";
static char __pyx_k_UNAME_RELEASE[] = "UNAME_RELEASE";
static char __pyx_k_UNAME_SYSNAME[] = "UNAME_SYSNAME";
static char __pyx_k_UNAME_VERSION[] = "UNAME_VERSION";
static char __pyx_k_debug_scanner[] = "debug_scanner";
static char __pyx_k_string_states[] = "string_states";
static char __pyx_k_trace_scanner[] = "trace_scanner";
static char __pyx_k_AttributeError[] = "AttributeError";
static char __pyx_k_StringEncoding[] = "StringEncoding";
static char __pyx_k_UNAME_NODENAME[] = "UNAME_NODENAME";
static char __pyx_k_error_handling[] = "error_handling";
static char __pyx_k_included_files[] = "included_files";
static char __pyx_k_is_cython_file[] = "is_cython_file";
static char __pyx_k_is_python_file[] = "is_python_file";
static char __pyx_k_language_level[] = "language_level";
static char __pyx_k_parent_scanner[] = "parent_scanner";
static char __pyx_k_parse_comments[] = "parse_comments";
static char __pyx_k_print_function[] = "print_function";
static char __pyx_k_decode_filename[] = "decode_filename";
static char __pyx_k_get_description[] = "get_description";
static char __pyx_k_source_encoding[] = "source_encoding";
static char __pyx_k_SourceDescriptor[] = "SourceDescriptor";
static char __pyx_k_compile_time_env[] = "compile_time_env";
static char __pyx_k_open_source_file[] = "open_source_file";
static char __pyx_k_path_description[] = "path_description";
static char __pyx_k_UnrecognizedInput[] = "UnrecognizedInput";
static char __pyx_k_any_string_prefix[] = "any_string_prefix";
static char __pyx_k_compile_time_eval[] = "compile_time_eval";
static char __pyx_k_compile_time_expr[] = "compile_time_expr";
static char __pyx_k_end_string_action[] = "end_string_action";
static char __pyx_k_future_directives[] = "future_directives";
static char __pyx_k_py_reserved_words[] = "py_reserved_words";
static char __pyx_k_scanner_dump_file[] = "scanner_dump_file";
static char __pyx_k_Cython_Plex_Errors[] = "Cython.Plex.Errors";
static char __pyx_k_Expected_a_newline[] = "Expected a newline";
static char __pyx_k_Expected_s_found_s[] = "Expected '%s', found '%s'";
static char __pyx_k_indentation_action[] = "indentation_action";
static char __pyx_k_pyx_reserved_words[] = "pyx_reserved_words";
static char __pyx_k_escaped_description[] = "_escaped_description";
static char __pyx_k_scanner_debug_flags[] = "scanner_debug_flags";
static char __pyx_k_Cython_Plex_Scanners[] = "Cython.Plex.Scanners";
static char __pyx_k_FileSourceDescriptor[] = "FileSourceDescriptor";
static char __pyx_k_SourceDescriptor___gt[] = "SourceDescriptor.__gt__";
static char __pyx_k_SourceDescriptor___le[] = "SourceDescriptor.__le__";
static char __pyx_k_SourceDescriptor___lt[] = "SourceDescriptor.__lt__";
static char __pyx_k_get_error_description[] = "get_error_description";
static char __pyx_k_FileSourceDescriptor_s[] = "<FileSourceDescriptor:%s>";
static char __pyx_k_SourceDescriptor___str[] = "SourceDescriptor.__str__";
static char __pyx_k_StringSourceDescriptor[] = "StringSourceDescriptor";
static char __pyx_k_Unrecognized_character[] = "Unrecognized character";
static char __pyx_k_Unclosed_string_literal[] = "Unclosed string literal";
static char __pyx_k_get_escaped_description[] = "get_escaped_description";
static char __pyx_k_get_filenametable_entry[] = "get_filenametable_entry";
static char __pyx_k_set_file_type_from_name[] = "set_file_type_from_name";
static char __pyx_k_Cython_Compiler_Scanning[] = "Cython.Compiler.Scanning";
static char __pyx_k_Inconsistent_indentation[] = "Inconsistent indentation";
static char __pyx_k_StringSourceDescriptor_s[] = "<StringSourceDescriptor:%s>";
static char __pyx_k_initial_compile_time_env[] = "initial_compile_time_env";
static char __pyx_k_FileSourceDescriptor___eq[] = "FileSourceDescriptor.__eq__";
static char __pyx_k_FileSourceDescriptor___hash[] = "FileSourceDescriptor.__hash__";
static char __pyx_k_FileSourceDescriptor___init[] = "FileSourceDescriptor.__init__";
static char __pyx_k_FileSourceDescriptor___repr[] = "FileSourceDescriptor.__repr__";
static char __pyx_k_StringSourceDescriptor___eq[] = "StringSourceDescriptor.__eq__";
static char __pyx_k_require_normalised_newlines[] = "require_normalised_newlines";
static char __pyx_k_Mixed_use_of_tabs_and_spaces[] = "Mixed use of tabs and spaces";
static char __pyx_k_StringSourceDescriptor___hash[] = "StringSourceDescriptor.__hash__";
static char __pyx_k_StringSourceDescriptor___init[] = "StringSourceDescriptor.__init__";
static char __pyx_k_StringSourceDescriptor___repr[] = "StringSourceDescriptor.__repr__";
static char __pyx_k_FileSourceDescriptor_get_lines[] = "FileSourceDescriptor.get_lines";
static char __pyx_k_Instances_of_this_class_can_be[] = "\n    Instances of this class can be used instead of a filenames if the\n    code originates from a string object.\n    ";
static char __pyx_k_A_SourceDescriptor_should_be_co[] = "\n    A SourceDescriptor should be considered immutable.\n    ";
static char __pyx_k_Represents_a_code_source_A_code[] = "\n    Represents a code source. A code source is a more generic abstraction\n    for a \"filename\" (as sometimes the code doesn't come from a file).\n    Instances of code sources are passed to Scanner.__init__ as the\n    optional name argument and will be passed back when asking for\n    the position()-tuple.\n    ";
static char __pyx_k_SourceDescriptor_is_cython_file[] = "SourceDescriptor.is_cython_file";
static char __pyx_k_SourceDescriptor_is_python_file[] = "SourceDescriptor.is_python_file";
static char __pyx_k_Users_robertwb_sage_cython_cyth[] = "/Users/robertwb/sage/cython/cython-release/Cython/Compiler/Scanning.py";
static char __pyx_k_Expected_a_decrease_in_indentati[] = "Expected a decrease in indentation level";
static char __pyx_k_Expected_an_increase_in_indentat[] = "Expected an increase in indentation level";
static char __pyx_k_FileSourceDescriptor_get_descrip[] = "FileSourceDescriptor.get_description";
static char __pyx_k_FileSourceDescriptor_get_error_d[] = "FileSourceDescriptor.get_error_description";
static char __pyx_k_FileSourceDescriptor_get_filenam[] = "FileSourceDescriptor.get_filenametable_entry";
static char __pyx_k_Possible_inconsistent_indentatio[] = "Possible inconsistent indentation";
static char __pyx_k_SourceDescriptor_get_escaped_des[] = "SourceDescriptor.get_escaped_description";
static char __pyx_k_SourceDescriptor_set_file_type_f[] = "SourceDescriptor.set_file_type_from_name";
static char __pyx_k_StringSourceDescriptor_get_descr[] = "StringSourceDescriptor.get_description";
static char __pyx_k_StringSourceDescriptor_get_filen[] = "StringSourceDescriptor.get_filenametable_entry";
static char __pyx_k_StringSourceDescriptor_get_lines[] = "StringSourceDescriptor.get_lines";
static PyObject *__pyx_n_u_ASCII;
static PyObject *__pyx_kp_s_A_SourceDescriptor_should_be_co;
static PyObject *__pyx_n_s_AttributeError;
static PyObject *__pyx_n_u_BEGIN_STRING;
static PyObject *__pyx_n_s_Cython;
static PyObject *__pyx_n_s_Cython_Compiler_Scanning;
static PyObject *__pyx_n_s_Cython_Plex_Errors;
static PyObject *__pyx_n_s_Cython_Plex_Scanners;
static PyObject *__pyx_n_u_DEDENT;
static PyObject *__pyx_n_u_DEF;
static PyObject *__pyx_n_u_DQ_STRING;
static PyObject *__pyx_n_u_ELIF;
static PyObject *__pyx_n_u_ELSE;
static PyObject *__pyx_n_u_END_STRING;
static PyObject *__pyx_n_u_EOF;
static PyObject *__pyx_n_s_EncodedString;
static PyObject *__pyx_n_s_Errors;
static PyObject *__pyx_kp_u_Expected_a_decrease_in_indentati;
static PyObject *__pyx_kp_u_Expected_a_newline;
static PyObject *__pyx_kp_u_Expected_an_increase_in_indentat;
static PyObject *__pyx_kp_u_Expected_s_found_s;
static PyObject *__pyx_n_u_False;
static PyObject *__pyx_n_s_FileSourceDescriptor;
static PyObject *__pyx_n_s_FileSourceDescriptor___eq;
static PyObject *__pyx_n_s_FileSourceDescriptor___hash;
static PyObject *__pyx_n_s_FileSourceDescriptor___init;
static PyObject *__pyx_n_s_FileSourceDescriptor___repr;
static PyObject *__pyx_n_s_FileSourceDescriptor_get_descrip;
static PyObject *__pyx_n_s_FileSourceDescriptor_get_error_d;
static PyObject *__pyx_n_s_FileSourceDescriptor_get_filenam;
static PyObject *__pyx_n_s_FileSourceDescriptor_get_lines;
static PyObject *__pyx_kp_u_FileSourceDescriptor_s;
static PyObject *__pyx_n_s_Future;
static PyObject *__pyx_n_s_IDENT;
static PyObject *__pyx_n_u_IF;
static PyObject *__pyx_n_u_INDENT;
static PyObject *__pyx_n_s_ImportError;
static PyObject *__pyx_kp_u_Inconsistent_indentation;
static PyObject *__pyx_kp_s_Instances_of_this_class_can_be;
static PyObject *__pyx_n_s_KeyError;
static PyObject *__pyx_n_s_Lexicon;
static PyObject *__pyx_kp_u_Mixed_use_of_tabs_and_spaces;
static PyObject *__pyx_n_u_NEWLINE;
static PyObject *__pyx_kp_u_Possible_inconsistent_indentatio;
static PyObject *__pyx_kp_s_Represents_a_code_source_A_code;
static PyObject *__pyx_n_u_SQ_STRING;
static PyObject *__pyx_n_s_Scanner;
static PyObject *__pyx_n_s_SourceDescriptor;
static PyObject *__pyx_n_s_SourceDescriptor___gt;
static PyObject *__pyx_n_s_SourceDescriptor___le;
static PyObject *__pyx_n_s_SourceDescriptor___lt;
static PyObject *__pyx_n_s_SourceDescriptor___str;
static PyObject *__pyx_n_s_SourceDescriptor_get_escaped_des;
static PyObject *__pyx_n_s_SourceDescriptor_is_cython_file;
static PyObject *__pyx_n_s_SourceDescriptor_is_python_file;
static PyObject *__pyx_n_s_SourceDescriptor_set_file_type_f;
static PyObject *__pyx_n_s_StringEncoding;
static PyObject *__pyx_n_s_StringSourceDescriptor;
static PyObject *__pyx_n_s_StringSourceDescriptor___eq;
static PyObject *__pyx_n_s_StringSourceDescriptor___hash;
static PyObject *__pyx_n_s_StringSourceDescriptor___init;
static PyObject *__pyx_n_s_StringSourceDescriptor___repr;
static PyObject *__pyx_n_s_StringSourceDescriptor_get_descr;
static PyObject *__pyx_n_s_StringSourceDescriptor_get_filen;
static PyObject *__pyx_n_s_StringSourceDescriptor_get_lines;
static PyObject *__pyx_kp_u_StringSourceDescriptor_s;
static PyObject *__pyx_n_u_TDQ_STRING;
static PyObject *__pyx_n_u_TSQ_STRING;
static PyObject *__pyx_n_u_True;
static PyObject *__pyx_n_u_UNAME_MACHINE;
static PyObject *__pyx_n_u_UNAME_NODENAME;
static PyObject *__pyx_n_u_UNAME_RELEASE;
static PyObject *__pyx_n_u_UNAME_SYSNAME;
static PyObject *__pyx_n_u_UNAME_VERSION;
static PyObject *__pyx_kp_u_Unclosed_string_literal;
static PyObject *__pyx_n_s_UnrecognizedInput;
static PyObject *__pyx_kp_u_Unrecognized_character;
static PyObject *__pyx_kp_s_Users_robertwb_sage_cython_cyth;
static PyObject *__pyx_n_s_Utils;
static PyObject *__pyx_kp_u__6;
static PyObject *__pyx_kp_u__70;
static PyObject *__pyx_kp_u__71;
static PyObject *__pyx_kp_u__72;
static PyObject *__pyx_kp_u__73;
static PyObject *__pyx_kp_u__8;
static PyObject *__pyx_n_u_abs;
static PyObject *__pyx_n_u_all;
static PyObject *__pyx_n_u_and;
static PyObject *__pyx_n_u_any;
static PyObject *__pyx_n_s_any_string_prefix;
static PyObject *__pyx_n_u_ascii;
static PyObject *__pyx_n_u_assert;
static PyObject *__pyx_n_s_benv;
static PyObject *__pyx_n_u_bin;
static PyObject *__pyx_n_u_bool;
static PyObject *__pyx_n_u_break;
static PyObject *__pyx_n_s_builtin;
static PyObject *__pyx_n_s_builtins;
static PyObject *__pyx_n_u_bytearray;
static PyObject *__pyx_n_u_bytes;
static PyObject *__pyx_n_u_cdef;
static PyObject *__pyx_n_u_chr;
static PyObject *__pyx_n_u_cimport;
static PyObject *__pyx_n_u_class;
static PyObject *__pyx_n_s_close;
static PyObject *__pyx_n_u_cmp;
static PyObject *__pyx_n_s_cmp_name;
static PyObject *__pyx_n_s_code;
static PyObject *__pyx_n_s_codelines;
static PyObject *__pyx_n_u_commentline;
static PyObject *__pyx_n_s_compile_time_env;
static PyObject *__pyx_n_u_compile_time_env;
static PyObject *__pyx_n_s_compile_time_eval;
static PyObject *__pyx_n_s_compile_time_expr;
static PyObject *__pyx_n_u_complex;
static PyObject *__pyx_n_s_context;
static PyObject *__pyx_n_u_continue;
static PyObject *__pyx_n_u_cpdef;
static PyObject *__pyx_n_u_ctypedef;
static PyObject *__pyx_n_s_cwd;
static PyObject *__pyx_n_s_debug_scanner;
static PyObject *__pyx_n_s_decode;
static PyObject *__pyx_n_s_decode_filename;
static PyObject *__pyx_n_u_def;
static PyObject *__pyx_n_u_del;
static PyObject *__pyx_n_s_denv;
static PyObject *__pyx_n_u_dict;
static PyObject *__pyx_n_s_discard;
static PyObject *__pyx_n_u_divmod;
static PyObject *__pyx_n_s_doc;
static PyObject *__pyx_n_u_elif;
static PyObject *__pyx_n_u_else;
static PyObject *__pyx_n_s_encode;
static PyObject *__pyx_n_s_encoding;
static PyObject *__pyx_n_s_end_string_action;
static PyObject *__pyx_n_u_enumerate;
static PyObject *__pyx_n_s_eq;
static PyObject *__pyx_n_s_error;
static PyObject *__pyx_n_s_error_handling;
static PyObject *__pyx_n_s_escaped_description;
static PyObject *__pyx_n_u_except;
static PyObject *__pyx_n_u_exec;
static PyObject *__pyx_n_s_ext;
static PyObject *__pyx_n_s_f;
static PyObject *__pyx_n_s_fatal;
static PyObject *__pyx_n_s_file;
static PyObject *__pyx_n_s_file_type;
static PyObject *__pyx_n_s_filename;
static PyObject *__pyx_n_u_filter;
static PyObject *__pyx_n_u_finally;
static PyObject *__pyx_n_u_float;
static PyObject *__pyx_n_u_for;
static PyObject *__pyx_n_u_format;
static PyObject *__pyx_n_u_from;
static PyObject *__pyx_n_u_frozenset;
static PyObject *__pyx_n_s_future_directives;
static PyObject *__pyx_n_s_get_description;
static PyObject *__pyx_n_s_get_error_description;
static PyObject *__pyx_n_s_get_escaped_description;
static PyObject *__pyx_n_s_get_filenametable_entry;
static PyObject *__pyx_n_s_get_lexicon;
static PyObject *__pyx_n_s_get_lines;
static PyObject *__pyx_n_s_getcwd;
static PyObject *__pyx_n_u_global;
static PyObject *__pyx_n_s_gt;
static PyObject *__pyx_n_u_hash;
static PyObject *__pyx_n_s_hash_2;
static PyObject *__pyx_n_u_hex;
static PyObject *__pyx_n_s_id;
static PyObject *__pyx_n_u_if;
static PyObject *__pyx_n_u_import;
static PyObject *__pyx_n_s_import_2;
static PyObject *__pyx_n_u_in;
static PyObject *__pyx_n_u_include;
static PyObject *__pyx_n_s_included_files;
static PyObject *__pyx_n_s_indentation_action;
static PyObject *__pyx_n_s_init;
static PyObject *__pyx_n_s_initial_compile_time_env;
static PyObject *__pyx_n_s_initial_pos;
static PyObject *__pyx_n_u_int;
static PyObject *__pyx_n_u_is;
static PyObject *__pyx_n_s_is_cython_file;
static PyObject *__pyx_n_s_is_python_file;
static PyObject *__pyx_n_s_key;
static PyObject *__pyx_n_u_lambda;
static PyObject *__pyx_n_s_language_level;
static PyObject *__pyx_n_s_le;
static PyObject *__pyx_n_u_len;
static PyObject *__pyx_n_s_lexicon;
static PyObject *__pyx_n_s_lines;
static PyObject *__pyx_n_s_lines_2;
static PyObject *__pyx_n_u_list;
static PyObject *__pyx_n_u_long;
static PyObject *__pyx_n_s_lookup;
static PyObject *__pyx_n_s_lt;
static PyObject *__pyx_n_s_main;
static PyObject *__pyx_n_s_make_lexicon;
static PyObject *__pyx_n_u_map;
static PyObject *__pyx_n_u_max;
static PyObject *__pyx_n_s_message;
static PyObject *__pyx_n_s_metaclass;
static PyObject *__pyx_n_u_min;
static PyObject *__pyx_n_s_module;
static PyObject *__pyx_n_s_name;
static PyObject *__pyx_n_s_names;
static PyObject *__pyx_n_u_nonlocal;
static PyObject *__pyx_n_u_not;
static PyObject *__pyx_n_s_object;
static PyObject *__pyx_n_u_oct;
static PyObject *__pyx_n_s_open_source_file;
static PyObject *__pyx_n_s_options;
static PyObject *__pyx_n_u_or;
static PyObject *__pyx_n_u_ord;
static PyObject *__pyx_n_s_os;
static PyObject *__pyx_n_s_other;
static PyObject *__pyx_n_s_outer;
static PyObject *__pyx_n_s_parent_scanner;
static PyObject *__pyx_n_s_parse_comments;
static PyObject *__pyx_n_u_pass;
static PyObject *__pyx_n_s_path;
static PyObject *__pyx_n_s_path_description;
static PyObject *__pyx_n_s_platform;
static PyObject *__pyx_n_s_pop;
static PyObject *__pyx_n_s_pos;
static PyObject *__pyx_n_u_pow;
static PyObject *__pyx_n_s_prepare;
static PyObject *__pyx_n_u_print;
static PyObject *__pyx_n_s_print_function;
static PyObject *__pyx_kp_u_pxd;
static PyObject *__pyx_n_u_pxd_2;
static PyObject *__pyx_kp_u_py;
static PyObject *__pyx_n_u_py_2;
static PyObject *__pyx_n_s_py_reserved_words;
static PyObject *__pyx_kp_u_pyx;
static PyObject *__pyx_n_u_pyx_2;
static PyObject *__pyx_n_s_pyx_reserved_words;
static PyObject *__pyx_n_s_pyx_vtable;
static PyObject *__pyx_n_s_qualname;
static PyObject *__pyx_n_u_raise;
static PyObject *__pyx_n_u_range;
static PyObject *__pyx_n_s_replace;
static PyObject *__pyx_n_u_replace;
static PyObject *__pyx_n_u_repr;
static PyObject *__pyx_n_s_repr_2;
static PyObject *__pyx_n_s_require_normalised_newlines;
static PyObject *__pyx_n_u_return;
static PyObject *__pyx_n_u_reversed;
static PyObject *__pyx_n_u_round;
static PyObject *__pyx_n_s_scanner_debug_flags;
static PyObject *__pyx_n_s_scanner_dump_file;
static PyObject *__pyx_n_s_scope;
static PyObject *__pyx_n_s_self;
static PyObject *__pyx_n_s_sep;
static PyObject *__pyx_n_u_set;
static PyObject *__pyx_n_s_set_file_type_from_name;
static PyObject *__pyx_n_u_slice;
static PyObject *__pyx_n_u_sorted;
static PyObject *__pyx_n_s_source_encoding;
static PyObject *__pyx_n_s_split;
static PyObject *__pyx_n_s_splitext;
static PyObject *__pyx_n_s_startswith;
static PyObject *__pyx_n_u_str;
static PyObject *__pyx_n_s_str_2;
static PyObject *__pyx_n_s_stream;
static PyObject *__pyx_n_s_string_states;
static PyObject *__pyx_n_u_stringsource;
static PyObject *__pyx_n_u_sum;
static PyObject *__pyx_n_s_sy;
static PyObject *__pyx_n_s_systring;
static PyObject *__pyx_n_s_test;
static PyObject *__pyx_n_s_text;
static PyObject *__pyx_n_s_token;
static PyObject *__pyx_n_s_trace_scanner;
static PyObject *__pyx_n_u_try;
static PyObject *__pyx_n_u_tuple;
static PyObject *__pyx_n_s_uname;
static PyObject *__pyx_n_s_unread;
static PyObject *__pyx_n_s_update;
static PyObject *__pyx_n_s_value;
static PyObject *__pyx_n_u_while;
static PyObject *__pyx_n_u_with;
static PyObject *__pyx_n_u_xrange;
static PyObject *__pyx_n_u_yield;
static PyObject *__pyx_n_s_zip;
static PyObject *__pyx_n_u_zip;
static PyObject *__pyx_int_0;
static PyObject *__pyx_int_1;
static PyObject *__pyx_int_3;
static PyObject *__pyx_tuple_;
static PyObject *__pyx_slice__3;
static PyObject *__pyx_slice__9;
static PyObject *__pyx_tuple__2;
static PyObject *__pyx_tuple__4;
static PyObject *__pyx_tuple__5;
static PyObject *__pyx_tuple__7;
static PyObject *__pyx_slice__10;
static PyObject *__pyx_tuple__11;
static PyObject *__pyx_tuple__12;
static PyObject *__pyx_tuple__13;
static PyObject *__pyx_tuple__14;
static PyObject *__pyx_tuple__15;
static PyObject *__pyx_tuple__16;
static PyObject *__pyx_tuple__17;
static PyObject *__pyx_tuple__19;
static PyObject *__pyx_tuple__21;
static PyObject *__pyx_tuple__23;
static PyObject *__pyx_tuple__25;
static PyObject *__pyx_tuple__27;
static PyObject *__pyx_tuple__29;
static PyObject *__pyx_tuple__31;
static PyObject *__pyx_tuple__33;
static PyObject *__pyx_tuple__35;
static PyObject *__pyx_tuple__37;
static PyObject *__pyx_tuple__39;
static PyObject *__pyx_tuple__40;
static PyObject *__pyx_tuple__42;
static PyObject *__pyx_tuple__43;
static PyObject *__pyx_tuple__45;
static PyObject *__pyx_tuple__47;
static PyObject *__pyx_tuple__49;
static PyObject *__pyx_tuple__51;
static PyObject *__pyx_tuple__53;
static PyObject *__pyx_tuple__55;
static PyObject *__pyx_tuple__57;
static PyObject *__pyx_tuple__59;
static PyObject *__pyx_tuple__60;
static PyObject *__pyx_tuple__62;
static PyObject *__pyx_tuple__64;
static PyObject *__pyx_tuple__66;
static PyObject *__pyx_tuple__68;
static PyObject *__pyx_codeobj__18;
static PyObject *__pyx_codeobj__20;
static PyObject *__pyx_codeobj__22;
static PyObject *__pyx_codeobj__24;
static PyObject *__pyx_codeobj__26;
static PyObject *__pyx_codeobj__28;
static PyObject *__pyx_codeobj__30;
static PyObject *__pyx_codeobj__32;
static PyObject *__pyx_codeobj__34;
static PyObject *__pyx_codeobj__36;
static PyObject *__pyx_codeobj__38;
static PyObject *__pyx_codeobj__41;
static PyObject *__pyx_codeobj__44;
static PyObject *__pyx_codeobj__46;
static PyObject *__pyx_codeobj__48;
static PyObject *__pyx_codeobj__50;
static PyObject *__pyx_codeobj__52;
static PyObject *__pyx_codeobj__54;
static PyObject *__pyx_codeobj__56;
static PyObject *__pyx_codeobj__58;
static PyObject *__pyx_codeobj__61;
static PyObject *__pyx_codeobj__63;
static PyObject *__pyx_codeobj__65;
static PyObject *__pyx_codeobj__67;
static PyObject *__pyx_codeobj__69;

/* "Cython/Compiler/Scanning.py":29
 * lexicon = None
 * 
 * def get_lexicon():             # <<<<<<<<<<<<<<
 *     global lexicon
 *     if not lexicon:
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_1get_lexicon(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_1get_lexicon = {__Pyx_NAMESTR("get_lexicon"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_1get_lexicon, METH_NOARGS, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_1get_lexicon(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get_lexicon (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_get_lexicon(__pyx_self);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_get_lexicon(CYTHON_UNUSED PyObject *__pyx_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_t_3;
  PyObject *__pyx_t_4 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get_lexicon", 0);

  /* "Cython/Compiler/Scanning.py":31
 * def get_lexicon():
 *     global lexicon
 *     if not lexicon:             # <<<<<<<<<<<<<<
 *         lexicon = make_lexicon()
 *     return lexicon
 */
  __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s_lexicon); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 31; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_3 = ((!__pyx_t_2) != 0);
  if (__pyx_t_3) {

    /* "Cython/Compiler/Scanning.py":32
 *     global lexicon
 *     if not lexicon:
 *         lexicon = make_lexicon()             # <<<<<<<<<<<<<<
 *     return lexicon
 * 
 */
    __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s_make_lexicon); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    if (PyDict_SetItem(__pyx_d, __pyx_n_s_lexicon, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 32; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "Cython/Compiler/Scanning.py":33
 *     if not lexicon:
 *         lexicon = make_lexicon()
 *     return lexicon             # <<<<<<<<<<<<<<
 * 
 * #------------------------------------------------------------------
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_4 = __Pyx_GetModuleGlobalName(__pyx_n_s_lexicon); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 33; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_r = __pyx_t_4;
  __pyx_t_4 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":29
 * lexicon = None
 * 
 * def get_lexicon():             # <<<<<<<<<<<<<<
 *     global lexicon
 *     if not lexicon:
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.get_lexicon", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":52
 * class Method(object):
 * 
 *     def __init__(self, name):             # <<<<<<<<<<<<<<
 *         self.name = name
 *         self.__name__ = name # for Plex tracing
 */

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_6Method_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_6Method_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_name = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_name,0};
    PyObject* values[1] = {0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 1) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
    }
    __pyx_v_name = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.Method.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_6Method___init__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *)__pyx_v_self), __pyx_v_name);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_6Method___init__(struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *__pyx_v_self, PyObject *__pyx_v_name) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "Cython/Compiler/Scanning.py":53
 * 
 *     def __init__(self, name):
 *         self.name = name             # <<<<<<<<<<<<<<
 *         self.__name__ = name # for Plex tracing
 * 
 */
  __Pyx_INCREF(__pyx_v_name);
  __Pyx_GIVEREF(__pyx_v_name);
  __Pyx_GOTREF(__pyx_v_self->name);
  __Pyx_DECREF(__pyx_v_self->name);
  __pyx_v_self->name = __pyx_v_name;

  /* "Cython/Compiler/Scanning.py":54
 *     def __init__(self, name):
 *         self.name = name
 *         self.__name__ = name # for Plex tracing             # <<<<<<<<<<<<<<
 * 
 *     def __call__(self, stream, text):
 */
  __Pyx_INCREF(__pyx_v_name);
  __Pyx_GIVEREF(__pyx_v_name);
  __Pyx_GOTREF(__pyx_v_self->__pyx___name__);
  __Pyx_DECREF(__pyx_v_self->__pyx___name__);
  __pyx_v_self->__pyx___name__ = __pyx_v_name;

  /* "Cython/Compiler/Scanning.py":52
 * class Method(object):
 * 
 *     def __init__(self, name):             # <<<<<<<<<<<<<<
 *         self.name = name
 *         self.__name__ = name # for Plex tracing
 */

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":56
 *         self.__name__ = name # for Plex tracing
 * 
 *     def __call__(self, stream, text):             # <<<<<<<<<<<<<<
 *         return getattr(stream, self.name)(text)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_6Method_3__call__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_6Method_3__call__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_stream = 0;
  PyObject *__pyx_v_text = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__call__ (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_stream,&__pyx_n_s_text,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        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;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_stream)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_text)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__call__", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__call__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_stream = values[0];
    __pyx_v_text = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__call__", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 56; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.Method.__call__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_6Method_2__call__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *)__pyx_v_self), __pyx_v_stream, __pyx_v_text);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_6Method_2__call__(struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *__pyx_v_self, PyObject *__pyx_v_stream, PyObject *__pyx_v_text) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__call__", 0);

  /* "Cython/Compiler/Scanning.py":57
 * 
 *     def __call__(self, stream, text):
 *         return getattr(stream, self.name)(text)             # <<<<<<<<<<<<<<
 * 
 * #------------------------------------------------------------------
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_v_self->name;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_GetAttr(__pyx_v_stream, __pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_v_text);
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_text);
  __Pyx_GIVEREF(__pyx_v_text);
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 57; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_r = __pyx_t_3;
  __pyx_t_3 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":56
 *         self.__name__ = name # for Plex tracing
 * 
 *     def __call__(self, stream, text):             # <<<<<<<<<<<<<<
 *         return getattr(stream, self.name)(text)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.Method.__call__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":63
 * class CompileTimeScope(object):
 * 
 *     def __init__(self, outer = None):             # <<<<<<<<<<<<<<
 *         self.entries = {}
 *         self.outer = outer
 */

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_outer = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_outer,0};
    PyObject* values[1] = {0};
    values[0] = ((PyObject *)Py_None);
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_outer);
          if (value) { values[0] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_outer = values[0];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 63; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.CompileTimeScope.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope___init__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_v_self), __pyx_v_outer);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope___init__(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_outer) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "Cython/Compiler/Scanning.py":64
 * 
 *     def __init__(self, outer = None):
 *         self.entries = {}             # <<<<<<<<<<<<<<
 *         self.outer = outer
 * 
 */
  __pyx_t_1 = PyDict_New(); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 64; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->entries);
  __Pyx_DECREF(__pyx_v_self->entries);
  __pyx_v_self->entries = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":65
 *     def __init__(self, outer = None):
 *         self.entries = {}
 *         self.outer = outer             # <<<<<<<<<<<<<<
 * 
 *     def declare(self, name, value):
 */
  if (!(likely(((__pyx_v_outer) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_outer, __pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 65; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_1 = __pyx_v_outer;
  __Pyx_INCREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->outer);
  __Pyx_DECREF(((PyObject *)__pyx_v_self->outer));
  __pyx_v_self->outer = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":63
 * class CompileTimeScope(object):
 * 
 *     def __init__(self, outer = None):             # <<<<<<<<<<<<<<
 *         self.entries = {}
 *         self.outer = outer
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.CompileTimeScope.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":67
 *         self.outer = outer
 * 
 *     def declare(self, name, value):             # <<<<<<<<<<<<<<
 *         self.entries[name] = value
 * 
 */

static PyObject *__pyx_f_6Cython_8Compiler_8Scanning_16CompileTimeScope_declare(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_name, PyObject *__pyx_v_value) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("declare", 0);

  /* "Cython/Compiler/Scanning.py":68
 * 
 *     def declare(self, name, value):
 *         self.entries[name] = value             # <<<<<<<<<<<<<<
 * 
 *     def update(self, other):
 */
  if (unlikely(__pyx_v_self->entries == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  if (unlikely(PyDict_SetItem(__pyx_v_self->entries, __pyx_v_name, __pyx_v_value) < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 68; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":67
 *         self.outer = outer
 * 
 *     def declare(self, name, value):             # <<<<<<<<<<<<<<
 *         self.entries[name] = value
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.CompileTimeScope.declare", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":70
 *         self.entries[name] = value
 * 
 *     def update(self, other):             # <<<<<<<<<<<<<<
 *         self.entries.update(other)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_3update(PyObject *__pyx_v_self, PyObject *__pyx_v_other); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_3update(PyObject *__pyx_v_self, PyObject *__pyx_v_other) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("update (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_2update(((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_v_self), ((PyObject *)__pyx_v_other));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_2update(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_other) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("update", 0);

  /* "Cython/Compiler/Scanning.py":71
 * 
 *     def update(self, other):
 *         self.entries.update(other)             # <<<<<<<<<<<<<<
 * 
 *     def lookup_here(self, name):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->entries, __pyx_n_s_update); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_other);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_other);
  __Pyx_GIVEREF(__pyx_v_other);
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 71; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "Cython/Compiler/Scanning.py":70
 *         self.entries[name] = value
 * 
 *     def update(self, other):             # <<<<<<<<<<<<<<
 *         self.entries.update(other)
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.CompileTimeScope.update", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":73
 *         self.entries.update(other)
 * 
 *     def lookup_here(self, name):             # <<<<<<<<<<<<<<
 *         return self.entries[name]
 * 
 */

static PyObject *__pyx_f_6Cython_8Compiler_8Scanning_16CompileTimeScope_lookup_here(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_name) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("lookup_here", 0);

  /* "Cython/Compiler/Scanning.py":74
 * 
 *     def lookup_here(self, name):
 *         return self.entries[name]             # <<<<<<<<<<<<<<
 * 
 *     def __contains__(self, name):
 */
  __Pyx_XDECREF(__pyx_r);
  if (unlikely(__pyx_v_self->entries == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_1 = __Pyx_PyDict_GetItem(__pyx_v_self->entries, __pyx_v_name); if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 74; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":73
 *         self.entries.update(other)
 * 
 *     def lookup_here(self, name):             # <<<<<<<<<<<<<<
 *         return self.entries[name]
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.CompileTimeScope.lookup_here", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":76
 *         return self.entries[name]
 * 
 *     def __contains__(self, name):             # <<<<<<<<<<<<<<
 *         return name in self.entries
 * 
 */

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_5__contains__(PyObject *__pyx_v_self, PyObject *__pyx_v_name); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_5__contains__(PyObject *__pyx_v_self, PyObject *__pyx_v_name) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__contains__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_4__contains__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_v_self), ((PyObject *)__pyx_v_name));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_4__contains__(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_name) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__contains__", 0);

  /* "Cython/Compiler/Scanning.py":77
 * 
 *     def __contains__(self, name):
 *         return name in self.entries             # <<<<<<<<<<<<<<
 * 
 *     def lookup(self, name):
 */
  if (unlikely(__pyx_v_self->entries == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_1 = (__Pyx_PyDict_Contains(__pyx_v_name, __pyx_v_self->entries, Py_EQ)); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_r = __pyx_t_1;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":76
 *         return self.entries[name]
 * 
 *     def __contains__(self, name):             # <<<<<<<<<<<<<<
 *         return name in self.entries
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.CompileTimeScope.__contains__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":79
 *         return name in self.entries
 * 
 *     def lookup(self, name):             # <<<<<<<<<<<<<<
 *         try:
 *             return self.lookup_here(name)
 */

static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_7lookup(PyObject *__pyx_v_self, PyObject *__pyx_v_name); /*proto*/
static PyObject *__pyx_f_6Cython_8Compiler_8Scanning_16CompileTimeScope_lookup(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_name, int __pyx_skip_dispatch) {
  struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_outer = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_t_7;
  PyObject *__pyx_t_8 = NULL;
  int __pyx_t_9;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("lookup", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) {
    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_lookup); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_7lookup)) {
      __Pyx_XDECREF(__pyx_r);
      __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_2);
      __Pyx_INCREF(__pyx_v_name);
      PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_name);
      __Pyx_GIVEREF(__pyx_v_name);
      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_3);
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
      __pyx_r = __pyx_t_3;
      __pyx_t_3 = 0;
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      goto __pyx_L0;
    }
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  }

  /* "Cython/Compiler/Scanning.py":80
 * 
 *     def lookup(self, name):
 *         try:             # <<<<<<<<<<<<<<
 *             return self.lookup_here(name)
 *         except KeyError:
 */
  {
    __Pyx_ExceptionSave(&__pyx_t_4, &__pyx_t_5, &__pyx_t_6);
    __Pyx_XGOTREF(__pyx_t_4);
    __Pyx_XGOTREF(__pyx_t_5);
    __Pyx_XGOTREF(__pyx_t_6);
    /*try:*/ {

      /* "Cython/Compiler/Scanning.py":81
 *     def lookup(self, name):
 *         try:
 *             return self.lookup_here(name)             # <<<<<<<<<<<<<<
 *         except KeyError:
 *             outer = self.outer
 */
      __Pyx_XDECREF(__pyx_r);
      __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_v_self->__pyx_vtab)->lookup_here(__pyx_v_self, __pyx_v_name); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 81; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __pyx_r = __pyx_t_1;
      __pyx_t_1 = 0;
      goto __pyx_L7_try_return;
    }
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
    goto __pyx_L10_try_end;
    __pyx_L3_error:;
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "Cython/Compiler/Scanning.py":82
 *         try:
 *             return self.lookup_here(name)
 *         except KeyError:             # <<<<<<<<<<<<<<
 *             outer = self.outer
 *             if outer:
 */
    __pyx_t_7 = PyErr_ExceptionMatches(__pyx_builtin_KeyError);
    if (__pyx_t_7) {
      __Pyx_AddTraceback("Cython.Compiler.Scanning.CompileTimeScope.lookup", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_3, &__pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_GOTREF(__pyx_t_3);
      __Pyx_GOTREF(__pyx_t_2);

      /* "Cython/Compiler/Scanning.py":83
 *             return self.lookup_here(name)
 *         except KeyError:
 *             outer = self.outer             # <<<<<<<<<<<<<<
 *             if outer:
 *                 return outer.lookup(name)
 */
      __pyx_t_8 = ((PyObject *)__pyx_v_self->outer);
      __Pyx_INCREF(__pyx_t_8);
      __pyx_v_outer = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_t_8);
      __pyx_t_8 = 0;

      /* "Cython/Compiler/Scanning.py":84
 *         except KeyError:
 *             outer = self.outer
 *             if outer:             # <<<<<<<<<<<<<<
 *                 return outer.lookup(name)
 *             else:
 */
      __pyx_t_9 = __Pyx_PyObject_IsTrue(((PyObject *)__pyx_v_outer)); if (unlikely(__pyx_t_9 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 84; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
      if (__pyx_t_9) {

        /* "Cython/Compiler/Scanning.py":85
 *             outer = self.outer
 *             if outer:
 *                 return outer.lookup(name)             # <<<<<<<<<<<<<<
 *             else:
 *                 raise
 */
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_8 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_v_outer->__pyx_vtab)->lookup(__pyx_v_outer, __pyx_v_name, 0); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
        __Pyx_GOTREF(__pyx_t_8);
        __pyx_r = __pyx_t_8;
        __pyx_t_8 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
        goto __pyx_L6_except_return;
      }
      /*else*/ {

        /* "Cython/Compiler/Scanning.py":87
 *                 return outer.lookup(name)
 *             else:
 *                 raise             # <<<<<<<<<<<<<<
 * 
 * def initial_compile_time_env():
 */
        __Pyx_GIVEREF(__pyx_t_1);
        __Pyx_GIVEREF(__pyx_t_3);
        __Pyx_XGIVEREF(__pyx_t_2);
        __Pyx_ErrRestore(__pyx_t_1, __pyx_t_3, __pyx_t_2);
        __pyx_t_1 = 0; __pyx_t_3 = 0; __pyx_t_2 = 0; 
        {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
      }
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
      goto __pyx_L4_exception_handled;
    }
    goto __pyx_L5_except_error;
    __pyx_L5_except_error:;
    __Pyx_XGIVEREF(__pyx_t_4);
    __Pyx_XGIVEREF(__pyx_t_5);
    __Pyx_XGIVEREF(__pyx_t_6);
    __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
    goto __pyx_L1_error;
    __pyx_L7_try_return:;
    __Pyx_XGIVEREF(__pyx_t_4);
    __Pyx_XGIVEREF(__pyx_t_5);
    __Pyx_XGIVEREF(__pyx_t_6);
    __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
    goto __pyx_L0;
    __pyx_L6_except_return:;
    __Pyx_XGIVEREF(__pyx_t_4);
    __Pyx_XGIVEREF(__pyx_t_5);
    __Pyx_XGIVEREF(__pyx_t_6);
    __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
    goto __pyx_L0;
    __pyx_L4_exception_handled:;
    __Pyx_XGIVEREF(__pyx_t_4);
    __Pyx_XGIVEREF(__pyx_t_5);
    __Pyx_XGIVEREF(__pyx_t_6);
    __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
    __pyx_L10_try_end:;
  }

  /* "Cython/Compiler/Scanning.py":79
 *         return name in self.entries
 * 
 *     def lookup(self, name):             # <<<<<<<<<<<<<<
 *         try:
 *             return self.lookup_here(name)
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.CompileTimeScope.lookup", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_outer);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_7lookup(PyObject *__pyx_v_self, PyObject *__pyx_v_name); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_7lookup(PyObject *__pyx_v_self, PyObject *__pyx_v_name) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("lookup (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_6lookup(((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_v_self), ((PyObject *)__pyx_v_name));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_6lookup(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_name) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("lookup", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_v_self->__pyx_vtab)->lookup(__pyx_v_self, __pyx_v_name, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 79; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.CompileTimeScope.lookup", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.pxd":10
 * 
 * cdef class CompileTimeScope:
 *     cdef public dict entries             # <<<<<<<<<<<<<<
 *     cdef public CompileTimeScope outer
 *     cdef declare(self, name, value)
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_7entries_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_7entries_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_7entries___get__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_7entries___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_self->entries);
  __pyx_r = __pyx_v_self->entries;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_7entries_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_7entries_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_7entries_2__set__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_v_self), ((PyObject *)__pyx_v_value));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_7entries_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);
  if (!(likely(PyDict_CheckExact(__pyx_v_value))||((__pyx_v_value) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "dict", Py_TYPE(__pyx_v_value)->tp_name), 0))) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 10; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_1 = __pyx_v_value;
  __Pyx_INCREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->entries);
  __Pyx_DECREF(__pyx_v_self->entries);
  __pyx_v_self->entries = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.CompileTimeScope.entries.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_7entries_5__del__(PyObject *__pyx_v_self); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_7entries_5__del__(PyObject *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_7entries_4__del__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_7entries_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__", 0);
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->entries);
  __Pyx_DECREF(__pyx_v_self->entries);
  __pyx_v_self->entries = ((PyObject*)Py_None);

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.pxd":11
 * cdef class CompileTimeScope:
 *     cdef public dict entries
 *     cdef public CompileTimeScope outer             # <<<<<<<<<<<<<<
 *     cdef declare(self, name, value)
 *     cdef lookup_here(self, name)
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_5outer_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_5outer_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_5outer___get__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_5outer___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(((PyObject *)__pyx_v_self->outer));
  __pyx_r = ((PyObject *)__pyx_v_self->outer);
  goto __pyx_L0;

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_5outer_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_5outer_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_5outer_2__set__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_v_self), ((PyObject *)__pyx_v_value));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_5outer_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);
  if (!(likely(((__pyx_v_value) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_value, __pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope))))) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 11; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_1 = __pyx_v_value;
  __Pyx_INCREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->outer);
  __Pyx_DECREF(((PyObject *)__pyx_v_self->outer));
  __pyx_v_self->outer = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.CompileTimeScope.outer.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_5outer_5__del__(PyObject *__pyx_v_self); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_5outer_5__del__(PyObject *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_5outer_4__del__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_5outer_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__", 0);
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->outer);
  __Pyx_DECREF(((PyObject *)__pyx_v_self->outer));
  __pyx_v_self->outer = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)Py_None);

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":89
 *                 raise
 * 
 * def initial_compile_time_env():             # <<<<<<<<<<<<<<
 *     benv = CompileTimeScope()
 *     names = ('UNAME_SYSNAME', 'UNAME_NODENAME', 'UNAME_RELEASE',
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_3initial_compile_time_env(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_3initial_compile_time_env = {__Pyx_NAMESTR("initial_compile_time_env"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_3initial_compile_time_env, METH_NOARGS, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_3initial_compile_time_env(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("initial_compile_time_env (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_2initial_compile_time_env(__pyx_self);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_2initial_compile_time_env(CYTHON_UNUSED PyObject *__pyx_self) {
  struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_benv = NULL;
  PyObject *__pyx_v_names = NULL;
  PyObject *__pyx_v_name = NULL;
  PyObject *__pyx_v_value = NULL;
  PyObject *__pyx_v_builtins = NULL;
  struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_denv = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  Py_ssize_t __pyx_t_3;
  PyObject *(*__pyx_t_4)(PyObject *);
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *(*__pyx_t_8)(PyObject *);
  PyObject *__pyx_t_9 = NULL;
  PyObject *__pyx_t_10 = NULL;
  PyObject *__pyx_t_11 = NULL;
  int __pyx_t_12;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("initial_compile_time_env", 0);

  /* "Cython/Compiler/Scanning.py":90
 * 
 * def initial_compile_time_env():
 *     benv = CompileTimeScope()             # <<<<<<<<<<<<<<
 *     names = ('UNAME_SYSNAME', 'UNAME_NODENAME', 'UNAME_RELEASE',
 *         'UNAME_VERSION', 'UNAME_MACHINE')
 */
  __pyx_t_1 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope)), __pyx_empty_tuple, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 90; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_benv = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":91
 * def initial_compile_time_env():
 *     benv = CompileTimeScope()
 *     names = ('UNAME_SYSNAME', 'UNAME_NODENAME', 'UNAME_RELEASE',             # <<<<<<<<<<<<<<
 *         'UNAME_VERSION', 'UNAME_MACHINE')
 *     for name, value in zip(names, platform.uname()):
 */
  __Pyx_INCREF(__pyx_tuple_);
  __pyx_v_names = __pyx_tuple_;

  /* "Cython/Compiler/Scanning.py":93
 *     names = ('UNAME_SYSNAME', 'UNAME_NODENAME', 'UNAME_RELEASE',
 *         'UNAME_VERSION', 'UNAME_MACHINE')
 *     for name, value in zip(names, platform.uname()):             # <<<<<<<<<<<<<<
 *         benv.declare(name, value)
 *     try:
 */
  __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s_platform); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_uname); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_empty_tuple, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_names);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_names);
  __Pyx_GIVEREF(__pyx_v_names);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_builtin_zip, __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  if (PyList_CheckExact(__pyx_t_1) || PyTuple_CheckExact(__pyx_t_1)) {
    __pyx_t_2 = __pyx_t_1; __Pyx_INCREF(__pyx_t_2); __pyx_t_3 = 0;
    __pyx_t_4 = NULL;
  } else {
    __pyx_t_3 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_4 = Py_TYPE(__pyx_t_2)->tp_iternext;
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  for (;;) {
    if (!__pyx_t_4 && PyList_CheckExact(__pyx_t_2)) {
      if (__pyx_t_3 >= PyList_GET_SIZE(__pyx_t_2)) break;
      #if CYTHON_COMPILING_IN_CPYTHON
      __pyx_t_1 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_1); __pyx_t_3++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      #else
      __pyx_t_1 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      #endif
    } else if (!__pyx_t_4 && PyTuple_CheckExact(__pyx_t_2)) {
      if (__pyx_t_3 >= PyTuple_GET_SIZE(__pyx_t_2)) break;
      #if CYTHON_COMPILING_IN_CPYTHON
      __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_1); __pyx_t_3++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      #else
      __pyx_t_1 = PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      #endif
    } else {
      __pyx_t_1 = __pyx_t_4(__pyx_t_2);
      if (unlikely(!__pyx_t_1)) {
        PyObject* exc_type = PyErr_Occurred();
        if (exc_type) {
          if (likely(exc_type == PyExc_StopIteration || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
          else {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        }
        break;
      }
      __Pyx_GOTREF(__pyx_t_1);
    }
    if ((likely(PyTuple_CheckExact(__pyx_t_1))) || (PyList_CheckExact(__pyx_t_1))) {
      PyObject* sequence = __pyx_t_1;
      #if CYTHON_COMPILING_IN_CPYTHON
      Py_ssize_t size = Py_SIZE(sequence);
      #else
      Py_ssize_t size = PySequence_Size(sequence);
      #endif
      if (unlikely(size != 2)) {
        if (size > 2) __Pyx_RaiseTooManyValuesError(2);
        else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
        {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      }
      #if CYTHON_COMPILING_IN_CPYTHON
      if (likely(PyTuple_CheckExact(sequence))) {
        __pyx_t_5 = PyTuple_GET_ITEM(sequence, 0); 
        __pyx_t_6 = PyTuple_GET_ITEM(sequence, 1); 
      } else {
        __pyx_t_5 = PyList_GET_ITEM(sequence, 0); 
        __pyx_t_6 = PyList_GET_ITEM(sequence, 1); 
      }
      __Pyx_INCREF(__pyx_t_5);
      __Pyx_INCREF(__pyx_t_6);
      #else
      __pyx_t_5 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_5);
      __pyx_t_6 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_6);
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    } else {
      Py_ssize_t index = -1;
      __pyx_t_7 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_7);
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      __pyx_t_8 = Py_TYPE(__pyx_t_7)->tp_iternext;
      index = 0; __pyx_t_5 = __pyx_t_8(__pyx_t_7); if (unlikely(!__pyx_t_5)) goto __pyx_L5_unpacking_failed;
      __Pyx_GOTREF(__pyx_t_5);
      index = 1; __pyx_t_6 = __pyx_t_8(__pyx_t_7); if (unlikely(!__pyx_t_6)) goto __pyx_L5_unpacking_failed;
      __Pyx_GOTREF(__pyx_t_6);
      if (__Pyx_IternextUnpackEndCheck(__pyx_t_8(__pyx_t_7), 2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __pyx_t_8 = NULL;
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      goto __pyx_L6_unpacking_done;
      __pyx_L5_unpacking_failed:;
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      __pyx_t_8 = NULL;
      if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __pyx_L6_unpacking_done:;
    }
    __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_5);
    __pyx_t_5 = 0;
    __Pyx_XDECREF_SET(__pyx_v_value, __pyx_t_6);
    __pyx_t_6 = 0;

    /* "Cython/Compiler/Scanning.py":94
 *         'UNAME_VERSION', 'UNAME_MACHINE')
 *     for name, value in zip(names, platform.uname()):
 *         benv.declare(name, value)             # <<<<<<<<<<<<<<
 *     try:
 *         import __builtin__ as builtins
 */
    __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_v_benv->__pyx_vtab)->declare(__pyx_v_benv, __pyx_v_name, __pyx_v_value); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 94; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  }
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "Cython/Compiler/Scanning.py":95
 *     for name, value in zip(names, platform.uname()):
 *         benv.declare(name, value)
 *     try:             # <<<<<<<<<<<<<<
 *         import __builtin__ as builtins
 *     except ImportError:
 */
  {
    __Pyx_ExceptionSave(&__pyx_t_9, &__pyx_t_10, &__pyx_t_11);
    __Pyx_XGOTREF(__pyx_t_9);
    __Pyx_XGOTREF(__pyx_t_10);
    __Pyx_XGOTREF(__pyx_t_11);
    /*try:*/ {

      /* "Cython/Compiler/Scanning.py":96
 *         benv.declare(name, value)
 *     try:
 *         import __builtin__ as builtins             # <<<<<<<<<<<<<<
 *     except ImportError:
 *         import builtins
 */
      __pyx_t_2 = __Pyx_Import(__pyx_n_s_builtin, 0, -1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 96; __pyx_clineno = __LINE__; goto __pyx_L7_error;}
      __Pyx_GOTREF(__pyx_t_2);
      __pyx_v_builtins = __pyx_t_2;
      __pyx_t_2 = 0;
    }
    __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
    __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
    __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
    goto __pyx_L14_try_end;
    __pyx_L7_error:;
    __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;

    /* "Cython/Compiler/Scanning.py":97
 *     try:
 *         import __builtin__ as builtins
 *     except ImportError:             # <<<<<<<<<<<<<<
 *         import builtins
 * 
 */
    __pyx_t_12 = PyErr_ExceptionMatches(__pyx_builtin_ImportError);
    if (__pyx_t_12) {
      __Pyx_AddTraceback("Cython.Compiler.Scanning.initial_compile_time_env", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_1, &__pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L9_except_error;}
      __Pyx_GOTREF(__pyx_t_2);
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_GOTREF(__pyx_t_6);

      /* "Cython/Compiler/Scanning.py":98
 *         import __builtin__ as builtins
 *     except ImportError:
 *         import builtins             # <<<<<<<<<<<<<<
 * 
 *     names = ('False', 'True',
 */
      __pyx_t_5 = __Pyx_Import(__pyx_n_s_builtins, 0, -1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 98; __pyx_clineno = __LINE__; goto __pyx_L9_except_error;}
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_XDECREF_SET(__pyx_v_builtins, __pyx_t_5);
      __pyx_t_5 = 0;
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      goto __pyx_L8_exception_handled;
    }
    goto __pyx_L9_except_error;
    __pyx_L9_except_error:;
    __Pyx_XGIVEREF(__pyx_t_9);
    __Pyx_XGIVEREF(__pyx_t_10);
    __Pyx_XGIVEREF(__pyx_t_11);
    __Pyx_ExceptionReset(__pyx_t_9, __pyx_t_10, __pyx_t_11);
    goto __pyx_L1_error;
    __pyx_L8_exception_handled:;
    __Pyx_XGIVEREF(__pyx_t_9);
    __Pyx_XGIVEREF(__pyx_t_10);
    __Pyx_XGIVEREF(__pyx_t_11);
    __Pyx_ExceptionReset(__pyx_t_9, __pyx_t_10, __pyx_t_11);
    __pyx_L14_try_end:;
  }

  /* "Cython/Compiler/Scanning.py":100
 *         import builtins
 * 
 *     names = ('False', 'True',             # <<<<<<<<<<<<<<
 *              'abs', 'all', 'any', 'ascii', 'bin', 'bool', 'bytearray', 'bytes',
 *              'chr', 'cmp', 'complex', 'dict', 'divmod', 'enumerate', 'filter',
 */
  __Pyx_INCREF(__pyx_tuple__2);
  __Pyx_DECREF_SET(__pyx_v_names, __pyx_tuple__2);

  /* "Cython/Compiler/Scanning.py":108
 *              'sum', 'tuple', 'xrange', 'zip')
 * 
 *     for name in names:             # <<<<<<<<<<<<<<
 *         try:
 *             benv.declare(name, getattr(builtins, name))
 */
  __pyx_t_6 = __pyx_v_names; __Pyx_INCREF(__pyx_t_6); __pyx_t_3 = 0;
  for (;;) {
    if (__pyx_t_3 >= PyTuple_GET_SIZE(__pyx_t_6)) break;
    #if CYTHON_COMPILING_IN_CPYTHON
    __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_6, __pyx_t_3); __Pyx_INCREF(__pyx_t_1); __pyx_t_3++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    #else
    __pyx_t_1 = PySequence_ITEM(__pyx_t_6, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 108; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    #endif
    __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_1);
    __pyx_t_1 = 0;

    /* "Cython/Compiler/Scanning.py":109
 * 
 *     for name in names:
 *         try:             # <<<<<<<<<<<<<<
 *             benv.declare(name, getattr(builtins, name))
 *         except AttributeError:
 */
    {
      __Pyx_ExceptionSave(&__pyx_t_11, &__pyx_t_10, &__pyx_t_9);
      __Pyx_XGOTREF(__pyx_t_11);
      __Pyx_XGOTREF(__pyx_t_10);
      __Pyx_XGOTREF(__pyx_t_9);
      /*try:*/ {

        /* "Cython/Compiler/Scanning.py":110
 *     for name in names:
 *         try:
 *             benv.declare(name, getattr(builtins, name))             # <<<<<<<<<<<<<<
 *         except AttributeError:
 *             # ignore, likely Py3
 */
        __pyx_t_1 = __Pyx_GetAttr(__pyx_v_builtins, __pyx_v_name); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L19_error;}
        __Pyx_GOTREF(__pyx_t_1);
        __pyx_t_2 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_v_benv->__pyx_vtab)->declare(__pyx_v_benv, __pyx_v_name, __pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 110; __pyx_clineno = __LINE__; goto __pyx_L19_error;}
        __Pyx_GOTREF(__pyx_t_2);
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
      }
      __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
      __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
      __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
      goto __pyx_L26_try_end;
      __pyx_L19_error:;
      __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;

      /* "Cython/Compiler/Scanning.py":111
 *         try:
 *             benv.declare(name, getattr(builtins, name))
 *         except AttributeError:             # <<<<<<<<<<<<<<
 *             # ignore, likely Py3
 *             pass
 */
      __pyx_t_12 = PyErr_ExceptionMatches(__pyx_builtin_AttributeError);
      if (__pyx_t_12) {
        PyErr_Restore(0,0,0);
        goto __pyx_L20_exception_handled;
      }
      goto __pyx_L21_except_error;
      __pyx_L21_except_error:;
      __Pyx_XGIVEREF(__pyx_t_11);
      __Pyx_XGIVEREF(__pyx_t_10);
      __Pyx_XGIVEREF(__pyx_t_9);
      __Pyx_ExceptionReset(__pyx_t_11, __pyx_t_10, __pyx_t_9);
      goto __pyx_L1_error;
      __pyx_L20_exception_handled:;
      __Pyx_XGIVEREF(__pyx_t_11);
      __Pyx_XGIVEREF(__pyx_t_10);
      __Pyx_XGIVEREF(__pyx_t_9);
      __Pyx_ExceptionReset(__pyx_t_11, __pyx_t_10, __pyx_t_9);
      __pyx_L26_try_end:;
    }
  }
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":114
 *             # ignore, likely Py3
 *             pass
 *     denv = CompileTimeScope(benv)             # <<<<<<<<<<<<<<
 *     return denv
 * 
 */
  __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  __Pyx_INCREF(((PyObject *)__pyx_v_benv));
  PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)__pyx_v_benv));
  __Pyx_GIVEREF(((PyObject *)__pyx_v_benv));
  __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)__pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope)), __pyx_t_6, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 114; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __pyx_v_denv = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_t_2);
  __pyx_t_2 = 0;

  /* "Cython/Compiler/Scanning.py":115
 *             pass
 *     denv = CompileTimeScope(benv)
 *     return denv             # <<<<<<<<<<<<<<
 * 
 * #------------------------------------------------------------------
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(((PyObject *)__pyx_v_denv));
  __pyx_r = ((PyObject *)__pyx_v_denv);
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":89
 *                 raise
 * 
 * def initial_compile_time_env():             # <<<<<<<<<<<<<<
 *     benv = CompileTimeScope()
 *     names = ('UNAME_SYSNAME', 'UNAME_NODENAME', 'UNAME_RELEASE',
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.initial_compile_time_env", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_benv);
  __Pyx_XDECREF(__pyx_v_names);
  __Pyx_XDECREF(__pyx_v_name);
  __Pyx_XDECREF(__pyx_v_value);
  __Pyx_XDECREF(__pyx_v_builtins);
  __Pyx_XDECREF((PyObject *)__pyx_v_denv);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":127
 *     _escaped_description = None
 *     _cmp_name = ''
 *     def __str__(self):             # <<<<<<<<<<<<<<
 *         assert False # To catch all places where a descriptor is used directly as a filename
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_1__str__(PyObject *__pyx_self, PyObject *__pyx_v_self); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_1__str__ = {__Pyx_NAMESTR("__str__"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_1__str__, METH_O, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_1__str__(PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__str__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor___str__(__pyx_self, ((PyObject *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor___str__(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__str__", 0);

  /* "Cython/Compiler/Scanning.py":128
 *     _cmp_name = ''
 *     def __str__(self):
 *         assert False # To catch all places where a descriptor is used directly as a filename             # <<<<<<<<<<<<<<
 * 
 *     def set_file_type_from_name(self, filename):
 */
  #ifndef CYTHON_WITHOUT_ASSERTIONS
  if (unlikely(!Py_OptimizeFlag)) {
    if (unlikely(!0)) {
      PyErr_SetNone(PyExc_AssertionError);
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 128; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
  }
  #endif

  /* "Cython/Compiler/Scanning.py":127
 *     _escaped_description = None
 *     _cmp_name = ''
 *     def __str__(self):             # <<<<<<<<<<<<<<
 *         assert False # To catch all places where a descriptor is used directly as a filename
 * 
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.SourceDescriptor.__str__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":130
 *         assert False # To catch all places where a descriptor is used directly as a filename
 * 
 *     def set_file_type_from_name(self, filename):             # <<<<<<<<<<<<<<
 *         name, ext = os.path.splitext(filename)
 *         self._file_type = ext in ('.pyx', '.pxd', '.py') and ext[1:] or 'pyx'
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_3set_file_type_from_name(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_3set_file_type_from_name = {__Pyx_NAMESTR("set_file_type_from_name"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_3set_file_type_from_name, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_3set_file_type_from_name(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_filename = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("set_file_type_from_name (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_self,&__pyx_n_s_filename,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        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;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_filename)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("set_file_type_from_name", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "set_file_type_from_name") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_self = values[0];
    __pyx_v_filename = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("set_file_type_from_name", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.SourceDescriptor.set_file_type_from_name", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_2set_file_type_from_name(__pyx_self, __pyx_v_self, __pyx_v_filename);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_2set_file_type_from_name(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_filename) {
  CYTHON_UNUSED PyObject *__pyx_v_name = NULL;
  PyObject *__pyx_v_ext = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *(*__pyx_t_5)(PyObject *);
  int __pyx_t_6;
  int __pyx_t_7;
  int __pyx_t_8;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("set_file_type_from_name", 0);

  /* "Cython/Compiler/Scanning.py":131
 * 
 *     def set_file_type_from_name(self, filename):
 *         name, ext = os.path.splitext(filename)             # <<<<<<<<<<<<<<
 *         self._file_type = ext in ('.pyx', '.pxd', '.py') and ext[1:] or 'pyx'
 * 
 */
  __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s_os); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_path); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_splitext); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_filename);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_filename);
  __Pyx_GIVEREF(__pyx_v_filename);
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  if ((likely(PyTuple_CheckExact(__pyx_t_3))) || (PyList_CheckExact(__pyx_t_3))) {
    PyObject* sequence = __pyx_t_3;
    #if CYTHON_COMPILING_IN_CPYTHON
    Py_ssize_t size = Py_SIZE(sequence);
    #else
    Py_ssize_t size = PySequence_Size(sequence);
    #endif
    if (unlikely(size != 2)) {
      if (size > 2) __Pyx_RaiseTooManyValuesError(2);
      else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    #if CYTHON_COMPILING_IN_CPYTHON
    if (likely(PyTuple_CheckExact(sequence))) {
      __pyx_t_2 = PyTuple_GET_ITEM(sequence, 0); 
      __pyx_t_1 = PyTuple_GET_ITEM(sequence, 1); 
    } else {
      __pyx_t_2 = PyList_GET_ITEM(sequence, 0); 
      __pyx_t_1 = PyList_GET_ITEM(sequence, 1); 
    }
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx_t_1);
    #else
    __pyx_t_2 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_1 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    #endif
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  } else {
    Py_ssize_t index = -1;
    __pyx_t_4 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __pyx_t_5 = Py_TYPE(__pyx_t_4)->tp_iternext;
    index = 0; __pyx_t_2 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
    __Pyx_GOTREF(__pyx_t_2);
    index = 1; __pyx_t_1 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_1)) goto __pyx_L3_unpacking_failed;
    __Pyx_GOTREF(__pyx_t_1);
    if (__Pyx_IternextUnpackEndCheck(__pyx_t_5(__pyx_t_4), 2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_5 = NULL;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    goto __pyx_L4_unpacking_done;
    __pyx_L3_unpacking_failed:;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __pyx_t_5 = NULL;
    if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 131; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_L4_unpacking_done:;
  }
  __pyx_v_name = __pyx_t_2;
  __pyx_t_2 = 0;
  __pyx_v_ext = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":132
 *     def set_file_type_from_name(self, filename):
 *         name, ext = os.path.splitext(filename)
 *         self._file_type = ext in ('.pyx', '.pxd', '.py') and ext[1:] or 'pyx'             # <<<<<<<<<<<<<<
 * 
 *     def is_cython_file(self):
 */
  __Pyx_INCREF(__pyx_v_ext);
  __pyx_t_3 = __pyx_v_ext;
  __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_t_3, __pyx_kp_u_pyx, Py_EQ)); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (!__pyx_t_6) {
    __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_t_3, __pyx_kp_u_pxd, Py_EQ)); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_8 = __pyx_t_7;
  } else {
    __pyx_t_8 = __pyx_t_6;
  }
  if (!__pyx_t_8) {
    __pyx_t_6 = (__Pyx_PyUnicode_Equals(__pyx_t_3, __pyx_kp_u_py, Py_EQ)); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_7 = __pyx_t_6;
  } else {
    __pyx_t_7 = __pyx_t_8;
  }
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __Pyx_PyBool_FromLong(__pyx_t_7); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__pyx_t_7) {
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_v_ext, 1, 0, NULL, NULL, &__pyx_slice__3, 1, 0, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_2 = __pyx_t_1;
    __pyx_t_1 = 0;
  } else {
    __pyx_t_2 = __pyx_t_3;
    __pyx_t_3 = 0;
  }
  __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (!__pyx_t_7) {
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_INCREF(__pyx_n_u_pyx_2);
    __pyx_t_3 = __pyx_n_u_pyx_2;
  } else {
    __pyx_t_3 = __pyx_t_2;
    __pyx_t_2 = 0;
  }
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_file_type, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "Cython/Compiler/Scanning.py":130
 *         assert False # To catch all places where a descriptor is used directly as a filename
 * 
 *     def set_file_type_from_name(self, filename):             # <<<<<<<<<<<<<<
 *         name, ext = os.path.splitext(filename)
 *         self._file_type = ext in ('.pyx', '.pxd', '.py') and ext[1:] or 'pyx'
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.SourceDescriptor.set_file_type_from_name", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_name);
  __Pyx_XDECREF(__pyx_v_ext);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":134
 *         self._file_type = ext in ('.pyx', '.pxd', '.py') and ext[1:] or 'pyx'
 * 
 *     def is_cython_file(self):             # <<<<<<<<<<<<<<
 *         return self._file_type in ('pyx', 'pxd')
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_5is_cython_file(PyObject *__pyx_self, PyObject *__pyx_v_self); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_5is_cython_file = {__Pyx_NAMESTR("is_cython_file"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_5is_cython_file, METH_O, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_5is_cython_file(PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("is_cython_file (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_4is_cython_file(__pyx_self, ((PyObject *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_4is_cython_file(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_t_3;
  int __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("is_cython_file", 0);

  /* "Cython/Compiler/Scanning.py":135
 * 
 *     def is_cython_file(self):
 *         return self._file_type in ('pyx', 'pxd')             # <<<<<<<<<<<<<<
 * 
 *     def is_python_file(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_file_type); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = (__Pyx_PyUnicode_Equals(__pyx_t_1, __pyx_n_u_pyx_2, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (!__pyx_t_2) {
    __pyx_t_3 = (__Pyx_PyUnicode_Equals(__pyx_t_1, __pyx_n_u_pxd_2, Py_EQ)); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_4 = __pyx_t_3;
  } else {
    __pyx_t_4 = __pyx_t_2;
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_t_4); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 135; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":134
 *         self._file_type = ext in ('.pyx', '.pxd', '.py') and ext[1:] or 'pyx'
 * 
 *     def is_cython_file(self):             # <<<<<<<<<<<<<<
 *         return self._file_type in ('pyx', 'pxd')
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.SourceDescriptor.is_cython_file", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":137
 *         return self._file_type in ('pyx', 'pxd')
 * 
 *     def is_python_file(self):             # <<<<<<<<<<<<<<
 *         return self._file_type == 'py'
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_7is_python_file(PyObject *__pyx_self, PyObject *__pyx_v_self); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_7is_python_file = {__Pyx_NAMESTR("is_python_file"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_7is_python_file, METH_O, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_7is_python_file(PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("is_python_file (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_6is_python_file(__pyx_self, ((PyObject *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_6is_python_file(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("is_python_file", 0);

  /* "Cython/Compiler/Scanning.py":138
 * 
 *     def is_python_file(self):
 *         return self._file_type == 'py'             # <<<<<<<<<<<<<<
 * 
 *     def get_escaped_description(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_file_type); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyObject_RichCompare(__pyx_t_1, __pyx_n_u_py_2, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 138; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":137
 *         return self._file_type in ('pyx', 'pxd')
 * 
 *     def is_python_file(self):             # <<<<<<<<<<<<<<
 *         return self._file_type == 'py'
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.SourceDescriptor.is_python_file", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":140
 *         return self._file_type == 'py'
 * 
 *     def get_escaped_description(self):             # <<<<<<<<<<<<<<
 *         if self._escaped_description is None:
 *             self._escaped_description = \
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_9get_escaped_description(PyObject *__pyx_self, PyObject *__pyx_v_self); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_9get_escaped_description = {__Pyx_NAMESTR("get_escaped_description"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_9get_escaped_description, METH_O, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_9get_escaped_description(PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get_escaped_description (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_8get_escaped_description(__pyx_self, ((PyObject *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_8get_escaped_description(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_t_3;
  PyObject *__pyx_t_4 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get_escaped_description", 0);

  /* "Cython/Compiler/Scanning.py":141
 * 
 *     def get_escaped_description(self):
 *         if self._escaped_description is None:             # <<<<<<<<<<<<<<
 *             self._escaped_description = \
 *                 self.get_description().encode('ASCII', 'replace').decode("ASCII")
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_escaped_description); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 141; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = (__pyx_t_1 == Py_None);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_3 = (__pyx_t_2 != 0);
  if (__pyx_t_3) {

    /* "Cython/Compiler/Scanning.py":143
 *         if self._escaped_description is None:
 *             self._escaped_description = \
 *                 self.get_description().encode('ASCII', 'replace').decode("ASCII")             # <<<<<<<<<<<<<<
 *         return self._escaped_description
 * 
 */
    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_get_description); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_encode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__4, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_decode); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__5, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "Cython/Compiler/Scanning.py":142
 *     def get_escaped_description(self):
 *         if self._escaped_description is None:
 *             self._escaped_description = \             # <<<<<<<<<<<<<<
 *                 self.get_description().encode('ASCII', 'replace').decode("ASCII")
 *         return self._escaped_description
 */
    if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_escaped_description, __pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 142; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "Cython/Compiler/Scanning.py":144
 *             self._escaped_description = \
 *                 self.get_description().encode('ASCII', 'replace').decode("ASCII")
 *         return self._escaped_description             # <<<<<<<<<<<<<<
 * 
 *     def __gt__(self, other):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_escaped_description); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 144; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_r = __pyx_t_4;
  __pyx_t_4 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":140
 *         return self._file_type == 'py'
 * 
 *     def get_escaped_description(self):             # <<<<<<<<<<<<<<
 *         if self._escaped_description is None:
 *             self._escaped_description = \
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.SourceDescriptor.get_escaped_description", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":146
 *         return self._escaped_description
 * 
 *     def __gt__(self, other):             # <<<<<<<<<<<<<<
 *         # this is only used to provide some sort of order
 *         try:
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_11__gt__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_11__gt__ = {__Pyx_NAMESTR("__gt__"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_11__gt__, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_11__gt__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_other = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__gt__ (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_self,&__pyx_n_s_other,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        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;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_other)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__gt__", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__gt__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_self = values[0];
    __pyx_v_other = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__gt__", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.SourceDescriptor.__gt__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_10__gt__(__pyx_self, __pyx_v_self, __pyx_v_other);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_10__gt__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_other) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__gt__", 0);

  /* "Cython/Compiler/Scanning.py":148
 *     def __gt__(self, other):
 *         # this is only used to provide some sort of order
 *         try:             # <<<<<<<<<<<<<<
 *             return self._cmp_name > other._cmp_name
 *         except AttributeError:
 */
  {
    __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
    __Pyx_XGOTREF(__pyx_t_1);
    __Pyx_XGOTREF(__pyx_t_2);
    __Pyx_XGOTREF(__pyx_t_3);
    /*try:*/ {

      /* "Cython/Compiler/Scanning.py":149
 *         # this is only used to provide some sort of order
 *         try:
 *             return self._cmp_name > other._cmp_name             # <<<<<<<<<<<<<<
 *         except AttributeError:
 *             return False
 */
      __Pyx_XDECREF(__pyx_r);
      __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_cmp_name); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_GOTREF(__pyx_t_4);
      __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_other, __pyx_n_s_cmp_name); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_GOTREF(__pyx_t_5);
      __pyx_t_6 = PyObject_RichCompare(__pyx_t_4, __pyx_t_5, Py_GT); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 149; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __pyx_r = __pyx_t_6;
      __pyx_t_6 = 0;
      goto __pyx_L7_try_return;
    }
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
    goto __pyx_L10_try_end;
    __pyx_L3_error:;
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;

    /* "Cython/Compiler/Scanning.py":150
 *         try:
 *             return self._cmp_name > other._cmp_name
 *         except AttributeError:             # <<<<<<<<<<<<<<
 *             return False
 * 
 */
    __pyx_t_7 = PyErr_ExceptionMatches(__pyx_builtin_AttributeError);
    if (__pyx_t_7) {
      __Pyx_AddTraceback("Cython.Compiler.Scanning.SourceDescriptor.__gt__", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_5, &__pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 150; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_GOTREF(__pyx_t_4);

      /* "Cython/Compiler/Scanning.py":151
 *             return self._cmp_name > other._cmp_name
 *         except AttributeError:
 *             return False             # <<<<<<<<<<<<<<
 * 
 *     def __lt__(self, other):
 */
      __Pyx_XDECREF(__pyx_r);
      __Pyx_INCREF(Py_False);
      __pyx_r = Py_False;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      goto __pyx_L6_except_return;
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      goto __pyx_L4_exception_handled;
    }
    goto __pyx_L5_except_error;
    __pyx_L5_except_error:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    goto __pyx_L1_error;
    __pyx_L7_try_return:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    goto __pyx_L0;
    __pyx_L6_except_return:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    goto __pyx_L0;
    __pyx_L4_exception_handled:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    __pyx_L10_try_end:;
  }

  /* "Cython/Compiler/Scanning.py":146
 *         return self._escaped_description
 * 
 *     def __gt__(self, other):             # <<<<<<<<<<<<<<
 *         # this is only used to provide some sort of order
 *         try:
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.SourceDescriptor.__gt__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":153
 *             return False
 * 
 *     def __lt__(self, other):             # <<<<<<<<<<<<<<
 *         # this is only used to provide some sort of order
 *         try:
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_13__lt__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_13__lt__ = {__Pyx_NAMESTR("__lt__"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_13__lt__, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_13__lt__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_other = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__lt__ (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_self,&__pyx_n_s_other,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        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;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_other)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__lt__", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__lt__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_self = values[0];
    __pyx_v_other = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__lt__", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.SourceDescriptor.__lt__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_12__lt__(__pyx_self, __pyx_v_self, __pyx_v_other);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_12__lt__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_other) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__lt__", 0);

  /* "Cython/Compiler/Scanning.py":155
 *     def __lt__(self, other):
 *         # this is only used to provide some sort of order
 *         try:             # <<<<<<<<<<<<<<
 *             return self._cmp_name < other._cmp_name
 *         except AttributeError:
 */
  {
    __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
    __Pyx_XGOTREF(__pyx_t_1);
    __Pyx_XGOTREF(__pyx_t_2);
    __Pyx_XGOTREF(__pyx_t_3);
    /*try:*/ {

      /* "Cython/Compiler/Scanning.py":156
 *         # this is only used to provide some sort of order
 *         try:
 *             return self._cmp_name < other._cmp_name             # <<<<<<<<<<<<<<
 *         except AttributeError:
 *             return False
 */
      __Pyx_XDECREF(__pyx_r);
      __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_cmp_name); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_GOTREF(__pyx_t_4);
      __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_other, __pyx_n_s_cmp_name); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_GOTREF(__pyx_t_5);
      __pyx_t_6 = PyObject_RichCompare(__pyx_t_4, __pyx_t_5, Py_LT); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 156; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __pyx_r = __pyx_t_6;
      __pyx_t_6 = 0;
      goto __pyx_L7_try_return;
    }
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
    goto __pyx_L10_try_end;
    __pyx_L3_error:;
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;

    /* "Cython/Compiler/Scanning.py":157
 *         try:
 *             return self._cmp_name < other._cmp_name
 *         except AttributeError:             # <<<<<<<<<<<<<<
 *             return False
 * 
 */
    __pyx_t_7 = PyErr_ExceptionMatches(__pyx_builtin_AttributeError);
    if (__pyx_t_7) {
      __Pyx_AddTraceback("Cython.Compiler.Scanning.SourceDescriptor.__lt__", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_5, &__pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 157; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_GOTREF(__pyx_t_4);

      /* "Cython/Compiler/Scanning.py":158
 *             return self._cmp_name < other._cmp_name
 *         except AttributeError:
 *             return False             # <<<<<<<<<<<<<<
 * 
 *     def __le__(self, other):
 */
      __Pyx_XDECREF(__pyx_r);
      __Pyx_INCREF(Py_False);
      __pyx_r = Py_False;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      goto __pyx_L6_except_return;
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      goto __pyx_L4_exception_handled;
    }
    goto __pyx_L5_except_error;
    __pyx_L5_except_error:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    goto __pyx_L1_error;
    __pyx_L7_try_return:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    goto __pyx_L0;
    __pyx_L6_except_return:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    goto __pyx_L0;
    __pyx_L4_exception_handled:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    __pyx_L10_try_end:;
  }

  /* "Cython/Compiler/Scanning.py":153
 *             return False
 * 
 *     def __lt__(self, other):             # <<<<<<<<<<<<<<
 *         # this is only used to provide some sort of order
 *         try:
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.SourceDescriptor.__lt__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":160
 *             return False
 * 
 *     def __le__(self, other):             # <<<<<<<<<<<<<<
 *         # this is only used to provide some sort of order
 *         try:
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_15__le__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_15__le__ = {__Pyx_NAMESTR("__le__"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_15__le__, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_15__le__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_other = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__le__ (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_self,&__pyx_n_s_other,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        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;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_other)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__le__", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__le__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_self = values[0];
    __pyx_v_other = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__le__", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.SourceDescriptor.__le__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_14__le__(__pyx_self, __pyx_v_self, __pyx_v_other);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_14__le__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_other) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__le__", 0);

  /* "Cython/Compiler/Scanning.py":162
 *     def __le__(self, other):
 *         # this is only used to provide some sort of order
 *         try:             # <<<<<<<<<<<<<<
 *             return self._cmp_name <= other._cmp_name
 *         except AttributeError:
 */
  {
    __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
    __Pyx_XGOTREF(__pyx_t_1);
    __Pyx_XGOTREF(__pyx_t_2);
    __Pyx_XGOTREF(__pyx_t_3);
    /*try:*/ {

      /* "Cython/Compiler/Scanning.py":163
 *         # this is only used to provide some sort of order
 *         try:
 *             return self._cmp_name <= other._cmp_name             # <<<<<<<<<<<<<<
 *         except AttributeError:
 *             return False
 */
      __Pyx_XDECREF(__pyx_r);
      __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_cmp_name); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_GOTREF(__pyx_t_4);
      __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_other, __pyx_n_s_cmp_name); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_GOTREF(__pyx_t_5);
      __pyx_t_6 = PyObject_RichCompare(__pyx_t_4, __pyx_t_5, Py_LE); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 163; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __pyx_r = __pyx_t_6;
      __pyx_t_6 = 0;
      goto __pyx_L7_try_return;
    }
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
    goto __pyx_L10_try_end;
    __pyx_L3_error:;
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;

    /* "Cython/Compiler/Scanning.py":164
 *         try:
 *             return self._cmp_name <= other._cmp_name
 *         except AttributeError:             # <<<<<<<<<<<<<<
 *             return False
 * 
 */
    __pyx_t_7 = PyErr_ExceptionMatches(__pyx_builtin_AttributeError);
    if (__pyx_t_7) {
      __Pyx_AddTraceback("Cython.Compiler.Scanning.SourceDescriptor.__le__", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_5, &__pyx_t_4) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 164; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_GOTREF(__pyx_t_4);

      /* "Cython/Compiler/Scanning.py":165
 *             return self._cmp_name <= other._cmp_name
 *         except AttributeError:
 *             return False             # <<<<<<<<<<<<<<
 * 
 * class FileSourceDescriptor(SourceDescriptor):
 */
      __Pyx_XDECREF(__pyx_r);
      __Pyx_INCREF(Py_False);
      __pyx_r = Py_False;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      goto __pyx_L6_except_return;
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      goto __pyx_L4_exception_handled;
    }
    goto __pyx_L5_except_error;
    __pyx_L5_except_error:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    goto __pyx_L1_error;
    __pyx_L7_try_return:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    goto __pyx_L0;
    __pyx_L6_except_return:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    goto __pyx_L0;
    __pyx_L4_exception_handled:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    __pyx_L10_try_end:;
  }

  /* "Cython/Compiler/Scanning.py":160
 *             return False
 * 
 *     def __le__(self, other):             # <<<<<<<<<<<<<<
 *         # this is only used to provide some sort of order
 *         try:
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.SourceDescriptor.__le__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":175
 *     the position()-tuple.
 *     """
 *     def __init__(self, filename, path_description=None):             # <<<<<<<<<<<<<<
 *         filename = Utils.decode_filename(filename)
 *         self.path_description = path_description or filename
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_1__init__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_1__init__ = {__Pyx_NAMESTR("__init__"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_1__init__, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_1__init__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_filename = 0;
  PyObject *__pyx_v_path_description = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_self,&__pyx_n_s_filename,&__pyx_n_s_path_description,0};
    PyObject* values[3] = {0,0,0};
    values[2] = ((PyObject *)((PyObject *)Py_None));
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_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;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_filename)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__init__", 0, 2, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
        case  2:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_path_description);
          if (value) { values[2] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else {
      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);
        values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_self = values[0];
    __pyx_v_filename = values[1];
    __pyx_v_path_description = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 2, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.FileSourceDescriptor.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor___init__(__pyx_self, __pyx_v_self, __pyx_v_filename, __pyx_v_path_description);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_filename, PyObject *__pyx_v_path_description) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);
  __Pyx_INCREF(__pyx_v_filename);

  /* "Cython/Compiler/Scanning.py":176
 *     """
 *     def __init__(self, filename, path_description=None):
 *         filename = Utils.decode_filename(filename)             # <<<<<<<<<<<<<<
 *         self.path_description = path_description or filename
 *         self.filename = filename
 */
  __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s_Utils); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_decode_filename); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_v_filename);
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_filename);
  __Pyx_GIVEREF(__pyx_v_filename);
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 176; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF_SET(__pyx_v_filename, __pyx_t_3);
  __pyx_t_3 = 0;

  /* "Cython/Compiler/Scanning.py":177
 *     def __init__(self, filename, path_description=None):
 *         filename = Utils.decode_filename(filename)
 *         self.path_description = path_description or filename             # <<<<<<<<<<<<<<
 *         self.filename = filename
 *         self.set_file_type_from_name(filename)
 */
  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_path_description); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (!__pyx_t_4) {
    __Pyx_INCREF(__pyx_v_filename);
    __pyx_t_3 = __pyx_v_filename;
  } else {
    __Pyx_INCREF(__pyx_v_path_description);
    __pyx_t_3 = __pyx_v_path_description;
  }
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_path_description, __pyx_t_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 177; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "Cython/Compiler/Scanning.py":178
 *         filename = Utils.decode_filename(filename)
 *         self.path_description = path_description or filename
 *         self.filename = filename             # <<<<<<<<<<<<<<
 *         self.set_file_type_from_name(filename)
 *         self._cmp_name = filename
 */
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_filename, __pyx_v_filename) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 178; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":179
 *         self.path_description = path_description or filename
 *         self.filename = filename
 *         self.set_file_type_from_name(filename)             # <<<<<<<<<<<<<<
 *         self._cmp_name = filename
 *         self._lines = {}
 */
  __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_set_file_type_from_name); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_v_filename);
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_filename);
  __Pyx_GIVEREF(__pyx_v_filename);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 179; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "Cython/Compiler/Scanning.py":180
 *         self.filename = filename
 *         self.set_file_type_from_name(filename)
 *         self._cmp_name = filename             # <<<<<<<<<<<<<<
 *         self._lines = {}
 * 
 */
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_cmp_name, __pyx_v_filename) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":181
 *         self.set_file_type_from_name(filename)
 *         self._cmp_name = filename
 *         self._lines = {}             # <<<<<<<<<<<<<<
 * 
 *     def get_lines(self, encoding=None, error_handling=None):
 */
  __pyx_t_2 = PyDict_New(); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_lines, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 181; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "Cython/Compiler/Scanning.py":175
 *     the position()-tuple.
 *     """
 *     def __init__(self, filename, path_description=None):             # <<<<<<<<<<<<<<
 *         filename = Utils.decode_filename(filename)
 *         self.path_description = path_description or filename
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.FileSourceDescriptor.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_filename);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":183
 *         self._lines = {}
 * 
 *     def get_lines(self, encoding=None, error_handling=None):             # <<<<<<<<<<<<<<
 *         # we cache the lines only the second time this is called, in
 *         # order to save memory when they are only used once
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_3get_lines(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_3get_lines = {__Pyx_NAMESTR("get_lines"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_3get_lines, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_3get_lines(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_encoding = 0;
  PyObject *__pyx_v_error_handling = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get_lines (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_self,&__pyx_n_s_encoding,&__pyx_n_s_error_handling,0};
    PyObject* values[3] = {0,0,0};
    values[1] = ((PyObject *)((PyObject *)Py_None));
    values[2] = ((PyObject *)((PyObject *)Py_None));
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_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;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_encoding);
          if (value) { values[1] = value; kw_args--; }
        }
        case  2:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_error_handling);
          if (value) { values[2] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "get_lines") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else {
      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);
        break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_self = values[0];
    __pyx_v_encoding = values[1];
    __pyx_v_error_handling = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("get_lines", 0, 1, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.FileSourceDescriptor.get_lines", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_2get_lines(__pyx_self, __pyx_v_self, __pyx_v_encoding, __pyx_v_error_handling);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_2get_lines(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_encoding, PyObject *__pyx_v_error_handling) {
  PyObject *__pyx_v_key = NULL;
  PyObject *__pyx_v_lines = NULL;
  PyObject *__pyx_v_f = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_t_6;
  int __pyx_t_7;
  int __pyx_t_8;
  PyObject *__pyx_t_9 = NULL;
  PyObject *__pyx_t_10 = NULL;
  int __pyx_t_11;
  char const *__pyx_t_12;
  PyObject *__pyx_t_13 = NULL;
  PyObject *__pyx_t_14 = NULL;
  PyObject *__pyx_t_15 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get_lines", 0);

  /* "Cython/Compiler/Scanning.py":186
 *         # we cache the lines only the second time this is called, in
 *         # order to save memory when they are only used once
 *         key = (encoding, error_handling)             # <<<<<<<<<<<<<<
 *         try:
 *             lines = self._lines[key]
 */
  __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_v_encoding);
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_encoding);
  __Pyx_GIVEREF(__pyx_v_encoding);
  __Pyx_INCREF(__pyx_v_error_handling);
  PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_error_handling);
  __Pyx_GIVEREF(__pyx_v_error_handling);
  __pyx_v_key = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":187
 *         # order to save memory when they are only used once
 *         key = (encoding, error_handling)
 *         try:             # <<<<<<<<<<<<<<
 *             lines = self._lines[key]
 *             if lines is not None:
 */
  {
    __Pyx_ExceptionSave(&__pyx_t_2, &__pyx_t_3, &__pyx_t_4);
    __Pyx_XGOTREF(__pyx_t_2);
    __Pyx_XGOTREF(__pyx_t_3);
    __Pyx_XGOTREF(__pyx_t_4);
    /*try:*/ {

      /* "Cython/Compiler/Scanning.py":188
 *         key = (encoding, error_handling)
 *         try:
 *             lines = self._lines[key]             # <<<<<<<<<<<<<<
 *             if lines is not None:
 *                 return lines
 */
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_lines); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __pyx_t_5 = PyObject_GetItem(__pyx_t_1, __pyx_v_key); if (unlikely(__pyx_t_5 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 188; __pyx_clineno = __LINE__; goto __pyx_L3_error;};
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      __pyx_v_lines = __pyx_t_5;
      __pyx_t_5 = 0;

      /* "Cython/Compiler/Scanning.py":189
 *         try:
 *             lines = self._lines[key]
 *             if lines is not None:             # <<<<<<<<<<<<<<
 *                 return lines
 *         except KeyError:
 */
      __pyx_t_6 = (__pyx_v_lines != Py_None);
      __pyx_t_7 = (__pyx_t_6 != 0);
      if (__pyx_t_7) {

        /* "Cython/Compiler/Scanning.py":190
 *             lines = self._lines[key]
 *             if lines is not None:
 *                 return lines             # <<<<<<<<<<<<<<
 *         except KeyError:
 *             pass
 */
        __Pyx_XDECREF(__pyx_r);
        __Pyx_INCREF(__pyx_v_lines);
        __pyx_r = __pyx_v_lines;
        goto __pyx_L7_try_return;
      }
    }
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    goto __pyx_L10_try_end;
    __pyx_L3_error:;
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;

    /* "Cython/Compiler/Scanning.py":191
 *             if lines is not None:
 *                 return lines
 *         except KeyError:             # <<<<<<<<<<<<<<
 *             pass
 *         f = Utils.open_source_file(
 */
    __pyx_t_8 = PyErr_ExceptionMatches(__pyx_builtin_KeyError);
    if (__pyx_t_8) {
      PyErr_Restore(0,0,0);
      goto __pyx_L4_exception_handled;
    }
    goto __pyx_L5_except_error;
    __pyx_L5_except_error:;
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_XGIVEREF(__pyx_t_4);
    __Pyx_ExceptionReset(__pyx_t_2, __pyx_t_3, __pyx_t_4);
    goto __pyx_L1_error;
    __pyx_L7_try_return:;
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_XGIVEREF(__pyx_t_4);
    __Pyx_ExceptionReset(__pyx_t_2, __pyx_t_3, __pyx_t_4);
    goto __pyx_L0;
    __pyx_L4_exception_handled:;
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_XGIVEREF(__pyx_t_4);
    __Pyx_ExceptionReset(__pyx_t_2, __pyx_t_3, __pyx_t_4);
    __pyx_L10_try_end:;
  }

  /* "Cython/Compiler/Scanning.py":193
 *         except KeyError:
 *             pass
 *         f = Utils.open_source_file(             # <<<<<<<<<<<<<<
 *             self.filename, encoding=encoding,
 *             error_handling=error_handling,
 */
  __pyx_t_5 = __Pyx_GetModuleGlobalName(__pyx_n_s_Utils); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_open_source_file); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "Cython/Compiler/Scanning.py":194
 *             pass
 *         f = Utils.open_source_file(
 *             self.filename, encoding=encoding,             # <<<<<<<<<<<<<<
 *             error_handling=error_handling,
 *             # newline normalisation is costly before Py2.6
 */
  __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_filename); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 194; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);

  /* "Cython/Compiler/Scanning.py":193
 *         except KeyError:
 *             pass
 *         f = Utils.open_source_file(             # <<<<<<<<<<<<<<
 *             self.filename, encoding=encoding,
 *             error_handling=error_handling,
 */
  __pyx_t_9 = PyTuple_New(1); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_9);
  PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_5);
  __Pyx_GIVEREF(__pyx_t_5);
  __pyx_t_5 = 0;
  __pyx_t_5 = PyDict_New(); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);

  /* "Cython/Compiler/Scanning.py":194
 *             pass
 *         f = Utils.open_source_file(
 *             self.filename, encoding=encoding,             # <<<<<<<<<<<<<<
 *             error_handling=error_handling,
 *             # newline normalisation is costly before Py2.6
 */
  if (PyDict_SetItem(__pyx_t_5, __pyx_n_s_encoding, __pyx_v_encoding) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":195
 *         f = Utils.open_source_file(
 *             self.filename, encoding=encoding,
 *             error_handling=error_handling,             # <<<<<<<<<<<<<<
 *             # newline normalisation is costly before Py2.6
 *             require_normalised_newlines=False)
 */
  if (PyDict_SetItem(__pyx_t_5, __pyx_n_s_error_handling, __pyx_v_error_handling) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":197
 *             error_handling=error_handling,
 *             # newline normalisation is costly before Py2.6
 *             require_normalised_newlines=False)             # <<<<<<<<<<<<<<
 *         try:
 *             lines = list(f)
 */
  if (PyDict_SetItem(__pyx_t_5, __pyx_n_s_require_normalised_newlines, Py_False) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":193
 *         except KeyError:
 *             pass
 *         f = Utils.open_source_file(             # <<<<<<<<<<<<<<
 *             self.filename, encoding=encoding,
 *             error_handling=error_handling,
 */
  __pyx_t_10 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_9, __pyx_t_5); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 193; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_10);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __pyx_v_f = __pyx_t_10;
  __pyx_t_10 = 0;

  /* "Cython/Compiler/Scanning.py":198
 *             # newline normalisation is costly before Py2.6
 *             require_normalised_newlines=False)
 *         try:             # <<<<<<<<<<<<<<
 *             lines = list(f)
 *         finally:
 */
  /*try:*/ {

    /* "Cython/Compiler/Scanning.py":199
 *             require_normalised_newlines=False)
 *         try:
 *             lines = list(f)             # <<<<<<<<<<<<<<
 *         finally:
 *             f.close()
 */
    __pyx_t_10 = PyTuple_New(1); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L13_error;}
    __Pyx_GOTREF(__pyx_t_10);
    __Pyx_INCREF(__pyx_v_f);
    PyTuple_SET_ITEM(__pyx_t_10, 0, __pyx_v_f);
    __Pyx_GIVEREF(__pyx_v_f);
    __pyx_t_5 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)(&PyList_Type))), __pyx_t_10, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 199; __pyx_clineno = __LINE__; goto __pyx_L13_error;}
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
    __Pyx_XDECREF_SET(__pyx_v_lines, __pyx_t_5);
    __pyx_t_5 = 0;
  }

  /* "Cython/Compiler/Scanning.py":201
 *             lines = list(f)
 *         finally:
 *             f.close()             # <<<<<<<<<<<<<<
 *         if key in self._lines:
 *             self._lines[key] = lines
 */
  /*finally:*/ {
    /*normal exit:*/{
      __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_n_s_close); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_5);
      __pyx_t_10 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_empty_tuple, NULL); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_10);
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
      goto __pyx_L14;
    }
    /*exception exit:*/{
      __pyx_L13_error:;
      __pyx_t_4 = 0; __pyx_t_3 = 0; __pyx_t_2 = 0; __pyx_t_13 = 0; __pyx_t_14 = 0; __pyx_t_15 = 0;
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
      __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      if (PY_MAJOR_VERSION >= 3) __Pyx_ExceptionSwap(&__pyx_t_13, &__pyx_t_14, &__pyx_t_15);
      if ((PY_MAJOR_VERSION < 3) || unlikely(__Pyx_GetException(&__pyx_t_4, &__pyx_t_3, &__pyx_t_2) < 0)) __Pyx_ErrFetch(&__pyx_t_4, &__pyx_t_3, &__pyx_t_2);
      __Pyx_XGOTREF(__pyx_t_4);
      __Pyx_XGOTREF(__pyx_t_3);
      __Pyx_XGOTREF(__pyx_t_2);
      __Pyx_XGOTREF(__pyx_t_13);
      __Pyx_XGOTREF(__pyx_t_14);
      __Pyx_XGOTREF(__pyx_t_15);
      __pyx_t_8 = __pyx_lineno; __pyx_t_11 = __pyx_clineno; __pyx_t_12 = __pyx_filename;
      {
        __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_n_s_close); if (unlikely(!__pyx_t_10)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L16_error;}
        __Pyx_GOTREF(__pyx_t_10);
        __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_10, __pyx_empty_tuple, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 201; __pyx_clineno = __LINE__; goto __pyx_L16_error;}
        __Pyx_GOTREF(__pyx_t_5);
        __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
        __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      }
      if (PY_MAJOR_VERSION >= 3) {
        __Pyx_XGIVEREF(__pyx_t_13);
        __Pyx_XGIVEREF(__pyx_t_14);
        __Pyx_XGIVEREF(__pyx_t_15);
        __Pyx_ExceptionReset(__pyx_t_13, __pyx_t_14, __pyx_t_15);
      }
      __Pyx_XGIVEREF(__pyx_t_4);
      __Pyx_XGIVEREF(__pyx_t_3);
      __Pyx_XGIVEREF(__pyx_t_2);
      __Pyx_ErrRestore(__pyx_t_4, __pyx_t_3, __pyx_t_2);
      __pyx_t_4 = 0; __pyx_t_3 = 0; __pyx_t_2 = 0; __pyx_t_13 = 0; __pyx_t_14 = 0; __pyx_t_15 = 0;
      __pyx_lineno = __pyx_t_8; __pyx_clineno = __pyx_t_11; __pyx_filename = __pyx_t_12;
      goto __pyx_L1_error;
      __pyx_L16_error:;
      if (PY_MAJOR_VERSION >= 3) {
        __Pyx_XGIVEREF(__pyx_t_13);
        __Pyx_XGIVEREF(__pyx_t_14);
        __Pyx_XGIVEREF(__pyx_t_15);
        __Pyx_ExceptionReset(__pyx_t_13, __pyx_t_14, __pyx_t_15);
      }
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      __pyx_t_13 = 0; __pyx_t_14 = 0; __pyx_t_15 = 0;
      goto __pyx_L1_error;
    }
    __pyx_L14:;
  }

  /* "Cython/Compiler/Scanning.py":202
 *         finally:
 *             f.close()
 *         if key in self._lines:             # <<<<<<<<<<<<<<
 *             self._lines[key] = lines
 *         else:
 */
  __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_lines); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  __pyx_t_7 = (__Pyx_PySequence_Contains(__pyx_v_key, __pyx_t_5, Py_EQ)); if (unlikely(__pyx_t_7 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 202; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __pyx_t_6 = (__pyx_t_7 != 0);
  if (__pyx_t_6) {

    /* "Cython/Compiler/Scanning.py":203
 *             f.close()
 *         if key in self._lines:
 *             self._lines[key] = lines             # <<<<<<<<<<<<<<
 *         else:
 *             # do not cache the first access, but remember that we
 */
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_lines); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_5);
    if (unlikely(PyObject_SetItem(__pyx_t_5, __pyx_v_key, __pyx_v_lines) < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 203; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    goto __pyx_L17;
  }
  /*else*/ {

    /* "Cython/Compiler/Scanning.py":207
 *             # do not cache the first access, but remember that we
 *             # already read it once
 *             self._lines[key] = None             # <<<<<<<<<<<<<<
 *         return lines
 * 
 */
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_lines); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_5);
    if (unlikely(PyObject_SetItem(__pyx_t_5, __pyx_v_key, Py_None) < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 207; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  }
  __pyx_L17:;

  /* "Cython/Compiler/Scanning.py":208
 *             # already read it once
 *             self._lines[key] = None
 *         return lines             # <<<<<<<<<<<<<<
 * 
 *     def get_description(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_lines);
  __pyx_r = __pyx_v_lines;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":183
 *         self._lines = {}
 * 
 *     def get_lines(self, encoding=None, error_handling=None):             # <<<<<<<<<<<<<<
 *         # we cache the lines only the second time this is called, in
 *         # order to save memory when they are only used once
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_XDECREF(__pyx_t_10);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.FileSourceDescriptor.get_lines", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_key);
  __Pyx_XDECREF(__pyx_v_lines);
  __Pyx_XDECREF(__pyx_v_f);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":210
 *         return lines
 * 
 *     def get_description(self):             # <<<<<<<<<<<<<<
 *         return self.path_description
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_5get_description(PyObject *__pyx_self, PyObject *__pyx_v_self); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_5get_description = {__Pyx_NAMESTR("get_description"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_5get_description, METH_O, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_5get_description(PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get_description (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_4get_description(__pyx_self, ((PyObject *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_4get_description(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get_description", 0);

  /* "Cython/Compiler/Scanning.py":211
 * 
 *     def get_description(self):
 *         return self.path_description             # <<<<<<<<<<<<<<
 * 
 *     def get_error_description(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_path_description); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 211; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":210
 *         return lines
 * 
 *     def get_description(self):             # <<<<<<<<<<<<<<
 *         return self.path_description
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.FileSourceDescriptor.get_description", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":213
 *         return self.path_description
 * 
 *     def get_error_description(self):             # <<<<<<<<<<<<<<
 *         path = self.filename
 *         cwd = Utils.decode_filename(os.getcwd() + os.path.sep)
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_7get_error_description(PyObject *__pyx_self, PyObject *__pyx_v_self); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_7get_error_description = {__Pyx_NAMESTR("get_error_description"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_7get_error_description, METH_O, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_7get_error_description(PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get_error_description (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_6get_error_description(__pyx_self, ((PyObject *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_6get_error_description(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_v_path = NULL;
  PyObject *__pyx_v_cwd = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  int __pyx_t_5;
  Py_ssize_t __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get_error_description", 0);

  /* "Cython/Compiler/Scanning.py":214
 * 
 *     def get_error_description(self):
 *         path = self.filename             # <<<<<<<<<<<<<<
 *         cwd = Utils.decode_filename(os.getcwd() + os.path.sep)
 *         if path.startswith(cwd):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_filename); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 214; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_path = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":215
 *     def get_error_description(self):
 *         path = self.filename
 *         cwd = Utils.decode_filename(os.getcwd() + os.path.sep)             # <<<<<<<<<<<<<<
 *         if path.startswith(cwd):
 *             return path[len(cwd):]
 */
  __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s_Utils); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_decode_filename); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s_os); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_getcwd); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_empty_tuple, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_os); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_path); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_sep); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __pyx_t_4 = PyNumber_Add(__pyx_t_1, __pyx_t_3); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4);
  __Pyx_GIVEREF(__pyx_t_4);
  __pyx_t_4 = 0;
  __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_v_cwd = __pyx_t_4;
  __pyx_t_4 = 0;

  /* "Cython/Compiler/Scanning.py":216
 *         path = self.filename
 *         cwd = Utils.decode_filename(os.getcwd() + os.path.sep)
 *         if path.startswith(cwd):             # <<<<<<<<<<<<<<
 *             return path[len(cwd):]
 *         return path
 */
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_path, __pyx_n_s_startswith); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_v_cwd);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_cwd);
  __Pyx_GIVEREF(__pyx_v_cwd);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_5 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 216; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  if (__pyx_t_5) {

    /* "Cython/Compiler/Scanning.py":217
 *         cwd = Utils.decode_filename(os.getcwd() + os.path.sep)
 *         if path.startswith(cwd):
 *             return path[len(cwd):]             # <<<<<<<<<<<<<<
 *         return path
 * 
 */
    __Pyx_XDECREF(__pyx_r);
    __pyx_t_6 = PyObject_Length(__pyx_v_cwd); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_2 = __Pyx_PyObject_GetSlice(__pyx_v_path, __pyx_t_6, 0, NULL, NULL, NULL, 1, 0, 1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 217; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_r = __pyx_t_2;
    __pyx_t_2 = 0;
    goto __pyx_L0;
  }

  /* "Cython/Compiler/Scanning.py":218
 *         if path.startswith(cwd):
 *             return path[len(cwd):]
 *         return path             # <<<<<<<<<<<<<<
 * 
 *     def get_filenametable_entry(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_path);
  __pyx_r = __pyx_v_path;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":213
 *         return self.path_description
 * 
 *     def get_error_description(self):             # <<<<<<<<<<<<<<
 *         path = self.filename
 *         cwd = Utils.decode_filename(os.getcwd() + os.path.sep)
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.FileSourceDescriptor.get_error_description", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_path);
  __Pyx_XDECREF(__pyx_v_cwd);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":220
 *         return path
 * 
 *     def get_filenametable_entry(self):             # <<<<<<<<<<<<<<
 *         return self.filename
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_9get_filenametable_entry(PyObject *__pyx_self, PyObject *__pyx_v_self); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_9get_filenametable_entry = {__Pyx_NAMESTR("get_filenametable_entry"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_9get_filenametable_entry, METH_O, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_9get_filenametable_entry(PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get_filenametable_entry (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_8get_filenametable_entry(__pyx_self, ((PyObject *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_8get_filenametable_entry(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get_filenametable_entry", 0);

  /* "Cython/Compiler/Scanning.py":221
 * 
 *     def get_filenametable_entry(self):
 *         return self.filename             # <<<<<<<<<<<<<<
 * 
 *     def __eq__(self, other):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_filename); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 221; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":220
 *         return path
 * 
 *     def get_filenametable_entry(self):             # <<<<<<<<<<<<<<
 *         return self.filename
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.FileSourceDescriptor.get_filenametable_entry", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":223
 *         return self.filename
 * 
 *     def __eq__(self, other):             # <<<<<<<<<<<<<<
 *         return isinstance(other, FileSourceDescriptor) and self.filename == other.filename
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_11__eq__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_11__eq__ = {__Pyx_NAMESTR("__eq__"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_11__eq__, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_11__eq__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_other = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__eq__ (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_self,&__pyx_n_s_other,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        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;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_other)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__eq__", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__eq__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_self = values[0];
    __pyx_v_other = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__eq__", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.FileSourceDescriptor.__eq__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_10__eq__(__pyx_self, __pyx_v_self, __pyx_v_other);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_10__eq__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_other) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__eq__", 0);

  /* "Cython/Compiler/Scanning.py":224
 * 
 *     def __eq__(self, other):
 *         return isinstance(other, FileSourceDescriptor) and self.filename == other.filename             # <<<<<<<<<<<<<<
 * 
 *     def __hash__(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s_FileSourceDescriptor); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyObject_IsInstance(__pyx_v_other, __pyx_t_1); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__pyx_t_2) {
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_filename); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_other, __pyx_n_s_filename); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = PyObject_RichCompare(__pyx_t_3, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 224; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __pyx_t_4 = __pyx_t_5;
    __pyx_t_5 = 0;
  } else {
    __pyx_t_4 = __pyx_t_1;
    __pyx_t_1 = 0;
  }
  __pyx_r = __pyx_t_4;
  __pyx_t_4 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":223
 *         return self.filename
 * 
 *     def __eq__(self, other):             # <<<<<<<<<<<<<<
 *         return isinstance(other, FileSourceDescriptor) and self.filename == other.filename
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.FileSourceDescriptor.__eq__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":226
 *         return isinstance(other, FileSourceDescriptor) and self.filename == other.filename
 * 
 *     def __hash__(self):             # <<<<<<<<<<<<<<
 *         return hash(self.filename)
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_13__hash__(PyObject *__pyx_self, PyObject *__pyx_v_self); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_13__hash__ = {__Pyx_NAMESTR("__hash__"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_13__hash__, METH_O, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_13__hash__(PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__hash__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_12__hash__(__pyx_self, ((PyObject *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_12__hash__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  Py_hash_t __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__hash__", 0);

  /* "Cython/Compiler/Scanning.py":227
 * 
 *     def __hash__(self):
 *         return hash(self.filename)             # <<<<<<<<<<<<<<
 * 
 *     def __repr__(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_filename); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyObject_Hash(__pyx_t_1); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyInt_FromHash_t(__pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 227; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":226
 *         return isinstance(other, FileSourceDescriptor) and self.filename == other.filename
 * 
 *     def __hash__(self):             # <<<<<<<<<<<<<<
 *         return hash(self.filename)
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.FileSourceDescriptor.__hash__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":229
 *         return hash(self.filename)
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return "<FileSourceDescriptor:%s>" % self.filename
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_15__repr__(PyObject *__pyx_self, PyObject *__pyx_v_self); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_15__repr__ = {__Pyx_NAMESTR("__repr__"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_15__repr__, METH_O, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_15__repr__(PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__repr__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_14__repr__(__pyx_self, ((PyObject *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_14__repr__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__repr__", 0);

  /* "Cython/Compiler/Scanning.py":230
 * 
 *     def __repr__(self):
 *         return "<FileSourceDescriptor:%s>" % self.filename             # <<<<<<<<<<<<<<
 * 
 * class StringSourceDescriptor(SourceDescriptor):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_filename); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyUnicode_Format(__pyx_kp_u_FileSourceDescriptor_s, __pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 230; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":229
 *         return hash(self.filename)
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return "<FileSourceDescriptor:%s>" % self.filename
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.FileSourceDescriptor.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":239
 *     filename = None
 * 
 *     def __init__(self, name, code):             # <<<<<<<<<<<<<<
 *         self.name = name
 *         #self.set_file_type_from_name(name)
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_1__init__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_1__init__ = {__Pyx_NAMESTR("__init__"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_1__init__, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_1__init__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_name = 0;
  PyObject *__pyx_v_code = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_self,&__pyx_n_s_name,&__pyx_n_s_code,0};
    PyObject* values[3] = {0,0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_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;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
        case  2:
        if (likely((values[2] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_code)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, 2); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 3) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
      values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
    }
    __pyx_v_self = values[0];
    __pyx_v_name = values[1];
    __pyx_v_code = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.StringSourceDescriptor.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor___init__(__pyx_self, __pyx_v_self, __pyx_v_name, __pyx_v_code);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_name, PyObject *__pyx_v_code) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *(*__pyx_t_5)(PyObject *);
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "Cython/Compiler/Scanning.py":240
 * 
 *     def __init__(self, name, code):
 *         self.name = name             # <<<<<<<<<<<<<<
 *         #self.set_file_type_from_name(name)
 *         self.codelines = [x + "\n" for x in code.split("\n")]
 */
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_name, __pyx_v_name) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 240; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":242
 *         self.name = name
 *         #self.set_file_type_from_name(name)
 *         self.codelines = [x + "\n" for x in code.split("\n")]             # <<<<<<<<<<<<<<
 *         self._cmp_name = name
 * 
 */
  { /* enter inner scope */
    PyObject *__pyx_7genexpr__pyx_v_x = NULL;
    __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_code, __pyx_n_s_split); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_tuple__7, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    if (PyList_CheckExact(__pyx_t_3) || PyTuple_CheckExact(__pyx_t_3)) {
      __pyx_t_2 = __pyx_t_3; __Pyx_INCREF(__pyx_t_2); __pyx_t_4 = 0;
      __pyx_t_5 = NULL;
    } else {
      __pyx_t_4 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
      __Pyx_GOTREF(__pyx_t_2);
      __pyx_t_5 = Py_TYPE(__pyx_t_2)->tp_iternext;
    }
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    for (;;) {
      if (!__pyx_t_5 && PyList_CheckExact(__pyx_t_2)) {
        if (__pyx_t_4 >= PyList_GET_SIZE(__pyx_t_2)) break;
        #if CYTHON_COMPILING_IN_CPYTHON
        __pyx_t_3 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_4); __Pyx_INCREF(__pyx_t_3); __pyx_t_4++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
        #else
        __pyx_t_3 = PySequence_ITEM(__pyx_t_2, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
        #endif
      } else if (!__pyx_t_5 && PyTuple_CheckExact(__pyx_t_2)) {
        if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_2)) break;
        #if CYTHON_COMPILING_IN_CPYTHON
        __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_4); __Pyx_INCREF(__pyx_t_3); __pyx_t_4++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
        #else
        __pyx_t_3 = PySequence_ITEM(__pyx_t_2, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
        #endif
      } else {
        __pyx_t_3 = __pyx_t_5(__pyx_t_2);
        if (unlikely(!__pyx_t_3)) {
          PyObject* exc_type = PyErr_Occurred();
          if (exc_type) {
            if (likely(exc_type == PyExc_StopIteration || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
            else {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
          }
          break;
        }
        __Pyx_GOTREF(__pyx_t_3);
      }
      __Pyx_XDECREF_SET(__pyx_7genexpr__pyx_v_x, __pyx_t_3);
      __pyx_t_3 = 0;
      __pyx_t_3 = PyNumber_Add(__pyx_7genexpr__pyx_v_x, __pyx_kp_u__6); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
      __Pyx_GOTREF(__pyx_t_3);
      if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_3))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L5_error;}
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    }
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_XDECREF(__pyx_7genexpr__pyx_v_x);
    goto __pyx_L8_exit_scope;
    __pyx_L5_error:;
    __Pyx_XDECREF(__pyx_7genexpr__pyx_v_x);
    goto __pyx_L1_error;
    __pyx_L8_exit_scope:;
  } /* exit inner scope */
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_codelines, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":243
 *         #self.set_file_type_from_name(name)
 *         self.codelines = [x + "\n" for x in code.split("\n")]
 *         self._cmp_name = name             # <<<<<<<<<<<<<<
 * 
 *     def get_lines(self, encoding=None, error_handling=None):
 */
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_cmp_name, __pyx_v_name) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 243; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":239
 *     filename = None
 * 
 *     def __init__(self, name, code):             # <<<<<<<<<<<<<<
 *         self.name = name
 *         #self.set_file_type_from_name(name)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.StringSourceDescriptor.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":245
 *         self._cmp_name = name
 * 
 *     def get_lines(self, encoding=None, error_handling=None):             # <<<<<<<<<<<<<<
 *         if not encoding:
 *             return self.codelines
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_3get_lines(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_3get_lines = {__Pyx_NAMESTR("get_lines"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_3get_lines, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_3get_lines(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_encoding = 0;
  PyObject *__pyx_v_error_handling = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get_lines (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_self,&__pyx_n_s_encoding,&__pyx_n_s_error_handling,0};
    PyObject* values[3] = {0,0,0};
    values[1] = ((PyObject *)((PyObject *)Py_None));
    values[2] = ((PyObject *)((PyObject *)Py_None));
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_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;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_encoding);
          if (value) { values[1] = value; kw_args--; }
        }
        case  2:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_error_handling);
          if (value) { values[2] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "get_lines") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else {
      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);
        break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_self = values[0];
    __pyx_v_encoding = values[1];
    __pyx_v_error_handling = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("get_lines", 0, 1, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.StringSourceDescriptor.get_lines", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_2get_lines(__pyx_self, __pyx_v_self, __pyx_v_encoding, __pyx_v_error_handling);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_2get_lines(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_encoding, PyObject *__pyx_v_error_handling) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  Py_ssize_t __pyx_t_6;
  PyObject *(*__pyx_t_7)(PyObject *);
  PyObject *__pyx_t_8 = NULL;
  PyObject *__pyx_t_9 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get_lines", 0);

  /* "Cython/Compiler/Scanning.py":246
 * 
 *     def get_lines(self, encoding=None, error_handling=None):
 *         if not encoding:             # <<<<<<<<<<<<<<
 *             return self.codelines
 *         else:
 */
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_encoding); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 246; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_2 = ((!__pyx_t_1) != 0);
  if (__pyx_t_2) {

    /* "Cython/Compiler/Scanning.py":247
 *     def get_lines(self, encoding=None, error_handling=None):
 *         if not encoding:
 *             return self.codelines             # <<<<<<<<<<<<<<
 *         else:
 *             return [ line.encode(encoding, error_handling).decode(encoding)
 */
    __Pyx_XDECREF(__pyx_r);
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_codelines); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 247; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_r = __pyx_t_3;
    __pyx_t_3 = 0;
    goto __pyx_L0;
  }
  /*else*/ {

    /* "Cython/Compiler/Scanning.py":249
 *             return self.codelines
 *         else:
 *             return [ line.encode(encoding, error_handling).decode(encoding)             # <<<<<<<<<<<<<<
 *                      for line in self.codelines ]
 * 
 */
    __Pyx_XDECREF(__pyx_r);
    { /* enter inner scope */
      PyObject *__pyx_8genexpr1__pyx_v_line = NULL;
      __pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
      __Pyx_GOTREF(__pyx_t_3);

      /* "Cython/Compiler/Scanning.py":250
 *         else:
 *             return [ line.encode(encoding, error_handling).decode(encoding)
 *                      for line in self.codelines ]             # <<<<<<<<<<<<<<
 * 
 *     def get_description(self):
 */
      __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_codelines); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
      __Pyx_GOTREF(__pyx_t_4);
      if (PyList_CheckExact(__pyx_t_4) || PyTuple_CheckExact(__pyx_t_4)) {
        __pyx_t_5 = __pyx_t_4; __Pyx_INCREF(__pyx_t_5); __pyx_t_6 = 0;
        __pyx_t_7 = NULL;
      } else {
        __pyx_t_6 = -1; __pyx_t_5 = PyObject_GetIter(__pyx_t_4); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
        __Pyx_GOTREF(__pyx_t_5);
        __pyx_t_7 = Py_TYPE(__pyx_t_5)->tp_iternext;
      }
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      for (;;) {
        if (!__pyx_t_7 && PyList_CheckExact(__pyx_t_5)) {
          if (__pyx_t_6 >= PyList_GET_SIZE(__pyx_t_5)) break;
          #if CYTHON_COMPILING_IN_CPYTHON
          __pyx_t_4 = PyList_GET_ITEM(__pyx_t_5, __pyx_t_6); __Pyx_INCREF(__pyx_t_4); __pyx_t_6++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
          #else
          __pyx_t_4 = PySequence_ITEM(__pyx_t_5, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
          #endif
        } else if (!__pyx_t_7 && PyTuple_CheckExact(__pyx_t_5)) {
          if (__pyx_t_6 >= PyTuple_GET_SIZE(__pyx_t_5)) break;
          #if CYTHON_COMPILING_IN_CPYTHON
          __pyx_t_4 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_6); __Pyx_INCREF(__pyx_t_4); __pyx_t_6++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
          #else
          __pyx_t_4 = PySequence_ITEM(__pyx_t_5, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
          #endif
        } else {
          __pyx_t_4 = __pyx_t_7(__pyx_t_5);
          if (unlikely(!__pyx_t_4)) {
            PyObject* exc_type = PyErr_Occurred();
            if (exc_type) {
              if (likely(exc_type == PyExc_StopIteration || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
              else {__pyx_filename = __pyx_f[0]; __pyx_lineno = 250; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
            }
            break;
          }
          __Pyx_GOTREF(__pyx_t_4);
        }
        __Pyx_XDECREF_SET(__pyx_8genexpr1__pyx_v_line, __pyx_t_4);
        __pyx_t_4 = 0;

        /* "Cython/Compiler/Scanning.py":249
 *             return self.codelines
 *         else:
 *             return [ line.encode(encoding, error_handling).decode(encoding)             # <<<<<<<<<<<<<<
 *                      for line in self.codelines ]
 * 
 */
        __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_8genexpr1__pyx_v_line, __pyx_n_s_encode); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
        __Pyx_GOTREF(__pyx_t_4);
        __pyx_t_8 = PyTuple_New(2); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
        __Pyx_GOTREF(__pyx_t_8);
        __Pyx_INCREF(__pyx_v_encoding);
        PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_v_encoding);
        __Pyx_GIVEREF(__pyx_v_encoding);
        __Pyx_INCREF(__pyx_v_error_handling);
        PyTuple_SET_ITEM(__pyx_t_8, 1, __pyx_v_error_handling);
        __Pyx_GIVEREF(__pyx_v_error_handling);
        __pyx_t_9 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_8, NULL); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
        __Pyx_GOTREF(__pyx_t_9);
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
        __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_decode); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
        __Pyx_GOTREF(__pyx_t_8);
        __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
        __pyx_t_9 = PyTuple_New(1); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
        __Pyx_GOTREF(__pyx_t_9);
        __Pyx_INCREF(__pyx_v_encoding);
        PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_v_encoding);
        __Pyx_GIVEREF(__pyx_v_encoding);
        __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_8, __pyx_t_9, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
        __Pyx_GOTREF(__pyx_t_4);
        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
        __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
        if (unlikely(__Pyx_ListComp_Append(__pyx_t_3, (PyObject*)__pyx_t_4))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 249; __pyx_clineno = __LINE__; goto __pyx_L6_error;}
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      }
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_XDECREF(__pyx_8genexpr1__pyx_v_line);
      goto __pyx_L9_exit_scope;
      __pyx_L6_error:;
      __Pyx_XDECREF(__pyx_8genexpr1__pyx_v_line);
      goto __pyx_L1_error;
      __pyx_L9_exit_scope:;
    } /* exit inner scope */
    __pyx_r = __pyx_t_3;
    __pyx_t_3 = 0;
    goto __pyx_L0;
  }

  /* "Cython/Compiler/Scanning.py":245
 *         self._cmp_name = name
 * 
 *     def get_lines(self, encoding=None, error_handling=None):             # <<<<<<<<<<<<<<
 *         if not encoding:
 *             return self.codelines
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.StringSourceDescriptor.get_lines", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":252
 *                      for line in self.codelines ]
 * 
 *     def get_description(self):             # <<<<<<<<<<<<<<
 *         return self.name
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_5get_description(PyObject *__pyx_self, PyObject *__pyx_v_self); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_5get_description = {__Pyx_NAMESTR("get_description"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_5get_description, METH_O, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_5get_description(PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get_description (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_4get_description(__pyx_self, ((PyObject *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_4get_description(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get_description", 0);

  /* "Cython/Compiler/Scanning.py":253
 * 
 *     def get_description(self):
 *         return self.name             # <<<<<<<<<<<<<<
 * 
 *     get_error_description = get_description
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_name); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 253; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":252
 *                      for line in self.codelines ]
 * 
 *     def get_description(self):             # <<<<<<<<<<<<<<
 *         return self.name
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.StringSourceDescriptor.get_description", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":257
 *     get_error_description = get_description
 * 
 *     def get_filenametable_entry(self):             # <<<<<<<<<<<<<<
 *         return "stringsource"
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_7get_filenametable_entry(PyObject *__pyx_self, PyObject *__pyx_v_self); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_7get_filenametable_entry = {__Pyx_NAMESTR("get_filenametable_entry"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_7get_filenametable_entry, METH_O, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_7get_filenametable_entry(PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get_filenametable_entry (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_6get_filenametable_entry(__pyx_self, ((PyObject *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_6get_filenametable_entry(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get_filenametable_entry", 0);

  /* "Cython/Compiler/Scanning.py":258
 * 
 *     def get_filenametable_entry(self):
 *         return "stringsource"             # <<<<<<<<<<<<<<
 * 
 *     def __hash__(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_n_u_stringsource);
  __pyx_r = __pyx_n_u_stringsource;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":257
 *     get_error_description = get_description
 * 
 *     def get_filenametable_entry(self):             # <<<<<<<<<<<<<<
 *         return "stringsource"
 * 
 */

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":260
 *         return "stringsource"
 * 
 *     def __hash__(self):             # <<<<<<<<<<<<<<
 *         return id(self)
 *         # Do not hash on the name, an identical string source should be the
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_9__hash__(PyObject *__pyx_self, PyObject *__pyx_v_self); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_9__hash__ = {__Pyx_NAMESTR("__hash__"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_9__hash__, METH_O, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_9__hash__(PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__hash__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_8__hash__(__pyx_self, ((PyObject *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_8__hash__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__hash__", 0);

  /* "Cython/Compiler/Scanning.py":261
 * 
 *     def __hash__(self):
 *         return id(self)             # <<<<<<<<<<<<<<
 *         # Do not hash on the name, an identical string source should be the
 *         # same object (name is often defaulted in other places)
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_v_self);
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_self);
  __Pyx_GIVEREF(__pyx_v_self);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_id, __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":260
 *         return "stringsource"
 * 
 *     def __hash__(self):             # <<<<<<<<<<<<<<
 *         return id(self)
 *         # Do not hash on the name, an identical string source should be the
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.StringSourceDescriptor.__hash__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":266
 *         # return hash(self.name)
 * 
 *     def __eq__(self, other):             # <<<<<<<<<<<<<<
 *         return isinstance(other, StringSourceDescriptor) and self.name == other.name
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_11__eq__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_11__eq__ = {__Pyx_NAMESTR("__eq__"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_11__eq__, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_11__eq__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_other = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__eq__ (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_self,&__pyx_n_s_other,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        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;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_other)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__eq__", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__eq__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_self = values[0];
    __pyx_v_other = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__eq__", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.StringSourceDescriptor.__eq__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_10__eq__(__pyx_self, __pyx_v_self, __pyx_v_other);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_10__eq__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_other) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__eq__", 0);

  /* "Cython/Compiler/Scanning.py":267
 * 
 *     def __eq__(self, other):
 *         return isinstance(other, StringSourceDescriptor) and self.name == other.name             # <<<<<<<<<<<<<<
 * 
 *     def __repr__(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s_StringSourceDescriptor); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyObject_IsInstance(__pyx_v_other, __pyx_t_1); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_t_2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__pyx_t_2) {
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_name); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_other, __pyx_n_s_name); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = PyObject_RichCompare(__pyx_t_3, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __pyx_t_4 = __pyx_t_5;
    __pyx_t_5 = 0;
  } else {
    __pyx_t_4 = __pyx_t_1;
    __pyx_t_1 = 0;
  }
  __pyx_r = __pyx_t_4;
  __pyx_t_4 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":266
 *         # return hash(self.name)
 * 
 *     def __eq__(self, other):             # <<<<<<<<<<<<<<
 *         return isinstance(other, StringSourceDescriptor) and self.name == other.name
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.StringSourceDescriptor.__eq__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":269
 *         return isinstance(other, StringSourceDescriptor) and self.name == other.name
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return "<StringSourceDescriptor:%s>" % self.name
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_13__repr__(PyObject *__pyx_self, PyObject *__pyx_v_self); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_13__repr__ = {__Pyx_NAMESTR("__repr__"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_13__repr__, METH_O, __Pyx_DOCSTR(0)};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_13__repr__(PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__repr__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_12__repr__(__pyx_self, ((PyObject *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_12__repr__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__repr__", 0);

  /* "Cython/Compiler/Scanning.py":270
 * 
 *     def __repr__(self):
 *         return "<StringSourceDescriptor:%s>" % self.name             # <<<<<<<<<<<<<<
 * 
 * #------------------------------------------------------------------
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_name); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyUnicode_Format(__pyx_kp_u_StringSourceDescriptor_s, __pyx_t_1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 270; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":269
 *         return isinstance(other, StringSourceDescriptor) and self.name == other.name
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return "<StringSourceDescriptor:%s>" % self.name
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.StringSourceDescriptor.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":281
 *     #  compile_time_expr  boolean  In a compile-time expression context
 * 
 *     def __init__(self, file, filename, parent_scanner = None,             # <<<<<<<<<<<<<<
 *                  scope = None, context = None, source_encoding=None, parse_comments=True, initial_pos=None):
 *         Scanner.__init__(self, get_lexicon(), file, filename, initial_pos)
 */

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_file = 0;
  PyObject *__pyx_v_filename = 0;
  PyObject *__pyx_v_parent_scanner = 0;
  PyObject *__pyx_v_scope = 0;
  PyObject *__pyx_v_context = 0;
  PyObject *__pyx_v_source_encoding = 0;
  PyObject *__pyx_v_parse_comments = 0;
  PyObject *__pyx_v_initial_pos = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_file,&__pyx_n_s_filename,&__pyx_n_s_parent_scanner,&__pyx_n_s_scope,&__pyx_n_s_context,&__pyx_n_s_source_encoding,&__pyx_n_s_parse_comments,&__pyx_n_s_initial_pos,0};
    PyObject* values[8] = {0,0,0,0,0,0,0,0};
    values[2] = ((PyObject *)Py_None);

    /* "Cython/Compiler/Scanning.py":282
 * 
 *     def __init__(self, file, filename, parent_scanner = None,
 *                  scope = None, context = None, source_encoding=None, parse_comments=True, initial_pos=None):             # <<<<<<<<<<<<<<
 *         Scanner.__init__(self, get_lexicon(), file, filename, initial_pos)
 *         if parent_scanner:
 */
    values[3] = ((PyObject *)Py_None);
    values[4] = ((PyObject *)Py_None);
    values[5] = ((PyObject *)Py_None);
    values[6] = ((PyObject *)Py_True);
    values[7] = ((PyObject *)Py_None);
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        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;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_file)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_filename)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__init__", 0, 2, 8, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
        case  2:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_parent_scanner);
          if (value) { values[2] = value; kw_args--; }
        }
        case  3:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_scope);
          if (value) { values[3] = value; kw_args--; }
        }
        case  4:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_context);
          if (value) { values[4] = value; kw_args--; }
        }
        case  5:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_source_encoding);
          if (value) { values[5] = value; kw_args--; }
        }
        case  6:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_parse_comments);
          if (value) { values[6] = value; kw_args--; }
        }
        case  7:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_initial_pos);
          if (value) { values[7] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_file = values[0];
    __pyx_v_filename = values[1];
    __pyx_v_parent_scanner = values[2];
    __pyx_v_scope = values[3];
    __pyx_v_context = values[4];
    __pyx_v_source_encoding = values[5];
    __pyx_v_parse_comments = values[6];
    __pyx_v_initial_pos = values[7];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 2, 8, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner___init__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), __pyx_v_file, __pyx_v_filename, __pyx_v_parent_scanner, __pyx_v_scope, __pyx_v_context, __pyx_v_source_encoding, __pyx_v_parse_comments, __pyx_v_initial_pos);

  /* "Cython/Compiler/Scanning.py":281
 *     #  compile_time_expr  boolean  In a compile-time expression context
 * 
 *     def __init__(self, file, filename, parent_scanner = None,             # <<<<<<<<<<<<<<
 *                  scope = None, context = None, source_encoding=None, parse_comments=True, initial_pos=None):
 *         Scanner.__init__(self, get_lexicon(), file, filename, initial_pos)
 */

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner___init__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_file, PyObject *__pyx_v_filename, PyObject *__pyx_v_parent_scanner, PyObject *__pyx_v_scope, PyObject *__pyx_v_context, PyObject *__pyx_v_source_encoding, PyObject *__pyx_v_parse_comments, PyObject *__pyx_v_initial_pos) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_t_4;
  int __pyx_t_5;
  int __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "Cython/Compiler/Scanning.py":283
 *     def __init__(self, file, filename, parent_scanner = None,
 *                  scope = None, context = None, source_encoding=None, parse_comments=True, initial_pos=None):
 *         Scanner.__init__(self, get_lexicon(), file, filename, initial_pos)             # <<<<<<<<<<<<<<
 *         if parent_scanner:
 *             self.context = parent_scanner.context
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)((PyObject*)__pyx_ptype_6Cython_4Plex_8Scanners_Scanner)), __pyx_n_s_init); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_get_lexicon); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_empty_tuple, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(((PyObject *)__pyx_v_self));
  PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self));
  __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_v_file);
  PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_file);
  __Pyx_GIVEREF(__pyx_v_file);
  __Pyx_INCREF(__pyx_v_filename);
  PyTuple_SET_ITEM(__pyx_t_2, 3, __pyx_v_filename);
  __Pyx_GIVEREF(__pyx_v_filename);
  __Pyx_INCREF(__pyx_v_initial_pos);
  PyTuple_SET_ITEM(__pyx_t_2, 4, __pyx_v_initial_pos);
  __Pyx_GIVEREF(__pyx_v_initial_pos);
  __pyx_t_3 = 0;
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "Cython/Compiler/Scanning.py":284
 *                  scope = None, context = None, source_encoding=None, parse_comments=True, initial_pos=None):
 *         Scanner.__init__(self, get_lexicon(), file, filename, initial_pos)
 *         if parent_scanner:             # <<<<<<<<<<<<<<
 *             self.context = parent_scanner.context
 *             self.included_files = parent_scanner.included_files
 */
  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_parent_scanner); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 284; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__pyx_t_4) {

    /* "Cython/Compiler/Scanning.py":285
 *         Scanner.__init__(self, get_lexicon(), file, filename, initial_pos)
 *         if parent_scanner:
 *             self.context = parent_scanner.context             # <<<<<<<<<<<<<<
 *             self.included_files = parent_scanner.included_files
 *             self.compile_time_env = parent_scanner.compile_time_env
 */
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_parent_scanner, __pyx_n_s_context); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 285; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_GIVEREF(__pyx_t_3);
    __Pyx_GOTREF(__pyx_v_self->context);
    __Pyx_DECREF(__pyx_v_self->context);
    __pyx_v_self->context = __pyx_t_3;
    __pyx_t_3 = 0;

    /* "Cython/Compiler/Scanning.py":286
 *         if parent_scanner:
 *             self.context = parent_scanner.context
 *             self.included_files = parent_scanner.included_files             # <<<<<<<<<<<<<<
 *             self.compile_time_env = parent_scanner.compile_time_env
 *             self.compile_time_eval = parent_scanner.compile_time_eval
 */
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_parent_scanner, __pyx_n_s_included_files); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 286; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    if (!(likely(PyList_CheckExact(__pyx_t_3))||((__pyx_t_3) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "list", Py_TYPE(__pyx_t_3)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 286; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GIVEREF(__pyx_t_3);
    __Pyx_GOTREF(__pyx_v_self->included_files);
    __Pyx_DECREF(__pyx_v_self->included_files);
    __pyx_v_self->included_files = ((PyObject*)__pyx_t_3);
    __pyx_t_3 = 0;

    /* "Cython/Compiler/Scanning.py":287
 *             self.context = parent_scanner.context
 *             self.included_files = parent_scanner.included_files
 *             self.compile_time_env = parent_scanner.compile_time_env             # <<<<<<<<<<<<<<
 *             self.compile_time_eval = parent_scanner.compile_time_eval
 *             self.compile_time_expr = parent_scanner.compile_time_expr
 */
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_parent_scanner, __pyx_n_s_compile_time_env); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 287; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 287; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GIVEREF(__pyx_t_3);
    __Pyx_GOTREF(__pyx_v_self->compile_time_env);
    __Pyx_DECREF(((PyObject *)__pyx_v_self->compile_time_env));
    __pyx_v_self->compile_time_env = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_t_3);
    __pyx_t_3 = 0;

    /* "Cython/Compiler/Scanning.py":288
 *             self.included_files = parent_scanner.included_files
 *             self.compile_time_env = parent_scanner.compile_time_env
 *             self.compile_time_eval = parent_scanner.compile_time_eval             # <<<<<<<<<<<<<<
 *             self.compile_time_expr = parent_scanner.compile_time_expr
 *         else:
 */
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_parent_scanner, __pyx_n_s_compile_time_eval); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 288; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __pyx_v_self->compile_time_eval = __pyx_t_4;

    /* "Cython/Compiler/Scanning.py":289
 *             self.compile_time_env = parent_scanner.compile_time_env
 *             self.compile_time_eval = parent_scanner.compile_time_eval
 *             self.compile_time_expr = parent_scanner.compile_time_expr             # <<<<<<<<<<<<<<
 *         else:
 *             self.context = context
 */
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_parent_scanner, __pyx_n_s_compile_time_expr); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 289; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 289; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __pyx_v_self->compile_time_expr = __pyx_t_4;
    goto __pyx_L3;
  }
  /*else*/ {

    /* "Cython/Compiler/Scanning.py":291
 *             self.compile_time_expr = parent_scanner.compile_time_expr
 *         else:
 *             self.context = context             # <<<<<<<<<<<<<<
 *             self.included_files = scope.included_files
 *             self.compile_time_env = initial_compile_time_env()
 */
    __Pyx_INCREF(__pyx_v_context);
    __Pyx_GIVEREF(__pyx_v_context);
    __Pyx_GOTREF(__pyx_v_self->context);
    __Pyx_DECREF(__pyx_v_self->context);
    __pyx_v_self->context = __pyx_v_context;

    /* "Cython/Compiler/Scanning.py":292
 *         else:
 *             self.context = context
 *             self.included_files = scope.included_files             # <<<<<<<<<<<<<<
 *             self.compile_time_env = initial_compile_time_env()
 *             self.compile_time_eval = 1
 */
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_scope, __pyx_n_s_included_files); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 292; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    if (!(likely(PyList_CheckExact(__pyx_t_3))||((__pyx_t_3) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "list", Py_TYPE(__pyx_t_3)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 292; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GIVEREF(__pyx_t_3);
    __Pyx_GOTREF(__pyx_v_self->included_files);
    __Pyx_DECREF(__pyx_v_self->included_files);
    __pyx_v_self->included_files = ((PyObject*)__pyx_t_3);
    __pyx_t_3 = 0;

    /* "Cython/Compiler/Scanning.py":293
 *             self.context = context
 *             self.included_files = scope.included_files
 *             self.compile_time_env = initial_compile_time_env()             # <<<<<<<<<<<<<<
 *             self.compile_time_eval = 1
 *             self.compile_time_expr = 0
 */
    __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_initial_compile_time_env); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_empty_tuple, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope))))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 293; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GIVEREF(__pyx_t_2);
    __Pyx_GOTREF(__pyx_v_self->compile_time_env);
    __Pyx_DECREF(((PyObject *)__pyx_v_self->compile_time_env));
    __pyx_v_self->compile_time_env = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_t_2);
    __pyx_t_2 = 0;

    /* "Cython/Compiler/Scanning.py":294
 *             self.included_files = scope.included_files
 *             self.compile_time_env = initial_compile_time_env()
 *             self.compile_time_eval = 1             # <<<<<<<<<<<<<<
 *             self.compile_time_expr = 0
 *             if hasattr(context.options, 'compile_time_env') and \
 */
    __pyx_v_self->compile_time_eval = 1;

    /* "Cython/Compiler/Scanning.py":295
 *             self.compile_time_env = initial_compile_time_env()
 *             self.compile_time_eval = 1
 *             self.compile_time_expr = 0             # <<<<<<<<<<<<<<
 *             if hasattr(context.options, 'compile_time_env') and \
 *                context.options.compile_time_env is not None:
 */
    __pyx_v_self->compile_time_expr = 0;

    /* "Cython/Compiler/Scanning.py":296
 *             self.compile_time_eval = 1
 *             self.compile_time_expr = 0
 *             if hasattr(context.options, 'compile_time_env') and \             # <<<<<<<<<<<<<<
 *                context.options.compile_time_env is not None:
 *                 self.compile_time_env.update(context.options.compile_time_env)
 */
    __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_context, __pyx_n_s_options); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_4 = PyObject_HasAttr(__pyx_t_2, __pyx_n_u_compile_time_env); if (unlikely(__pyx_t_4 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 296; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    if ((__pyx_t_4 != 0)) {

      /* "Cython/Compiler/Scanning.py":297
 *             self.compile_time_expr = 0
 *             if hasattr(context.options, 'compile_time_env') and \
 *                context.options.compile_time_env is not None:             # <<<<<<<<<<<<<<
 *                 self.compile_time_env.update(context.options.compile_time_env)
 *         self.parse_comments = parse_comments
 */
      __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_context, __pyx_n_s_options); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 297; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_2);
      __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_compile_time_env); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 297; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_3);
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
      __pyx_t_5 = (__pyx_t_3 != Py_None);
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
      __pyx_t_6 = (__pyx_t_5 != 0);
    } else {
      __pyx_t_6 = (__pyx_t_4 != 0);
    }
    if (__pyx_t_6) {

      /* "Cython/Compiler/Scanning.py":298
 *             if hasattr(context.options, 'compile_time_env') and \
 *                context.options.compile_time_env is not None:
 *                 self.compile_time_env.update(context.options.compile_time_env)             # <<<<<<<<<<<<<<
 *         self.parse_comments = parse_comments
 *         self.source_encoding = source_encoding
 */
      __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->compile_time_env), __pyx_n_s_update); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_3);
      __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_context, __pyx_n_s_options); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_2);
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_compile_time_env); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
      __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_2);
      PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1);
      __Pyx_GIVEREF(__pyx_t_1);
      __pyx_t_1 = 0;
      __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_2, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      goto __pyx_L4;
    }
    __pyx_L4:;
  }
  __pyx_L3:;

  /* "Cython/Compiler/Scanning.py":299
 *                context.options.compile_time_env is not None:
 *                 self.compile_time_env.update(context.options.compile_time_env)
 *         self.parse_comments = parse_comments             # <<<<<<<<<<<<<<
 *         self.source_encoding = source_encoding
 *         if filename.is_python_file():
 */
  __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_parse_comments); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 299; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_v_self->parse_comments = __pyx_t_6;

  /* "Cython/Compiler/Scanning.py":300
 *                 self.compile_time_env.update(context.options.compile_time_env)
 *         self.parse_comments = parse_comments
 *         self.source_encoding = source_encoding             # <<<<<<<<<<<<<<
 *         if filename.is_python_file():
 *             self.in_python_file = True
 */
  __Pyx_INCREF(__pyx_v_source_encoding);
  __Pyx_GIVEREF(__pyx_v_source_encoding);
  __Pyx_GOTREF(__pyx_v_self->source_encoding);
  __Pyx_DECREF(__pyx_v_self->source_encoding);
  __pyx_v_self->source_encoding = __pyx_v_source_encoding;

  /* "Cython/Compiler/Scanning.py":301
 *         self.parse_comments = parse_comments
 *         self.source_encoding = source_encoding
 *         if filename.is_python_file():             # <<<<<<<<<<<<<<
 *             self.in_python_file = True
 *             self.keywords = set(py_reserved_words)
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_filename, __pyx_n_s_is_python_file); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_empty_tuple, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_6 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  if (__pyx_t_6) {

    /* "Cython/Compiler/Scanning.py":302
 *         self.source_encoding = source_encoding
 *         if filename.is_python_file():
 *             self.in_python_file = True             # <<<<<<<<<<<<<<
 *             self.keywords = set(py_reserved_words)
 *         else:
 */
    __pyx_v_self->in_python_file = 1;

    /* "Cython/Compiler/Scanning.py":303
 *         if filename.is_python_file():
 *             self.in_python_file = True
 *             self.keywords = set(py_reserved_words)             # <<<<<<<<<<<<<<
 *         else:
 *             self.in_python_file = False
 */
    __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_py_reserved_words); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
    __Pyx_GIVEREF(__pyx_t_2);
    __pyx_t_2 = 0;
    __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)(&PySet_Type))), __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 303; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __Pyx_GIVEREF(__pyx_t_2);
    __Pyx_GOTREF(__pyx_v_self->keywords);
    __Pyx_DECREF(__pyx_v_self->keywords);
    __pyx_v_self->keywords = ((PyObject*)__pyx_t_2);
    __pyx_t_2 = 0;
    goto __pyx_L5;
  }
  /*else*/ {

    /* "Cython/Compiler/Scanning.py":305
 *             self.keywords = set(py_reserved_words)
 *         else:
 *             self.in_python_file = False             # <<<<<<<<<<<<<<
 *             self.keywords = set(pyx_reserved_words)
 *         self.trace = trace_scanner
 */
    __pyx_v_self->in_python_file = 0;

    /* "Cython/Compiler/Scanning.py":306
 *         else:
 *             self.in_python_file = False
 *             self.keywords = set(pyx_reserved_words)             # <<<<<<<<<<<<<<
 *         self.trace = trace_scanner
 *         self.indentation_stack = [0]
 */
    __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_pyx_reserved_words); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 306; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 306; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2);
    __Pyx_GIVEREF(__pyx_t_2);
    __pyx_t_2 = 0;
    __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)((PyObject*)(&PySet_Type))), __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 306; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __Pyx_GIVEREF(__pyx_t_2);
    __Pyx_GOTREF(__pyx_v_self->keywords);
    __Pyx_DECREF(__pyx_v_self->keywords);
    __pyx_v_self->keywords = ((PyObject*)__pyx_t_2);
    __pyx_t_2 = 0;
  }
  __pyx_L5:;

  /* "Cython/Compiler/Scanning.py":307
 *             self.in_python_file = False
 *             self.keywords = set(pyx_reserved_words)
 *         self.trace = trace_scanner             # <<<<<<<<<<<<<<
 *         self.indentation_stack = [0]
 *         self.indentation_char = None
 */
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_trace_scanner); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 307; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 307; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_v_self->__pyx_base.trace = __pyx_t_6;

  /* "Cython/Compiler/Scanning.py":308
 *             self.keywords = set(pyx_reserved_words)
 *         self.trace = trace_scanner
 *         self.indentation_stack = [0]             # <<<<<<<<<<<<<<
 *         self.indentation_char = None
 *         self.bracket_nesting_level = 0
 */
  __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_int_0);
  PyList_SET_ITEM(__pyx_t_2, 0, __pyx_int_0);
  __Pyx_GIVEREF(__pyx_int_0);
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_GOTREF(__pyx_v_self->indentation_stack);
  __Pyx_DECREF(__pyx_v_self->indentation_stack);
  __pyx_v_self->indentation_stack = ((PyObject*)__pyx_t_2);
  __pyx_t_2 = 0;

  /* "Cython/Compiler/Scanning.py":309
 *         self.trace = trace_scanner
 *         self.indentation_stack = [0]
 *         self.indentation_char = None             # <<<<<<<<<<<<<<
 *         self.bracket_nesting_level = 0
 *         self.begin('INDENT')
 */
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->indentation_char);
  __Pyx_DECREF(__pyx_v_self->indentation_char);
  __pyx_v_self->indentation_char = Py_None;

  /* "Cython/Compiler/Scanning.py":310
 *         self.indentation_stack = [0]
 *         self.indentation_char = None
 *         self.bracket_nesting_level = 0             # <<<<<<<<<<<<<<
 *         self.begin('INDENT')
 *         self.sy = ''
 */
  __pyx_v_self->bracket_nesting_level = 0;

  /* "Cython/Compiler/Scanning.py":311
 *         self.indentation_char = None
 *         self.bracket_nesting_level = 0
 *         self.begin('INDENT')             # <<<<<<<<<<<<<<
 *         self.sy = ''
 *         self.next()
 */
  __pyx_t_2 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.begin(((struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *)__pyx_v_self), __pyx_n_u_INDENT); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 311; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "Cython/Compiler/Scanning.py":312
 *         self.bracket_nesting_level = 0
 *         self.begin('INDENT')
 *         self.sy = ''             # <<<<<<<<<<<<<<
 *         self.next()
 * 
 */
  __Pyx_INCREF(__pyx_kp_u__8);
  __Pyx_GIVEREF(__pyx_kp_u__8);
  __Pyx_GOTREF(__pyx_v_self->sy);
  __Pyx_DECREF(__pyx_v_self->sy);
  __pyx_v_self->sy = __pyx_kp_u__8;

  /* "Cython/Compiler/Scanning.py":313
 *         self.begin('INDENT')
 *         self.sy = ''
 *         self.next()             # <<<<<<<<<<<<<<
 * 
 *     def commentline(self, text):
 */
  __pyx_t_2 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->next(__pyx_v_self); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 313; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "Cython/Compiler/Scanning.py":281
 *     #  compile_time_expr  boolean  In a compile-time expression context
 * 
 *     def __init__(self, file, filename, parent_scanner = None,             # <<<<<<<<<<<<<<
 *                  scope = None, context = None, source_encoding=None, parse_comments=True, initial_pos=None):
 *         Scanner.__init__(self, get_lexicon(), file, filename, initial_pos)
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":315
 *         self.next()
 * 
 *     def commentline(self, text):             # <<<<<<<<<<<<<<
 *         if self.parse_comments:
 *             self.produce('commentline', text)
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_3commentline(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_3commentline(PyObject *__pyx_v_self, PyObject *__pyx_v_text) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("commentline (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_2commentline(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_text));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_2commentline(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_text) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  struct __pyx_opt_args_6Cython_4Plex_8Scanners_7Scanner_produce __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("commentline", 0);

  /* "Cython/Compiler/Scanning.py":316
 * 
 *     def commentline(self, text):
 *         if self.parse_comments:             # <<<<<<<<<<<<<<
 *             self.produce('commentline', text)
 * 
 */
  __pyx_t_1 = (__pyx_v_self->parse_comments != 0);
  if (__pyx_t_1) {

    /* "Cython/Compiler/Scanning.py":317
 *     def commentline(self, text):
 *         if self.parse_comments:
 *             self.produce('commentline', text)             # <<<<<<<<<<<<<<
 * 
 *     def current_level(self):
 */
    __pyx_t_3.__pyx_n = 1;
    __pyx_t_3.text = __pyx_v_text;
    __pyx_t_2 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.produce(((struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *)__pyx_v_self), __pyx_n_u_commentline, &__pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "Cython/Compiler/Scanning.py":315
 *         self.next()
 * 
 *     def commentline(self, text):             # <<<<<<<<<<<<<<
 *         if self.parse_comments:
 *             self.produce('commentline', text)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.commentline", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":319
 *             self.produce('commentline', text)
 * 
 *     def current_level(self):             # <<<<<<<<<<<<<<
 *         return self.indentation_stack[-1]
 * 
 */

static long __pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_current_level(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  long __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  long __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("current_level", 0);

  /* "Cython/Compiler/Scanning.py":320
 * 
 *     def current_level(self):
 *         return self.indentation_stack[-1]             # <<<<<<<<<<<<<<
 * 
 *     def open_bracket_action(self, text):
 */
  if (unlikely(__pyx_v_self->indentation_stack == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_1 = __Pyx_GetItemInt_List(__pyx_v_self->indentation_stack, -1, long, 1, __Pyx_PyInt_From_long, 1, 1, 1); if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyInt_As_long(__pyx_t_1); if (unlikely((__pyx_t_2 == (long)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_r = __pyx_t_2;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":319
 *             self.produce('commentline', text)
 * 
 *     def current_level(self):             # <<<<<<<<<<<<<<
 *         return self.indentation_stack[-1]
 * 
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_WriteUnraisable("Cython.Compiler.Scanning.PyrexScanner.current_level", __pyx_clineno, __pyx_lineno, __pyx_filename, 0);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":322
 *         return self.indentation_stack[-1]
 * 
 *     def open_bracket_action(self, text):             # <<<<<<<<<<<<<<
 *         self.bracket_nesting_level = self.bracket_nesting_level + 1
 *         return text
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_5open_bracket_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_5open_bracket_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("open_bracket_action (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_4open_bracket_action(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_text));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_4open_bracket_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_text) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("open_bracket_action", 0);

  /* "Cython/Compiler/Scanning.py":323
 * 
 *     def open_bracket_action(self, text):
 *         self.bracket_nesting_level = self.bracket_nesting_level + 1             # <<<<<<<<<<<<<<
 *         return text
 * 
 */
  __pyx_v_self->bracket_nesting_level = (__pyx_v_self->bracket_nesting_level + 1);

  /* "Cython/Compiler/Scanning.py":324
 *     def open_bracket_action(self, text):
 *         self.bracket_nesting_level = self.bracket_nesting_level + 1
 *         return text             # <<<<<<<<<<<<<<
 * 
 *     def close_bracket_action(self, text):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_text);
  __pyx_r = __pyx_v_text;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":322
 *         return self.indentation_stack[-1]
 * 
 *     def open_bracket_action(self, text):             # <<<<<<<<<<<<<<
 *         self.bracket_nesting_level = self.bracket_nesting_level + 1
 *         return text
 */

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":326
 *         return text
 * 
 *     def close_bracket_action(self, text):             # <<<<<<<<<<<<<<
 *         self.bracket_nesting_level = self.bracket_nesting_level - 1
 *         return text
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_7close_bracket_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_7close_bracket_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("close_bracket_action (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_6close_bracket_action(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_text));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_6close_bracket_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_text) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("close_bracket_action", 0);

  /* "Cython/Compiler/Scanning.py":327
 * 
 *     def close_bracket_action(self, text):
 *         self.bracket_nesting_level = self.bracket_nesting_level - 1             # <<<<<<<<<<<<<<
 *         return text
 * 
 */
  __pyx_v_self->bracket_nesting_level = (__pyx_v_self->bracket_nesting_level - 1);

  /* "Cython/Compiler/Scanning.py":328
 *     def close_bracket_action(self, text):
 *         self.bracket_nesting_level = self.bracket_nesting_level - 1
 *         return text             # <<<<<<<<<<<<<<
 * 
 *     def newline_action(self, text):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_text);
  __pyx_r = __pyx_v_text;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":326
 *         return text
 * 
 *     def close_bracket_action(self, text):             # <<<<<<<<<<<<<<
 *         self.bracket_nesting_level = self.bracket_nesting_level - 1
 *         return text
 */

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":330
 *         return text
 * 
 *     def newline_action(self, text):             # <<<<<<<<<<<<<<
 *         if self.bracket_nesting_level == 0:
 *             self.begin('INDENT')
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_9newline_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_9newline_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("newline_action (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_8newline_action(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_text));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_8newline_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_text) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  struct __pyx_opt_args_6Cython_4Plex_8Scanners_7Scanner_produce __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("newline_action", 0);

  /* "Cython/Compiler/Scanning.py":331
 * 
 *     def newline_action(self, text):
 *         if self.bracket_nesting_level == 0:             # <<<<<<<<<<<<<<
 *             self.begin('INDENT')
 *             self.produce('NEWLINE', '')
 */
  __pyx_t_1 = ((__pyx_v_self->bracket_nesting_level == 0) != 0);
  if (__pyx_t_1) {

    /* "Cython/Compiler/Scanning.py":332
 *     def newline_action(self, text):
 *         if self.bracket_nesting_level == 0:
 *             self.begin('INDENT')             # <<<<<<<<<<<<<<
 *             self.produce('NEWLINE', '')
 * 
 */
    __pyx_t_2 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.begin(((struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *)__pyx_v_self), __pyx_n_u_INDENT); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 332; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

    /* "Cython/Compiler/Scanning.py":333
 *         if self.bracket_nesting_level == 0:
 *             self.begin('INDENT')
 *             self.produce('NEWLINE', '')             # <<<<<<<<<<<<<<
 * 
 *     string_states = {
 */
    __pyx_t_3.__pyx_n = 1;
    __pyx_t_3.text = __pyx_kp_u__8;
    __pyx_t_2 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.produce(((struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *)__pyx_v_self), __pyx_n_u_NEWLINE, &__pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 333; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "Cython/Compiler/Scanning.py":330
 *         return text
 * 
 *     def newline_action(self, text):             # <<<<<<<<<<<<<<
 *         if self.bracket_nesting_level == 0:
 *             self.begin('INDENT')
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.newline_action", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":342
 *     }
 * 
 *     def begin_string_action(self, text):             # <<<<<<<<<<<<<<
 *         while text[:1] in any_string_prefix:
 *             text = text[1:]
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_11begin_string_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_11begin_string_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("begin_string_action (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_10begin_string_action(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_text));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_10begin_string_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_text) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_t_3;
  PyObject *__pyx_t_4 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("begin_string_action", 0);
  __Pyx_INCREF(__pyx_v_text);

  /* "Cython/Compiler/Scanning.py":343
 * 
 *     def begin_string_action(self, text):
 *         while text[:1] in any_string_prefix:             # <<<<<<<<<<<<<<
 *             text = text[1:]
 *         self.begin(self.string_states[text])
 */
  while (1) {
    __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_v_text, 0, 1, NULL, NULL, &__pyx_slice__9, 0, 1, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    if (unlikely(__pyx_v_6Cython_8Compiler_8Scanning_any_string_prefix == Py_None)) {
      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    __pyx_t_2 = (__Pyx_PyUnicode_Contains(__pyx_t_1, __pyx_v_6Cython_8Compiler_8Scanning_any_string_prefix, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __pyx_t_3 = (__pyx_t_2 != 0);
    if (!__pyx_t_3) break;

    /* "Cython/Compiler/Scanning.py":344
 *     def begin_string_action(self, text):
 *         while text[:1] in any_string_prefix:
 *             text = text[1:]             # <<<<<<<<<<<<<<
 *         self.begin(self.string_states[text])
 *         self.produce('BEGIN_STRING')
 */
    __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_v_text, 1, 0, NULL, NULL, &__pyx_slice__10, 1, 0, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 344; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF_SET(__pyx_v_text, __pyx_t_1);
    __pyx_t_1 = 0;
  }

  /* "Cython/Compiler/Scanning.py":345
 *         while text[:1] in any_string_prefix:
 *             text = text[1:]
 *         self.begin(self.string_states[text])             # <<<<<<<<<<<<<<
 *         self.produce('BEGIN_STRING')
 * 
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_string_states); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_4 = PyObject_GetItem(__pyx_t_1, __pyx_v_text); if (unlikely(__pyx_t_4 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.begin(((struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *)__pyx_v_self), __pyx_t_4); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 345; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":346
 *             text = text[1:]
 *         self.begin(self.string_states[text])
 *         self.produce('BEGIN_STRING')             # <<<<<<<<<<<<<<
 * 
 *     def end_string_action(self, text):
 */
  __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.produce(((struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *)__pyx_v_self), __pyx_n_u_BEGIN_STRING, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 346; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":342
 *     }
 * 
 *     def begin_string_action(self, text):             # <<<<<<<<<<<<<<
 *         while text[:1] in any_string_prefix:
 *             text = text[1:]
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.begin_string_action", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_text);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":348
 *         self.produce('BEGIN_STRING')
 * 
 *     def end_string_action(self, text):             # <<<<<<<<<<<<<<
 *         self.begin('')
 *         self.produce('END_STRING')
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_13end_string_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_13end_string_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("end_string_action (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_12end_string_action(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_text));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_12end_string_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_text) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("end_string_action", 0);

  /* "Cython/Compiler/Scanning.py":349
 * 
 *     def end_string_action(self, text):
 *         self.begin('')             # <<<<<<<<<<<<<<
 *         self.produce('END_STRING')
 * 
 */
  __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.begin(((struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *)__pyx_v_self), __pyx_kp_u__8); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 349; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":350
 *     def end_string_action(self, text):
 *         self.begin('')
 *         self.produce('END_STRING')             # <<<<<<<<<<<<<<
 * 
 *     def unclosed_string_action(self, text):
 */
  __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.produce(((struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *)__pyx_v_self), __pyx_n_u_END_STRING, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 350; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":348
 *         self.produce('BEGIN_STRING')
 * 
 *     def end_string_action(self, text):             # <<<<<<<<<<<<<<
 *         self.begin('')
 *         self.produce('END_STRING')
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.end_string_action", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":352
 *         self.produce('END_STRING')
 * 
 *     def unclosed_string_action(self, text):             # <<<<<<<<<<<<<<
 *         self.end_string_action(text)
 *         self.error("Unclosed string literal")
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_15unclosed_string_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_15unclosed_string_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("unclosed_string_action (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14unclosed_string_action(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_text));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14unclosed_string_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_text) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("unclosed_string_action", 0);

  /* "Cython/Compiler/Scanning.py":353
 * 
 *     def unclosed_string_action(self, text):
 *         self.end_string_action(text)             # <<<<<<<<<<<<<<
 *         self.error("Unclosed string literal")
 * 
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_end_string_action); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_text);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_text);
  __Pyx_GIVEREF(__pyx_v_text);
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 353; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "Cython/Compiler/Scanning.py":354
 *     def unclosed_string_action(self, text):
 *         self.end_string_action(text)
 *         self.error("Unclosed string literal")             # <<<<<<<<<<<<<<
 * 
 *     def indentation_action(self, text):
 */
  __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_error); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 354; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_tuple__11, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 354; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "Cython/Compiler/Scanning.py":352
 *         self.produce('END_STRING')
 * 
 *     def unclosed_string_action(self, text):             # <<<<<<<<<<<<<<
 *         self.end_string_action(text)
 *         self.error("Unclosed string literal")
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.unclosed_string_action", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":356
 *         self.error("Unclosed string literal")
 * 
 *     def indentation_action(self, text):             # <<<<<<<<<<<<<<
 *         self.begin('')
 *         # Indentation within brackets should be ignored.
 */

static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
static PyObject *__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_indentation_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_text, int __pyx_skip_dispatch) {
  long __pyx_v_new_level;
  long __pyx_v_current_level;
  PyObject *__pyx_v_c = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_t_4;
  int __pyx_t_5;
  Py_ssize_t __pyx_t_6;
  int __pyx_t_7;
  struct __pyx_opt_args_6Cython_4Plex_8Scanners_7Scanner_produce __pyx_t_8;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("indentation_action", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0)) {
    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_indentation_action); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    if (!PyCFunction_Check(__pyx_t_1) || (PyCFunction_GET_FUNCTION(__pyx_t_1) != (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_action)) {
      __Pyx_XDECREF(__pyx_r);
      __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_2);
      __Pyx_INCREF(__pyx_v_text);
      PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_text);
      __Pyx_GIVEREF(__pyx_v_text);
      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_3);
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
      __pyx_r = __pyx_t_3;
      __pyx_t_3 = 0;
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      goto __pyx_L0;
    }
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  }

  /* "Cython/Compiler/Scanning.py":357
 * 
 *     def indentation_action(self, text):
 *         self.begin('')             # <<<<<<<<<<<<<<
 *         # Indentation within brackets should be ignored.
 *         #if self.bracket_nesting_level > 0:
 */
  __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.begin(((struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *)__pyx_v_self), __pyx_kp_u__8); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 357; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":362
 *         #    return
 *         # Check that tabs and spaces are being used consistently.
 *         if text:             # <<<<<<<<<<<<<<
 *             c = text[0]
 *             #print "Scanner.indentation_action: indent with", repr(c) ###
 */
  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_text); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 362; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__pyx_t_4) {

    /* "Cython/Compiler/Scanning.py":363
 *         # Check that tabs and spaces are being used consistently.
 *         if text:
 *             c = text[0]             # <<<<<<<<<<<<<<
 *             #print "Scanner.indentation_action: indent with", repr(c) ###
 *             if self.indentation_char is None:
 */
    __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_text, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(__pyx_t_1 == NULL)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 363; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_v_c = __pyx_t_1;
    __pyx_t_1 = 0;

    /* "Cython/Compiler/Scanning.py":365
 *             c = text[0]
 *             #print "Scanner.indentation_action: indent with", repr(c) ###
 *             if self.indentation_char is None:             # <<<<<<<<<<<<<<
 *                 self.indentation_char = c
 *                 #print "Scanner.indentation_action: setting indent_char to", repr(c)
 */
    __pyx_t_4 = (__pyx_v_self->indentation_char == Py_None);
    __pyx_t_5 = (__pyx_t_4 != 0);
    if (__pyx_t_5) {

      /* "Cython/Compiler/Scanning.py":366
 *             #print "Scanner.indentation_action: indent with", repr(c) ###
 *             if self.indentation_char is None:
 *                 self.indentation_char = c             # <<<<<<<<<<<<<<
 *                 #print "Scanner.indentation_action: setting indent_char to", repr(c)
 *             else:
 */
      __Pyx_INCREF(__pyx_v_c);
      __Pyx_GIVEREF(__pyx_v_c);
      __Pyx_GOTREF(__pyx_v_self->indentation_char);
      __Pyx_DECREF(__pyx_v_self->indentation_char);
      __pyx_v_self->indentation_char = __pyx_v_c;
      goto __pyx_L4;
    }
    /*else*/ {

      /* "Cython/Compiler/Scanning.py":369
 *                 #print "Scanner.indentation_action: setting indent_char to", repr(c)
 *             else:
 *                 if self.indentation_char != c:             # <<<<<<<<<<<<<<
 *                     self.error("Mixed use of tabs and spaces")
 *             if text.replace(c, "") != "":
 */
      __pyx_t_1 = PyObject_RichCompare(__pyx_v_self->indentation_char, __pyx_v_c, Py_NE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_5 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 369; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      if (__pyx_t_5) {

        /* "Cython/Compiler/Scanning.py":370
 *             else:
 *                 if self.indentation_char != c:
 *                     self.error("Mixed use of tabs and spaces")             # <<<<<<<<<<<<<<
 *             if text.replace(c, "") != "":
 *                 self.error("Mixed use of tabs and spaces")
 */
        __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_error); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        __Pyx_GOTREF(__pyx_t_1);
        __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__12, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        __Pyx_GOTREF(__pyx_t_3);
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
        goto __pyx_L5;
      }
      __pyx_L5:;
    }
    __pyx_L4:;

    /* "Cython/Compiler/Scanning.py":371
 *                 if self.indentation_char != c:
 *                     self.error("Mixed use of tabs and spaces")
 *             if text.replace(c, "") != "":             # <<<<<<<<<<<<<<
 *                 self.error("Mixed use of tabs and spaces")
 *         # Figure out how many indents/dedents to do
 */
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_text, __pyx_n_s_replace); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_INCREF(__pyx_v_c);
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_c);
    __Pyx_GIVEREF(__pyx_v_c);
    __Pyx_INCREF(__pyx_kp_u__8);
    PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_kp_u__8);
    __Pyx_GIVEREF(__pyx_kp_u__8);
    __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __pyx_t_5 = (__Pyx_PyUnicode_Equals(__pyx_t_2, __pyx_kp_u__8, Py_NE)); if (unlikely(__pyx_t_5 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 371; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    if (__pyx_t_5) {

      /* "Cython/Compiler/Scanning.py":372
 *                     self.error("Mixed use of tabs and spaces")
 *             if text.replace(c, "") != "":
 *                 self.error("Mixed use of tabs and spaces")             # <<<<<<<<<<<<<<
 *         # Figure out how many indents/dedents to do
 *         current_level = self.current_level()
 */
      __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_error); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_2);
      __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_tuple__13, NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      goto __pyx_L6;
    }
    __pyx_L6:;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "Cython/Compiler/Scanning.py":374
 *                 self.error("Mixed use of tabs and spaces")
 *         # Figure out how many indents/dedents to do
 *         current_level = self.current_level()             # <<<<<<<<<<<<<<
 *         new_level = len(text)
 *         #print "Changing indent level from", current_level, "to", new_level ###
 */
  __pyx_v_current_level = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->current_level(__pyx_v_self);

  /* "Cython/Compiler/Scanning.py":375
 *         # Figure out how many indents/dedents to do
 *         current_level = self.current_level()
 *         new_level = len(text)             # <<<<<<<<<<<<<<
 *         #print "Changing indent level from", current_level, "to", new_level ###
 *         if new_level == current_level:
 */
  __pyx_t_6 = PyObject_Length(__pyx_v_text); if (unlikely(__pyx_t_6 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 375; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_v_new_level = __pyx_t_6;

  /* "Cython/Compiler/Scanning.py":377
 *         new_level = len(text)
 *         #print "Changing indent level from", current_level, "to", new_level ###
 *         if new_level == current_level:             # <<<<<<<<<<<<<<
 *             return
 *         elif new_level > current_level:
 */
  __pyx_t_5 = ((__pyx_v_new_level == __pyx_v_current_level) != 0);
  if (__pyx_t_5) {

    /* "Cython/Compiler/Scanning.py":378
 *         #print "Changing indent level from", current_level, "to", new_level ###
 *         if new_level == current_level:
 *             return             # <<<<<<<<<<<<<<
 *         elif new_level > current_level:
 *             #print "...pushing level", new_level ###
 */
    __Pyx_XDECREF(__pyx_r);
    __pyx_r = Py_None; __Pyx_INCREF(Py_None);
    goto __pyx_L0;
  }

  /* "Cython/Compiler/Scanning.py":379
 *         if new_level == current_level:
 *             return
 *         elif new_level > current_level:             # <<<<<<<<<<<<<<
 *             #print "...pushing level", new_level ###
 *             self.indentation_stack.append(new_level)
 */
  __pyx_t_5 = ((__pyx_v_new_level > __pyx_v_current_level) != 0);
  if (__pyx_t_5) {

    /* "Cython/Compiler/Scanning.py":381
 *         elif new_level > current_level:
 *             #print "...pushing level", new_level ###
 *             self.indentation_stack.append(new_level)             # <<<<<<<<<<<<<<
 *             self.produce('INDENT', '')
 *         else:
 */
    if (unlikely(__pyx_v_self->indentation_stack == Py_None)) {
      PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%s'", "append");
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    __pyx_t_1 = __Pyx_PyInt_From_long(__pyx_v_new_level); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_7 = __Pyx_PyList_Append(__pyx_v_self->indentation_stack, __pyx_t_1); if (unlikely(__pyx_t_7 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 381; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "Cython/Compiler/Scanning.py":382
 *             #print "...pushing level", new_level ###
 *             self.indentation_stack.append(new_level)
 *             self.produce('INDENT', '')             # <<<<<<<<<<<<<<
 *         else:
 *             while new_level < self.current_level():
 */
    __pyx_t_8.__pyx_n = 1;
    __pyx_t_8.text = __pyx_kp_u__8;
    __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.produce(((struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *)__pyx_v_self), __pyx_n_u_INDENT, &__pyx_t_8); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 382; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    goto __pyx_L7;
  }
  /*else*/ {

    /* "Cython/Compiler/Scanning.py":384
 *             self.produce('INDENT', '')
 *         else:
 *             while new_level < self.current_level():             # <<<<<<<<<<<<<<
 *                 #print "...popping level", self.indentation_stack[-1] ###
 *                 self.indentation_stack.pop()
 */
    while (1) {
      __pyx_t_5 = ((__pyx_v_new_level < ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->current_level(__pyx_v_self)) != 0);
      if (!__pyx_t_5) break;

      /* "Cython/Compiler/Scanning.py":386
 *             while new_level < self.current_level():
 *                 #print "...popping level", self.indentation_stack[-1] ###
 *                 self.indentation_stack.pop()             # <<<<<<<<<<<<<<
 *                 self.produce('DEDENT', '')
 *             #print "...current level now", self.current_level() ###
 */
      if (unlikely(__pyx_v_self->indentation_stack == Py_None)) {
        PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%s'", "pop");
        {__pyx_filename = __pyx_f[0]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      }
      __pyx_t_1 = __Pyx_PyList_Pop(__pyx_v_self->indentation_stack); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 386; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

      /* "Cython/Compiler/Scanning.py":387
 *                 #print "...popping level", self.indentation_stack[-1] ###
 *                 self.indentation_stack.pop()
 *                 self.produce('DEDENT', '')             # <<<<<<<<<<<<<<
 *             #print "...current level now", self.current_level() ###
 *             if new_level != self.current_level():
 */
      __pyx_t_8.__pyx_n = 1;
      __pyx_t_8.text = __pyx_kp_u__8;
      __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.produce(((struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *)__pyx_v_self), __pyx_n_u_DEDENT, &__pyx_t_8); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 387; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    }

    /* "Cython/Compiler/Scanning.py":389
 *                 self.produce('DEDENT', '')
 *             #print "...current level now", self.current_level() ###
 *             if new_level != self.current_level():             # <<<<<<<<<<<<<<
 *                 self.error("Inconsistent indentation")
 * 
 */
    __pyx_t_5 = ((__pyx_v_new_level != ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->current_level(__pyx_v_self)) != 0);
    if (__pyx_t_5) {

      /* "Cython/Compiler/Scanning.py":390
 *             #print "...current level now", self.current_level() ###
 *             if new_level != self.current_level():
 *                 self.error("Inconsistent indentation")             # <<<<<<<<<<<<<<
 * 
 *     def eof_action(self, text):
 */
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_error); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_1);
      __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__14, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_2);
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
      goto __pyx_L10;
    }
    __pyx_L10:;
  }
  __pyx_L7:;

  /* "Cython/Compiler/Scanning.py":356
 *         self.error("Unclosed string literal")
 * 
 *     def indentation_action(self, text):             # <<<<<<<<<<<<<<
 *         self.begin('')
 *         # Indentation within brackets should be ignored.
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.indentation_action", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_c);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("indentation_action (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_action(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_text));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_text) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("indentation_action", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->indentation_action(__pyx_v_self, __pyx_v_text, 1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 356; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.indentation_action", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":392
 *                 self.error("Inconsistent indentation")
 * 
 *     def eof_action(self, text):             # <<<<<<<<<<<<<<
 *         while len(self.indentation_stack) > 1:
 *             self.produce('DEDENT', '')
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_19eof_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_19eof_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("eof_action (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_18eof_action(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_text));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_18eof_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_text) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  Py_ssize_t __pyx_t_2;
  int __pyx_t_3;
  struct __pyx_opt_args_6Cython_4Plex_8Scanners_7Scanner_produce __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("eof_action", 0);

  /* "Cython/Compiler/Scanning.py":393
 * 
 *     def eof_action(self, text):
 *         while len(self.indentation_stack) > 1:             # <<<<<<<<<<<<<<
 *             self.produce('DEDENT', '')
 *             self.indentation_stack.pop()
 */
  while (1) {
    __pyx_t_1 = __pyx_v_self->indentation_stack;
    __Pyx_INCREF(__pyx_t_1);
    if (unlikely(__pyx_t_1 == Py_None)) {
      PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 393; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    __pyx_t_2 = PyList_GET_SIZE(__pyx_t_1); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 393; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __pyx_t_3 = ((__pyx_t_2 > 1) != 0);
    if (!__pyx_t_3) break;

    /* "Cython/Compiler/Scanning.py":394
 *     def eof_action(self, text):
 *         while len(self.indentation_stack) > 1:
 *             self.produce('DEDENT', '')             # <<<<<<<<<<<<<<
 *             self.indentation_stack.pop()
 *         self.produce('EOF', '')
 */
    __pyx_t_4.__pyx_n = 1;
    __pyx_t_4.text = __pyx_kp_u__8;
    __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.produce(((struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *)__pyx_v_self), __pyx_n_u_DEDENT, &__pyx_t_4); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 394; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "Cython/Compiler/Scanning.py":395
 *         while len(self.indentation_stack) > 1:
 *             self.produce('DEDENT', '')
 *             self.indentation_stack.pop()             # <<<<<<<<<<<<<<
 *         self.produce('EOF', '')
 * 
 */
    if (unlikely(__pyx_v_self->indentation_stack == Py_None)) {
      PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%s'", "pop");
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    __pyx_t_1 = __Pyx_PyList_Pop(__pyx_v_self->indentation_stack); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 395; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  }

  /* "Cython/Compiler/Scanning.py":396
 *             self.produce('DEDENT', '')
 *             self.indentation_stack.pop()
 *         self.produce('EOF', '')             # <<<<<<<<<<<<<<
 * 
 *     def next(self):
 */
  __pyx_t_4.__pyx_n = 1;
  __pyx_t_4.text = __pyx_kp_u__8;
  __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.produce(((struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *)__pyx_v_self), __pyx_n_u_EOF, &__pyx_t_4); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 396; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":392
 *                 self.error("Inconsistent indentation")
 * 
 *     def eof_action(self, text):             # <<<<<<<<<<<<<<
 *         while len(self.indentation_stack) > 1:
 *             self.produce('DEDENT', '')
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.eof_action", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":398
 *         self.produce('EOF', '')
 * 
 *     def next(self):             # <<<<<<<<<<<<<<
 *         try:
 *             sy, systring = self.read()
 */

static PyObject *__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_next(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_v_sy = NULL;
  PyObject *__pyx_v_systring = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_t_7;
  PyObject *__pyx_t_8 = NULL;
  PyObject *__pyx_t_9 = NULL;
  int __pyx_t_10;
  int __pyx_t_11;
  int __pyx_t_12;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("next", 0);

  /* "Cython/Compiler/Scanning.py":399
 * 
 *     def next(self):
 *         try:             # <<<<<<<<<<<<<<
 *             sy, systring = self.read()
 *         except UnrecognizedInput:
 */
  {
    __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
    __Pyx_XGOTREF(__pyx_t_1);
    __Pyx_XGOTREF(__pyx_t_2);
    __Pyx_XGOTREF(__pyx_t_3);
    /*try:*/ {

      /* "Cython/Compiler/Scanning.py":400
 *     def next(self):
 *         try:
 *             sy, systring = self.read()             # <<<<<<<<<<<<<<
 *         except UnrecognizedInput:
 *             self.error("Unrecognized character")
 */
      __pyx_t_4 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.read(((struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *)__pyx_v_self)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 400; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      __Pyx_GOTREF(__pyx_t_4);
      if (likely(__pyx_t_4 != Py_None)) {
        PyObject* sequence = __pyx_t_4;
        #if CYTHON_COMPILING_IN_CPYTHON
        Py_ssize_t size = Py_SIZE(sequence);
        #else
        Py_ssize_t size = PySequence_Size(sequence);
        #endif
        if (unlikely(size != 2)) {
          if (size > 2) __Pyx_RaiseTooManyValuesError(2);
          else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
          {__pyx_filename = __pyx_f[0]; __pyx_lineno = 400; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
        #if CYTHON_COMPILING_IN_CPYTHON
        __pyx_t_5 = PyTuple_GET_ITEM(sequence, 0); 
        __pyx_t_6 = PyTuple_GET_ITEM(sequence, 1); 
        __Pyx_INCREF(__pyx_t_5);
        __Pyx_INCREF(__pyx_t_6);
        #else
        __pyx_t_5 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 400; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        __Pyx_GOTREF(__pyx_t_5);
        __pyx_t_6 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 400; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        __Pyx_GOTREF(__pyx_t_6);
        #endif
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      } else {
        __Pyx_RaiseNoneNotIterableError(); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 400; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
      __pyx_v_sy = __pyx_t_5;
      __pyx_t_5 = 0;
      __pyx_v_systring = __pyx_t_6;
      __pyx_t_6 = 0;
    }
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
    goto __pyx_L10_try_end;
    __pyx_L3_error:;
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;

    /* "Cython/Compiler/Scanning.py":401
 *         try:
 *             sy, systring = self.read()
 *         except UnrecognizedInput:             # <<<<<<<<<<<<<<
 *             self.error("Unrecognized character")
 *         if sy == IDENT:
 */
    __pyx_t_4 = __Pyx_GetModuleGlobalName(__pyx_n_s_UnrecognizedInput); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_7 = PyErr_ExceptionMatches(__pyx_t_4);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (__pyx_t_7) {
      __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.next", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_6, &__pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
      __Pyx_GOTREF(__pyx_t_4);
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_GOTREF(__pyx_t_5);

      /* "Cython/Compiler/Scanning.py":402
 *             sy, systring = self.read()
 *         except UnrecognizedInput:
 *             self.error("Unrecognized character")             # <<<<<<<<<<<<<<
 *         if sy == IDENT:
 *             if systring in self.keywords:
 */
      __pyx_t_8 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_error); if (unlikely(!__pyx_t_8)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 402; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
      __Pyx_GOTREF(__pyx_t_8);
      __pyx_t_9 = __Pyx_PyObject_Call(__pyx_t_8, __pyx_tuple__15, NULL); if (unlikely(!__pyx_t_9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 402; __pyx_clineno = __LINE__; goto __pyx_L5_except_error;}
      __Pyx_GOTREF(__pyx_t_9);
      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      goto __pyx_L4_exception_handled;
    }
    goto __pyx_L5_except_error;
    __pyx_L5_except_error:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    goto __pyx_L1_error;
    __pyx_L4_exception_handled:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    __pyx_L10_try_end:;
  }

  /* "Cython/Compiler/Scanning.py":403
 *         except UnrecognizedInput:
 *             self.error("Unrecognized character")
 *         if sy == IDENT:             # <<<<<<<<<<<<<<
 *             if systring in self.keywords:
 *                 if systring == u'print' and print_function in self.context.future_directives:
 */
  if (unlikely(!__pyx_v_sy)) { __Pyx_RaiseUnboundLocalError("sy"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 403; __pyx_clineno = __LINE__; goto __pyx_L1_error;} }
  __pyx_t_10 = (__Pyx_PyUnicode_Equals(__pyx_v_sy, __pyx_v_6Cython_8Compiler_8Scanning_IDENT, Py_EQ)); if (unlikely(__pyx_t_10 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 403; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__pyx_t_10) {

    /* "Cython/Compiler/Scanning.py":404
 *             self.error("Unrecognized character")
 *         if sy == IDENT:
 *             if systring in self.keywords:             # <<<<<<<<<<<<<<
 *                 if systring == u'print' and print_function in self.context.future_directives:
 *                     self.keywords.discard('print')
 */
    if (unlikely(!__pyx_v_systring)) { __Pyx_RaiseUnboundLocalError("systring"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;} }
    __pyx_t_10 = (__Pyx_PySequence_Contains(__pyx_v_systring, __pyx_v_self->keywords, Py_EQ)); if (unlikely(__pyx_t_10 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 404; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_11 = (__pyx_t_10 != 0);
    if (__pyx_t_11) {

      /* "Cython/Compiler/Scanning.py":405
 *         if sy == IDENT:
 *             if systring in self.keywords:
 *                 if systring == u'print' and print_function in self.context.future_directives:             # <<<<<<<<<<<<<<
 *                     self.keywords.discard('print')
 *                     systring = EncodedString(systring)
 */
      if (unlikely(!__pyx_v_systring)) { __Pyx_RaiseUnboundLocalError("systring"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;} }
      __pyx_t_11 = (__Pyx_PyUnicode_Equals(__pyx_v_systring, __pyx_n_u_print, Py_EQ)); if (unlikely(__pyx_t_11 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      if (__pyx_t_11) {
        __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->context, __pyx_n_s_future_directives); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        __Pyx_GOTREF(__pyx_t_5);
        __pyx_t_10 = (__Pyx_PySequence_Contains(__pyx_v_6Cython_8Compiler_8Scanning_print_function, __pyx_t_5, Py_EQ)); if (unlikely(__pyx_t_10 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 405; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
        __pyx_t_12 = __pyx_t_10;
      } else {
        __pyx_t_12 = __pyx_t_11;
      }
      if (__pyx_t_12) {

        /* "Cython/Compiler/Scanning.py":406
 *             if systring in self.keywords:
 *                 if systring == u'print' and print_function in self.context.future_directives:
 *                     self.keywords.discard('print')             # <<<<<<<<<<<<<<
 *                     systring = EncodedString(systring)
 *                 elif systring == u'exec' and self.context.language_level >= 3:
 */
        __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->keywords, __pyx_n_s_discard); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        __Pyx_GOTREF(__pyx_t_5);
        __pyx_t_6 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_tuple__16, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        __Pyx_GOTREF(__pyx_t_6);
        __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

        /* "Cython/Compiler/Scanning.py":407
 *                 if systring == u'print' and print_function in self.context.future_directives:
 *                     self.keywords.discard('print')
 *                     systring = EncodedString(systring)             # <<<<<<<<<<<<<<
 *                 elif systring == u'exec' and self.context.language_level >= 3:
 *                     self.keywords.discard('exec')
 */
        if (unlikely(!__pyx_v_systring)) { __Pyx_RaiseUnboundLocalError("systring"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 407; __pyx_clineno = __LINE__; goto __pyx_L1_error;} }
        __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        __Pyx_GOTREF(__pyx_t_6);
        __Pyx_INCREF(__pyx_v_systring);
        PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_v_systring);
        __Pyx_GIVEREF(__pyx_v_systring);
        __pyx_t_5 = __Pyx_PyObject_Call(__pyx_v_6Cython_8Compiler_8Scanning_EncodedString, __pyx_t_6, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 407; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        __Pyx_GOTREF(__pyx_t_5);
        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
        __Pyx_XDECREF_SET(__pyx_v_systring, __pyx_t_5);
        __pyx_t_5 = 0;
        goto __pyx_L15;
      }

      /* "Cython/Compiler/Scanning.py":408
 *                     self.keywords.discard('print')
 *                     systring = EncodedString(systring)
 *                 elif systring == u'exec' and self.context.language_level >= 3:             # <<<<<<<<<<<<<<
 *                     self.keywords.discard('exec')
 *                     systring = EncodedString(systring)
 */
      if (unlikely(!__pyx_v_systring)) { __Pyx_RaiseUnboundLocalError("systring"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;} }
      __pyx_t_12 = (__Pyx_PyUnicode_Equals(__pyx_v_systring, __pyx_n_u_exec, Py_EQ)); if (unlikely(__pyx_t_12 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      if (__pyx_t_12) {
        __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->context, __pyx_n_s_language_level); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        __Pyx_GOTREF(__pyx_t_5);
        __pyx_t_6 = PyObject_RichCompare(__pyx_t_5, __pyx_int_3, Py_GE); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
        __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely(__pyx_t_11 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 408; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
        __pyx_t_10 = __pyx_t_11;
      } else {
        __pyx_t_10 = __pyx_t_12;
      }
      if (__pyx_t_10) {

        /* "Cython/Compiler/Scanning.py":409
 *                     systring = EncodedString(systring)
 *                 elif systring == u'exec' and self.context.language_level >= 3:
 *                     self.keywords.discard('exec')             # <<<<<<<<<<<<<<
 *                     systring = EncodedString(systring)
 *                 else:
 */
        __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->keywords, __pyx_n_s_discard); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 409; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        __Pyx_GOTREF(__pyx_t_6);
        __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_tuple__17, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 409; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        __Pyx_GOTREF(__pyx_t_5);
        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
        __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

        /* "Cython/Compiler/Scanning.py":410
 *                 elif systring == u'exec' and self.context.language_level >= 3:
 *                     self.keywords.discard('exec')
 *                     systring = EncodedString(systring)             # <<<<<<<<<<<<<<
 *                 else:
 *                     sy = systring
 */
        if (unlikely(!__pyx_v_systring)) { __Pyx_RaiseUnboundLocalError("systring"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 410; __pyx_clineno = __LINE__; goto __pyx_L1_error;} }
        __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 410; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        __Pyx_GOTREF(__pyx_t_5);
        __Pyx_INCREF(__pyx_v_systring);
        PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_v_systring);
        __Pyx_GIVEREF(__pyx_v_systring);
        __pyx_t_6 = __Pyx_PyObject_Call(__pyx_v_6Cython_8Compiler_8Scanning_EncodedString, __pyx_t_5, NULL); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 410; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
        __Pyx_GOTREF(__pyx_t_6);
        __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
        __Pyx_XDECREF_SET(__pyx_v_systring, __pyx_t_6);
        __pyx_t_6 = 0;
        goto __pyx_L15;
      }
      /*else*/ {

        /* "Cython/Compiler/Scanning.py":412
 *                     systring = EncodedString(systring)
 *                 else:
 *                     sy = systring             # <<<<<<<<<<<<<<
 *             else:
 *                 systring = EncodedString(systring)
 */
        if (unlikely(!__pyx_v_systring)) { __Pyx_RaiseUnboundLocalError("systring"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 412; __pyx_clineno = __LINE__; goto __pyx_L1_error;} }
        __Pyx_INCREF(__pyx_v_systring);
        __Pyx_XDECREF_SET(__pyx_v_sy, __pyx_v_systring);
      }
      __pyx_L15:;
      goto __pyx_L14;
    }
    /*else*/ {

      /* "Cython/Compiler/Scanning.py":414
 *                     sy = systring
 *             else:
 *                 systring = EncodedString(systring)             # <<<<<<<<<<<<<<
 *         self.sy = sy
 *         self.systring = systring
 */
      if (unlikely(!__pyx_v_systring)) { __Pyx_RaiseUnboundLocalError("systring"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 414; __pyx_clineno = __LINE__; goto __pyx_L1_error;} }
      __pyx_t_6 = PyTuple_New(1); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_INCREF(__pyx_v_systring);
      PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_v_systring);
      __Pyx_GIVEREF(__pyx_v_systring);
      __pyx_t_5 = __Pyx_PyObject_Call(__pyx_v_6Cython_8Compiler_8Scanning_EncodedString, __pyx_t_6, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 414; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __Pyx_XDECREF_SET(__pyx_v_systring, __pyx_t_5);
      __pyx_t_5 = 0;
    }
    __pyx_L14:;
    goto __pyx_L13;
  }
  __pyx_L13:;

  /* "Cython/Compiler/Scanning.py":415
 *             else:
 *                 systring = EncodedString(systring)
 *         self.sy = sy             # <<<<<<<<<<<<<<
 *         self.systring = systring
 *         if False: # debug_scanner:
 */
  if (unlikely(!__pyx_v_sy)) { __Pyx_RaiseUnboundLocalError("sy"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 415; __pyx_clineno = __LINE__; goto __pyx_L1_error;} }
  __Pyx_INCREF(__pyx_v_sy);
  __Pyx_GIVEREF(__pyx_v_sy);
  __Pyx_GOTREF(__pyx_v_self->sy);
  __Pyx_DECREF(__pyx_v_self->sy);
  __pyx_v_self->sy = __pyx_v_sy;

  /* "Cython/Compiler/Scanning.py":416
 *                 systring = EncodedString(systring)
 *         self.sy = sy
 *         self.systring = systring             # <<<<<<<<<<<<<<
 *         if False: # debug_scanner:
 *             _, line, col = self.position()
 */
  if (unlikely(!__pyx_v_systring)) { __Pyx_RaiseUnboundLocalError("systring"); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 416; __pyx_clineno = __LINE__; goto __pyx_L1_error;} }
  __Pyx_INCREF(__pyx_v_systring);
  __Pyx_GIVEREF(__pyx_v_systring);
  __Pyx_GOTREF(__pyx_v_self->systring);
  __Pyx_DECREF(__pyx_v_self->systring);
  __pyx_v_self->systring = __pyx_v_systring;

  /* "Cython/Compiler/Scanning.py":398
 *         self.produce('EOF', '')
 * 
 *     def next(self):             # <<<<<<<<<<<<<<
 *         try:
 *             sy, systring = self.read()
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.next", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_sy);
  __Pyx_XDECREF(__pyx_v_systring);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":425
 *             print("--- %3d %2d %s" % (line, col, t))
 * 
 *     def peek(self):             # <<<<<<<<<<<<<<
 *         saved = self.sy, self.systring
 *         self.next()
 */

static PyObject *__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_peek(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_v_saved = NULL;
  PyObject *__pyx_v_next = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("peek", 0);

  /* "Cython/Compiler/Scanning.py":426
 * 
 *     def peek(self):
 *         saved = self.sy, self.systring             # <<<<<<<<<<<<<<
 *         self.next()
 *         next = self.sy, self.systring
 */
  __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 426; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_v_self->sy);
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_self->sy);
  __Pyx_GIVEREF(__pyx_v_self->sy);
  __Pyx_INCREF(__pyx_v_self->systring);
  PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_self->systring);
  __Pyx_GIVEREF(__pyx_v_self->systring);
  __pyx_v_saved = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":427
 *     def peek(self):
 *         saved = self.sy, self.systring
 *         self.next()             # <<<<<<<<<<<<<<
 *         next = self.sy, self.systring
 *         self.unread(*next)
 */
  __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->next(__pyx_v_self); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 427; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":428
 *         saved = self.sy, self.systring
 *         self.next()
 *         next = self.sy, self.systring             # <<<<<<<<<<<<<<
 *         self.unread(*next)
 *         self.sy, self.systring = saved
 */
  __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 428; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_v_self->sy);
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_self->sy);
  __Pyx_GIVEREF(__pyx_v_self->sy);
  __Pyx_INCREF(__pyx_v_self->systring);
  PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_self->systring);
  __Pyx_GIVEREF(__pyx_v_self->systring);
  __pyx_v_next = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":429
 *         self.next()
 *         next = self.sy, self.systring
 *         self.unread(*next)             # <<<<<<<<<<<<<<
 *         self.sy, self.systring = saved
 *         return next
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_unread); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PySequence_Tuple(__pyx_v_next); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 429; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "Cython/Compiler/Scanning.py":430
 *         next = self.sy, self.systring
 *         self.unread(*next)
 *         self.sy, self.systring = saved             # <<<<<<<<<<<<<<
 *         return next
 * 
 */
  if (1) {
    PyObject* sequence = __pyx_v_saved;
    #if CYTHON_COMPILING_IN_CPYTHON
    Py_ssize_t size = Py_SIZE(sequence);
    #else
    Py_ssize_t size = PySequence_Size(sequence);
    #endif
    if (unlikely(size != 2)) {
      if (size > 2) __Pyx_RaiseTooManyValuesError(2);
      else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
      {__pyx_filename = __pyx_f[0]; __pyx_lineno = 430; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
    #if CYTHON_COMPILING_IN_CPYTHON
    __pyx_t_3 = PyTuple_GET_ITEM(sequence, 0); 
    __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1); 
    __Pyx_INCREF(__pyx_t_3);
    __Pyx_INCREF(__pyx_t_2);
    #else
    __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 430; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_2 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 430; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    #endif
  }
  __Pyx_GIVEREF(__pyx_t_3);
  __Pyx_GOTREF(__pyx_v_self->sy);
  __Pyx_DECREF(__pyx_v_self->sy);
  __pyx_v_self->sy = __pyx_t_3;
  __pyx_t_3 = 0;
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_GOTREF(__pyx_v_self->systring);
  __Pyx_DECREF(__pyx_v_self->systring);
  __pyx_v_self->systring = __pyx_t_2;
  __pyx_t_2 = 0;

  /* "Cython/Compiler/Scanning.py":431
 *         self.unread(*next)
 *         self.sy, self.systring = saved
 *         return next             # <<<<<<<<<<<<<<
 * 
 *     def put_back(self, sy, systring):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_next);
  __pyx_r = __pyx_v_next;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":425
 *             print("--- %3d %2d %s" % (line, col, t))
 * 
 *     def peek(self):             # <<<<<<<<<<<<<<
 *         saved = self.sy, self.systring
 *         self.next()
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.peek", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_saved);
  __Pyx_XDECREF(__pyx_v_next);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":433
 *         return next
 * 
 *     def put_back(self, sy, systring):             # <<<<<<<<<<<<<<
 *         self.unread(self.sy, self.systring)
 *         self.sy = sy
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_21put_back(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_21put_back(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_sy = 0;
  PyObject *__pyx_v_systring = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("put_back (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_sy,&__pyx_n_s_systring,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        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;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_sy)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_systring)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("put_back", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 433; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "put_back") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 433; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_sy = values[0];
    __pyx_v_systring = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("put_back", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 433; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.put_back", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_20put_back(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), __pyx_v_sy, __pyx_v_systring);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_20put_back(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_sy, PyObject *__pyx_v_systring) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("put_back", 0);

  /* "Cython/Compiler/Scanning.py":434
 * 
 *     def put_back(self, sy, systring):
 *         self.unread(self.sy, self.systring)             # <<<<<<<<<<<<<<
 *         self.sy = sy
 *         self.systring = systring
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_unread); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 434; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 434; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_self->sy);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self->sy);
  __Pyx_GIVEREF(__pyx_v_self->sy);
  __Pyx_INCREF(__pyx_v_self->systring);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_self->systring);
  __Pyx_GIVEREF(__pyx_v_self->systring);
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_2, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 434; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "Cython/Compiler/Scanning.py":435
 *     def put_back(self, sy, systring):
 *         self.unread(self.sy, self.systring)
 *         self.sy = sy             # <<<<<<<<<<<<<<
 *         self.systring = systring
 * 
 */
  __Pyx_INCREF(__pyx_v_sy);
  __Pyx_GIVEREF(__pyx_v_sy);
  __Pyx_GOTREF(__pyx_v_self->sy);
  __Pyx_DECREF(__pyx_v_self->sy);
  __pyx_v_self->sy = __pyx_v_sy;

  /* "Cython/Compiler/Scanning.py":436
 *         self.unread(self.sy, self.systring)
 *         self.sy = sy
 *         self.systring = systring             # <<<<<<<<<<<<<<
 * 
 *     def unread(self, token, value):
 */
  __Pyx_INCREF(__pyx_v_systring);
  __Pyx_GIVEREF(__pyx_v_systring);
  __Pyx_GOTREF(__pyx_v_self->systring);
  __Pyx_DECREF(__pyx_v_self->systring);
  __pyx_v_self->systring = __pyx_v_systring;

  /* "Cython/Compiler/Scanning.py":433
 *         return next
 * 
 *     def put_back(self, sy, systring):             # <<<<<<<<<<<<<<
 *         self.unread(self.sy, self.systring)
 *         self.sy = sy
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.put_back", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":438
 *         self.systring = systring
 * 
 *     def unread(self, token, value):             # <<<<<<<<<<<<<<
 *         # This method should be added to Plex
 *         self.queue.insert(0, (token, value))
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_23unread(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_23unread(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_token = 0;
  PyObject *__pyx_v_value = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("unread (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_token,&__pyx_n_s_value,0};
    PyObject* values[2] = {0,0};
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_args) {
        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;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_token)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (likely((values[1] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("unread", 1, 2, 2, 1); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 438; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "unread") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 438; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else if (PyTuple_GET_SIZE(__pyx_args) != 2) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
      values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
    }
    __pyx_v_token = values[0];
    __pyx_v_value = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("unread", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 438; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.unread", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_22unread(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), __pyx_v_token, __pyx_v_value);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_22unread(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_token, PyObject *__pyx_v_value) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("unread", 0);

  /* "Cython/Compiler/Scanning.py":440
 *     def unread(self, token, value):
 *         # This method should be added to Plex
 *         self.queue.insert(0, (token, value))             # <<<<<<<<<<<<<<
 * 
 *     def error(self, message, pos = None, fatal = True):
 */
  if (unlikely(__pyx_v_self->__pyx_base.queue == Py_None)) {
    PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%s'", "insert");
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }
  __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_v_token);
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_token);
  __Pyx_GIVEREF(__pyx_v_token);
  __Pyx_INCREF(__pyx_v_value);
  PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_value);
  __Pyx_GIVEREF(__pyx_v_value);
  __pyx_t_2 = PyList_Insert(__pyx_v_self->__pyx_base.queue, 0, __pyx_t_1); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 440; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":438
 *         self.systring = systring
 * 
 *     def unread(self, token, value):             # <<<<<<<<<<<<<<
 *         # This method should be added to Plex
 *         self.queue.insert(0, (token, value))
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.unread", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":442
 *         self.queue.insert(0, (token, value))
 * 
 *     def error(self, message, pos = None, fatal = True):             # <<<<<<<<<<<<<<
 *         if pos is None:
 *             pos = self.position()
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_25error(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_25error(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_message = 0;
  PyObject *__pyx_v_pos = 0;
  PyObject *__pyx_v_fatal = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("error (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_message,&__pyx_n_s_pos,&__pyx_n_s_fatal,0};
    PyObject* values[3] = {0,0,0};
    values[1] = ((PyObject *)Py_None);
    values[2] = ((PyObject *)Py_True);
    if (unlikely(__pyx_kwds)) {
      Py_ssize_t kw_args;
      const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
      switch (pos_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;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = PyDict_GetItem(__pyx_kwds, __pyx_n_s_message)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        case  1:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_pos);
          if (value) { values[1] = value; kw_args--; }
        }
        case  2:
        if (kw_args > 0) {
          PyObject* value = PyDict_GetItem(__pyx_kwds, __pyx_n_s_fatal);
          if (value) { values[2] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "error") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 442; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
      }
    } else {
      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);
        break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_message = values[0];
    __pyx_v_pos = values[1];
    __pyx_v_fatal = values[2];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("error", 0, 1, 3, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 442; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.error", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_24error(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), __pyx_v_message, __pyx_v_pos, __pyx_v_fatal);

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_24error(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_message, PyObject *__pyx_v_pos, PyObject *__pyx_v_fatal) {
  PyObject *__pyx_v_err = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("error", 0);
  __Pyx_INCREF(__pyx_v_pos);

  /* "Cython/Compiler/Scanning.py":443
 * 
 *     def error(self, message, pos = None, fatal = True):
 *         if pos is None:             # <<<<<<<<<<<<<<
 *             pos = self.position()
 *         if self.sy == 'INDENT':
 */
  __pyx_t_1 = (__pyx_v_pos == Py_None);
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "Cython/Compiler/Scanning.py":444
 *     def error(self, message, pos = None, fatal = True):
 *         if pos is None:
 *             pos = self.position()             # <<<<<<<<<<<<<<
 *         if self.sy == 'INDENT':
 *             err = error(pos, "Possible inconsistent indentation")
 */
    __pyx_t_3 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.position(((struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner *)__pyx_v_self)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 444; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF_SET(__pyx_v_pos, __pyx_t_3);
    __pyx_t_3 = 0;
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "Cython/Compiler/Scanning.py":445
 *         if pos is None:
 *             pos = self.position()
 *         if self.sy == 'INDENT':             # <<<<<<<<<<<<<<
 *             err = error(pos, "Possible inconsistent indentation")
 *         err = error(pos, message)
 */
  __pyx_t_2 = (__Pyx_PyUnicode_Equals(__pyx_v_self->sy, __pyx_n_u_INDENT, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 445; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__pyx_t_2) {

    /* "Cython/Compiler/Scanning.py":446
 *             pos = self.position()
 *         if self.sy == 'INDENT':
 *             err = error(pos, "Possible inconsistent indentation")             # <<<<<<<<<<<<<<
 *         err = error(pos, message)
 *         if fatal: raise err
 */
    __pyx_t_3 = __Pyx_GetModuleGlobalName(__pyx_n_s_error); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_INCREF(__pyx_v_pos);
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_pos);
    __Pyx_GIVEREF(__pyx_v_pos);
    __Pyx_INCREF(__pyx_kp_u_Possible_inconsistent_indentatio);
    PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_kp_u_Possible_inconsistent_indentatio);
    __Pyx_GIVEREF(__pyx_kp_u_Possible_inconsistent_indentatio);
    __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_4, NULL); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 446; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __pyx_v_err = __pyx_t_5;
    __pyx_t_5 = 0;
    goto __pyx_L4;
  }
  __pyx_L4:;

  /* "Cython/Compiler/Scanning.py":447
 *         if self.sy == 'INDENT':
 *             err = error(pos, "Possible inconsistent indentation")
 *         err = error(pos, message)             # <<<<<<<<<<<<<<
 *         if fatal: raise err
 * 
 */
  __pyx_t_5 = __Pyx_GetModuleGlobalName(__pyx_n_s_error); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_INCREF(__pyx_v_pos);
  PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_pos);
  __Pyx_GIVEREF(__pyx_v_pos);
  __Pyx_INCREF(__pyx_v_message);
  PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_v_message);
  __Pyx_GIVEREF(__pyx_v_message);
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 447; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_XDECREF_SET(__pyx_v_err, __pyx_t_3);
  __pyx_t_3 = 0;

  /* "Cython/Compiler/Scanning.py":448
 *             err = error(pos, "Possible inconsistent indentation")
 *         err = error(pos, message)
 *         if fatal: raise err             # <<<<<<<<<<<<<<
 * 
 *     def expect(self, what, message = None):
 */
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_fatal); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 448; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__pyx_t_2) {
    __Pyx_Raise(__pyx_v_err, 0, 0, 0);
    {__pyx_filename = __pyx_f[0]; __pyx_lineno = 448; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  }

  /* "Cython/Compiler/Scanning.py":442
 *         self.queue.insert(0, (token, value))
 * 
 *     def error(self, message, pos = None, fatal = True):             # <<<<<<<<<<<<<<
 *         if pos is None:
 *             pos = self.position()
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.error", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_err);
  __Pyx_XDECREF(__pyx_v_pos);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":450
 *         if fatal: raise err
 * 
 *     def expect(self, what, message = None):             # <<<<<<<<<<<<<<
 *         if self.sy == what:
 *             self.next()
 */

static int __pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_expect(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_what, struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expect *__pyx_optional_args) {
  PyObject *__pyx_v_message = ((PyObject *)Py_None);
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expected __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("expect", 0);
  if (__pyx_optional_args) {
    if (__pyx_optional_args->__pyx_n > 0) {
      __pyx_v_message = __pyx_optional_args->message;
    }
  }

  /* "Cython/Compiler/Scanning.py":451
 * 
 *     def expect(self, what, message = None):
 *         if self.sy == what:             # <<<<<<<<<<<<<<
 *             self.next()
 *         else:
 */
  __pyx_t_1 = PyObject_RichCompare(__pyx_v_self->sy, __pyx_v_what, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 451; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 451; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (__pyx_t_2) {

    /* "Cython/Compiler/Scanning.py":452
 *     def expect(self, what, message = None):
 *         if self.sy == what:
 *             self.next()             # <<<<<<<<<<<<<<
 *         else:
 *             self.expected(what, message)
 */
    __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->next(__pyx_v_self); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 452; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    goto __pyx_L3;
  }
  /*else*/ {

    /* "Cython/Compiler/Scanning.py":454
 *             self.next()
 *         else:
 *             self.expected(what, message)             # <<<<<<<<<<<<<<
 * 
 *     def expect_keyword(self, what, message = None):
 */
    __pyx_t_3.__pyx_n = 1;
    __pyx_t_3.message = __pyx_v_message;
    __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->expected(__pyx_v_self, __pyx_v_what, &__pyx_t_3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 454; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  }
  __pyx_L3:;

  /* "Cython/Compiler/Scanning.py":450
 *         if fatal: raise err
 * 
 *     def expect(self, what, message = None):             # <<<<<<<<<<<<<<
 *         if self.sy == what:
 *             self.next()
 */

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.expect", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -2;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":456
 *             self.expected(what, message)
 * 
 *     def expect_keyword(self, what, message = None):             # <<<<<<<<<<<<<<
 *         if self.sy == IDENT and self.systring == what:
 *             self.next()
 */

static PyObject *__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_expect_keyword(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_what, struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expect_keyword *__pyx_optional_args) {
  PyObject *__pyx_v_message = ((PyObject *)Py_None);
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_t_3;
  int __pyx_t_4;
  struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expected __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("expect_keyword", 0);
  if (__pyx_optional_args) {
    if (__pyx_optional_args->__pyx_n > 0) {
      __pyx_v_message = __pyx_optional_args->message;
    }
  }

  /* "Cython/Compiler/Scanning.py":457
 * 
 *     def expect_keyword(self, what, message = None):
 *         if self.sy == IDENT and self.systring == what:             # <<<<<<<<<<<<<<
 *             self.next()
 *         else:
 */
  __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_v_self->sy, __pyx_v_6Cython_8Compiler_8Scanning_IDENT, Py_EQ)); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 457; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__pyx_t_1) {
    __pyx_t_2 = PyObject_RichCompare(__pyx_v_self->systring, __pyx_v_what, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 457; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_3 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 457; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    __pyx_t_4 = __pyx_t_3;
  } else {
    __pyx_t_4 = __pyx_t_1;
  }
  if (__pyx_t_4) {

    /* "Cython/Compiler/Scanning.py":458
 *     def expect_keyword(self, what, message = None):
 *         if self.sy == IDENT and self.systring == what:
 *             self.next()             # <<<<<<<<<<<<<<
 *         else:
 *             self.expected(what, message)
 */
    __pyx_t_2 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->next(__pyx_v_self); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    goto __pyx_L3;
  }
  /*else*/ {

    /* "Cython/Compiler/Scanning.py":460
 *             self.next()
 *         else:
 *             self.expected(what, message)             # <<<<<<<<<<<<<<
 * 
 *     def expected(self, what, message = None):
 */
    __pyx_t_5.__pyx_n = 1;
    __pyx_t_5.message = __pyx_v_message;
    __pyx_t_2 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->expected(__pyx_v_self, __pyx_v_what, &__pyx_t_5); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 460; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  }
  __pyx_L3:;

  /* "Cython/Compiler/Scanning.py":456
 *             self.expected(what, message)
 * 
 *     def expect_keyword(self, what, message = None):             # <<<<<<<<<<<<<<
 *         if self.sy == IDENT and self.systring == what:
 *             self.next()
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.expect_keyword", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":462
 *             self.expected(what, message)
 * 
 *     def expected(self, what, message = None):             # <<<<<<<<<<<<<<
 *         if message:
 *             self.error(message)
 */

static PyObject *__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_expected(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_what, struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expected *__pyx_optional_args) {
  PyObject *__pyx_v_message = ((PyObject *)Py_None);
  PyObject *__pyx_v_found = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("expected", 0);
  if (__pyx_optional_args) {
    if (__pyx_optional_args->__pyx_n > 0) {
      __pyx_v_message = __pyx_optional_args->message;
    }
  }

  /* "Cython/Compiler/Scanning.py":463
 * 
 *     def expected(self, what, message = None):
 *         if message:             # <<<<<<<<<<<<<<
 *             self.error(message)
 *         else:
 */
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_message); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 463; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__pyx_t_1) {

    /* "Cython/Compiler/Scanning.py":464
 *     def expected(self, what, message = None):
 *         if message:
 *             self.error(message)             # <<<<<<<<<<<<<<
 *         else:
 *             if self.sy == IDENT:
 */
    __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_error); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_INCREF(__pyx_v_message);
    PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_message);
    __Pyx_GIVEREF(__pyx_v_message);
    __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_3, NULL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 464; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    goto __pyx_L3;
  }
  /*else*/ {

    /* "Cython/Compiler/Scanning.py":466
 *             self.error(message)
 *         else:
 *             if self.sy == IDENT:             # <<<<<<<<<<<<<<
 *                 found = self.systring
 *             else:
 */
    __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_v_self->sy, __pyx_v_6Cython_8Compiler_8Scanning_IDENT, Py_EQ)); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 466; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (__pyx_t_1) {

      /* "Cython/Compiler/Scanning.py":467
 *         else:
 *             if self.sy == IDENT:
 *                 found = self.systring             # <<<<<<<<<<<<<<
 *             else:
 *                 found = self.sy
 */
      __pyx_t_4 = __pyx_v_self->systring;
      __Pyx_INCREF(__pyx_t_4);
      __pyx_v_found = __pyx_t_4;
      __pyx_t_4 = 0;
      goto __pyx_L4;
    }
    /*else*/ {

      /* "Cython/Compiler/Scanning.py":469
 *                 found = self.systring
 *             else:
 *                 found = self.sy             # <<<<<<<<<<<<<<
 *             self.error("Expected '%s', found '%s'" % (what, found))
 * 
 */
      __pyx_t_4 = __pyx_v_self->sy;
      __Pyx_INCREF(__pyx_t_4);
      __pyx_v_found = __pyx_t_4;
      __pyx_t_4 = 0;
    }
    __pyx_L4:;

    /* "Cython/Compiler/Scanning.py":470
 *             else:
 *                 found = self.sy
 *             self.error("Expected '%s', found '%s'" % (what, found))             # <<<<<<<<<<<<<<
 * 
 *     def expect_indent(self):
 */
    __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_error); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 470; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 470; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_INCREF(__pyx_v_what);
    PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_what);
    __Pyx_GIVEREF(__pyx_v_what);
    __Pyx_INCREF(__pyx_v_found);
    PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_v_found);
    __Pyx_GIVEREF(__pyx_v_found);
    __pyx_t_2 = PyUnicode_Format(__pyx_kp_u_Expected_s_found_s, __pyx_t_3); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 470; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 470; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_3);
    PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
    __Pyx_GIVEREF(__pyx_t_2);
    __pyx_t_2 = 0;
    __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 470; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  }
  __pyx_L3:;

  /* "Cython/Compiler/Scanning.py":462
 *             self.expected(what, message)
 * 
 *     def expected(self, what, message = None):             # <<<<<<<<<<<<<<
 *         if message:
 *             self.error(message)
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.expected", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_found);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":472
 *             self.error("Expected '%s', found '%s'" % (what, found))
 * 
 *     def expect_indent(self):             # <<<<<<<<<<<<<<
 *         self.expect('INDENT',
 *             "Expected an increase in indentation level")
 */

static PyObject *__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_expect_indent(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expect __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("expect_indent", 0);

  /* "Cython/Compiler/Scanning.py":473
 * 
 *     def expect_indent(self):
 *         self.expect('INDENT',             # <<<<<<<<<<<<<<
 *             "Expected an increase in indentation level")
 * 
 */
  __pyx_t_2.__pyx_n = 1;
  __pyx_t_2.message = __pyx_kp_u_Expected_an_increase_in_indentat;
  __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->expect(__pyx_v_self, __pyx_n_u_INDENT, &__pyx_t_2); if (unlikely(__pyx_t_1 == -2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 473; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":472
 *             self.error("Expected '%s', found '%s'" % (what, found))
 * 
 *     def expect_indent(self):             # <<<<<<<<<<<<<<
 *         self.expect('INDENT',
 *             "Expected an increase in indentation level")
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.expect_indent", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":476
 *             "Expected an increase in indentation level")
 * 
 *     def expect_dedent(self):             # <<<<<<<<<<<<<<
 *         self.expect('DEDENT',
 *             "Expected a decrease in indentation level")
 */

static PyObject *__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_expect_dedent(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expect __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("expect_dedent", 0);

  /* "Cython/Compiler/Scanning.py":477
 * 
 *     def expect_dedent(self):
 *         self.expect('DEDENT',             # <<<<<<<<<<<<<<
 *             "Expected a decrease in indentation level")
 * 
 */
  __pyx_t_2.__pyx_n = 1;
  __pyx_t_2.message = __pyx_kp_u_Expected_a_decrease_in_indentati;
  __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->expect(__pyx_v_self, __pyx_n_u_DEDENT, &__pyx_t_2); if (unlikely(__pyx_t_1 == -2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 477; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":476
 *             "Expected an increase in indentation level")
 * 
 *     def expect_dedent(self):             # <<<<<<<<<<<<<<
 *         self.expect('DEDENT',
 *             "Expected a decrease in indentation level")
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.expect_dedent", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":480
 *             "Expected a decrease in indentation level")
 * 
 *     def expect_newline(self, message = "Expected a newline"):             # <<<<<<<<<<<<<<
 *         # Expect either a newline or end of file
 *         if self.sy != 'EOF':
 */

static PyObject *__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_expect_newline(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expect_newline *__pyx_optional_args) {
  PyObject *__pyx_v_message = ((PyObject *)__pyx_kp_u_Expected_a_newline);
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expect __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("expect_newline", 0);
  if (__pyx_optional_args) {
    if (__pyx_optional_args->__pyx_n > 0) {
      __pyx_v_message = __pyx_optional_args->message;
    }
  }

  /* "Cython/Compiler/Scanning.py":482
 *     def expect_newline(self, message = "Expected a newline"):
 *         # Expect either a newline or end of file
 *         if self.sy != 'EOF':             # <<<<<<<<<<<<<<
 *             self.expect('NEWLINE', message)
 */
  __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_v_self->sy, __pyx_n_u_EOF, Py_NE)); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 482; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__pyx_t_1) {

    /* "Cython/Compiler/Scanning.py":483
 *         # Expect either a newline or end of file
 *         if self.sy != 'EOF':
 *             self.expect('NEWLINE', message)             # <<<<<<<<<<<<<<
 */
    __pyx_t_2.__pyx_n = 1;
    __pyx_t_2.message = __pyx_v_message;
    __pyx_t_1 = ((struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self->__pyx_base.__pyx_vtab)->expect(__pyx_v_self, __pyx_n_u_NEWLINE, &__pyx_t_2); if (unlikely(__pyx_t_1 == -2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 483; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    goto __pyx_L3;
  }
  __pyx_L3:;

  /* "Cython/Compiler/Scanning.py":480
 *             "Expected a decrease in indentation level")
 * 
 *     def expect_newline(self, message = "Expected a newline"):             # <<<<<<<<<<<<<<
 *         # Expect either a newline or end of file
 *         if self.sy != 'EOF':
 */

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.expect_newline", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.pxd":17
 * 
 * cdef class PyrexScanner(Scanner):
 *     cdef public context             # <<<<<<<<<<<<<<
 *     cdef public list included_files
 *     cdef public CompileTimeScope compile_time_env
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_7context_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_7context_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_7context___get__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_7context___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_self->context);
  __pyx_r = __pyx_v_self->context;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_7context_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_7context_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_7context_2__set__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_value));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_7context_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__", 0);
  __Pyx_INCREF(__pyx_v_value);
  __Pyx_GIVEREF(__pyx_v_value);
  __Pyx_GOTREF(__pyx_v_self->context);
  __Pyx_DECREF(__pyx_v_self->context);
  __pyx_v_self->context = __pyx_v_value;

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_7context_5__del__(PyObject *__pyx_v_self); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_7context_5__del__(PyObject *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_7context_4__del__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_7context_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__", 0);
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->context);
  __Pyx_DECREF(__pyx_v_self->context);
  __pyx_v_self->context = Py_None;

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.pxd":18
 * cdef class PyrexScanner(Scanner):
 *     cdef public context
 *     cdef public list included_files             # <<<<<<<<<<<<<<
 *     cdef public CompileTimeScope compile_time_env
 *     cdef public bint compile_time_eval
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14included_files_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14included_files_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14included_files___get__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14included_files___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_self->included_files);
  __pyx_r = __pyx_v_self->included_files;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14included_files_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14included_files_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14included_files_2__set__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_value));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14included_files_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);
  if (!(likely(PyList_CheckExact(__pyx_v_value))||((__pyx_v_value) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "list", Py_TYPE(__pyx_v_value)->tp_name), 0))) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 18; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_1 = __pyx_v_value;
  __Pyx_INCREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->included_files);
  __Pyx_DECREF(__pyx_v_self->included_files);
  __pyx_v_self->included_files = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.included_files.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14included_files_5__del__(PyObject *__pyx_v_self); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14included_files_5__del__(PyObject *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14included_files_4__del__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14included_files_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__", 0);
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->included_files);
  __Pyx_DECREF(__pyx_v_self->included_files);
  __pyx_v_self->included_files = ((PyObject*)Py_None);

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.pxd":19
 *     cdef public context
 *     cdef public list included_files
 *     cdef public CompileTimeScope compile_time_env             # <<<<<<<<<<<<<<
 *     cdef public bint compile_time_eval
 *     cdef public bint compile_time_expr
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_16compile_time_env_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_16compile_time_env_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16compile_time_env___get__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16compile_time_env___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(((PyObject *)__pyx_v_self->compile_time_env));
  __pyx_r = ((PyObject *)__pyx_v_self->compile_time_env);
  goto __pyx_L0;

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_16compile_time_env_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_16compile_time_env_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16compile_time_env_2__set__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_value));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16compile_time_env_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);
  if (!(likely(((__pyx_v_value) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_value, __pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope))))) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 19; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_1 = __pyx_v_value;
  __Pyx_INCREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->compile_time_env);
  __Pyx_DECREF(((PyObject *)__pyx_v_self->compile_time_env));
  __pyx_v_self->compile_time_env = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.compile_time_env.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_16compile_time_env_5__del__(PyObject *__pyx_v_self); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_16compile_time_env_5__del__(PyObject *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16compile_time_env_4__del__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16compile_time_env_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__", 0);
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->compile_time_env);
  __Pyx_DECREF(((PyObject *)__pyx_v_self->compile_time_env));
  __pyx_v_self->compile_time_env = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)Py_None);

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.pxd":20
 *     cdef public list included_files
 *     cdef public CompileTimeScope compile_time_env
 *     cdef public bint compile_time_eval             # <<<<<<<<<<<<<<
 *     cdef public bint compile_time_expr
 *     cdef public bint parse_comments
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_eval_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_eval_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_eval___get__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_eval___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->compile_time_eval); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.compile_time_eval.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_eval_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_eval_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_eval_2__set__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_value));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_eval_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_v_self->compile_time_eval = __pyx_t_1;

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.compile_time_eval.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.pxd":21
 *     cdef public CompileTimeScope compile_time_env
 *     cdef public bint compile_time_eval
 *     cdef public bint compile_time_expr             # <<<<<<<<<<<<<<
 *     cdef public bint parse_comments
 *     cdef public bint in_python_file
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_expr_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_expr_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_expr___get__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_expr___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->compile_time_expr); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.compile_time_expr.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_expr_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_expr_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_expr_2__set__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_value));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_expr_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_v_self->compile_time_expr = __pyx_t_1;

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.compile_time_expr.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.pxd":22
 *     cdef public bint compile_time_eval
 *     cdef public bint compile_time_expr
 *     cdef public bint parse_comments             # <<<<<<<<<<<<<<
 *     cdef public bint in_python_file
 *     cdef public source_encoding
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14parse_comments_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14parse_comments_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14parse_comments___get__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14parse_comments___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->parse_comments); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.parse_comments.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14parse_comments_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14parse_comments_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14parse_comments_2__set__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_value));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14parse_comments_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_v_self->parse_comments = __pyx_t_1;

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.parse_comments.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.pxd":23
 *     cdef public bint compile_time_expr
 *     cdef public bint parse_comments
 *     cdef public bint in_python_file             # <<<<<<<<<<<<<<
 *     cdef public source_encoding
 *     cdef set keywords
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14in_python_file_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14in_python_file_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14in_python_file___get__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14in_python_file___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_self->in_python_file); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.in_python_file.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14in_python_file_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14in_python_file_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14in_python_file_2__set__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_value));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_14in_python_file_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_v_self->in_python_file = __pyx_t_1;

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.in_python_file.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.pxd":24
 *     cdef public bint parse_comments
 *     cdef public bint in_python_file
 *     cdef public source_encoding             # <<<<<<<<<<<<<<
 *     cdef set keywords
 *     cdef public list indentation_stack
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_15source_encoding_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_15source_encoding_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_15source_encoding___get__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_15source_encoding___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_self->source_encoding);
  __pyx_r = __pyx_v_self->source_encoding;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_15source_encoding_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_15source_encoding_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_15source_encoding_2__set__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_value));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_15source_encoding_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__", 0);
  __Pyx_INCREF(__pyx_v_value);
  __Pyx_GIVEREF(__pyx_v_value);
  __Pyx_GOTREF(__pyx_v_self->source_encoding);
  __Pyx_DECREF(__pyx_v_self->source_encoding);
  __pyx_v_self->source_encoding = __pyx_v_value;

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_15source_encoding_5__del__(PyObject *__pyx_v_self); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_15source_encoding_5__del__(PyObject *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_15source_encoding_4__del__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_15source_encoding_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__", 0);
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->source_encoding);
  __Pyx_DECREF(__pyx_v_self->source_encoding);
  __pyx_v_self->source_encoding = Py_None;

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.pxd":26
 *     cdef public source_encoding
 *     cdef set keywords
 *     cdef public list indentation_stack             # <<<<<<<<<<<<<<
 *     cdef public indentation_char
 *     cdef public int bracket_nesting_level
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_stack_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_stack_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_stack___get__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_stack___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_self->indentation_stack);
  __pyx_r = __pyx_v_self->indentation_stack;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_stack_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_stack_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_stack_2__set__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_value));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_stack_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);
  if (!(likely(PyList_CheckExact(__pyx_v_value))||((__pyx_v_value) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "list", Py_TYPE(__pyx_v_value)->tp_name), 0))) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 26; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_t_1 = __pyx_v_value;
  __Pyx_INCREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->indentation_stack);
  __Pyx_DECREF(__pyx_v_self->indentation_stack);
  __pyx_v_self->indentation_stack = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.indentation_stack.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_stack_5__del__(PyObject *__pyx_v_self); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_stack_5__del__(PyObject *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_stack_4__del__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_stack_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__", 0);
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->indentation_stack);
  __Pyx_DECREF(__pyx_v_self->indentation_stack);
  __pyx_v_self->indentation_stack = ((PyObject*)Py_None);

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.pxd":27
 *     cdef set keywords
 *     cdef public list indentation_stack
 *     cdef public indentation_char             # <<<<<<<<<<<<<<
 *     cdef public int bracket_nesting_level
 *     cdef public sy
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_char_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_char_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_char___get__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_char___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_self->indentation_char);
  __pyx_r = __pyx_v_self->indentation_char;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_char_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_char_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_char_2__set__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_value));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_char_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__", 0);
  __Pyx_INCREF(__pyx_v_value);
  __Pyx_GIVEREF(__pyx_v_value);
  __Pyx_GOTREF(__pyx_v_self->indentation_char);
  __Pyx_DECREF(__pyx_v_self->indentation_char);
  __pyx_v_self->indentation_char = __pyx_v_value;

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_char_5__del__(PyObject *__pyx_v_self); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_char_5__del__(PyObject *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_char_4__del__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_char_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__", 0);
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->indentation_char);
  __Pyx_DECREF(__pyx_v_self->indentation_char);
  __pyx_v_self->indentation_char = Py_None;

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.pxd":28
 *     cdef public list indentation_stack
 *     cdef public indentation_char
 *     cdef public int bracket_nesting_level             # <<<<<<<<<<<<<<
 *     cdef public sy
 *     cdef public systring
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_21bracket_nesting_level_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_21bracket_nesting_level_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_21bracket_nesting_level___get__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_21bracket_nesting_level___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->bracket_nesting_level); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.bracket_nesting_level.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_21bracket_nesting_level_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_21bracket_nesting_level_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_21bracket_nesting_level_2__set__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_value));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_21bracket_nesting_level_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);
  __pyx_t_1 = __Pyx_PyInt_As_int(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 28; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_v_self->bracket_nesting_level = __pyx_t_1;

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.bracket_nesting_level.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.pxd":29
 *     cdef public indentation_char
 *     cdef public int bracket_nesting_level
 *     cdef public sy             # <<<<<<<<<<<<<<
 *     cdef public systring
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_2sy_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_2sy_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_2sy___get__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_2sy___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_self->sy);
  __pyx_r = __pyx_v_self->sy;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_2sy_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_2sy_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_2sy_2__set__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_value));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_2sy_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__", 0);
  __Pyx_INCREF(__pyx_v_value);
  __Pyx_GIVEREF(__pyx_v_value);
  __Pyx_GOTREF(__pyx_v_self->sy);
  __Pyx_DECREF(__pyx_v_self->sy);
  __pyx_v_self->sy = __pyx_v_value;

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_2sy_5__del__(PyObject *__pyx_v_self); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_2sy_5__del__(PyObject *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_2sy_4__del__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_2sy_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__", 0);
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->sy);
  __Pyx_DECREF(__pyx_v_self->sy);
  __pyx_v_self->sy = Py_None;

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.pxd":30
 *     cdef public int bracket_nesting_level
 *     cdef public sy
 *     cdef public systring             # <<<<<<<<<<<<<<
 * 
 *     cdef long current_level(self)
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_8systring_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_8systring_1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_8systring___get__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_8systring___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__", 0);
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_self->systring);
  __pyx_r = __pyx_v_self->systring;
  goto __pyx_L0;

  /* function exit code */
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_8systring_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_8systring_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_8systring_2__set__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), ((PyObject *)__pyx_v_value));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_8systring_2__set__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__", 0);
  __Pyx_INCREF(__pyx_v_value);
  __Pyx_GIVEREF(__pyx_v_value);
  __Pyx_GOTREF(__pyx_v_self->systring);
  __Pyx_DECREF(__pyx_v_self->systring);
  __pyx_v_self->systring = __pyx_v_value;

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_8systring_5__del__(PyObject *__pyx_v_self); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_8systring_5__del__(PyObject *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_8systring_4__del__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self));

  /* function exit code */
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_8systring_4__del__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__", 0);
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->systring);
  __Pyx_DECREF(__pyx_v_self->systring);
  __pyx_v_self->systring = Py_None;

  /* function exit code */
  __pyx_r = 0;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_tp_new_6Cython_8Compiler_8Scanning_Method(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
  struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *p;
  PyObject *o;
  if (likely((t->tp_flags & Py_TPFLAGS_IS_ABSTRACT) == 0)) {
    o = (*t->tp_alloc)(t, 0);
  } else {
    o = (PyObject *) PyBaseObject_Type.tp_new(t, __pyx_empty_tuple, 0);
  }
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *)o);
  p->name = Py_None; Py_INCREF(Py_None);
  p->__pyx___name__ = Py_None; Py_INCREF(Py_None);
  return o;
}

static void __pyx_tp_dealloc_6Cython_8Compiler_8Scanning_Method(PyObject *o) {
  struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *p = (struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *)o;
  #if PY_VERSION_HEX >= 0x030400a1
  if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
    if (PyObject_CallFinalizerFromDealloc(o)) return;
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->name);
  Py_CLEAR(p->__pyx___name__);
  (*Py_TYPE(o)->tp_free)(o);
}

static int __pyx_tp_traverse_6Cython_8Compiler_8Scanning_Method(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *p = (struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *)o;
  if (p->name) {
    e = (*v)(p->name, a); if (e) return e;
  }
  if (p->__pyx___name__) {
    e = (*v)(p->__pyx___name__, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_6Cython_8Compiler_8Scanning_Method(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *p = (struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *)o;
  tmp = ((PyObject*)p->name);
  p->name = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->__pyx___name__);
  p->__pyx___name__ = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}

static PyMethodDef __pyx_methods_6Cython_8Compiler_8Scanning_Method[] = {
  {0, 0, 0, 0}
};

static PyTypeObject __pyx_type_6Cython_8Compiler_8Scanning_Method = {
  PyVarObject_HEAD_INIT(0, 0)
  __Pyx_NAMESTR("Cython.Compiler.Scanning.Method"), /*tp_name*/
  sizeof(struct __pyx_obj_6Cython_8Compiler_8Scanning_Method), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_6Cython_8Compiler_8Scanning_Method, /*tp_dealloc*/
  0, /*tp_print*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #else
  0, /*reserved*/
  #endif
  0, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  __pyx_pw_6Cython_8Compiler_8Scanning_6Method_3__call__, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  0, /*tp_doc*/
  __pyx_tp_traverse_6Cython_8Compiler_8Scanning_Method, /*tp_traverse*/
  __pyx_tp_clear_6Cython_8Compiler_8Scanning_Method, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_6Cython_8Compiler_8Scanning_Method, /*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*/
  __pyx_pw_6Cython_8Compiler_8Scanning_6Method_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_6Cython_8Compiler_8Scanning_Method, /*tp_new*/
  0, /*tp_free*/
  0, /*tp_is_gc*/
  0, /*tp_bases*/
  0, /*tp_mro*/
  0, /*tp_cache*/
  0, /*tp_subclasses*/
  0, /*tp_weaklist*/
  0, /*tp_del*/
  #if PY_VERSION_HEX >= 0x02060000
  0, /*tp_version_tag*/
  #endif
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
};
static struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_CompileTimeScope __pyx_vtable_6Cython_8Compiler_8Scanning_CompileTimeScope;

static PyObject *__pyx_tp_new_6Cython_8Compiler_8Scanning_CompileTimeScope(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
  struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *p;
  PyObject *o;
  if (likely((t->tp_flags & Py_TPFLAGS_IS_ABSTRACT) == 0)) {
    o = (*t->tp_alloc)(t, 0);
  } else {
    o = (PyObject *) PyBaseObject_Type.tp_new(t, __pyx_empty_tuple, 0);
  }
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)o);
  p->__pyx_vtab = __pyx_vtabptr_6Cython_8Compiler_8Scanning_CompileTimeScope;
  p->entries = ((PyObject*)Py_None); Py_INCREF(Py_None);
  p->outer = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)Py_None); Py_INCREF(Py_None);
  return o;
}

static void __pyx_tp_dealloc_6Cython_8Compiler_8Scanning_CompileTimeScope(PyObject *o) {
  struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *p = (struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)o;
  #if PY_VERSION_HEX >= 0x030400a1
  if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
    if (PyObject_CallFinalizerFromDealloc(o)) return;
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->entries);
  Py_CLEAR(p->outer);
  (*Py_TYPE(o)->tp_free)(o);
}

static int __pyx_tp_traverse_6Cython_8Compiler_8Scanning_CompileTimeScope(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *p = (struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)o;
  if (p->entries) {
    e = (*v)(p->entries, a); if (e) return e;
  }
  if (p->outer) {
    e = (*v)(((PyObject*)p->outer), a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_6Cython_8Compiler_8Scanning_CompileTimeScope(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *p = (struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)o;
  tmp = ((PyObject*)p->entries);
  p->entries = ((PyObject*)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->outer);
  p->outer = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}

static PyObject *__pyx_getprop_6Cython_8Compiler_8Scanning_16CompileTimeScope_entries(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_7entries_1__get__(o);
}

static int __pyx_setprop_6Cython_8Compiler_8Scanning_16CompileTimeScope_entries(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_7entries_3__set__(o, v);
  }
  else {
    return __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_7entries_5__del__(o);
  }
}

static PyObject *__pyx_getprop_6Cython_8Compiler_8Scanning_16CompileTimeScope_outer(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_5outer_1__get__(o);
}

static int __pyx_setprop_6Cython_8Compiler_8Scanning_16CompileTimeScope_outer(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_5outer_3__set__(o, v);
  }
  else {
    return __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_5outer_5__del__(o);
  }
}

static PyMethodDef __pyx_methods_6Cython_8Compiler_8Scanning_CompileTimeScope[] = {
  {__Pyx_NAMESTR("update"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_3update, METH_O, __Pyx_DOCSTR(0)},
  {__Pyx_NAMESTR("lookup"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_7lookup, METH_O, __Pyx_DOCSTR(0)},
  {0, 0, 0, 0}
};

static struct PyGetSetDef __pyx_getsets_6Cython_8Compiler_8Scanning_CompileTimeScope[] = {
  {(char *)"entries", __pyx_getprop_6Cython_8Compiler_8Scanning_16CompileTimeScope_entries, __pyx_setprop_6Cython_8Compiler_8Scanning_16CompileTimeScope_entries, 0, 0},
  {(char *)"outer", __pyx_getprop_6Cython_8Compiler_8Scanning_16CompileTimeScope_outer, __pyx_setprop_6Cython_8Compiler_8Scanning_16CompileTimeScope_outer, 0, 0},
  {0, 0, 0, 0, 0}
};

static PySequenceMethods __pyx_tp_as_sequence_CompileTimeScope = {
  0, /*sq_length*/
  0, /*sq_concat*/
  0, /*sq_repeat*/
  0, /*sq_item*/
  0, /*sq_slice*/
  0, /*sq_ass_item*/
  0, /*sq_ass_slice*/
  __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_5__contains__, /*sq_contains*/
  0, /*sq_inplace_concat*/
  0, /*sq_inplace_repeat*/
};

static PyTypeObject __pyx_type_6Cython_8Compiler_8Scanning_CompileTimeScope = {
  PyVarObject_HEAD_INIT(0, 0)
  __Pyx_NAMESTR("Cython.Compiler.Scanning.CompileTimeScope"), /*tp_name*/
  sizeof(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_6Cython_8Compiler_8Scanning_CompileTimeScope, /*tp_dealloc*/
  0, /*tp_print*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #else
  0, /*reserved*/
  #endif
  0, /*tp_repr*/
  0, /*tp_as_number*/
  &__pyx_tp_as_sequence_CompileTimeScope, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  0, /*tp_doc*/
  __pyx_tp_traverse_6Cython_8Compiler_8Scanning_CompileTimeScope, /*tp_traverse*/
  __pyx_tp_clear_6Cython_8Compiler_8Scanning_CompileTimeScope, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_6Cython_8Compiler_8Scanning_CompileTimeScope, /*tp_methods*/
  0, /*tp_members*/
  __pyx_getsets_6Cython_8Compiler_8Scanning_CompileTimeScope, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_6Cython_8Compiler_8Scanning_CompileTimeScope, /*tp_new*/
  0, /*tp_free*/
  0, /*tp_is_gc*/
  0, /*tp_bases*/
  0, /*tp_mro*/
  0, /*tp_cache*/
  0, /*tp_subclasses*/
  0, /*tp_weaklist*/
  0, /*tp_del*/
  #if PY_VERSION_HEX >= 0x02060000
  0, /*tp_version_tag*/
  #endif
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
};
static struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner __pyx_vtable_6Cython_8Compiler_8Scanning_PyrexScanner;

static PyObject *__pyx_tp_new_6Cython_8Compiler_8Scanning_PyrexScanner(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *p;
  PyObject *o = __pyx_ptype_6Cython_4Plex_8Scanners_Scanner->tp_new(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_6Cython_4Plex_8Scanners_Scanner*)__pyx_vtabptr_6Cython_8Compiler_8Scanning_PyrexScanner;
  p->context = Py_None; Py_INCREF(Py_None);
  p->included_files = ((PyObject*)Py_None); Py_INCREF(Py_None);
  p->compile_time_env = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)Py_None); Py_INCREF(Py_None);
  p->source_encoding = Py_None; Py_INCREF(Py_None);
  p->keywords = ((PyObject*)Py_None); Py_INCREF(Py_None);
  p->indentation_stack = ((PyObject*)Py_None); Py_INCREF(Py_None);
  p->indentation_char = Py_None; Py_INCREF(Py_None);
  p->sy = Py_None; Py_INCREF(Py_None);
  p->systring = Py_None; Py_INCREF(Py_None);
  return o;
}

static void __pyx_tp_dealloc_6Cython_8Compiler_8Scanning_PyrexScanner(PyObject *o) {
  struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *p = (struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)o;
  #if PY_VERSION_HEX >= 0x030400a1
  if (unlikely(Py_TYPE(o)->tp_finalize) && !_PyGC_FINALIZED(o)) {
    if (PyObject_CallFinalizerFromDealloc(o)) return;
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->context);
  Py_CLEAR(p->included_files);
  Py_CLEAR(p->compile_time_env);
  Py_CLEAR(p->source_encoding);
  Py_CLEAR(p->keywords);
  Py_CLEAR(p->indentation_stack);
  Py_CLEAR(p->indentation_char);
  Py_CLEAR(p->sy);
  Py_CLEAR(p->systring);
  PyObject_GC_Track(o);
  if (likely(__pyx_ptype_6Cython_4Plex_8Scanners_Scanner)) __pyx_ptype_6Cython_4Plex_8Scanners_Scanner->tp_dealloc(o); else __Pyx_call_next_tp_dealloc(o, __pyx_tp_dealloc_6Cython_8Compiler_8Scanning_PyrexScanner);
}

static int __pyx_tp_traverse_6Cython_8Compiler_8Scanning_PyrexScanner(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *p = (struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)o;
  e = ((likely(__pyx_ptype_6Cython_4Plex_8Scanners_Scanner)) ? ((__pyx_ptype_6Cython_4Plex_8Scanners_Scanner->tp_traverse) ? __pyx_ptype_6Cython_4Plex_8Scanners_Scanner->tp_traverse(o, v, a) : 0) : __Pyx_call_next_tp_traverse(o, v, a, __pyx_tp_traverse_6Cython_8Compiler_8Scanning_PyrexScanner)); if (e) return e;
  if (p->context) {
    e = (*v)(p->context, a); if (e) return e;
  }
  if (p->included_files) {
    e = (*v)(p->included_files, a); if (e) return e;
  }
  if (p->compile_time_env) {
    e = (*v)(((PyObject*)p->compile_time_env), a); if (e) return e;
  }
  if (p->source_encoding) {
    e = (*v)(p->source_encoding, a); if (e) return e;
  }
  if (p->keywords) {
    e = (*v)(p->keywords, a); if (e) return e;
  }
  if (p->indentation_stack) {
    e = (*v)(p->indentation_stack, a); if (e) return e;
  }
  if (p->indentation_char) {
    e = (*v)(p->indentation_char, a); if (e) return e;
  }
  if (p->sy) {
    e = (*v)(p->sy, a); if (e) return e;
  }
  if (p->systring) {
    e = (*v)(p->systring, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_6Cython_8Compiler_8Scanning_PyrexScanner(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *p = (struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)o;
  if (likely(__pyx_ptype_6Cython_4Plex_8Scanners_Scanner)) { if (__pyx_ptype_6Cython_4Plex_8Scanners_Scanner->tp_clear) __pyx_ptype_6Cython_4Plex_8Scanners_Scanner->tp_clear(o); } else __Pyx_call_next_tp_clear(o, __pyx_tp_clear_6Cython_8Compiler_8Scanning_PyrexScanner);
  tmp = ((PyObject*)p->context);
  p->context = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->included_files);
  p->included_files = ((PyObject*)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->compile_time_env);
  p->compile_time_env = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->source_encoding);
  p->source_encoding = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->keywords);
  p->keywords = ((PyObject*)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->indentation_stack);
  p->indentation_stack = ((PyObject*)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->indentation_char);
  p->indentation_char = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->sy);
  p->sy = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->systring);
  p->systring = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}

static PyObject *__pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_context(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_7context_1__get__(o);
}

static int __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_context(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_7context_3__set__(o, v);
  }
  else {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_7context_5__del__(o);
  }
}

static PyObject *__pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_included_files(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14included_files_1__get__(o);
}

static int __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_included_files(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14included_files_3__set__(o, v);
  }
  else {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14included_files_5__del__(o);
  }
}

static PyObject *__pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_compile_time_env(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_16compile_time_env_1__get__(o);
}

static int __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_compile_time_env(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_16compile_time_env_3__set__(o, v);
  }
  else {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_16compile_time_env_5__del__(o);
  }
}

static PyObject *__pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_compile_time_eval(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_eval_1__get__(o);
}

static int __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_compile_time_eval(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_eval_3__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static PyObject *__pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_compile_time_expr(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_expr_1__get__(o);
}

static int __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_compile_time_expr(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17compile_time_expr_3__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static PyObject *__pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_parse_comments(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14parse_comments_1__get__(o);
}

static int __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_parse_comments(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14parse_comments_3__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static PyObject *__pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_in_python_file(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14in_python_file_1__get__(o);
}

static int __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_in_python_file(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_14in_python_file_3__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static PyObject *__pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_source_encoding(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_15source_encoding_1__get__(o);
}

static int __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_source_encoding(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_15source_encoding_3__set__(o, v);
  }
  else {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_15source_encoding_5__del__(o);
  }
}

static PyObject *__pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_indentation_stack(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_stack_1__get__(o);
}

static int __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_indentation_stack(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_stack_3__set__(o, v);
  }
  else {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_stack_5__del__(o);
  }
}

static PyObject *__pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_indentation_char(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_char_1__get__(o);
}

static int __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_indentation_char(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_char_3__set__(o, v);
  }
  else {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_16indentation_char_5__del__(o);
  }
}

static PyObject *__pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_bracket_nesting_level(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_21bracket_nesting_level_1__get__(o);
}

static int __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_bracket_nesting_level(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_21bracket_nesting_level_3__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static PyObject *__pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_sy(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_2sy_1__get__(o);
}

static int __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_sy(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_2sy_3__set__(o, v);
  }
  else {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_2sy_5__del__(o);
  }
}

static PyObject *__pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_systring(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_8systring_1__get__(o);
}

static int __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_systring(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_8systring_3__set__(o, v);
  }
  else {
    return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_8systring_5__del__(o);
  }
}

static PyMethodDef __pyx_methods_6Cython_8Compiler_8Scanning_PyrexScanner[] = {
  {__Pyx_NAMESTR("commentline"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_3commentline, METH_O, __Pyx_DOCSTR(0)},
  {__Pyx_NAMESTR("open_bracket_action"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_5open_bracket_action, METH_O, __Pyx_DOCSTR(0)},
  {__Pyx_NAMESTR("close_bracket_action"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_7close_bracket_action, METH_O, __Pyx_DOCSTR(0)},
  {__Pyx_NAMESTR("newline_action"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_9newline_action, METH_O, __Pyx_DOCSTR(0)},
  {__Pyx_NAMESTR("begin_string_action"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_11begin_string_action, METH_O, __Pyx_DOCSTR(0)},
  {__Pyx_NAMESTR("end_string_action"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_13end_string_action, METH_O, __Pyx_DOCSTR(0)},
  {__Pyx_NAMESTR("unclosed_string_action"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_15unclosed_string_action, METH_O, __Pyx_DOCSTR(0)},
  {__Pyx_NAMESTR("indentation_action"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17indentation_action, METH_O, __Pyx_DOCSTR(0)},
  {__Pyx_NAMESTR("eof_action"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_19eof_action, METH_O, __Pyx_DOCSTR(0)},
  {__Pyx_NAMESTR("put_back"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_21put_back, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
  {__Pyx_NAMESTR("unread"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_23unread, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
  {__Pyx_NAMESTR("error"), (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_25error, METH_VARARGS|METH_KEYWORDS, __Pyx_DOCSTR(0)},
  {0, 0, 0, 0}
};

static struct PyGetSetDef __pyx_getsets_6Cython_8Compiler_8Scanning_PyrexScanner[] = {
  {(char *)"context", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_context, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_context, 0, 0},
  {(char *)"included_files", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_included_files, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_included_files, 0, 0},
  {(char *)"compile_time_env", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_compile_time_env, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_compile_time_env, 0, 0},
  {(char *)"compile_time_eval", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_compile_time_eval, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_compile_time_eval, 0, 0},
  {(char *)"compile_time_expr", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_compile_time_expr, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_compile_time_expr, 0, 0},
  {(char *)"parse_comments", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_parse_comments, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_parse_comments, 0, 0},
  {(char *)"in_python_file", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_in_python_file, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_in_python_file, 0, 0},
  {(char *)"source_encoding", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_source_encoding, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_source_encoding, 0, 0},
  {(char *)"indentation_stack", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_indentation_stack, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_indentation_stack, 0, 0},
  {(char *)"indentation_char", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_indentation_char, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_indentation_char, 0, 0},
  {(char *)"bracket_nesting_level", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_bracket_nesting_level, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_bracket_nesting_level, 0, 0},
  {(char *)"sy", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_sy, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_sy, 0, 0},
  {(char *)"systring", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_systring, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_systring, 0, 0},
  {0, 0, 0, 0, 0}
};

static PyTypeObject __pyx_type_6Cython_8Compiler_8Scanning_PyrexScanner = {
  PyVarObject_HEAD_INIT(0, 0)
  __Pyx_NAMESTR("Cython.Compiler.Scanning.PyrexScanner"), /*tp_name*/
  sizeof(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_6Cython_8Compiler_8Scanning_PyrexScanner, /*tp_dealloc*/
  0, /*tp_print*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #else
  0, /*reserved*/
  #endif
  0, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  0, /*tp_doc*/
  __pyx_tp_traverse_6Cython_8Compiler_8Scanning_PyrexScanner, /*tp_traverse*/
  __pyx_tp_clear_6Cython_8Compiler_8Scanning_PyrexScanner, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_6Cython_8Compiler_8Scanning_PyrexScanner, /*tp_methods*/
  0, /*tp_members*/
  __pyx_getsets_6Cython_8Compiler_8Scanning_PyrexScanner, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  0, /*tp_dictoffset*/
  __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_6Cython_8Compiler_8Scanning_PyrexScanner, /*tp_new*/
  0, /*tp_free*/
  0, /*tp_is_gc*/
  0, /*tp_bases*/
  0, /*tp_mro*/
  0, /*tp_cache*/
  0, /*tp_subclasses*/
  0, /*tp_weaklist*/
  0, /*tp_del*/
  #if PY_VERSION_HEX >= 0x02060000
  0, /*tp_version_tag*/
  #endif
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
};

static PyMethodDef __pyx_methods[] = {
  {0, 0, 0, 0}
};

#if PY_MAJOR_VERSION >= 3
static struct PyModuleDef __pyx_moduledef = {
  #if PY_VERSION_HEX < 0x03020000
    { PyObject_HEAD_INIT(NULL) NULL, 0, NULL },
  #else
    PyModuleDef_HEAD_INIT,
  #endif
    __Pyx_NAMESTR("Scanning"),
    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_n_u_ASCII, __pyx_k_ASCII, sizeof(__pyx_k_ASCII), 0, 1, 0, 1},
  {&__pyx_kp_s_A_SourceDescriptor_should_be_co, __pyx_k_A_SourceDescriptor_should_be_co, sizeof(__pyx_k_A_SourceDescriptor_should_be_co), 0, 0, 1, 0},
  {&__pyx_n_s_AttributeError, __pyx_k_AttributeError, sizeof(__pyx_k_AttributeError), 0, 0, 1, 1},
  {&__pyx_n_u_BEGIN_STRING, __pyx_k_BEGIN_STRING, sizeof(__pyx_k_BEGIN_STRING), 0, 1, 0, 1},
  {&__pyx_n_s_Cython, __pyx_k_Cython, sizeof(__pyx_k_Cython), 0, 0, 1, 1},
  {&__pyx_n_s_Cython_Compiler_Scanning, __pyx_k_Cython_Compiler_Scanning, sizeof(__pyx_k_Cython_Compiler_Scanning), 0, 0, 1, 1},
  {&__pyx_n_s_Cython_Plex_Errors, __pyx_k_Cython_Plex_Errors, sizeof(__pyx_k_Cython_Plex_Errors), 0, 0, 1, 1},
  {&__pyx_n_s_Cython_Plex_Scanners, __pyx_k_Cython_Plex_Scanners, sizeof(__pyx_k_Cython_Plex_Scanners), 0, 0, 1, 1},
  {&__pyx_n_u_DEDENT, __pyx_k_DEDENT, sizeof(__pyx_k_DEDENT), 0, 1, 0, 1},
  {&__pyx_n_u_DEF, __pyx_k_DEF, sizeof(__pyx_k_DEF), 0, 1, 0, 1},
  {&__pyx_n_u_DQ_STRING, __pyx_k_DQ_STRING, sizeof(__pyx_k_DQ_STRING), 0, 1, 0, 1},
  {&__pyx_n_u_ELIF, __pyx_k_ELIF, sizeof(__pyx_k_ELIF), 0, 1, 0, 1},
  {&__pyx_n_u_ELSE, __pyx_k_ELSE, sizeof(__pyx_k_ELSE), 0, 1, 0, 1},
  {&__pyx_n_u_END_STRING, __pyx_k_END_STRING, sizeof(__pyx_k_END_STRING), 0, 1, 0, 1},
  {&__pyx_n_u_EOF, __pyx_k_EOF, sizeof(__pyx_k_EOF), 0, 1, 0, 1},
  {&__pyx_n_s_EncodedString, __pyx_k_EncodedString, sizeof(__pyx_k_EncodedString), 0, 0, 1, 1},
  {&__pyx_n_s_Errors, __pyx_k_Errors, sizeof(__pyx_k_Errors), 0, 0, 1, 1},
  {&__pyx_kp_u_Expected_a_decrease_in_indentati, __pyx_k_Expected_a_decrease_in_indentati, sizeof(__pyx_k_Expected_a_decrease_in_indentati), 0, 1, 0, 0},
  {&__pyx_kp_u_Expected_a_newline, __pyx_k_Expected_a_newline, sizeof(__pyx_k_Expected_a_newline), 0, 1, 0, 0},
  {&__pyx_kp_u_Expected_an_increase_in_indentat, __pyx_k_Expected_an_increase_in_indentat, sizeof(__pyx_k_Expected_an_increase_in_indentat), 0, 1, 0, 0},
  {&__pyx_kp_u_Expected_s_found_s, __pyx_k_Expected_s_found_s, sizeof(__pyx_k_Expected_s_found_s), 0, 1, 0, 0},
  {&__pyx_n_u_False, __pyx_k_False, sizeof(__pyx_k_False), 0, 1, 0, 1},
  {&__pyx_n_s_FileSourceDescriptor, __pyx_k_FileSourceDescriptor, sizeof(__pyx_k_FileSourceDescriptor), 0, 0, 1, 1},
  {&__pyx_n_s_FileSourceDescriptor___eq, __pyx_k_FileSourceDescriptor___eq, sizeof(__pyx_k_FileSourceDescriptor___eq), 0, 0, 1, 1},
  {&__pyx_n_s_FileSourceDescriptor___hash, __pyx_k_FileSourceDescriptor___hash, sizeof(__pyx_k_FileSourceDescriptor___hash), 0, 0, 1, 1},
  {&__pyx_n_s_FileSourceDescriptor___init, __pyx_k_FileSourceDescriptor___init, sizeof(__pyx_k_FileSourceDescriptor___init), 0, 0, 1, 1},
  {&__pyx_n_s_FileSourceDescriptor___repr, __pyx_k_FileSourceDescriptor___repr, sizeof(__pyx_k_FileSourceDescriptor___repr), 0, 0, 1, 1},
  {&__pyx_n_s_FileSourceDescriptor_get_descrip, __pyx_k_FileSourceDescriptor_get_descrip, sizeof(__pyx_k_FileSourceDescriptor_get_descrip), 0, 0, 1, 1},
  {&__pyx_n_s_FileSourceDescriptor_get_error_d, __pyx_k_FileSourceDescriptor_get_error_d, sizeof(__pyx_k_FileSourceDescriptor_get_error_d), 0, 0, 1, 1},
  {&__pyx_n_s_FileSourceDescriptor_get_filenam, __pyx_k_FileSourceDescriptor_get_filenam, sizeof(__pyx_k_FileSourceDescriptor_get_filenam), 0, 0, 1, 1},
  {&__pyx_n_s_FileSourceDescriptor_get_lines, __pyx_k_FileSourceDescriptor_get_lines, sizeof(__pyx_k_FileSourceDescriptor_get_lines), 0, 0, 1, 1},
  {&__pyx_kp_u_FileSourceDescriptor_s, __pyx_k_FileSourceDescriptor_s, sizeof(__pyx_k_FileSourceDescriptor_s), 0, 1, 0, 0},
  {&__pyx_n_s_Future, __pyx_k_Future, sizeof(__pyx_k_Future), 0, 0, 1, 1},
  {&__pyx_n_s_IDENT, __pyx_k_IDENT, sizeof(__pyx_k_IDENT), 0, 0, 1, 1},
  {&__pyx_n_u_IF, __pyx_k_IF, sizeof(__pyx_k_IF), 0, 1, 0, 1},
  {&__pyx_n_u_INDENT, __pyx_k_INDENT, sizeof(__pyx_k_INDENT), 0, 1, 0, 1},
  {&__pyx_n_s_ImportError, __pyx_k_ImportError, sizeof(__pyx_k_ImportError), 0, 0, 1, 1},
  {&__pyx_kp_u_Inconsistent_indentation, __pyx_k_Inconsistent_indentation, sizeof(__pyx_k_Inconsistent_indentation), 0, 1, 0, 0},
  {&__pyx_kp_s_Instances_of_this_class_can_be, __pyx_k_Instances_of_this_class_can_be, sizeof(__pyx_k_Instances_of_this_class_can_be), 0, 0, 1, 0},
  {&__pyx_n_s_KeyError, __pyx_k_KeyError, sizeof(__pyx_k_KeyError), 0, 0, 1, 1},
  {&__pyx_n_s_Lexicon, __pyx_k_Lexicon, sizeof(__pyx_k_Lexicon), 0, 0, 1, 1},
  {&__pyx_kp_u_Mixed_use_of_tabs_and_spaces, __pyx_k_Mixed_use_of_tabs_and_spaces, sizeof(__pyx_k_Mixed_use_of_tabs_and_spaces), 0, 1, 0, 0},
  {&__pyx_n_u_NEWLINE, __pyx_k_NEWLINE, sizeof(__pyx_k_NEWLINE), 0, 1, 0, 1},
  {&__pyx_kp_u_Possible_inconsistent_indentatio, __pyx_k_Possible_inconsistent_indentatio, sizeof(__pyx_k_Possible_inconsistent_indentatio), 0, 1, 0, 0},
  {&__pyx_kp_s_Represents_a_code_source_A_code, __pyx_k_Represents_a_code_source_A_code, sizeof(__pyx_k_Represents_a_code_source_A_code), 0, 0, 1, 0},
  {&__pyx_n_u_SQ_STRING, __pyx_k_SQ_STRING, sizeof(__pyx_k_SQ_STRING), 0, 1, 0, 1},
  {&__pyx_n_s_Scanner, __pyx_k_Scanner, sizeof(__pyx_k_Scanner), 0, 0, 1, 1},
  {&__pyx_n_s_SourceDescriptor, __pyx_k_SourceDescriptor, sizeof(__pyx_k_SourceDescriptor), 0, 0, 1, 1},
  {&__pyx_n_s_SourceDescriptor___gt, __pyx_k_SourceDescriptor___gt, sizeof(__pyx_k_SourceDescriptor___gt), 0, 0, 1, 1},
  {&__pyx_n_s_SourceDescriptor___le, __pyx_k_SourceDescriptor___le, sizeof(__pyx_k_SourceDescriptor___le), 0, 0, 1, 1},
  {&__pyx_n_s_SourceDescriptor___lt, __pyx_k_SourceDescriptor___lt, sizeof(__pyx_k_SourceDescriptor___lt), 0, 0, 1, 1},
  {&__pyx_n_s_SourceDescriptor___str, __pyx_k_SourceDescriptor___str, sizeof(__pyx_k_SourceDescriptor___str), 0, 0, 1, 1},
  {&__pyx_n_s_SourceDescriptor_get_escaped_des, __pyx_k_SourceDescriptor_get_escaped_des, sizeof(__pyx_k_SourceDescriptor_get_escaped_des), 0, 0, 1, 1},
  {&__pyx_n_s_SourceDescriptor_is_cython_file, __pyx_k_SourceDescriptor_is_cython_file, sizeof(__pyx_k_SourceDescriptor_is_cython_file), 0, 0, 1, 1},
  {&__pyx_n_s_SourceDescriptor_is_python_file, __pyx_k_SourceDescriptor_is_python_file, sizeof(__pyx_k_SourceDescriptor_is_python_file), 0, 0, 1, 1},
  {&__pyx_n_s_SourceDescriptor_set_file_type_f, __pyx_k_SourceDescriptor_set_file_type_f, sizeof(__pyx_k_SourceDescriptor_set_file_type_f), 0, 0, 1, 1},
  {&__pyx_n_s_StringEncoding, __pyx_k_StringEncoding, sizeof(__pyx_k_StringEncoding), 0, 0, 1, 1},
  {&__pyx_n_s_StringSourceDescriptor, __pyx_k_StringSourceDescriptor, sizeof(__pyx_k_StringSourceDescriptor), 0, 0, 1, 1},
  {&__pyx_n_s_StringSourceDescriptor___eq, __pyx_k_StringSourceDescriptor___eq, sizeof(__pyx_k_StringSourceDescriptor___eq), 0, 0, 1, 1},
  {&__pyx_n_s_StringSourceDescriptor___hash, __pyx_k_StringSourceDescriptor___hash, sizeof(__pyx_k_StringSourceDescriptor___hash), 0, 0, 1, 1},
  {&__pyx_n_s_StringSourceDescriptor___init, __pyx_k_StringSourceDescriptor___init, sizeof(__pyx_k_StringSourceDescriptor___init), 0, 0, 1, 1},
  {&__pyx_n_s_StringSourceDescriptor___repr, __pyx_k_StringSourceDescriptor___repr, sizeof(__pyx_k_StringSourceDescriptor___repr), 0, 0, 1, 1},
  {&__pyx_n_s_StringSourceDescriptor_get_descr, __pyx_k_StringSourceDescriptor_get_descr, sizeof(__pyx_k_StringSourceDescriptor_get_descr), 0, 0, 1, 1},
  {&__pyx_n_s_StringSourceDescriptor_get_filen, __pyx_k_StringSourceDescriptor_get_filen, sizeof(__pyx_k_StringSourceDescriptor_get_filen), 0, 0, 1, 1},
  {&__pyx_n_s_StringSourceDescriptor_get_lines, __pyx_k_StringSourceDescriptor_get_lines, sizeof(__pyx_k_StringSourceDescriptor_get_lines), 0, 0, 1, 1},
  {&__pyx_kp_u_StringSourceDescriptor_s, __pyx_k_StringSourceDescriptor_s, sizeof(__pyx_k_StringSourceDescriptor_s), 0, 1, 0, 0},
  {&__pyx_n_u_TDQ_STRING, __pyx_k_TDQ_STRING, sizeof(__pyx_k_TDQ_STRING), 0, 1, 0, 1},
  {&__pyx_n_u_TSQ_STRING, __pyx_k_TSQ_STRING, sizeof(__pyx_k_TSQ_STRING), 0, 1, 0, 1},
  {&__pyx_n_u_True, __pyx_k_True, sizeof(__pyx_k_True), 0, 1, 0, 1},
  {&__pyx_n_u_UNAME_MACHINE, __pyx_k_UNAME_MACHINE, sizeof(__pyx_k_UNAME_MACHINE), 0, 1, 0, 1},
  {&__pyx_n_u_UNAME_NODENAME, __pyx_k_UNAME_NODENAME, sizeof(__pyx_k_UNAME_NODENAME), 0, 1, 0, 1},
  {&__pyx_n_u_UNAME_RELEASE, __pyx_k_UNAME_RELEASE, sizeof(__pyx_k_UNAME_RELEASE), 0, 1, 0, 1},
  {&__pyx_n_u_UNAME_SYSNAME, __pyx_k_UNAME_SYSNAME, sizeof(__pyx_k_UNAME_SYSNAME), 0, 1, 0, 1},
  {&__pyx_n_u_UNAME_VERSION, __pyx_k_UNAME_VERSION, sizeof(__pyx_k_UNAME_VERSION), 0, 1, 0, 1},
  {&__pyx_kp_u_Unclosed_string_literal, __pyx_k_Unclosed_string_literal, sizeof(__pyx_k_Unclosed_string_literal), 0, 1, 0, 0},
  {&__pyx_n_s_UnrecognizedInput, __pyx_k_UnrecognizedInput, sizeof(__pyx_k_UnrecognizedInput), 0, 0, 1, 1},
  {&__pyx_kp_u_Unrecognized_character, __pyx_k_Unrecognized_character, sizeof(__pyx_k_Unrecognized_character), 0, 1, 0, 0},
  {&__pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_k_Users_robertwb_sage_cython_cyth, sizeof(__pyx_k_Users_robertwb_sage_cython_cyth), 0, 0, 1, 0},
  {&__pyx_n_s_Utils, __pyx_k_Utils, sizeof(__pyx_k_Utils), 0, 0, 1, 1},
  {&__pyx_kp_u__6, __pyx_k__6, sizeof(__pyx_k__6), 0, 1, 0, 0},
  {&__pyx_kp_u__70, __pyx_k__70, sizeof(__pyx_k__70), 0, 1, 0, 0},
  {&__pyx_kp_u__71, __pyx_k__71, sizeof(__pyx_k__71), 0, 1, 0, 0},
  {&__pyx_kp_u__72, __pyx_k__72, sizeof(__pyx_k__72), 0, 1, 0, 0},
  {&__pyx_kp_u__73, __pyx_k__73, sizeof(__pyx_k__73), 0, 1, 0, 0},
  {&__pyx_kp_u__8, __pyx_k__8, sizeof(__pyx_k__8), 0, 1, 0, 0},
  {&__pyx_n_u_abs, __pyx_k_abs, sizeof(__pyx_k_abs), 0, 1, 0, 1},
  {&__pyx_n_u_all, __pyx_k_all, sizeof(__pyx_k_all), 0, 1, 0, 1},
  {&__pyx_n_u_and, __pyx_k_and, sizeof(__pyx_k_and), 0, 1, 0, 1},
  {&__pyx_n_u_any, __pyx_k_any, sizeof(__pyx_k_any), 0, 1, 0, 1},
  {&__pyx_n_s_any_string_prefix, __pyx_k_any_string_prefix, sizeof(__pyx_k_any_string_prefix), 0, 0, 1, 1},
  {&__pyx_n_u_ascii, __pyx_k_ascii, sizeof(__pyx_k_ascii), 0, 1, 0, 1},
  {&__pyx_n_u_assert, __pyx_k_assert, sizeof(__pyx_k_assert), 0, 1, 0, 1},
  {&__pyx_n_s_benv, __pyx_k_benv, sizeof(__pyx_k_benv), 0, 0, 1, 1},
  {&__pyx_n_u_bin, __pyx_k_bin, sizeof(__pyx_k_bin), 0, 1, 0, 1},
  {&__pyx_n_u_bool, __pyx_k_bool, sizeof(__pyx_k_bool), 0, 1, 0, 1},
  {&__pyx_n_u_break, __pyx_k_break, sizeof(__pyx_k_break), 0, 1, 0, 1},
  {&__pyx_n_s_builtin, __pyx_k_builtin, sizeof(__pyx_k_builtin), 0, 0, 1, 1},
  {&__pyx_n_s_builtins, __pyx_k_builtins, sizeof(__pyx_k_builtins), 0, 0, 1, 1},
  {&__pyx_n_u_bytearray, __pyx_k_bytearray, sizeof(__pyx_k_bytearray), 0, 1, 0, 1},
  {&__pyx_n_u_bytes, __pyx_k_bytes, sizeof(__pyx_k_bytes), 0, 1, 0, 1},
  {&__pyx_n_u_cdef, __pyx_k_cdef, sizeof(__pyx_k_cdef), 0, 1, 0, 1},
  {&__pyx_n_u_chr, __pyx_k_chr, sizeof(__pyx_k_chr), 0, 1, 0, 1},
  {&__pyx_n_u_cimport, __pyx_k_cimport, sizeof(__pyx_k_cimport), 0, 1, 0, 1},
  {&__pyx_n_u_class, __pyx_k_class, sizeof(__pyx_k_class), 0, 1, 0, 1},
  {&__pyx_n_s_close, __pyx_k_close, sizeof(__pyx_k_close), 0, 0, 1, 1},
  {&__pyx_n_u_cmp, __pyx_k_cmp, sizeof(__pyx_k_cmp), 0, 1, 0, 1},
  {&__pyx_n_s_cmp_name, __pyx_k_cmp_name, sizeof(__pyx_k_cmp_name), 0, 0, 1, 1},
  {&__pyx_n_s_code, __pyx_k_code, sizeof(__pyx_k_code), 0, 0, 1, 1},
  {&__pyx_n_s_codelines, __pyx_k_codelines, sizeof(__pyx_k_codelines), 0, 0, 1, 1},
  {&__pyx_n_u_commentline, __pyx_k_commentline, sizeof(__pyx_k_commentline), 0, 1, 0, 1},
  {&__pyx_n_s_compile_time_env, __pyx_k_compile_time_env, sizeof(__pyx_k_compile_time_env), 0, 0, 1, 1},
  {&__pyx_n_u_compile_time_env, __pyx_k_compile_time_env, sizeof(__pyx_k_compile_time_env), 0, 1, 0, 1},
  {&__pyx_n_s_compile_time_eval, __pyx_k_compile_time_eval, sizeof(__pyx_k_compile_time_eval), 0, 0, 1, 1},
  {&__pyx_n_s_compile_time_expr, __pyx_k_compile_time_expr, sizeof(__pyx_k_compile_time_expr), 0, 0, 1, 1},
  {&__pyx_n_u_complex, __pyx_k_complex, sizeof(__pyx_k_complex), 0, 1, 0, 1},
  {&__pyx_n_s_context, __pyx_k_context, sizeof(__pyx_k_context), 0, 0, 1, 1},
  {&__pyx_n_u_continue, __pyx_k_continue, sizeof(__pyx_k_continue), 0, 1, 0, 1},
  {&__pyx_n_u_cpdef, __pyx_k_cpdef, sizeof(__pyx_k_cpdef), 0, 1, 0, 1},
  {&__pyx_n_u_ctypedef, __pyx_k_ctypedef, sizeof(__pyx_k_ctypedef), 0, 1, 0, 1},
  {&__pyx_n_s_cwd, __pyx_k_cwd, sizeof(__pyx_k_cwd), 0, 0, 1, 1},
  {&__pyx_n_s_debug_scanner, __pyx_k_debug_scanner, sizeof(__pyx_k_debug_scanner), 0, 0, 1, 1},
  {&__pyx_n_s_decode, __pyx_k_decode, sizeof(__pyx_k_decode), 0, 0, 1, 1},
  {&__pyx_n_s_decode_filename, __pyx_k_decode_filename, sizeof(__pyx_k_decode_filename), 0, 0, 1, 1},
  {&__pyx_n_u_def, __pyx_k_def, sizeof(__pyx_k_def), 0, 1, 0, 1},
  {&__pyx_n_u_del, __pyx_k_del, sizeof(__pyx_k_del), 0, 1, 0, 1},
  {&__pyx_n_s_denv, __pyx_k_denv, sizeof(__pyx_k_denv), 0, 0, 1, 1},
  {&__pyx_n_u_dict, __pyx_k_dict, sizeof(__pyx_k_dict), 0, 1, 0, 1},
  {&__pyx_n_s_discard, __pyx_k_discard, sizeof(__pyx_k_discard), 0, 0, 1, 1},
  {&__pyx_n_u_divmod, __pyx_k_divmod, sizeof(__pyx_k_divmod), 0, 1, 0, 1},
  {&__pyx_n_s_doc, __pyx_k_doc, sizeof(__pyx_k_doc), 0, 0, 1, 1},
  {&__pyx_n_u_elif, __pyx_k_elif, sizeof(__pyx_k_elif), 0, 1, 0, 1},
  {&__pyx_n_u_else, __pyx_k_else, sizeof(__pyx_k_else), 0, 1, 0, 1},
  {&__pyx_n_s_encode, __pyx_k_encode, sizeof(__pyx_k_encode), 0, 0, 1, 1},
  {&__pyx_n_s_encoding, __pyx_k_encoding, sizeof(__pyx_k_encoding), 0, 0, 1, 1},
  {&__pyx_n_s_end_string_action, __pyx_k_end_string_action, sizeof(__pyx_k_end_string_action), 0, 0, 1, 1},
  {&__pyx_n_u_enumerate, __pyx_k_enumerate, sizeof(__pyx_k_enumerate), 0, 1, 0, 1},
  {&__pyx_n_s_eq, __pyx_k_eq, sizeof(__pyx_k_eq), 0, 0, 1, 1},
  {&__pyx_n_s_error, __pyx_k_error, sizeof(__pyx_k_error), 0, 0, 1, 1},
  {&__pyx_n_s_error_handling, __pyx_k_error_handling, sizeof(__pyx_k_error_handling), 0, 0, 1, 1},
  {&__pyx_n_s_escaped_description, __pyx_k_escaped_description, sizeof(__pyx_k_escaped_description), 0, 0, 1, 1},
  {&__pyx_n_u_except, __pyx_k_except, sizeof(__pyx_k_except), 0, 1, 0, 1},
  {&__pyx_n_u_exec, __pyx_k_exec, sizeof(__pyx_k_exec), 0, 1, 0, 1},
  {&__pyx_n_s_ext, __pyx_k_ext, sizeof(__pyx_k_ext), 0, 0, 1, 1},
  {&__pyx_n_s_f, __pyx_k_f, sizeof(__pyx_k_f), 0, 0, 1, 1},
  {&__pyx_n_s_fatal, __pyx_k_fatal, sizeof(__pyx_k_fatal), 0, 0, 1, 1},
  {&__pyx_n_s_file, __pyx_k_file, sizeof(__pyx_k_file), 0, 0, 1, 1},
  {&__pyx_n_s_file_type, __pyx_k_file_type, sizeof(__pyx_k_file_type), 0, 0, 1, 1},
  {&__pyx_n_s_filename, __pyx_k_filename, sizeof(__pyx_k_filename), 0, 0, 1, 1},
  {&__pyx_n_u_filter, __pyx_k_filter, sizeof(__pyx_k_filter), 0, 1, 0, 1},
  {&__pyx_n_u_finally, __pyx_k_finally, sizeof(__pyx_k_finally), 0, 1, 0, 1},
  {&__pyx_n_u_float, __pyx_k_float, sizeof(__pyx_k_float), 0, 1, 0, 1},
  {&__pyx_n_u_for, __pyx_k_for, sizeof(__pyx_k_for), 0, 1, 0, 1},
  {&__pyx_n_u_format, __pyx_k_format, sizeof(__pyx_k_format), 0, 1, 0, 1},
  {&__pyx_n_u_from, __pyx_k_from, sizeof(__pyx_k_from), 0, 1, 0, 1},
  {&__pyx_n_u_frozenset, __pyx_k_frozenset, sizeof(__pyx_k_frozenset), 0, 1, 0, 1},
  {&__pyx_n_s_future_directives, __pyx_k_future_directives, sizeof(__pyx_k_future_directives), 0, 0, 1, 1},
  {&__pyx_n_s_get_description, __pyx_k_get_description, sizeof(__pyx_k_get_description), 0, 0, 1, 1},
  {&__pyx_n_s_get_error_description, __pyx_k_get_error_description, sizeof(__pyx_k_get_error_description), 0, 0, 1, 1},
  {&__pyx_n_s_get_escaped_description, __pyx_k_get_escaped_description, sizeof(__pyx_k_get_escaped_description), 0, 0, 1, 1},
  {&__pyx_n_s_get_filenametable_entry, __pyx_k_get_filenametable_entry, sizeof(__pyx_k_get_filenametable_entry), 0, 0, 1, 1},
  {&__pyx_n_s_get_lexicon, __pyx_k_get_lexicon, sizeof(__pyx_k_get_lexicon), 0, 0, 1, 1},
  {&__pyx_n_s_get_lines, __pyx_k_get_lines, sizeof(__pyx_k_get_lines), 0, 0, 1, 1},
  {&__pyx_n_s_getcwd, __pyx_k_getcwd, sizeof(__pyx_k_getcwd), 0, 0, 1, 1},
  {&__pyx_n_u_global, __pyx_k_global, sizeof(__pyx_k_global), 0, 1, 0, 1},
  {&__pyx_n_s_gt, __pyx_k_gt, sizeof(__pyx_k_gt), 0, 0, 1, 1},
  {&__pyx_n_u_hash, __pyx_k_hash, sizeof(__pyx_k_hash), 0, 1, 0, 1},
  {&__pyx_n_s_hash_2, __pyx_k_hash_2, sizeof(__pyx_k_hash_2), 0, 0, 1, 1},
  {&__pyx_n_u_hex, __pyx_k_hex, sizeof(__pyx_k_hex), 0, 1, 0, 1},
  {&__pyx_n_s_id, __pyx_k_id, sizeof(__pyx_k_id), 0, 0, 1, 1},
  {&__pyx_n_u_if, __pyx_k_if, sizeof(__pyx_k_if), 0, 1, 0, 1},
  {&__pyx_n_u_import, __pyx_k_import, sizeof(__pyx_k_import), 0, 1, 0, 1},
  {&__pyx_n_s_import_2, __pyx_k_import_2, sizeof(__pyx_k_import_2), 0, 0, 1, 1},
  {&__pyx_n_u_in, __pyx_k_in, sizeof(__pyx_k_in), 0, 1, 0, 1},
  {&__pyx_n_u_include, __pyx_k_include, sizeof(__pyx_k_include), 0, 1, 0, 1},
  {&__pyx_n_s_included_files, __pyx_k_included_files, sizeof(__pyx_k_included_files), 0, 0, 1, 1},
  {&__pyx_n_s_indentation_action, __pyx_k_indentation_action, sizeof(__pyx_k_indentation_action), 0, 0, 1, 1},
  {&__pyx_n_s_init, __pyx_k_init, sizeof(__pyx_k_init), 0, 0, 1, 1},
  {&__pyx_n_s_initial_compile_time_env, __pyx_k_initial_compile_time_env, sizeof(__pyx_k_initial_compile_time_env), 0, 0, 1, 1},
  {&__pyx_n_s_initial_pos, __pyx_k_initial_pos, sizeof(__pyx_k_initial_pos), 0, 0, 1, 1},
  {&__pyx_n_u_int, __pyx_k_int, sizeof(__pyx_k_int), 0, 1, 0, 1},
  {&__pyx_n_u_is, __pyx_k_is, sizeof(__pyx_k_is), 0, 1, 0, 1},
  {&__pyx_n_s_is_cython_file, __pyx_k_is_cython_file, sizeof(__pyx_k_is_cython_file), 0, 0, 1, 1},
  {&__pyx_n_s_is_python_file, __pyx_k_is_python_file, sizeof(__pyx_k_is_python_file), 0, 0, 1, 1},
  {&__pyx_n_s_key, __pyx_k_key, sizeof(__pyx_k_key), 0, 0, 1, 1},
  {&__pyx_n_u_lambda, __pyx_k_lambda, sizeof(__pyx_k_lambda), 0, 1, 0, 1},
  {&__pyx_n_s_language_level, __pyx_k_language_level, sizeof(__pyx_k_language_level), 0, 0, 1, 1},
  {&__pyx_n_s_le, __pyx_k_le, sizeof(__pyx_k_le), 0, 0, 1, 1},
  {&__pyx_n_u_len, __pyx_k_len, sizeof(__pyx_k_len), 0, 1, 0, 1},
  {&__pyx_n_s_lexicon, __pyx_k_lexicon, sizeof(__pyx_k_lexicon), 0, 0, 1, 1},
  {&__pyx_n_s_lines, __pyx_k_lines, sizeof(__pyx_k_lines), 0, 0, 1, 1},
  {&__pyx_n_s_lines_2, __pyx_k_lines_2, sizeof(__pyx_k_lines_2), 0, 0, 1, 1},
  {&__pyx_n_u_list, __pyx_k_list, sizeof(__pyx_k_list), 0, 1, 0, 1},
  {&__pyx_n_u_long, __pyx_k_long, sizeof(__pyx_k_long), 0, 1, 0, 1},
  {&__pyx_n_s_lookup, __pyx_k_lookup, sizeof(__pyx_k_lookup), 0, 0, 1, 1},
  {&__pyx_n_s_lt, __pyx_k_lt, sizeof(__pyx_k_lt), 0, 0, 1, 1},
  {&__pyx_n_s_main, __pyx_k_main, sizeof(__pyx_k_main), 0, 0, 1, 1},
  {&__pyx_n_s_make_lexicon, __pyx_k_make_lexicon, sizeof(__pyx_k_make_lexicon), 0, 0, 1, 1},
  {&__pyx_n_u_map, __pyx_k_map, sizeof(__pyx_k_map), 0, 1, 0, 1},
  {&__pyx_n_u_max, __pyx_k_max, sizeof(__pyx_k_max), 0, 1, 0, 1},
  {&__pyx_n_s_message, __pyx_k_message, sizeof(__pyx_k_message), 0, 0, 1, 1},
  {&__pyx_n_s_metaclass, __pyx_k_metaclass, sizeof(__pyx_k_metaclass), 0, 0, 1, 1},
  {&__pyx_n_u_min, __pyx_k_min, sizeof(__pyx_k_min), 0, 1, 0, 1},
  {&__pyx_n_s_module, __pyx_k_module, sizeof(__pyx_k_module), 0, 0, 1, 1},
  {&__pyx_n_s_name, __pyx_k_name, sizeof(__pyx_k_name), 0, 0, 1, 1},
  {&__pyx_n_s_names, __pyx_k_names, sizeof(__pyx_k_names), 0, 0, 1, 1},
  {&__pyx_n_u_nonlocal, __pyx_k_nonlocal, sizeof(__pyx_k_nonlocal), 0, 1, 0, 1},
  {&__pyx_n_u_not, __pyx_k_not, sizeof(__pyx_k_not), 0, 1, 0, 1},
  {&__pyx_n_s_object, __pyx_k_object, sizeof(__pyx_k_object), 0, 0, 1, 1},
  {&__pyx_n_u_oct, __pyx_k_oct, sizeof(__pyx_k_oct), 0, 1, 0, 1},
  {&__pyx_n_s_open_source_file, __pyx_k_open_source_file, sizeof(__pyx_k_open_source_file), 0, 0, 1, 1},
  {&__pyx_n_s_options, __pyx_k_options, sizeof(__pyx_k_options), 0, 0, 1, 1},
  {&__pyx_n_u_or, __pyx_k_or, sizeof(__pyx_k_or), 0, 1, 0, 1},
  {&__pyx_n_u_ord, __pyx_k_ord, sizeof(__pyx_k_ord), 0, 1, 0, 1},
  {&__pyx_n_s_os, __pyx_k_os, sizeof(__pyx_k_os), 0, 0, 1, 1},
  {&__pyx_n_s_other, __pyx_k_other, sizeof(__pyx_k_other), 0, 0, 1, 1},
  {&__pyx_n_s_outer, __pyx_k_outer, sizeof(__pyx_k_outer), 0, 0, 1, 1},
  {&__pyx_n_s_parent_scanner, __pyx_k_parent_scanner, sizeof(__pyx_k_parent_scanner), 0, 0, 1, 1},
  {&__pyx_n_s_parse_comments, __pyx_k_parse_comments, sizeof(__pyx_k_parse_comments), 0, 0, 1, 1},
  {&__pyx_n_u_pass, __pyx_k_pass, sizeof(__pyx_k_pass), 0, 1, 0, 1},
  {&__pyx_n_s_path, __pyx_k_path, sizeof(__pyx_k_path), 0, 0, 1, 1},
  {&__pyx_n_s_path_description, __pyx_k_path_description, sizeof(__pyx_k_path_description), 0, 0, 1, 1},
  {&__pyx_n_s_platform, __pyx_k_platform, sizeof(__pyx_k_platform), 0, 0, 1, 1},
  {&__pyx_n_s_pop, __pyx_k_pop, sizeof(__pyx_k_pop), 0, 0, 1, 1},
  {&__pyx_n_s_pos, __pyx_k_pos, sizeof(__pyx_k_pos), 0, 0, 1, 1},
  {&__pyx_n_u_pow, __pyx_k_pow, sizeof(__pyx_k_pow), 0, 1, 0, 1},
  {&__pyx_n_s_prepare, __pyx_k_prepare, sizeof(__pyx_k_prepare), 0, 0, 1, 1},
  {&__pyx_n_u_print, __pyx_k_print, sizeof(__pyx_k_print), 0, 1, 0, 1},
  {&__pyx_n_s_print_function, __pyx_k_print_function, sizeof(__pyx_k_print_function), 0, 0, 1, 1},
  {&__pyx_kp_u_pxd, __pyx_k_pxd, sizeof(__pyx_k_pxd), 0, 1, 0, 0},
  {&__pyx_n_u_pxd_2, __pyx_k_pxd_2, sizeof(__pyx_k_pxd_2), 0, 1, 0, 1},
  {&__pyx_kp_u_py, __pyx_k_py, sizeof(__pyx_k_py), 0, 1, 0, 0},
  {&__pyx_n_u_py_2, __pyx_k_py_2, sizeof(__pyx_k_py_2), 0, 1, 0, 1},
  {&__pyx_n_s_py_reserved_words, __pyx_k_py_reserved_words, sizeof(__pyx_k_py_reserved_words), 0, 0, 1, 1},
  {&__pyx_kp_u_pyx, __pyx_k_pyx, sizeof(__pyx_k_pyx), 0, 1, 0, 0},
  {&__pyx_n_u_pyx_2, __pyx_k_pyx_2, sizeof(__pyx_k_pyx_2), 0, 1, 0, 1},
  {&__pyx_n_s_pyx_reserved_words, __pyx_k_pyx_reserved_words, sizeof(__pyx_k_pyx_reserved_words), 0, 0, 1, 1},
  {&__pyx_n_s_pyx_vtable, __pyx_k_pyx_vtable, sizeof(__pyx_k_pyx_vtable), 0, 0, 1, 1},
  {&__pyx_n_s_qualname, __pyx_k_qualname, sizeof(__pyx_k_qualname), 0, 0, 1, 1},
  {&__pyx_n_u_raise, __pyx_k_raise, sizeof(__pyx_k_raise), 0, 1, 0, 1},
  {&__pyx_n_u_range, __pyx_k_range, sizeof(__pyx_k_range), 0, 1, 0, 1},
  {&__pyx_n_s_replace, __pyx_k_replace, sizeof(__pyx_k_replace), 0, 0, 1, 1},
  {&__pyx_n_u_replace, __pyx_k_replace, sizeof(__pyx_k_replace), 0, 1, 0, 1},
  {&__pyx_n_u_repr, __pyx_k_repr, sizeof(__pyx_k_repr), 0, 1, 0, 1},
  {&__pyx_n_s_repr_2, __pyx_k_repr_2, sizeof(__pyx_k_repr_2), 0, 0, 1, 1},
  {&__pyx_n_s_require_normalised_newlines, __pyx_k_require_normalised_newlines, sizeof(__pyx_k_require_normalised_newlines), 0, 0, 1, 1},
  {&__pyx_n_u_return, __pyx_k_return, sizeof(__pyx_k_return), 0, 1, 0, 1},
  {&__pyx_n_u_reversed, __pyx_k_reversed, sizeof(__pyx_k_reversed), 0, 1, 0, 1},
  {&__pyx_n_u_round, __pyx_k_round, sizeof(__pyx_k_round), 0, 1, 0, 1},
  {&__pyx_n_s_scanner_debug_flags, __pyx_k_scanner_debug_flags, sizeof(__pyx_k_scanner_debug_flags), 0, 0, 1, 1},
  {&__pyx_n_s_scanner_dump_file, __pyx_k_scanner_dump_file, sizeof(__pyx_k_scanner_dump_file), 0, 0, 1, 1},
  {&__pyx_n_s_scope, __pyx_k_scope, sizeof(__pyx_k_scope), 0, 0, 1, 1},
  {&__pyx_n_s_self, __pyx_k_self, sizeof(__pyx_k_self), 0, 0, 1, 1},
  {&__pyx_n_s_sep, __pyx_k_sep, sizeof(__pyx_k_sep), 0, 0, 1, 1},
  {&__pyx_n_u_set, __pyx_k_set, sizeof(__pyx_k_set), 0, 1, 0, 1},
  {&__pyx_n_s_set_file_type_from_name, __pyx_k_set_file_type_from_name, sizeof(__pyx_k_set_file_type_from_name), 0, 0, 1, 1},
  {&__pyx_n_u_slice, __pyx_k_slice, sizeof(__pyx_k_slice), 0, 1, 0, 1},
  {&__pyx_n_u_sorted, __pyx_k_sorted, sizeof(__pyx_k_sorted), 0, 1, 0, 1},
  {&__pyx_n_s_source_encoding, __pyx_k_source_encoding, sizeof(__pyx_k_source_encoding), 0, 0, 1, 1},
  {&__pyx_n_s_split, __pyx_k_split, sizeof(__pyx_k_split), 0, 0, 1, 1},
  {&__pyx_n_s_splitext, __pyx_k_splitext, sizeof(__pyx_k_splitext), 0, 0, 1, 1},
  {&__pyx_n_s_startswith, __pyx_k_startswith, sizeof(__pyx_k_startswith), 0, 0, 1, 1},
  {&__pyx_n_u_str, __pyx_k_str, sizeof(__pyx_k_str), 0, 1, 0, 1},
  {&__pyx_n_s_str_2, __pyx_k_str_2, sizeof(__pyx_k_str_2), 0, 0, 1, 1},
  {&__pyx_n_s_stream, __pyx_k_stream, sizeof(__pyx_k_stream), 0, 0, 1, 1},
  {&__pyx_n_s_string_states, __pyx_k_string_states, sizeof(__pyx_k_string_states), 0, 0, 1, 1},
  {&__pyx_n_u_stringsource, __pyx_k_stringsource, sizeof(__pyx_k_stringsource), 0, 1, 0, 1},
  {&__pyx_n_u_sum, __pyx_k_sum, sizeof(__pyx_k_sum), 0, 1, 0, 1},
  {&__pyx_n_s_sy, __pyx_k_sy, sizeof(__pyx_k_sy), 0, 0, 1, 1},
  {&__pyx_n_s_systring, __pyx_k_systring, sizeof(__pyx_k_systring), 0, 0, 1, 1},
  {&__pyx_n_s_test, __pyx_k_test, sizeof(__pyx_k_test), 0, 0, 1, 1},
  {&__pyx_n_s_text, __pyx_k_text, sizeof(__pyx_k_text), 0, 0, 1, 1},
  {&__pyx_n_s_token, __pyx_k_token, sizeof(__pyx_k_token), 0, 0, 1, 1},
  {&__pyx_n_s_trace_scanner, __pyx_k_trace_scanner, sizeof(__pyx_k_trace_scanner), 0, 0, 1, 1},
  {&__pyx_n_u_try, __pyx_k_try, sizeof(__pyx_k_try), 0, 1, 0, 1},
  {&__pyx_n_u_tuple, __pyx_k_tuple, sizeof(__pyx_k_tuple), 0, 1, 0, 1},
  {&__pyx_n_s_uname, __pyx_k_uname, sizeof(__pyx_k_uname), 0, 0, 1, 1},
  {&__pyx_n_s_unread, __pyx_k_unread, sizeof(__pyx_k_unread), 0, 0, 1, 1},
  {&__pyx_n_s_update, __pyx_k_update, sizeof(__pyx_k_update), 0, 0, 1, 1},
  {&__pyx_n_s_value, __pyx_k_value, sizeof(__pyx_k_value), 0, 0, 1, 1},
  {&__pyx_n_u_while, __pyx_k_while, sizeof(__pyx_k_while), 0, 1, 0, 1},
  {&__pyx_n_u_with, __pyx_k_with, sizeof(__pyx_k_with), 0, 1, 0, 1},
  {&__pyx_n_u_xrange, __pyx_k_xrange, sizeof(__pyx_k_xrange), 0, 1, 0, 1},
  {&__pyx_n_u_yield, __pyx_k_yield, sizeof(__pyx_k_yield), 0, 1, 0, 1},
  {&__pyx_n_s_zip, __pyx_k_zip, sizeof(__pyx_k_zip), 0, 0, 1, 1},
  {&__pyx_n_u_zip, __pyx_k_zip, sizeof(__pyx_k_zip), 0, 1, 0, 1},
  {0, 0, 0, 0, 0, 0, 0}
};
static int __Pyx_InitCachedBuiltins(void) {
  __pyx_builtin_object = __Pyx_GetBuiltinName(__pyx_n_s_object); if (!__pyx_builtin_object) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_builtin_KeyError = __Pyx_GetBuiltinName(__pyx_n_s_KeyError); if (!__pyx_builtin_KeyError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 82; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_builtin_zip = __Pyx_GetBuiltinName(__pyx_n_s_zip); if (!__pyx_builtin_zip) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_builtin_ImportError = __Pyx_GetBuiltinName(__pyx_n_s_ImportError); if (!__pyx_builtin_ImportError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 97; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_builtin_AttributeError = __Pyx_GetBuiltinName(__pyx_n_s_AttributeError); if (!__pyx_builtin_AttributeError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_builtin_id = __Pyx_GetBuiltinName(__pyx_n_s_id); if (!__pyx_builtin_id) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 261; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  return 0;
  __pyx_L1_error:;
  return -1;
}

static int __Pyx_InitCachedConstants(void) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0);

  /* "Cython/Compiler/Scanning.py":91
 * def initial_compile_time_env():
 *     benv = CompileTimeScope()
 *     names = ('UNAME_SYSNAME', 'UNAME_NODENAME', 'UNAME_RELEASE',             # <<<<<<<<<<<<<<
 *         'UNAME_VERSION', 'UNAME_MACHINE')
 *     for name, value in zip(names, platform.uname()):
 */
  __pyx_tuple_ = PyTuple_Pack(5, __pyx_n_u_UNAME_SYSNAME, __pyx_n_u_UNAME_NODENAME, __pyx_n_u_UNAME_RELEASE, __pyx_n_u_UNAME_VERSION, __pyx_n_u_UNAME_MACHINE); if (unlikely(!__pyx_tuple_)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 91; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple_);
  __Pyx_GIVEREF(__pyx_tuple_);

  /* "Cython/Compiler/Scanning.py":100
 *         import builtins
 * 
 *     names = ('False', 'True',             # <<<<<<<<<<<<<<
 *              'abs', 'all', 'any', 'ascii', 'bin', 'bool', 'bytearray', 'bytes',
 *              'chr', 'cmp', 'complex', 'dict', 'divmod', 'enumerate', 'filter',
 */
  __pyx_tuple__2 = PyTuple_Pack(44, __pyx_n_u_False, __pyx_n_u_True, __pyx_n_u_abs, __pyx_n_u_all, __pyx_n_u_any, __pyx_n_u_ascii, __pyx_n_u_bin, __pyx_n_u_bool, __pyx_n_u_bytearray, __pyx_n_u_bytes, __pyx_n_u_chr, __pyx_n_u_cmp, __pyx_n_u_complex, __pyx_n_u_dict, __pyx_n_u_divmod, __pyx_n_u_enumerate, __pyx_n_u_filter, __pyx_n_u_float, __pyx_n_u_format, __pyx_n_u_frozenset, __pyx_n_u_hash, __pyx_n_u_hex, __pyx_n_u_int, __pyx_n_u_len, __pyx_n_u_list, __pyx_n_u_long, __pyx_n_u_map, __pyx_n_u_max, __pyx_n_u_min, __pyx_n_u_oct, __pyx_n_u_ord, __pyx_n_u_pow, __pyx_n_u_range, __pyx_n_u_repr, __pyx_n_u_reversed, __pyx_n_u_round, __pyx_n_u_set, __pyx_n_u_slice, __pyx_n_u_sorted, __pyx_n_u_str, __pyx_n_u_sum, __pyx_n_u_tuple, __pyx_n_u_xrange, __pyx_n_u_zip); if (unlikely(!__pyx_tuple__2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 100; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__2);
  __Pyx_GIVEREF(__pyx_tuple__2);

  /* "Cython/Compiler/Scanning.py":132
 *     def set_file_type_from_name(self, filename):
 *         name, ext = os.path.splitext(filename)
 *         self._file_type = ext in ('.pyx', '.pxd', '.py') and ext[1:] or 'pyx'             # <<<<<<<<<<<<<<
 * 
 *     def is_cython_file(self):
 */
  __pyx_slice__3 = PySlice_New(__pyx_int_1, Py_None, Py_None); if (unlikely(!__pyx_slice__3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 132; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_slice__3);
  __Pyx_GIVEREF(__pyx_slice__3);

  /* "Cython/Compiler/Scanning.py":143
 *         if self._escaped_description is None:
 *             self._escaped_description = \
 *                 self.get_description().encode('ASCII', 'replace').decode("ASCII")             # <<<<<<<<<<<<<<
 *         return self._escaped_description
 * 
 */
  __pyx_tuple__4 = PyTuple_Pack(2, __pyx_n_u_ASCII, __pyx_n_u_replace); if (unlikely(!__pyx_tuple__4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__4);
  __Pyx_GIVEREF(__pyx_tuple__4);
  __pyx_tuple__5 = PyTuple_Pack(1, __pyx_n_u_ASCII); if (unlikely(!__pyx_tuple__5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 143; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__5);
  __Pyx_GIVEREF(__pyx_tuple__5);

  /* "Cython/Compiler/Scanning.py":242
 *         self.name = name
 *         #self.set_file_type_from_name(name)
 *         self.codelines = [x + "\n" for x in code.split("\n")]             # <<<<<<<<<<<<<<
 *         self._cmp_name = name
 * 
 */
  __pyx_tuple__7 = PyTuple_Pack(1, __pyx_kp_u__6); if (unlikely(!__pyx_tuple__7)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__7);
  __Pyx_GIVEREF(__pyx_tuple__7);

  /* "Cython/Compiler/Scanning.py":343
 * 
 *     def begin_string_action(self, text):
 *         while text[:1] in any_string_prefix:             # <<<<<<<<<<<<<<
 *             text = text[1:]
 *         self.begin(self.string_states[text])
 */
  __pyx_slice__9 = PySlice_New(Py_None, __pyx_int_1, Py_None); if (unlikely(!__pyx_slice__9)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 343; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_slice__9);
  __Pyx_GIVEREF(__pyx_slice__9);

  /* "Cython/Compiler/Scanning.py":344
 *     def begin_string_action(self, text):
 *         while text[:1] in any_string_prefix:
 *             text = text[1:]             # <<<<<<<<<<<<<<
 *         self.begin(self.string_states[text])
 *         self.produce('BEGIN_STRING')
 */
  __pyx_slice__10 = PySlice_New(__pyx_int_1, Py_None, Py_None); if (unlikely(!__pyx_slice__10)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 344; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_slice__10);
  __Pyx_GIVEREF(__pyx_slice__10);

  /* "Cython/Compiler/Scanning.py":354
 *     def unclosed_string_action(self, text):
 *         self.end_string_action(text)
 *         self.error("Unclosed string literal")             # <<<<<<<<<<<<<<
 * 
 *     def indentation_action(self, text):
 */
  __pyx_tuple__11 = PyTuple_Pack(1, __pyx_kp_u_Unclosed_string_literal); if (unlikely(!__pyx_tuple__11)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 354; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__11);
  __Pyx_GIVEREF(__pyx_tuple__11);

  /* "Cython/Compiler/Scanning.py":370
 *             else:
 *                 if self.indentation_char != c:
 *                     self.error("Mixed use of tabs and spaces")             # <<<<<<<<<<<<<<
 *             if text.replace(c, "") != "":
 *                 self.error("Mixed use of tabs and spaces")
 */
  __pyx_tuple__12 = PyTuple_Pack(1, __pyx_kp_u_Mixed_use_of_tabs_and_spaces); if (unlikely(!__pyx_tuple__12)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 370; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__12);
  __Pyx_GIVEREF(__pyx_tuple__12);

  /* "Cython/Compiler/Scanning.py":372
 *                     self.error("Mixed use of tabs and spaces")
 *             if text.replace(c, "") != "":
 *                 self.error("Mixed use of tabs and spaces")             # <<<<<<<<<<<<<<
 *         # Figure out how many indents/dedents to do
 *         current_level = self.current_level()
 */
  __pyx_tuple__13 = PyTuple_Pack(1, __pyx_kp_u_Mixed_use_of_tabs_and_spaces); if (unlikely(!__pyx_tuple__13)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 372; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__13);
  __Pyx_GIVEREF(__pyx_tuple__13);

  /* "Cython/Compiler/Scanning.py":390
 *             #print "...current level now", self.current_level() ###
 *             if new_level != self.current_level():
 *                 self.error("Inconsistent indentation")             # <<<<<<<<<<<<<<
 * 
 *     def eof_action(self, text):
 */
  __pyx_tuple__14 = PyTuple_Pack(1, __pyx_kp_u_Inconsistent_indentation); if (unlikely(!__pyx_tuple__14)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 390; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__14);
  __Pyx_GIVEREF(__pyx_tuple__14);

  /* "Cython/Compiler/Scanning.py":402
 *             sy, systring = self.read()
 *         except UnrecognizedInput:
 *             self.error("Unrecognized character")             # <<<<<<<<<<<<<<
 *         if sy == IDENT:
 *             if systring in self.keywords:
 */
  __pyx_tuple__15 = PyTuple_Pack(1, __pyx_kp_u_Unrecognized_character); if (unlikely(!__pyx_tuple__15)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 402; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__15);
  __Pyx_GIVEREF(__pyx_tuple__15);

  /* "Cython/Compiler/Scanning.py":406
 *             if systring in self.keywords:
 *                 if systring == u'print' and print_function in self.context.future_directives:
 *                     self.keywords.discard('print')             # <<<<<<<<<<<<<<
 *                     systring = EncodedString(systring)
 *                 elif systring == u'exec' and self.context.language_level >= 3:
 */
  __pyx_tuple__16 = PyTuple_Pack(1, __pyx_n_u_print); if (unlikely(!__pyx_tuple__16)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 406; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__16);
  __Pyx_GIVEREF(__pyx_tuple__16);

  /* "Cython/Compiler/Scanning.py":409
 *                     systring = EncodedString(systring)
 *                 elif systring == u'exec' and self.context.language_level >= 3:
 *                     self.keywords.discard('exec')             # <<<<<<<<<<<<<<
 *                     systring = EncodedString(systring)
 *                 else:
 */
  __pyx_tuple__17 = PyTuple_Pack(1, __pyx_n_u_exec); if (unlikely(!__pyx_tuple__17)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 409; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__17);
  __Pyx_GIVEREF(__pyx_tuple__17);

  /* "Cython/Compiler/Scanning.py":29
 * lexicon = None
 * 
 * def get_lexicon():             # <<<<<<<<<<<<<<
 *     global lexicon
 *     if not lexicon:
 */
  __pyx_codeobj__18 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_get_lexicon, 29, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__18)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":89
 *                 raise
 * 
 * def initial_compile_time_env():             # <<<<<<<<<<<<<<
 *     benv = CompileTimeScope()
 *     names = ('UNAME_SYSNAME', 'UNAME_NODENAME', 'UNAME_RELEASE',
 */
  __pyx_tuple__19 = PyTuple_Pack(6, __pyx_n_s_benv, __pyx_n_s_names, __pyx_n_s_name, __pyx_n_s_value, __pyx_n_s_builtins, __pyx_n_s_denv); if (unlikely(!__pyx_tuple__19)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__19);
  __Pyx_GIVEREF(__pyx_tuple__19);
  __pyx_codeobj__20 = (PyObject*)__Pyx_PyCode_New(0, 0, 6, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__19, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_initial_compile_time_env, 89, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__20)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":127
 *     _escaped_description = None
 *     _cmp_name = ''
 *     def __str__(self):             # <<<<<<<<<<<<<<
 *         assert False # To catch all places where a descriptor is used directly as a filename
 * 
 */
  __pyx_tuple__21 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__21)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__21);
  __Pyx_GIVEREF(__pyx_tuple__21);
  __pyx_codeobj__22 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__21, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_str_2, 127, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__22)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":130
 *         assert False # To catch all places where a descriptor is used directly as a filename
 * 
 *     def set_file_type_from_name(self, filename):             # <<<<<<<<<<<<<<
 *         name, ext = os.path.splitext(filename)
 *         self._file_type = ext in ('.pyx', '.pxd', '.py') and ext[1:] or 'pyx'
 */
  __pyx_tuple__23 = PyTuple_Pack(4, __pyx_n_s_self, __pyx_n_s_filename, __pyx_n_s_name, __pyx_n_s_ext); if (unlikely(!__pyx_tuple__23)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__23);
  __Pyx_GIVEREF(__pyx_tuple__23);
  __pyx_codeobj__24 = (PyObject*)__Pyx_PyCode_New(2, 0, 4, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__23, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_set_file_type_from_name, 130, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__24)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":134
 *         self._file_type = ext in ('.pyx', '.pxd', '.py') and ext[1:] or 'pyx'
 * 
 *     def is_cython_file(self):             # <<<<<<<<<<<<<<
 *         return self._file_type in ('pyx', 'pxd')
 * 
 */
  __pyx_tuple__25 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__25)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__25);
  __Pyx_GIVEREF(__pyx_tuple__25);
  __pyx_codeobj__26 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__25, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_is_cython_file, 134, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__26)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":137
 *         return self._file_type in ('pyx', 'pxd')
 * 
 *     def is_python_file(self):             # <<<<<<<<<<<<<<
 *         return self._file_type == 'py'
 * 
 */
  __pyx_tuple__27 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__27)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__27);
  __Pyx_GIVEREF(__pyx_tuple__27);
  __pyx_codeobj__28 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__27, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_is_python_file, 137, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__28)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":140
 *         return self._file_type == 'py'
 * 
 *     def get_escaped_description(self):             # <<<<<<<<<<<<<<
 *         if self._escaped_description is None:
 *             self._escaped_description = \
 */
  __pyx_tuple__29 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__29)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__29);
  __Pyx_GIVEREF(__pyx_tuple__29);
  __pyx_codeobj__30 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__29, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_get_escaped_description, 140, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__30)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":146
 *         return self._escaped_description
 * 
 *     def __gt__(self, other):             # <<<<<<<<<<<<<<
 *         # this is only used to provide some sort of order
 *         try:
 */
  __pyx_tuple__31 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_other); if (unlikely(!__pyx_tuple__31)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__31);
  __Pyx_GIVEREF(__pyx_tuple__31);
  __pyx_codeobj__32 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__31, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_gt, 146, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__32)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":153
 *             return False
 * 
 *     def __lt__(self, other):             # <<<<<<<<<<<<<<
 *         # this is only used to provide some sort of order
 *         try:
 */
  __pyx_tuple__33 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_other); if (unlikely(!__pyx_tuple__33)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__33);
  __Pyx_GIVEREF(__pyx_tuple__33);
  __pyx_codeobj__34 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__33, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_lt, 153, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__34)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":160
 *             return False
 * 
 *     def __le__(self, other):             # <<<<<<<<<<<<<<
 *         # this is only used to provide some sort of order
 *         try:
 */
  __pyx_tuple__35 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_other); if (unlikely(!__pyx_tuple__35)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__35);
  __Pyx_GIVEREF(__pyx_tuple__35);
  __pyx_codeobj__36 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__35, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_le, 160, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__36)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":175
 *     the position()-tuple.
 *     """
 *     def __init__(self, filename, path_description=None):             # <<<<<<<<<<<<<<
 *         filename = Utils.decode_filename(filename)
 *         self.path_description = path_description or filename
 */
  __pyx_tuple__37 = PyTuple_Pack(3, __pyx_n_s_self, __pyx_n_s_filename, __pyx_n_s_path_description); if (unlikely(!__pyx_tuple__37)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__37);
  __Pyx_GIVEREF(__pyx_tuple__37);
  __pyx_codeobj__38 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__37, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_init, 175, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__38)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_tuple__39 = PyTuple_Pack(1, ((PyObject *)Py_None)); if (unlikely(!__pyx_tuple__39)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__39);
  __Pyx_GIVEREF(__pyx_tuple__39);

  /* "Cython/Compiler/Scanning.py":183
 *         self._lines = {}
 * 
 *     def get_lines(self, encoding=None, error_handling=None):             # <<<<<<<<<<<<<<
 *         # we cache the lines only the second time this is called, in
 *         # order to save memory when they are only used once
 */
  __pyx_tuple__40 = PyTuple_Pack(6, __pyx_n_s_self, __pyx_n_s_encoding, __pyx_n_s_error_handling, __pyx_n_s_key, __pyx_n_s_lines_2, __pyx_n_s_f); if (unlikely(!__pyx_tuple__40)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__40);
  __Pyx_GIVEREF(__pyx_tuple__40);
  __pyx_codeobj__41 = (PyObject*)__Pyx_PyCode_New(3, 0, 6, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__40, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_get_lines, 183, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__41)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_tuple__42 = PyTuple_Pack(2, ((PyObject *)Py_None), ((PyObject *)Py_None)); if (unlikely(!__pyx_tuple__42)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__42);
  __Pyx_GIVEREF(__pyx_tuple__42);

  /* "Cython/Compiler/Scanning.py":210
 *         return lines
 * 
 *     def get_description(self):             # <<<<<<<<<<<<<<
 *         return self.path_description
 * 
 */
  __pyx_tuple__43 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__43)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__43);
  __Pyx_GIVEREF(__pyx_tuple__43);
  __pyx_codeobj__44 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__43, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_get_description, 210, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__44)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":213
 *         return self.path_description
 * 
 *     def get_error_description(self):             # <<<<<<<<<<<<<<
 *         path = self.filename
 *         cwd = Utils.decode_filename(os.getcwd() + os.path.sep)
 */
  __pyx_tuple__45 = PyTuple_Pack(3, __pyx_n_s_self, __pyx_n_s_path, __pyx_n_s_cwd); if (unlikely(!__pyx_tuple__45)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__45);
  __Pyx_GIVEREF(__pyx_tuple__45);
  __pyx_codeobj__46 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__45, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_get_error_description, 213, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__46)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":220
 *         return path
 * 
 *     def get_filenametable_entry(self):             # <<<<<<<<<<<<<<
 *         return self.filename
 * 
 */
  __pyx_tuple__47 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__47)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__47);
  __Pyx_GIVEREF(__pyx_tuple__47);
  __pyx_codeobj__48 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__47, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_get_filenametable_entry, 220, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__48)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":223
 *         return self.filename
 * 
 *     def __eq__(self, other):             # <<<<<<<<<<<<<<
 *         return isinstance(other, FileSourceDescriptor) and self.filename == other.filename
 * 
 */
  __pyx_tuple__49 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_other); if (unlikely(!__pyx_tuple__49)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__49);
  __Pyx_GIVEREF(__pyx_tuple__49);
  __pyx_codeobj__50 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__49, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_eq, 223, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__50)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":226
 *         return isinstance(other, FileSourceDescriptor) and self.filename == other.filename
 * 
 *     def __hash__(self):             # <<<<<<<<<<<<<<
 *         return hash(self.filename)
 * 
 */
  __pyx_tuple__51 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__51)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__51);
  __Pyx_GIVEREF(__pyx_tuple__51);
  __pyx_codeobj__52 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__51, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_hash_2, 226, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__52)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":229
 *         return hash(self.filename)
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return "<FileSourceDescriptor:%s>" % self.filename
 * 
 */
  __pyx_tuple__53 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__53)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__53);
  __Pyx_GIVEREF(__pyx_tuple__53);
  __pyx_codeobj__54 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__53, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_repr_2, 229, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__54)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":239
 *     filename = None
 * 
 *     def __init__(self, name, code):             # <<<<<<<<<<<<<<
 *         self.name = name
 *         #self.set_file_type_from_name(name)
 */
  __pyx_tuple__55 = PyTuple_Pack(3, __pyx_n_s_self, __pyx_n_s_name, __pyx_n_s_code); if (unlikely(!__pyx_tuple__55)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__55);
  __Pyx_GIVEREF(__pyx_tuple__55);
  __pyx_codeobj__56 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__55, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_init, 239, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__56)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":245
 *         self._cmp_name = name
 * 
 *     def get_lines(self, encoding=None, error_handling=None):             # <<<<<<<<<<<<<<
 *         if not encoding:
 *             return self.codelines
 */
  __pyx_tuple__57 = PyTuple_Pack(3, __pyx_n_s_self, __pyx_n_s_encoding, __pyx_n_s_error_handling); if (unlikely(!__pyx_tuple__57)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__57);
  __Pyx_GIVEREF(__pyx_tuple__57);
  __pyx_codeobj__58 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__57, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_get_lines, 245, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__58)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_tuple__59 = PyTuple_Pack(2, ((PyObject *)Py_None), ((PyObject *)Py_None)); if (unlikely(!__pyx_tuple__59)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__59);
  __Pyx_GIVEREF(__pyx_tuple__59);

  /* "Cython/Compiler/Scanning.py":252
 *                      for line in self.codelines ]
 * 
 *     def get_description(self):             # <<<<<<<<<<<<<<
 *         return self.name
 * 
 */
  __pyx_tuple__60 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__60)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__60);
  __Pyx_GIVEREF(__pyx_tuple__60);
  __pyx_codeobj__61 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__60, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_get_description, 252, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__61)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":257
 *     get_error_description = get_description
 * 
 *     def get_filenametable_entry(self):             # <<<<<<<<<<<<<<
 *         return "stringsource"
 * 
 */
  __pyx_tuple__62 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__62)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__62);
  __Pyx_GIVEREF(__pyx_tuple__62);
  __pyx_codeobj__63 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__62, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_get_filenametable_entry, 257, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__63)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":260
 *         return "stringsource"
 * 
 *     def __hash__(self):             # <<<<<<<<<<<<<<
 *         return id(self)
 *         # Do not hash on the name, an identical string source should be the
 */
  __pyx_tuple__64 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__64)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__64);
  __Pyx_GIVEREF(__pyx_tuple__64);
  __pyx_codeobj__65 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__64, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_hash_2, 260, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__65)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":266
 *         # return hash(self.name)
 * 
 *     def __eq__(self, other):             # <<<<<<<<<<<<<<
 *         return isinstance(other, StringSourceDescriptor) and self.name == other.name
 * 
 */
  __pyx_tuple__66 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_other); if (unlikely(!__pyx_tuple__66)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__66);
  __Pyx_GIVEREF(__pyx_tuple__66);
  __pyx_codeobj__67 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__66, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_eq, 266, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__67)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":269
 *         return isinstance(other, StringSourceDescriptor) and self.name == other.name
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return "<StringSourceDescriptor:%s>" % self.name
 * 
 */
  __pyx_tuple__68 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__68)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_tuple__68);
  __Pyx_GIVEREF(__pyx_tuple__68);
  __pyx_codeobj__69 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 0, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__68, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Users_robertwb_sage_cython_cyth, __pyx_n_s_repr_2, 269, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__69)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_RefNannyFinishContext();
  return 0;
  __pyx_L1_error:;
  __Pyx_RefNannyFinishContext();
  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;};
  __pyx_int_0 = PyInt_FromLong(0); if (unlikely(!__pyx_int_0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_int_1 = PyInt_FromLong(1); if (unlikely(!__pyx_int_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_int_3 = PyInt_FromLong(3); if (unlikely(!__pyx_int_3)) {__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 initScanning(void); /*proto*/
PyMODINIT_FUNC initScanning(void)
#else
PyMODINIT_FUNC PyInit_Scanning(void); /*proto*/
PyMODINIT_FUNC PyInit_Scanning(void)
#endif
{
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannyDeclarations
  #if CYTHON_REFNANNY
  __Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny");
  if (!__Pyx_RefNanny) {
      PyErr_Clear();
      __Pyx_RefNanny = __Pyx_RefNannyImportAPI("Cython.Runtime.refnanny");
      if (!__Pyx_RefNanny)
          Py_FatalError("failed to import 'refnanny' module");
  }
  #endif
  __Pyx_RefNannySetupContext("PyMODINIT_FUNC PyInit_Scanning(void)", 0);
  if ( __Pyx_check_binary_version() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __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;}
  __pyx_empty_bytes = PyBytes_FromStringAndSize("", 0); if (unlikely(!__pyx_empty_bytes)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #ifdef __Pyx_CyFunction_USED
  if (__Pyx_CyFunction_init() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #endif
  #ifdef __Pyx_FusedFunction_USED
  if (__pyx_FusedFunction_init() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #endif
  #ifdef __Pyx_Generator_USED
  if (__pyx_Generator_init() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #endif
  /*--- Library function declarations ---*/
  /*--- Threads initialization code ---*/
  #if defined(__PYX_FORCE_INIT_THREADS) && __PYX_FORCE_INIT_THREADS
  #ifdef WITH_THREAD /* Python build with threading support? */
  PyEval_InitThreads();
  #endif
  #endif
  /*--- Module creation code ---*/
  #if PY_MAJOR_VERSION < 3
  __pyx_m = Py_InitModule4(__Pyx_NAMESTR("Scanning"), __pyx_methods, 0, 0, PYTHON_API_VERSION); Py_XINCREF(__pyx_m);
  #else
  __pyx_m = PyModule_Create(&__pyx_moduledef);
  #endif
  if (unlikely(!__pyx_m)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  Py_INCREF(__pyx_d);
  __pyx_b = PyImport_AddModule(__Pyx_NAMESTR(__Pyx_BUILTIN_MODULE_NAME)); if (unlikely(!__pyx_b)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #if CYTHON_COMPILING_IN_PYPY
  Py_INCREF(__pyx_b);
  #endif
  if (__Pyx_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  /*--- 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;}
  #if PY_MAJOR_VERSION < 3 && (__PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT)
  if (__Pyx_init_sys_getdefaultencoding_params() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  #endif
  if (__pyx_module_is_main_Cython__Compiler__Scanning) {
    if (__Pyx_SetAttrString(__pyx_m, "__name__", __pyx_n_s_main) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;};
  }
  #if PY_MAJOR_VERSION >= 3
  {
    PyObject *modules = PyImport_GetModuleDict(); if (unlikely(!modules)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    if (!PyDict_GetItemString(modules, "Cython.Compiler.Scanning")) {
      if (unlikely(PyDict_SetItemString(modules, "Cython.Compiler.Scanning", __pyx_m) < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
    }
  }
  #endif
  /*--- Builtin init code ---*/
  if (unlikely(__Pyx_InitCachedBuiltins() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  /*--- Constants init code ---*/
  if (unlikely(__Pyx_InitCachedConstants() < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  /*--- Global init code ---*/
  __pyx_v_6Cython_8Compiler_8Scanning_EncodedString = Py_None; Py_INCREF(Py_None);
  __pyx_v_6Cython_8Compiler_8Scanning_any_string_prefix = ((PyObject*)Py_None); Py_INCREF(Py_None);
  __pyx_v_6Cython_8Compiler_8Scanning_IDENT = ((PyObject*)Py_None); Py_INCREF(Py_None);
  __pyx_v_6Cython_8Compiler_8Scanning_print_function = Py_None; Py_INCREF(Py_None);
  /*--- Variable export code ---*/
  /*--- Function export code ---*/
  /*--- Type init code ---*/
  if (PyType_Ready(&__pyx_type_6Cython_8Compiler_8Scanning_Method) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_type_6Cython_8Compiler_8Scanning_Method.tp_print = 0;
  if (__Pyx_SetAttrString(__pyx_m, "Method", (PyObject *)&__pyx_type_6Cython_8Compiler_8Scanning_Method) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 50; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_6Cython_8Compiler_8Scanning_Method = &__pyx_type_6Cython_8Compiler_8Scanning_Method;
  __pyx_vtabptr_6Cython_8Compiler_8Scanning_CompileTimeScope = &__pyx_vtable_6Cython_8Compiler_8Scanning_CompileTimeScope;
  __pyx_vtable_6Cython_8Compiler_8Scanning_CompileTimeScope.declare = (PyObject *(*)(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *, PyObject *, PyObject *))__pyx_f_6Cython_8Compiler_8Scanning_16CompileTimeScope_declare;
  __pyx_vtable_6Cython_8Compiler_8Scanning_CompileTimeScope.lookup_here = (PyObject *(*)(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *, PyObject *))__pyx_f_6Cython_8Compiler_8Scanning_16CompileTimeScope_lookup_here;
  __pyx_vtable_6Cython_8Compiler_8Scanning_CompileTimeScope.lookup = (PyObject *(*)(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *, PyObject *, int __pyx_skip_dispatch))__pyx_f_6Cython_8Compiler_8Scanning_16CompileTimeScope_lookup;
  if (PyType_Ready(&__pyx_type_6Cython_8Compiler_8Scanning_CompileTimeScope) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_type_6Cython_8Compiler_8Scanning_CompileTimeScope.tp_print = 0;
  if (__Pyx_SetVtable(__pyx_type_6Cython_8Compiler_8Scanning_CompileTimeScope.tp_dict, __pyx_vtabptr_6Cython_8Compiler_8Scanning_CompileTimeScope) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__Pyx_SetAttrString(__pyx_m, "CompileTimeScope", (PyObject *)&__pyx_type_6Cython_8Compiler_8Scanning_CompileTimeScope) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 61; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope = &__pyx_type_6Cython_8Compiler_8Scanning_CompileTimeScope;
  __pyx_ptype_6Cython_4Plex_8Scanners_Scanner = __Pyx_ImportType("Cython.Plex.Scanners", "Scanner", sizeof(struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner), 1); if (unlikely(!__pyx_ptype_6Cython_4Plex_8Scanners_Scanner)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_6Cython_4Plex_8Scanners_Scanner = (struct __pyx_vtabstruct_6Cython_4Plex_8Scanners_Scanner*)__Pyx_GetVtable(__pyx_ptype_6Cython_4Plex_8Scanners_Scanner->tp_dict); if (unlikely(!__pyx_vtabptr_6Cython_4Plex_8Scanners_Scanner)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_6Cython_8Compiler_8Scanning_PyrexScanner = &__pyx_vtable_6Cython_8Compiler_8Scanning_PyrexScanner;
  __pyx_vtable_6Cython_8Compiler_8Scanning_PyrexScanner.__pyx_base = *__pyx_vtabptr_6Cython_4Plex_8Scanners_Scanner;
  __pyx_vtable_6Cython_8Compiler_8Scanning_PyrexScanner.current_level = (long (*)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *))__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_current_level;
  __pyx_vtable_6Cython_8Compiler_8Scanning_PyrexScanner.indentation_action = (PyObject *(*)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *, PyObject *, int __pyx_skip_dispatch))__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_indentation_action;
  __pyx_vtable_6Cython_8Compiler_8Scanning_PyrexScanner.next = (PyObject *(*)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *))__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_next;
  __pyx_vtable_6Cython_8Compiler_8Scanning_PyrexScanner.peek = (PyObject *(*)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *))__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_peek;
  __pyx_vtable_6Cython_8Compiler_8Scanning_PyrexScanner.expect = (int (*)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *, PyObject *, struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expect *__pyx_optional_args))__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_expect;
  __pyx_vtable_6Cython_8Compiler_8Scanning_PyrexScanner.expect_keyword = (PyObject *(*)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *, PyObject *, struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expect_keyword *__pyx_optional_args))__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_expect_keyword;
  __pyx_vtable_6Cython_8Compiler_8Scanning_PyrexScanner.expected = (PyObject *(*)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *, PyObject *, struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expected *__pyx_optional_args))__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_expected;
  __pyx_vtable_6Cython_8Compiler_8Scanning_PyrexScanner.expect_indent = (PyObject *(*)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *))__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_expect_indent;
  __pyx_vtable_6Cython_8Compiler_8Scanning_PyrexScanner.expect_dedent = (PyObject *(*)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *))__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_expect_dedent;
  __pyx_vtable_6Cython_8Compiler_8Scanning_PyrexScanner.expect_newline = (PyObject *(*)(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *, struct __pyx_opt_args_6Cython_8Compiler_8Scanning_12PyrexScanner_expect_newline *__pyx_optional_args))__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_expect_newline;
  __pyx_type_6Cython_8Compiler_8Scanning_PyrexScanner.tp_base = __pyx_ptype_6Cython_4Plex_8Scanners_Scanner;
  if (PyType_Ready(&__pyx_type_6Cython_8Compiler_8Scanning_PyrexScanner) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_type_6Cython_8Compiler_8Scanning_PyrexScanner.tp_print = 0;
  if (__Pyx_SetVtable(__pyx_type_6Cython_8Compiler_8Scanning_PyrexScanner.tp_dict, __pyx_vtabptr_6Cython_8Compiler_8Scanning_PyrexScanner) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (__Pyx_SetAttrString(__pyx_m, "PyrexScanner", (PyObject *)&__pyx_type_6Cython_8Compiler_8Scanning_PyrexScanner) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 274; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner = &__pyx_type_6Cython_8Compiler_8Scanning_PyrexScanner;
  /*--- Type import code ---*/
  __pyx_ptype_6Cython_4Plex_7Actions_Action = __Pyx_ImportType("Cython.Plex.Actions", "Action", sizeof(struct __pyx_obj_6Cython_4Plex_7Actions_Action), 1); if (unlikely(!__pyx_ptype_6Cython_4Plex_7Actions_Action)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 2; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_6Cython_4Plex_7Actions_Action = (struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Action*)__Pyx_GetVtable(__pyx_ptype_6Cython_4Plex_7Actions_Action->tp_dict); if (unlikely(!__pyx_vtabptr_6Cython_4Plex_7Actions_Action)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 2; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_6Cython_4Plex_7Actions_Return = __Pyx_ImportType("Cython.Plex.Actions", "Return", sizeof(struct __pyx_obj_6Cython_4Plex_7Actions_Return), 1); if (unlikely(!__pyx_ptype_6Cython_4Plex_7Actions_Return)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 6; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_6Cython_4Plex_7Actions_Return = (struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Return*)__Pyx_GetVtable(__pyx_ptype_6Cython_4Plex_7Actions_Return->tp_dict); if (unlikely(!__pyx_vtabptr_6Cython_4Plex_7Actions_Return)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 6; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_6Cython_4Plex_7Actions_Call = __Pyx_ImportType("Cython.Plex.Actions", "Call", sizeof(struct __pyx_obj_6Cython_4Plex_7Actions_Call), 1); if (unlikely(!__pyx_ptype_6Cython_4Plex_7Actions_Call)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 11; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_6Cython_4Plex_7Actions_Call = (struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Call*)__Pyx_GetVtable(__pyx_ptype_6Cython_4Plex_7Actions_Call->tp_dict); if (unlikely(!__pyx_vtabptr_6Cython_4Plex_7Actions_Call)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 11; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_6Cython_4Plex_7Actions_Begin = __Pyx_ImportType("Cython.Plex.Actions", "Begin", sizeof(struct __pyx_obj_6Cython_4Plex_7Actions_Begin), 1); if (unlikely(!__pyx_ptype_6Cython_4Plex_7Actions_Begin)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 16; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_6Cython_4Plex_7Actions_Begin = (struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Begin*)__Pyx_GetVtable(__pyx_ptype_6Cython_4Plex_7Actions_Begin->tp_dict); if (unlikely(!__pyx_vtabptr_6Cython_4Plex_7Actions_Begin)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 16; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_6Cython_4Plex_7Actions_Ignore = __Pyx_ImportType("Cython.Plex.Actions", "Ignore", sizeof(struct __pyx_obj_6Cython_4Plex_7Actions_Ignore), 1); if (unlikely(!__pyx_ptype_6Cython_4Plex_7Actions_Ignore)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_6Cython_4Plex_7Actions_Ignore = (struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Ignore*)__Pyx_GetVtable(__pyx_ptype_6Cython_4Plex_7Actions_Ignore->tp_dict); if (unlikely(!__pyx_vtabptr_6Cython_4Plex_7Actions_Ignore)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 21; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_ptype_6Cython_4Plex_7Actions_Text = __Pyx_ImportType("Cython.Plex.Actions", "Text", sizeof(struct __pyx_obj_6Cython_4Plex_7Actions_Text), 1); if (unlikely(!__pyx_ptype_6Cython_4Plex_7Actions_Text)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __pyx_vtabptr_6Cython_4Plex_7Actions_Text = (struct __pyx_vtabstruct_6Cython_4Plex_7Actions_Text*)__Pyx_GetVtable(__pyx_ptype_6Cython_4Plex_7Actions_Text->tp_dict); if (unlikely(!__pyx_vtabptr_6Cython_4Plex_7Actions_Text)) {__pyx_filename = __pyx_f[2]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  /*--- Variable import code ---*/
  /*--- Function import code ---*/
  /*--- Execution code ---*/

  /* "Cython/Compiler/Scanning.py":6
 * #
 * 
 * import os             # <<<<<<<<<<<<<<
 * import platform
 * 
 */
  __pyx_t_1 = __Pyx_Import(__pyx_n_s_os, 0, -1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 6; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_os, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 6; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":7
 * 
 * import os
 * import platform             # <<<<<<<<<<<<<<
 * 
 * import cython
 */
  __pyx_t_1 = __Pyx_Import(__pyx_n_s_platform, 0, -1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 7; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_platform, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 7; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":13
 *                print_function=object)
 * 
 * from Cython import Utils             # <<<<<<<<<<<<<<
 * from Cython.Plex.Scanners import Scanner
 * from Cython.Plex.Errors import UnrecognizedInput
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 13; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_s_Utils);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_s_Utils);
  __Pyx_GIVEREF(__pyx_n_s_Utils);
  __pyx_t_2 = __Pyx_Import(__pyx_n_s_Cython, __pyx_t_1, -1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 13; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_Utils); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 13; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_Utils, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 13; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "Cython/Compiler/Scanning.py":14
 * 
 * from Cython import Utils
 * from Cython.Plex.Scanners import Scanner             # <<<<<<<<<<<<<<
 * from Cython.Plex.Errors import UnrecognizedInput
 * from Errors import error
 */
  __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 14; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_n_s_Scanner);
  PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_Scanner);
  __Pyx_GIVEREF(__pyx_n_s_Scanner);
  __pyx_t_1 = __Pyx_Import(__pyx_n_s_Cython_Plex_Scanners, __pyx_t_2, -1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 14; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":15
 * from Cython import Utils
 * from Cython.Plex.Scanners import Scanner
 * from Cython.Plex.Errors import UnrecognizedInput             # <<<<<<<<<<<<<<
 * from Errors import error
 * from Lexicon import any_string_prefix, make_lexicon, IDENT
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 15; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_s_UnrecognizedInput);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_s_UnrecognizedInput);
  __Pyx_GIVEREF(__pyx_n_s_UnrecognizedInput);
  __pyx_t_2 = __Pyx_Import(__pyx_n_s_Cython_Plex_Errors, __pyx_t_1, -1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 15; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_UnrecognizedInput); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 15; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_UnrecognizedInput, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 15; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "Cython/Compiler/Scanning.py":16
 * from Cython.Plex.Scanners import Scanner
 * from Cython.Plex.Errors import UnrecognizedInput
 * from Errors import error             # <<<<<<<<<<<<<<
 * from Lexicon import any_string_prefix, make_lexicon, IDENT
 * from Future import print_function
 */
  __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 16; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_n_s_error);
  PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_error);
  __Pyx_GIVEREF(__pyx_n_s_error);
  __pyx_t_1 = __Pyx_Import(__pyx_n_s_Errors, __pyx_t_2, -1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 16; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_error); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 16; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_error, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 16; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":17
 * from Cython.Plex.Errors import UnrecognizedInput
 * from Errors import error
 * from Lexicon import any_string_prefix, make_lexicon, IDENT             # <<<<<<<<<<<<<<
 * from Future import print_function
 * 
 */
  __pyx_t_1 = PyList_New(3); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 17; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_s_any_string_prefix);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_s_any_string_prefix);
  __Pyx_GIVEREF(__pyx_n_s_any_string_prefix);
  __Pyx_INCREF(__pyx_n_s_make_lexicon);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_s_make_lexicon);
  __Pyx_GIVEREF(__pyx_n_s_make_lexicon);
  __Pyx_INCREF(__pyx_n_s_IDENT);
  PyList_SET_ITEM(__pyx_t_1, 2, __pyx_n_s_IDENT);
  __Pyx_GIVEREF(__pyx_n_s_IDENT);
  __pyx_t_2 = __Pyx_Import(__pyx_n_s_Lexicon, __pyx_t_1, -1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 17; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_any_string_prefix); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 17; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "unicode", Py_TYPE(__pyx_t_1)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 17; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_INCREF(__pyx_t_1);
  __Pyx_XGOTREF(__pyx_v_6Cython_8Compiler_8Scanning_any_string_prefix);
  __Pyx_DECREF_SET(__pyx_v_6Cython_8Compiler_8Scanning_any_string_prefix, ((PyObject*)__pyx_t_1));
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_make_lexicon); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 17; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_make_lexicon, __pyx_t_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 17; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_IDENT); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 17; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "unicode", Py_TYPE(__pyx_t_1)->tp_name), 0))) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 17; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_INCREF(__pyx_t_1);
  __Pyx_XGOTREF(__pyx_v_6Cython_8Compiler_8Scanning_IDENT);
  __Pyx_DECREF_SET(__pyx_v_6Cython_8Compiler_8Scanning_IDENT, ((PyObject*)__pyx_t_1));
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "Cython/Compiler/Scanning.py":18
 * from Errors import error
 * from Lexicon import any_string_prefix, make_lexicon, IDENT
 * from Future import print_function             # <<<<<<<<<<<<<<
 * 
 * from StringEncoding import EncodedString
 */
  __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 18; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_n_s_print_function);
  PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_print_function);
  __Pyx_GIVEREF(__pyx_n_s_print_function);
  __pyx_t_1 = __Pyx_Import(__pyx_n_s_Future, __pyx_t_2, -1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 18; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_print_function); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 18; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_t_2);
  __Pyx_XGOTREF(__pyx_v_6Cython_8Compiler_8Scanning_print_function);
  __Pyx_DECREF_SET(__pyx_v_6Cython_8Compiler_8Scanning_print_function, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":20
 * from Future import print_function
 * 
 * from StringEncoding import EncodedString             # <<<<<<<<<<<<<<
 * 
 * debug_scanner = 0
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_s_EncodedString);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_s_EncodedString);
  __Pyx_GIVEREF(__pyx_n_s_EncodedString);
  __pyx_t_2 = __Pyx_Import(__pyx_n_s_StringEncoding, __pyx_t_1, -1); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_EncodedString); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 20; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_t_1);
  __Pyx_XGOTREF(__pyx_v_6Cython_8Compiler_8Scanning_EncodedString);
  __Pyx_DECREF_SET(__pyx_v_6Cython_8Compiler_8Scanning_EncodedString, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "Cython/Compiler/Scanning.py":22
 * from StringEncoding import EncodedString
 * 
 * debug_scanner = 0             # <<<<<<<<<<<<<<
 * trace_scanner = 0
 * scanner_debug_flags = 0
 */
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_debug_scanner, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 22; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":23
 * 
 * debug_scanner = 0
 * trace_scanner = 0             # <<<<<<<<<<<<<<
 * scanner_debug_flags = 0
 * scanner_dump_file = None
 */
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_trace_scanner, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 23; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":24
 * debug_scanner = 0
 * trace_scanner = 0
 * scanner_debug_flags = 0             # <<<<<<<<<<<<<<
 * scanner_dump_file = None
 * 
 */
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_scanner_debug_flags, __pyx_int_0) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 24; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":25
 * trace_scanner = 0
 * scanner_debug_flags = 0
 * scanner_dump_file = None             # <<<<<<<<<<<<<<
 * 
 * lexicon = None
 */
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_scanner_dump_file, Py_None) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 25; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":27
 * scanner_dump_file = None
 * 
 * lexicon = None             # <<<<<<<<<<<<<<
 * 
 * def get_lexicon():
 */
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_lexicon, Py_None) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 27; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":29
 * lexicon = None
 * 
 * def get_lexicon():             # <<<<<<<<<<<<<<
 *     global lexicon
 *     if not lexicon:
 */
  __pyx_t_2 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_1get_lexicon, 0, __pyx_n_s_get_lexicon, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__18)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_get_lexicon, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "Cython/Compiler/Scanning.py":37
 * #------------------------------------------------------------------
 * 
 * py_reserved_words = [             # <<<<<<<<<<<<<<
 *     "global", "nonlocal", "def", "class", "print", "del", "pass", "break",
 *     "continue", "return", "raise", "import", "exec", "try",
 */
  __pyx_t_2 = PyList_New(33); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_n_u_global);
  PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_u_global);
  __Pyx_GIVEREF(__pyx_n_u_global);
  __Pyx_INCREF(__pyx_n_u_nonlocal);
  PyList_SET_ITEM(__pyx_t_2, 1, __pyx_n_u_nonlocal);
  __Pyx_GIVEREF(__pyx_n_u_nonlocal);
  __Pyx_INCREF(__pyx_n_u_def);
  PyList_SET_ITEM(__pyx_t_2, 2, __pyx_n_u_def);
  __Pyx_GIVEREF(__pyx_n_u_def);
  __Pyx_INCREF(__pyx_n_u_class);
  PyList_SET_ITEM(__pyx_t_2, 3, __pyx_n_u_class);
  __Pyx_GIVEREF(__pyx_n_u_class);
  __Pyx_INCREF(__pyx_n_u_print);
  PyList_SET_ITEM(__pyx_t_2, 4, __pyx_n_u_print);
  __Pyx_GIVEREF(__pyx_n_u_print);
  __Pyx_INCREF(__pyx_n_u_del);
  PyList_SET_ITEM(__pyx_t_2, 5, __pyx_n_u_del);
  __Pyx_GIVEREF(__pyx_n_u_del);
  __Pyx_INCREF(__pyx_n_u_pass);
  PyList_SET_ITEM(__pyx_t_2, 6, __pyx_n_u_pass);
  __Pyx_GIVEREF(__pyx_n_u_pass);
  __Pyx_INCREF(__pyx_n_u_break);
  PyList_SET_ITEM(__pyx_t_2, 7, __pyx_n_u_break);
  __Pyx_GIVEREF(__pyx_n_u_break);
  __Pyx_INCREF(__pyx_n_u_continue);
  PyList_SET_ITEM(__pyx_t_2, 8, __pyx_n_u_continue);
  __Pyx_GIVEREF(__pyx_n_u_continue);
  __Pyx_INCREF(__pyx_n_u_return);
  PyList_SET_ITEM(__pyx_t_2, 9, __pyx_n_u_return);
  __Pyx_GIVEREF(__pyx_n_u_return);
  __Pyx_INCREF(__pyx_n_u_raise);
  PyList_SET_ITEM(__pyx_t_2, 10, __pyx_n_u_raise);
  __Pyx_GIVEREF(__pyx_n_u_raise);
  __Pyx_INCREF(__pyx_n_u_import);
  PyList_SET_ITEM(__pyx_t_2, 11, __pyx_n_u_import);
  __Pyx_GIVEREF(__pyx_n_u_import);
  __Pyx_INCREF(__pyx_n_u_exec);
  PyList_SET_ITEM(__pyx_t_2, 12, __pyx_n_u_exec);
  __Pyx_GIVEREF(__pyx_n_u_exec);
  __Pyx_INCREF(__pyx_n_u_try);
  PyList_SET_ITEM(__pyx_t_2, 13, __pyx_n_u_try);
  __Pyx_GIVEREF(__pyx_n_u_try);
  __Pyx_INCREF(__pyx_n_u_except);
  PyList_SET_ITEM(__pyx_t_2, 14, __pyx_n_u_except);
  __Pyx_GIVEREF(__pyx_n_u_except);
  __Pyx_INCREF(__pyx_n_u_finally);
  PyList_SET_ITEM(__pyx_t_2, 15, __pyx_n_u_finally);
  __Pyx_GIVEREF(__pyx_n_u_finally);
  __Pyx_INCREF(__pyx_n_u_while);
  PyList_SET_ITEM(__pyx_t_2, 16, __pyx_n_u_while);
  __Pyx_GIVEREF(__pyx_n_u_while);
  __Pyx_INCREF(__pyx_n_u_if);
  PyList_SET_ITEM(__pyx_t_2, 17, __pyx_n_u_if);
  __Pyx_GIVEREF(__pyx_n_u_if);
  __Pyx_INCREF(__pyx_n_u_elif);
  PyList_SET_ITEM(__pyx_t_2, 18, __pyx_n_u_elif);
  __Pyx_GIVEREF(__pyx_n_u_elif);
  __Pyx_INCREF(__pyx_n_u_else);
  PyList_SET_ITEM(__pyx_t_2, 19, __pyx_n_u_else);
  __Pyx_GIVEREF(__pyx_n_u_else);
  __Pyx_INCREF(__pyx_n_u_for);
  PyList_SET_ITEM(__pyx_t_2, 20, __pyx_n_u_for);
  __Pyx_GIVEREF(__pyx_n_u_for);
  __Pyx_INCREF(__pyx_n_u_in);
  PyList_SET_ITEM(__pyx_t_2, 21, __pyx_n_u_in);
  __Pyx_GIVEREF(__pyx_n_u_in);
  __Pyx_INCREF(__pyx_n_u_assert);
  PyList_SET_ITEM(__pyx_t_2, 22, __pyx_n_u_assert);
  __Pyx_GIVEREF(__pyx_n_u_assert);
  __Pyx_INCREF(__pyx_n_u_and);
  PyList_SET_ITEM(__pyx_t_2, 23, __pyx_n_u_and);
  __Pyx_GIVEREF(__pyx_n_u_and);
  __Pyx_INCREF(__pyx_n_u_or);
  PyList_SET_ITEM(__pyx_t_2, 24, __pyx_n_u_or);
  __Pyx_GIVEREF(__pyx_n_u_or);
  __Pyx_INCREF(__pyx_n_u_not);
  PyList_SET_ITEM(__pyx_t_2, 25, __pyx_n_u_not);
  __Pyx_GIVEREF(__pyx_n_u_not);
  __Pyx_INCREF(__pyx_n_u_is);
  PyList_SET_ITEM(__pyx_t_2, 26, __pyx_n_u_is);
  __Pyx_GIVEREF(__pyx_n_u_is);
  __Pyx_INCREF(__pyx_n_u_in);
  PyList_SET_ITEM(__pyx_t_2, 27, __pyx_n_u_in);
  __Pyx_GIVEREF(__pyx_n_u_in);
  __Pyx_INCREF(__pyx_n_u_lambda);
  PyList_SET_ITEM(__pyx_t_2, 28, __pyx_n_u_lambda);
  __Pyx_GIVEREF(__pyx_n_u_lambda);
  __Pyx_INCREF(__pyx_n_u_from);
  PyList_SET_ITEM(__pyx_t_2, 29, __pyx_n_u_from);
  __Pyx_GIVEREF(__pyx_n_u_from);
  __Pyx_INCREF(__pyx_n_u_yield);
  PyList_SET_ITEM(__pyx_t_2, 30, __pyx_n_u_yield);
  __Pyx_GIVEREF(__pyx_n_u_yield);
  __Pyx_INCREF(__pyx_n_u_with);
  PyList_SET_ITEM(__pyx_t_2, 31, __pyx_n_u_with);
  __Pyx_GIVEREF(__pyx_n_u_with);
  __Pyx_INCREF(__pyx_n_u_nonlocal);
  PyList_SET_ITEM(__pyx_t_2, 32, __pyx_n_u_nonlocal);
  __Pyx_GIVEREF(__pyx_n_u_nonlocal);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_py_reserved_words, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 37; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "Cython/Compiler/Scanning.py":45
 * ]
 * 
 * pyx_reserved_words = py_reserved_words + [             # <<<<<<<<<<<<<<
 *     "include", "ctypedef", "cdef", "cpdef",
 *     "cimport", "DEF", "IF", "ELIF", "ELSE"
 */
  __pyx_t_2 = __Pyx_GetModuleGlobalName(__pyx_n_s_py_reserved_words); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_1 = PyList_New(9); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_u_include);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_u_include);
  __Pyx_GIVEREF(__pyx_n_u_include);
  __Pyx_INCREF(__pyx_n_u_ctypedef);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_u_ctypedef);
  __Pyx_GIVEREF(__pyx_n_u_ctypedef);
  __Pyx_INCREF(__pyx_n_u_cdef);
  PyList_SET_ITEM(__pyx_t_1, 2, __pyx_n_u_cdef);
  __Pyx_GIVEREF(__pyx_n_u_cdef);
  __Pyx_INCREF(__pyx_n_u_cpdef);
  PyList_SET_ITEM(__pyx_t_1, 3, __pyx_n_u_cpdef);
  __Pyx_GIVEREF(__pyx_n_u_cpdef);
  __Pyx_INCREF(__pyx_n_u_cimport);
  PyList_SET_ITEM(__pyx_t_1, 4, __pyx_n_u_cimport);
  __Pyx_GIVEREF(__pyx_n_u_cimport);
  __Pyx_INCREF(__pyx_n_u_DEF);
  PyList_SET_ITEM(__pyx_t_1, 5, __pyx_n_u_DEF);
  __Pyx_GIVEREF(__pyx_n_u_DEF);
  __Pyx_INCREF(__pyx_n_u_IF);
  PyList_SET_ITEM(__pyx_t_1, 6, __pyx_n_u_IF);
  __Pyx_GIVEREF(__pyx_n_u_IF);
  __Pyx_INCREF(__pyx_n_u_ELIF);
  PyList_SET_ITEM(__pyx_t_1, 7, __pyx_n_u_ELIF);
  __Pyx_GIVEREF(__pyx_n_u_ELIF);
  __Pyx_INCREF(__pyx_n_u_ELSE);
  PyList_SET_ITEM(__pyx_t_1, 8, __pyx_n_u_ELSE);
  __Pyx_GIVEREF(__pyx_n_u_ELSE);
  __pyx_t_5 = PyNumber_Add(__pyx_t_2, __pyx_t_1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_reserved_words, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 45; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "Cython/Compiler/Scanning.py":89
 *                 raise
 * 
 * def initial_compile_time_env():             # <<<<<<<<<<<<<<
 *     benv = CompileTimeScope()
 *     names = ('UNAME_SYSNAME', 'UNAME_NODENAME', 'UNAME_RELEASE',
 */
  __pyx_t_5 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_3initial_compile_time_env, 0, __pyx_n_s_initial_compile_time_env, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__20)); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_initial_compile_time_env, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 89; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "Cython/Compiler/Scanning.py":119
 * #------------------------------------------------------------------
 * 
 * class SourceDescriptor(object):             # <<<<<<<<<<<<<<
 *     """
 *     A SourceDescriptor should be considered immutable.
 */
  __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  __Pyx_INCREF(__pyx_builtin_object);
  PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_builtin_object);
  __Pyx_GIVEREF(__pyx_builtin_object);
  __pyx_t_1 = __Pyx_CalculateMetaclass(NULL, __pyx_t_5); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_Py3MetaclassPrepare(__pyx_t_1, __pyx_t_5, __pyx_n_s_SourceDescriptor, __pyx_n_s_SourceDescriptor, (PyObject *) NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_kp_s_A_SourceDescriptor_should_be_co); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);

  /* "Cython/Compiler/Scanning.py":123
 *     A SourceDescriptor should be considered immutable.
 *     """
 *     _file_type = 'pyx'             # <<<<<<<<<<<<<<
 * 
 *     _escaped_description = None
 */
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_file_type, __pyx_n_u_pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 123; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":125
 *     _file_type = 'pyx'
 * 
 *     _escaped_description = None             # <<<<<<<<<<<<<<
 *     _cmp_name = ''
 *     def __str__(self):
 */
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_escaped_description, Py_None) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 125; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":126
 * 
 *     _escaped_description = None
 *     _cmp_name = ''             # <<<<<<<<<<<<<<
 *     def __str__(self):
 *         assert False # To catch all places where a descriptor is used directly as a filename
 */
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_cmp_name, __pyx_kp_u__8) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 126; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":127
 *     _escaped_description = None
 *     _cmp_name = ''
 *     def __str__(self):             # <<<<<<<<<<<<<<
 *         assert False # To catch all places where a descriptor is used directly as a filename
 * 
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_1__str__, 0, __pyx_n_s_SourceDescriptor___str, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__22)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_str_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 127; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":130
 *         assert False # To catch all places where a descriptor is used directly as a filename
 * 
 *     def set_file_type_from_name(self, filename):             # <<<<<<<<<<<<<<
 *         name, ext = os.path.splitext(filename)
 *         self._file_type = ext in ('.pyx', '.pxd', '.py') and ext[1:] or 'pyx'
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_3set_file_type_from_name, 0, __pyx_n_s_SourceDescriptor_set_file_type_f, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__24)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_set_file_type_from_name, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 130; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":134
 *         self._file_type = ext in ('.pyx', '.pxd', '.py') and ext[1:] or 'pyx'
 * 
 *     def is_cython_file(self):             # <<<<<<<<<<<<<<
 *         return self._file_type in ('pyx', 'pxd')
 * 
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_5is_cython_file, 0, __pyx_n_s_SourceDescriptor_is_cython_file, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__26)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_is_cython_file, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 134; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":137
 *         return self._file_type in ('pyx', 'pxd')
 * 
 *     def is_python_file(self):             # <<<<<<<<<<<<<<
 *         return self._file_type == 'py'
 * 
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_7is_python_file, 0, __pyx_n_s_SourceDescriptor_is_python_file, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__28)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_is_python_file, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 137; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":140
 *         return self._file_type == 'py'
 * 
 *     def get_escaped_description(self):             # <<<<<<<<<<<<<<
 *         if self._escaped_description is None:
 *             self._escaped_description = \
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_9get_escaped_description, 0, __pyx_n_s_SourceDescriptor_get_escaped_des, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__30)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_get_escaped_description, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 140; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":146
 *         return self._escaped_description
 * 
 *     def __gt__(self, other):             # <<<<<<<<<<<<<<
 *         # this is only used to provide some sort of order
 *         try:
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_11__gt__, 0, __pyx_n_s_SourceDescriptor___gt, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__32)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_gt, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 146; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":153
 *             return False
 * 
 *     def __lt__(self, other):             # <<<<<<<<<<<<<<
 *         # this is only used to provide some sort of order
 *         try:
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_13__lt__, 0, __pyx_n_s_SourceDescriptor___lt, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__34)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_lt, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 153; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":160
 *             return False
 * 
 *     def __le__(self, other):             # <<<<<<<<<<<<<<
 *         # this is only used to provide some sort of order
 *         try:
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_15__le__, 0, __pyx_n_s_SourceDescriptor___le, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__36)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_le, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 160; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":119
 * #------------------------------------------------------------------
 * 
 * class SourceDescriptor(object):             # <<<<<<<<<<<<<<
 *     """
 *     A SourceDescriptor should be considered immutable.
 */
  __pyx_t_6 = __Pyx_Py3ClassCreate(__pyx_t_1, __pyx_n_s_SourceDescriptor, __pyx_t_5, __pyx_t_2, NULL, 0, 0); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_SourceDescriptor, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 119; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "Cython/Compiler/Scanning.py":167
 *             return False
 * 
 * class FileSourceDescriptor(SourceDescriptor):             # <<<<<<<<<<<<<<
 *     """
 *     Represents a code source. A code source is a more generic abstraction
 */
  __pyx_t_5 = __Pyx_GetModuleGlobalName(__pyx_n_s_SourceDescriptor); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_5);
  __Pyx_GIVEREF(__pyx_t_5);
  __pyx_t_5 = 0;
  __pyx_t_5 = __Pyx_CalculateMetaclass(NULL, __pyx_t_1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  __pyx_t_2 = __Pyx_Py3MetaclassPrepare(__pyx_t_5, __pyx_t_1, __pyx_n_s_FileSourceDescriptor, __pyx_n_s_FileSourceDescriptor, (PyObject *) NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_kp_s_Represents_a_code_source_A_code); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);

  /* "Cython/Compiler/Scanning.py":175
 *     the position()-tuple.
 *     """
 *     def __init__(self, filename, path_description=None):             # <<<<<<<<<<<<<<
 *         filename = Utils.decode_filename(filename)
 *         self.path_description = path_description or filename
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_1__init__, 0, __pyx_n_s_FileSourceDescriptor___init, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__38)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_6, __pyx_tuple__39);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_init, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 175; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":183
 *         self._lines = {}
 * 
 *     def get_lines(self, encoding=None, error_handling=None):             # <<<<<<<<<<<<<<
 *         # we cache the lines only the second time this is called, in
 *         # order to save memory when they are only used once
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_3get_lines, 0, __pyx_n_s_FileSourceDescriptor_get_lines, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__41)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_6, __pyx_tuple__42);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_get_lines, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 183; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":210
 *         return lines
 * 
 *     def get_description(self):             # <<<<<<<<<<<<<<
 *         return self.path_description
 * 
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_5get_description, 0, __pyx_n_s_FileSourceDescriptor_get_descrip, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__44)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_get_description, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 210; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":213
 *         return self.path_description
 * 
 *     def get_error_description(self):             # <<<<<<<<<<<<<<
 *         path = self.filename
 *         cwd = Utils.decode_filename(os.getcwd() + os.path.sep)
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_7get_error_description, 0, __pyx_n_s_FileSourceDescriptor_get_error_d, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__46)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_get_error_description, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 213; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":220
 *         return path
 * 
 *     def get_filenametable_entry(self):             # <<<<<<<<<<<<<<
 *         return self.filename
 * 
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_9get_filenametable_entry, 0, __pyx_n_s_FileSourceDescriptor_get_filenam, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__48)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_get_filenametable_entry, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 220; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":223
 *         return self.filename
 * 
 *     def __eq__(self, other):             # <<<<<<<<<<<<<<
 *         return isinstance(other, FileSourceDescriptor) and self.filename == other.filename
 * 
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_11__eq__, 0, __pyx_n_s_FileSourceDescriptor___eq, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__50)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_eq, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 223; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":226
 *         return isinstance(other, FileSourceDescriptor) and self.filename == other.filename
 * 
 *     def __hash__(self):             # <<<<<<<<<<<<<<
 *         return hash(self.filename)
 * 
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_13__hash__, 0, __pyx_n_s_FileSourceDescriptor___hash, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__52)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_hash_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 226; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":229
 *         return hash(self.filename)
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return "<FileSourceDescriptor:%s>" % self.filename
 * 
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_15__repr__, 0, __pyx_n_s_FileSourceDescriptor___repr, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__54)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_repr_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 229; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":167
 *             return False
 * 
 * class FileSourceDescriptor(SourceDescriptor):             # <<<<<<<<<<<<<<
 *     """
 *     Represents a code source. A code source is a more generic abstraction
 */
  __pyx_t_6 = __Pyx_Py3ClassCreate(__pyx_t_5, __pyx_n_s_FileSourceDescriptor, __pyx_t_1, __pyx_t_2, NULL, 0, 0); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_FileSourceDescriptor, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 167; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":232
 *         return "<FileSourceDescriptor:%s>" % self.filename
 * 
 * class StringSourceDescriptor(SourceDescriptor):             # <<<<<<<<<<<<<<
 *     """
 *     Instances of this class can be used instead of a filenames if the
 */
  __pyx_t_1 = __Pyx_GetModuleGlobalName(__pyx_n_s_SourceDescriptor); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_CalculateMetaclass(NULL, __pyx_t_5); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_Py3MetaclassPrepare(__pyx_t_1, __pyx_t_5, __pyx_n_s_StringSourceDescriptor, __pyx_n_s_StringSourceDescriptor, (PyObject *) NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_kp_s_Instances_of_this_class_can_be); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_2);

  /* "Cython/Compiler/Scanning.py":237
 *     code originates from a string object.
 *     """
 *     filename = None             # <<<<<<<<<<<<<<
 * 
 *     def __init__(self, name, code):
 */
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_filename, Py_None) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 237; __pyx_clineno = __LINE__; goto __pyx_L1_error;}

  /* "Cython/Compiler/Scanning.py":239
 *     filename = None
 * 
 *     def __init__(self, name, code):             # <<<<<<<<<<<<<<
 *         self.name = name
 *         #self.set_file_type_from_name(name)
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_1__init__, 0, __pyx_n_s_StringSourceDescriptor___init, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__56)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_init, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 239; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":245
 *         self._cmp_name = name
 * 
 *     def get_lines(self, encoding=None, error_handling=None):             # <<<<<<<<<<<<<<
 *         if not encoding:
 *             return self.codelines
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_3get_lines, 0, __pyx_n_s_StringSourceDescriptor_get_lines, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__58)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_6, __pyx_tuple__59);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_get_lines, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 245; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":252
 *                      for line in self.codelines ]
 * 
 *     def get_description(self):             # <<<<<<<<<<<<<<
 *         return self.name
 * 
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_5get_description, 0, __pyx_n_s_StringSourceDescriptor_get_descr, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__61)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_get_description, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 252; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":255
 *         return self.name
 * 
 *     get_error_description = get_description             # <<<<<<<<<<<<<<
 * 
 *     def get_filenametable_entry(self):
 */
  __pyx_t_6 = PyObject_GetItem(__pyx_t_2, __pyx_n_s_get_description);
  if (unlikely(!__pyx_t_6)) {
    PyErr_Clear();
    __pyx_t_6 = __Pyx_GetModuleGlobalName(__pyx_n_s_get_description);
  }
  if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 255; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_get_error_description, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 255; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":257
 *     get_error_description = get_description
 * 
 *     def get_filenametable_entry(self):             # <<<<<<<<<<<<<<
 *         return "stringsource"
 * 
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_7get_filenametable_entry, 0, __pyx_n_s_StringSourceDescriptor_get_filen, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__63)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_get_filenametable_entry, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 257; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":260
 *         return "stringsource"
 * 
 *     def __hash__(self):             # <<<<<<<<<<<<<<
 *         return id(self)
 *         # Do not hash on the name, an identical string source should be the
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_9__hash__, 0, __pyx_n_s_StringSourceDescriptor___hash, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__65)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_hash_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 260; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":266
 *         # return hash(self.name)
 * 
 *     def __eq__(self, other):             # <<<<<<<<<<<<<<
 *         return isinstance(other, StringSourceDescriptor) and self.name == other.name
 * 
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_11__eq__, 0, __pyx_n_s_StringSourceDescriptor___eq, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__67)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_eq, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":269
 *         return isinstance(other, StringSourceDescriptor) and self.name == other.name
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return "<StringSourceDescriptor:%s>" % self.name
 * 
 */
  __pyx_t_6 = __Pyx_CyFunction_NewEx(&__pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_13__repr__, 0, __pyx_n_s_StringSourceDescriptor___repr, NULL, __pyx_n_s_Cython_Compiler_Scanning, PyModule_GetDict(__pyx_m), ((PyObject *)__pyx_codeobj__69)); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyObject_SetItem(__pyx_t_2, __pyx_n_s_repr_2, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":232
 *         return "<FileSourceDescriptor:%s>" % self.filename
 * 
 * class StringSourceDescriptor(SourceDescriptor):             # <<<<<<<<<<<<<<
 *     """
 *     Instances of this class can be used instead of a filenames if the
 */
  __pyx_t_6 = __Pyx_Py3ClassCreate(__pyx_t_1, __pyx_n_s_StringSourceDescriptor, __pyx_t_5, __pyx_t_2, NULL, 0, 0); if (unlikely(!__pyx_t_6)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_6);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_StringSourceDescriptor, __pyx_t_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "Cython/Compiler/Scanning.py":335
 *             self.produce('NEWLINE', '')
 * 
 *     string_states = {             # <<<<<<<<<<<<<<
 *         "'":   'SQ_STRING',
 *         '"':   'DQ_STRING',
 */
  __pyx_t_5 = PyDict_New(); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (PyDict_SetItem(__pyx_t_5, __pyx_kp_u__70, __pyx_n_u_SQ_STRING) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (PyDict_SetItem(__pyx_t_5, __pyx_kp_u__71, __pyx_n_u_DQ_STRING) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (PyDict_SetItem(__pyx_t_5, __pyx_kp_u__72, __pyx_n_u_TSQ_STRING) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (PyDict_SetItem(__pyx_t_5, __pyx_kp_u__73, __pyx_n_u_TDQ_STRING) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_string_states, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 335; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":1
 * # cython: infer_types=True, language_level=3, py2_import=True             # <<<<<<<<<<<<<<
 * #
 * #   Cython Scanner
 */
  __pyx_t_5 = PyDict_New(); if (unlikely(!__pyx_t_5)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_GOTREF(__pyx_t_5);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_test, __pyx_t_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 1; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_6);
  if (__pyx_m) {
    __Pyx_AddTraceback("init Cython.Compiler.Scanning", __pyx_clineno, __pyx_lineno, __pyx_filename);
    Py_DECREF(__pyx_m); __pyx_m = 0;
  } else if (!PyErr_Occurred()) {
    PyErr_SetString(PyExc_ImportError, "init Cython.Compiler.Scanning");
  }
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  #if PY_MAJOR_VERSION < 3
  return;
  #else
  return __pyx_m;
  #endif
}

/* Runtime support code */
#if CYTHON_REFNANNY
static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname) {
    PyObject *m = NULL, *p = NULL;
    void *r = NULL;
    m = PyImport_ImportModule((char *)modname);
    if (!m) goto end;
    p = PyObject_GetAttrString(m, (char *)"RefNannyAPI");
    if (!p) goto end;
    r = PyLong_AsVoidPtr(p);
end:
    Py_XDECREF(p);
    Py_XDECREF(m);
    return (__Pyx_RefNannyAPIStruct *)r;
}
#endif /* CYTHON_REFNANNY */

static PyObject *__Pyx_GetBuiltinName(PyObject *name) {
    PyObject* result = __Pyx_PyObject_GetAttrStr(__pyx_b, name);
    if (unlikely(!result)) {
        PyErr_Format(PyExc_NameError,
#if PY_MAJOR_VERSION >= 3
            "name '%U' is not defined", name);
#else
            "name '%.200s' is not defined", PyString_AS_STRING(name));
#endif
    }
    return result;
}

static CYTHON_INLINE PyObject *__Pyx_GetModuleGlobalName(PyObject *name) {
    PyObject *result;
#if CYTHON_COMPILING_IN_CPYTHON
    result = PyDict_GetItem(__pyx_d, name);
    if (result) {
        Py_INCREF(result);
    } else {
#else
    result = PyObject_GetItem(__pyx_d, name);
    if (!result) {
        PyErr_Clear();
#endif
        result = __Pyx_GetBuiltinName(name);
    }
    return result;
}

#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw) {
    PyObject *result;
    ternaryfunc call = func->ob_type->tp_call;
    if (unlikely(!call))
        return PyObject_Call(func, arg, kw);
#if PY_VERSION_HEX >= 0x02060000
    if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
        return NULL;
#endif
    result = (*call)(func, arg, kw);
#if PY_VERSION_HEX >= 0x02060000
    Py_LeaveRecursiveCall();
#endif
    if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
        PyErr_SetString(
            PyExc_SystemError,
            "NULL result without error in PyObject_Call");
    }
    return result;
}
#endif

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_AsString(kw_name));
        #endif
}

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)) {
        name = first_kw_arg;
        while (*name && (**name != key)) name++;
        if (*name) {
            values[name-argnames] = value;
            continue;
        }
        name = first_kw_arg;
        #if PY_MAJOR_VERSION < 3
        if (likely(PyString_CheckExact(key)) || likely(PyString_Check(key))) {
            while (*name) {
                if ((CYTHON_COMPILING_IN_PYPY || PyString_GET_SIZE(**name) == PyString_GET_SIZE(key))
                        && _PyString_Eq(**name, key)) {
                    values[name-argnames] = value;
                    break;
                }
                name++;
            }
            if (*name) continue;
            else {
                PyObject*** argname = argnames;
                while (argname != first_kw_arg) {
                    if ((**argname == key) || (
                            (CYTHON_COMPILING_IN_PYPY || PyString_GET_SIZE(**argname) == PyString_GET_SIZE(key))
                             && _PyString_Eq(**argname, key))) {
                        goto arg_passed_twice;
                    }
                    argname++;
                }
            }
        } else
        #endif
        if (likely(PyUnicode_Check(key))) {
            while (*name) {
                int cmp = (**name == key) ? 0 :
                #if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION >= 3
                    (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
                #endif
                    PyUnicode_Compare(**name, key);
                if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad;
                if (cmp == 0) {
                    values[name-argnames] = value;
                    break;
                }
                name++;
            }
            if (*name) continue;
            else {
                PyObject*** argname = argnames;
                while (argname != first_kw_arg) {
                    int cmp = (**argname == key) ? 0 :
                    #if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION >= 3
                        (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
                    #endif
                        PyUnicode_Compare(**argname, key);
                    if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad;
                    if (cmp == 0) goto arg_passed_twice;
                    argname++;
                }
            }
        } else
            goto invalid_keyword_type;
        if (kwds2) {
            if (unlikely(PyDict_SetItem(kwds2, key, value))) goto bad;
        } else {
            goto invalid_keyword;
        }
    }
    return 0;
arg_passed_twice:
    __Pyx_RaiseDoubleKeywordsError(function_name, key);
    goto bad;
invalid_keyword_type:
    PyErr_Format(PyExc_TypeError,
        "%.200s() keywords must be strings", function_name);
    goto bad;
invalid_keyword:
    PyErr_Format(PyExc_TypeError,
    #if PY_MAJOR_VERSION < 3
        "%.200s() got an unexpected keyword argument '%.200s'",
        function_name, PyString_AsString(key));
    #else
        "%s() got an unexpected keyword argument '%U'",
        function_name, key);
    #endif
bad:
    return -1;
}

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 *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";
    }
    PyErr_Format(PyExc_TypeError,
                 "%.200s() takes %.8s %" CYTHON_FORMAT_SSIZE_T "d positional argument%.1s (%" CYTHON_FORMAT_SSIZE_T "d given)",
                 func_name, more_or_less, num_expected,
                 (num_expected == 1) ? "" : "s", num_found);
}

static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *o, PyObject *n) {
#if CYTHON_COMPILING_IN_CPYTHON
#if PY_MAJOR_VERSION >= 3
    if (likely(PyUnicode_Check(n)))
#else
    if (likely(PyString_Check(n)))
#endif
        return __Pyx_PyObject_GetAttrStr(o, n);
#endif
    return PyObject_GetAttr(o, n);
}

static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) {
    if (unlikely(!type)) {
        PyErr_SetString(PyExc_SystemError, "Missing type object");
        return 0;
    }
    if (likely(PyObject_TypeCheck(obj, type)))
        return 1;
    PyErr_Format(PyExc_TypeError, "Cannot convert %.200s to %.200s",
                 Py_TYPE(obj)->tp_name, type->tp_name);
    return 0;
}

static CYTHON_INLINE void __Pyx_ExceptionSave(PyObject **type, PyObject **value, PyObject **tb) {
#if CYTHON_COMPILING_IN_CPYTHON
    PyThreadState *tstate = PyThreadState_GET();
    *type = tstate->exc_type;
    *value = tstate->exc_value;
    *tb = tstate->exc_traceback;
    Py_XINCREF(*type);
    Py_XINCREF(*value);
    Py_XINCREF(*tb);
#else
    PyErr_GetExcInfo(type, value, tb);
#endif
}
static void __Pyx_ExceptionReset(PyObject *type, PyObject *value, PyObject *tb) {
#if CYTHON_COMPILING_IN_CPYTHON
    PyObject *tmp_type, *tmp_value, *tmp_tb;
    PyThreadState *tstate = PyThreadState_GET();
    tmp_type = tstate->exc_type;
    tmp_value = tstate->exc_value;
    tmp_tb = tstate->exc_traceback;
    tstate->exc_type = type;
    tstate->exc_value = value;
    tstate->exc_traceback = tb;
    Py_XDECREF(tmp_type);
    Py_XDECREF(tmp_value);
    Py_XDECREF(tmp_tb);
#else
    PyErr_SetExcInfo(type, value, tb);
#endif
}

static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) {
    PyObject *local_type, *local_value, *local_tb;
#if CYTHON_COMPILING_IN_CPYTHON
    PyObject *tmp_type, *tmp_value, *tmp_tb;
    PyThreadState *tstate = PyThreadState_GET();
    local_type = tstate->curexc_type;
    local_value = tstate->curexc_value;
    local_tb = tstate->curexc_traceback;
    tstate->curexc_type = 0;
    tstate->curexc_value = 0;
    tstate->curexc_traceback = 0;
#else
    PyErr_Fetch(&local_type, &local_value, &local_tb);
#endif
    PyErr_NormalizeException(&local_type, &local_value, &local_tb);
#if CYTHON_COMPILING_IN_CPYTHON
    if (unlikely(tstate->curexc_type))
#else
    if (unlikely(PyErr_Occurred()))
#endif
        goto bad;
    #if PY_MAJOR_VERSION >= 3
    if (local_tb) {
        if (unlikely(PyException_SetTraceback(local_value, local_tb) < 0))
            goto bad;
    }
    #endif
    Py_XINCREF(local_tb);
    Py_XINCREF(local_type);
    Py_XINCREF(local_value);
    *type = local_type;
    *value = local_value;
    *tb = local_tb;
#if CYTHON_COMPILING_IN_CPYTHON
    tmp_type = tstate->exc_type;
    tmp_value = tstate->exc_value;
    tmp_tb = tstate->exc_traceback;
    tstate->exc_type = local_type;
    tstate->exc_value = local_value;
    tstate->exc_traceback = local_tb;
    Py_XDECREF(tmp_type);
    Py_XDECREF(tmp_value);
    Py_XDECREF(tmp_tb);
#else
    PyErr_SetExcInfo(local_type, local_value, local_tb);
#endif
    return 0;
bad:
    *type = 0;
    *value = 0;
    *tb = 0;
    Py_XDECREF(local_type);
    Py_XDECREF(local_value);
    Py_XDECREF(local_tb);
    return -1;
}

static CYTHON_INLINE void __Pyx_ErrRestore(PyObject *type, PyObject *value, PyObject *tb) {
#if CYTHON_COMPILING_IN_CPYTHON
    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);
#else
    PyErr_Restore(type, value, tb);
#endif
}
static CYTHON_INLINE void __Pyx_ErrFetch(PyObject **type, PyObject **value, PyObject **tb) {
#if CYTHON_COMPILING_IN_CPYTHON
    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;
#else
    PyErr_Fetch(type, value, tb);
#endif
}

static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected) {
    PyErr_Format(PyExc_ValueError,
                 "too many values to unpack (expected %" CYTHON_FORMAT_SSIZE_T "d)", expected);
}

static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) {
    PyErr_Format(PyExc_ValueError,
                 "need more than %" CYTHON_FORMAT_SSIZE_T "d value%.1s to unpack",
                 index, (index == 1) ? "" : "s");
}

static CYTHON_INLINE int __Pyx_IterFinish(void) {
#if CYTHON_COMPILING_IN_CPYTHON
    PyThreadState *tstate = PyThreadState_GET();
    PyObject* exc_type = tstate->curexc_type;
    if (unlikely(exc_type)) {
        if (likely(exc_type == PyExc_StopIteration) || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration)) {
            PyObject *exc_value, *exc_tb;
            exc_value = tstate->curexc_value;
            exc_tb = tstate->curexc_traceback;
            tstate->curexc_type = 0;
            tstate->curexc_value = 0;
            tstate->curexc_traceback = 0;
            Py_DECREF(exc_type);
            Py_XDECREF(exc_value);
            Py_XDECREF(exc_tb);
            return 0;
        } else {
            return -1;
        }
    }
    return 0;
#else
    if (unlikely(PyErr_Occurred())) {
        if (likely(PyErr_ExceptionMatches(PyExc_StopIteration))) {
            PyErr_Clear();
            return 0;
        } else {
            return -1;
        }
    }
    return 0;
#endif
}

static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected) {
    if (unlikely(retval)) {
        Py_DECREF(retval);
        __Pyx_RaiseTooManyValuesError(expected);
        return -1;
    } else {
        return __Pyx_IterFinish();
    }
    return 0;
}

static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int equals) {
#if CYTHON_COMPILING_IN_PYPY
    return PyObject_RichCompareBool(s1, s2, equals);
#else
    if (s1 == s2) {
        return (equals == Py_EQ);
    } else if (PyBytes_CheckExact(s1) & PyBytes_CheckExact(s2)) {
        const char *ps1, *ps2;
        Py_ssize_t length = PyBytes_GET_SIZE(s1);
        if (length != PyBytes_GET_SIZE(s2))
            return (equals == Py_NE);
        ps1 = PyBytes_AS_STRING(s1);
        ps2 = PyBytes_AS_STRING(s2);
        if (ps1[0] != ps2[0]) {
            return (equals == Py_NE);
        } else if (length == 1) {
            return (equals == Py_EQ);
        } else {
            int result = memcmp(ps1, ps2, (size_t)length);
            return (equals == Py_EQ) ? (result == 0) : (result != 0);
        }
    } else if ((s1 == Py_None) & PyBytes_CheckExact(s2)) {
        return (equals == Py_NE);
    } else if ((s2 == Py_None) & PyBytes_CheckExact(s1)) {
        return (equals == Py_NE);
    } else {
        int result;
        PyObject* py_result = PyObject_RichCompare(s1, s2, equals);
        if (!py_result)
            return -1;
        result = __Pyx_PyObject_IsTrue(py_result);
        Py_DECREF(py_result);
        return result;
    }
#endif
}

static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int equals) {
#if CYTHON_COMPILING_IN_PYPY
    return PyObject_RichCompareBool(s1, s2, equals);
#else
#if PY_MAJOR_VERSION < 3
    PyObject* owned_ref = NULL;
#endif
    int s1_is_unicode, s2_is_unicode;
    if (s1 == s2) {
        goto return_eq;
    }
    s1_is_unicode = PyUnicode_CheckExact(s1);
    s2_is_unicode = PyUnicode_CheckExact(s2);
#if PY_MAJOR_VERSION < 3
    if ((s1_is_unicode & (!s2_is_unicode)) && PyString_CheckExact(s2)) {
        owned_ref = PyUnicode_FromObject(s2);
        if (unlikely(!owned_ref))
            return -1;
        s2 = owned_ref;
        s2_is_unicode = 1;
    } else if ((s2_is_unicode & (!s1_is_unicode)) && PyString_CheckExact(s1)) {
        owned_ref = PyUnicode_FromObject(s1);
        if (unlikely(!owned_ref))
            return -1;
        s1 = owned_ref;
        s1_is_unicode = 1;
    } else if (((!s2_is_unicode) & (!s1_is_unicode))) {
        return __Pyx_PyBytes_Equals(s1, s2, equals);
    }
#endif
    if (s1_is_unicode & s2_is_unicode) {
        Py_ssize_t length;
        int kind;
        void *data1, *data2;
        #if CYTHON_PEP393_ENABLED
        if (unlikely(PyUnicode_READY(s1) < 0) || unlikely(PyUnicode_READY(s2) < 0))
            return -1;
        #endif
        length = __Pyx_PyUnicode_GET_LENGTH(s1);
        if (length != __Pyx_PyUnicode_GET_LENGTH(s2)) {
            goto return_ne;
        }
        kind = __Pyx_PyUnicode_KIND(s1);
        if (kind != __Pyx_PyUnicode_KIND(s2)) {
            goto return_ne;
        }
        data1 = __Pyx_PyUnicode_DATA(s1);
        data2 = __Pyx_PyUnicode_DATA(s2);
        if (__Pyx_PyUnicode_READ(kind, data1, 0) != __Pyx_PyUnicode_READ(kind, data2, 0)) {
            goto return_ne;
        } else if (length == 1) {
            goto return_eq;
        } else {
            int result = memcmp(data1, data2, length * kind);
            #if PY_MAJOR_VERSION < 3
            Py_XDECREF(owned_ref);
            #endif
            return (equals == Py_EQ) ? (result == 0) : (result != 0);
        }
    } else if ((s1 == Py_None) & s2_is_unicode) {
        goto return_ne;
    } else if ((s2 == Py_None) & s1_is_unicode) {
        goto return_ne;
    } else {
        int result;
        PyObject* py_result = PyObject_RichCompare(s1, s2, equals);
        if (!py_result)
            return -1;
        result = __Pyx_PyObject_IsTrue(py_result);
        Py_DECREF(py_result);
        return result;
    }
return_eq:
    #if PY_MAJOR_VERSION < 3
    Py_XDECREF(owned_ref);
    #endif
    return (equals == Py_EQ);
return_ne:
    #if PY_MAJOR_VERSION < 3
    Py_XDECREF(owned_ref);
    #endif
    return (equals == Py_NE);
#endif
}

static CYTHON_INLINE PyObject* __Pyx_PyObject_GetSlice(
        PyObject* obj, Py_ssize_t cstart, Py_ssize_t cstop,
        PyObject** _py_start, PyObject** _py_stop, PyObject** _py_slice,
        int has_cstart, int has_cstop, CYTHON_UNUSED int wraparound) {
#if CYTHON_COMPILING_IN_CPYTHON
    PyMappingMethods* mp;
#if PY_MAJOR_VERSION < 3
    PySequenceMethods* ms = Py_TYPE(obj)->tp_as_sequence;
    if (likely(ms && ms->sq_slice)) {
        if (!has_cstart) {
            if (_py_start && (*_py_start != Py_None)) {
                cstart = __Pyx_PyIndex_AsSsize_t(*_py_start);
                if ((cstart == (Py_ssize_t)-1) && PyErr_Occurred()) goto bad;
            } else
                cstart = 0;
        }
        if (!has_cstop) {
            if (_py_stop && (*_py_stop != Py_None)) {
                cstop = __Pyx_PyIndex_AsSsize_t(*_py_stop);
                if ((cstop == (Py_ssize_t)-1) && PyErr_Occurred()) goto bad;
            } else
                cstop = PY_SSIZE_T_MAX;
        }
        if (wraparound && unlikely((cstart < 0) | (cstop < 0)) && likely(ms->sq_length)) {
            Py_ssize_t l = ms->sq_length(obj);
            if (likely(l >= 0)) {
                if (cstop < 0) {
                    cstop += l;
                    if (cstop < 0) cstop = 0;
                }
                if (cstart < 0) {
                    cstart += l;
                    if (cstart < 0) cstart = 0;
                }
            } else {
                if (PyErr_ExceptionMatches(PyExc_OverflowError))
                    PyErr_Clear();
                else
                    goto bad;
            }
        }
        return ms->sq_slice(obj, cstart, cstop);
    }
#endif
    mp = Py_TYPE(obj)->tp_as_mapping;
    if (likely(mp && mp->mp_subscript))
#endif
    {
        PyObject* result;
        PyObject *py_slice, *py_start, *py_stop;
        if (_py_slice) {
            py_slice = *_py_slice;
        } else {
            PyObject* owned_start = NULL;
            PyObject* owned_stop = NULL;
            if (_py_start) {
                py_start = *_py_start;
            } else {
                if (has_cstart) {
                    owned_start = py_start = PyInt_FromSsize_t(cstart);
                    if (unlikely(!py_start)) goto bad;
                } else
                    py_start = Py_None;
            }
            if (_py_stop) {
                py_stop = *_py_stop;
            } else {
                if (has_cstop) {
                    owned_stop = py_stop = PyInt_FromSsize_t(cstop);
                    if (unlikely(!py_stop)) {
                        Py_XDECREF(owned_start);
                        goto bad;
                    }
                } else
                    py_stop = Py_None;
            }
            py_slice = PySlice_New(py_start, py_stop, Py_None);
            Py_XDECREF(owned_start);
            Py_XDECREF(owned_stop);
            if (unlikely(!py_slice)) goto bad;
        }
#if CYTHON_COMPILING_IN_CPYTHON
        result = mp->mp_subscript(obj, py_slice);
#else
        result = PyObject_GetItem(obj, py_slice);
#endif
        if (!_py_slice) {
            Py_DECREF(py_slice);
        }
        return result;
    }
    PyErr_Format(PyExc_TypeError,
        "'%.200s' object is unsliceable", Py_TYPE(obj)->tp_name);
bad:
    return NULL;
}

static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value, PyObject **tb) {
    PyObject *tmp_type, *tmp_value, *tmp_tb;
#if CYTHON_COMPILING_IN_CPYTHON
    PyThreadState *tstate = PyThreadState_GET();
    tmp_type = tstate->exc_type;
    tmp_value = tstate->exc_value;
    tmp_tb = tstate->exc_traceback;
    tstate->exc_type = *type;
    tstate->exc_value = *value;
    tstate->exc_traceback = *tb;
#else
    PyErr_GetExcInfo(&tmp_type, &tmp_value, &tmp_tb);
    PyErr_SetExcInfo(*type, *value, *tb);
#endif
    *type = tmp_type;
    *value = tmp_value;
    *tb = tmp_tb;
}

static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) {
    PyObject *r;
    if (!j) return NULL;
    r = PyObject_GetItem(o, j);
    Py_DECREF(j);
    return r;
}
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
                                                              int wraparound, int boundscheck) {
#if CYTHON_COMPILING_IN_CPYTHON
    if (wraparound & unlikely(i < 0)) i += PyList_GET_SIZE(o);
    if ((!boundscheck) || likely((0 <= i) & (i < PyList_GET_SIZE(o)))) {
        PyObject *r = PyList_GET_ITEM(o, i);
        Py_INCREF(r);
        return r;
    }
    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
#else
    return PySequence_GetItem(o, i);
#endif
}
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
                                                              int wraparound, int boundscheck) {
#if CYTHON_COMPILING_IN_CPYTHON
    if (wraparound & unlikely(i < 0)) i += PyTuple_GET_SIZE(o);
    if ((!boundscheck) || likely((0 <= i) & (i < PyTuple_GET_SIZE(o)))) {
        PyObject *r = PyTuple_GET_ITEM(o, i);
        Py_INCREF(r);
        return r;
    }
    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
#else
    return PySequence_GetItem(o, i);
#endif
}
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
                                                     int is_list, int wraparound, int boundscheck) {
#if CYTHON_COMPILING_IN_CPYTHON
    if (is_list || PyList_CheckExact(o)) {
        Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyList_GET_SIZE(o);
        if ((!boundscheck) || (likely((n >= 0) & (n < PyList_GET_SIZE(o))))) {
            PyObject *r = PyList_GET_ITEM(o, n);
            Py_INCREF(r);
            return r;
        }
    }
    else if (PyTuple_CheckExact(o)) {
        Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyTuple_GET_SIZE(o);
        if ((!boundscheck) || likely((n >= 0) & (n < PyTuple_GET_SIZE(o)))) {
            PyObject *r = PyTuple_GET_ITEM(o, n);
            Py_INCREF(r);
            return r;
        }
    } else {
        PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
        if (likely(m && m->sq_item)) {
            if (wraparound && unlikely(i < 0) && likely(m->sq_length)) {
                Py_ssize_t l = m->sq_length(o);
                if (likely(l >= 0)) {
                    i += l;
                } else {
                    if (PyErr_ExceptionMatches(PyExc_OverflowError))
                        PyErr_Clear();
                    else
                        return NULL;
                }
            }
            return m->sq_item(o, i);
        }
    }
#else
    if (is_list || PySequence_Check(o)) {
        return PySequence_GetItem(o, i);
    }
#endif
    return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i));
}

static void __Pyx_WriteUnraisable(const char *name, CYTHON_UNUSED int clineno,
                                  CYTHON_UNUSED int lineno, CYTHON_UNUSED const char *filename,
                                  int full_traceback) {
    PyObject *old_exc, *old_val, *old_tb;
    PyObject *ctx;
    __Pyx_ErrFetch(&old_exc, &old_val, &old_tb);
    if (full_traceback) {
        Py_XINCREF(old_exc);
        Py_XINCREF(old_val);
        Py_XINCREF(old_tb);
        __Pyx_ErrRestore(old_exc, old_val, old_tb);
        PyErr_PrintEx(1);
    }
    #if PY_MAJOR_VERSION < 3
    ctx = PyString_FromString(name);
    #else
    ctx = PyUnicode_FromString(name);
    #endif
    __Pyx_ErrRestore(old_exc, old_val, old_tb);
    if (!ctx) {
        PyErr_WriteUnraisable(Py_None);
    } else {
        PyErr_WriteUnraisable(ctx);
        Py_DECREF(ctx);
    }
}

static CYTHON_INLINE PyObject* __Pyx__PyObject_Pop(PyObject* L) {
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x02050000
    if (Py_TYPE(L) == &PySet_Type) {
        return PySet_Pop(L);
    }
#endif
    return __Pyx_PyObject_CallMethod0(L, __pyx_n_s_pop);
}
static CYTHON_INLINE PyObject* __Pyx_PyList_Pop(PyObject* L) {
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x02040000
    if (likely(PyList_GET_SIZE(L) > (((PyListObject*)L)->allocated >> 1))) {
        Py_SIZE(L) -= 1;
        return PyList_GET_ITEM(L, PyList_GET_SIZE(L));
    }
#endif
    return __Pyx_PyObject_CallMethod0(L, __pyx_n_s_pop);
}

static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
}

static CYTHON_INLINE void __Pyx_RaiseUnboundLocalError(const char *varname) {
    PyErr_Format(PyExc_UnboundLocalError, "local variable '%s' referenced before assignment", varname);
}

#if PY_MAJOR_VERSION < 3
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb,
                        CYTHON_UNUSED PyObject *cause) {
    Py_XINCREF(type);
    if (!value || value == Py_None)
        value = NULL;
    else
        Py_INCREF(value);
    if (!tb || tb == Py_None)
        tb = NULL;
    else {
        Py_INCREF(tb);
        if (!PyTraceBack_Check(tb)) {
            PyErr_SetString(PyExc_TypeError,
                "raise: arg 3 must be a traceback or None");
            goto raise_error;
        }
    }
    #if PY_VERSION_HEX < 0x02050000
    if (PyClass_Check(type)) {
    #else
    if (PyType_Check(type)) {
    #endif
#if CYTHON_COMPILING_IN_PYPY
        if (!value) {
            Py_INCREF(Py_None);
            value = Py_None;
        }
#endif
        PyErr_NormalizeException(&type, &value, &tb);
    } else {
        if (value) {
            PyErr_SetString(PyExc_TypeError,
                "instance exception may not have a separate value");
            goto raise_error;
        }
        value = type;
        #if PY_VERSION_HEX < 0x02050000
        if (PyInstance_Check(type)) {
            type = (PyObject*) ((PyInstanceObject*)type)->in_class;
            Py_INCREF(type);
        } else {
            type = 0;
            PyErr_SetString(PyExc_TypeError,
                "raise: exception must be an old-style class or instance");
            goto raise_error;
        }
        #else
        type = (PyObject*) Py_TYPE(type);
        Py_INCREF(type);
        if (!PyType_IsSubtype((PyTypeObject *)type, (PyTypeObject *)PyExc_BaseException)) {
            PyErr_SetString(PyExc_TypeError,
                "raise: exception class must be a subclass of BaseException");
            goto raise_error;
        }
        #endif
    }
    __Pyx_ErrRestore(type, value, tb);
    return;
raise_error:
    Py_XDECREF(value);
    Py_XDECREF(type);
    Py_XDECREF(tb);
    return;
}
#else /* Python 3+ */
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause) {
    PyObject* owned_instance = NULL;
    if (tb == Py_None) {
        tb = 0;
    } else if (tb && !PyTraceBack_Check(tb)) {
        PyErr_SetString(PyExc_TypeError,
            "raise: arg 3 must be a traceback or None");
        goto bad;
    }
    if (value == Py_None)
        value = 0;
    if (PyExceptionInstance_Check(type)) {
        if (value) {
            PyErr_SetString(PyExc_TypeError,
                "instance exception may not have a separate value");
            goto bad;
        }
        value = type;
        type = (PyObject*) Py_TYPE(value);
    } else if (PyExceptionClass_Check(type)) {
        PyObject *instance_class = NULL;
        if (value && PyExceptionInstance_Check(value)) {
            instance_class = (PyObject*) Py_TYPE(value);
            if (instance_class != type) {
                if (PyObject_IsSubclass(instance_class, type)) {
                    type = instance_class;
                } else {
                    instance_class = NULL;
                }
            }
        }
        if (!instance_class) {
            PyObject *args;
            if (!value)
                args = PyTuple_New(0);
            else if (PyTuple_Check(value)) {
                Py_INCREF(value);
                args = value;
            } else
                args = PyTuple_Pack(1, value);
            if (!args)
                goto bad;
            owned_instance = PyObject_Call(type, args, NULL);
            Py_DECREF(args);
            if (!owned_instance)
                goto bad;
            value = owned_instance;
            if (!PyExceptionInstance_Check(value)) {
                PyErr_Format(PyExc_TypeError,
                             "calling %R should have returned an instance of "
                             "BaseException, not %R",
                             type, Py_TYPE(value));
                goto bad;
            }
        }
    } else {
        PyErr_SetString(PyExc_TypeError,
            "raise: exception class must be a subclass of BaseException");
        goto bad;
    }
#if PY_VERSION_HEX >= 0x03030000
    if (cause) {
#else
    if (cause && cause != Py_None) {
#endif
        PyObject *fixed_cause;
        if (cause == Py_None) {
            fixed_cause = NULL;
        } else if (PyExceptionClass_Check(cause)) {
            fixed_cause = PyObject_CallObject(cause, NULL);
            if (fixed_cause == NULL)
                goto bad;
        } else if (PyExceptionInstance_Check(cause)) {
            fixed_cause = cause;
            Py_INCREF(fixed_cause);
        } else {
            PyErr_SetString(PyExc_TypeError,
                            "exception causes must derive from "
                            "BaseException");
            goto bad;
        }
        PyException_SetCause(value, fixed_cause);
    }
    PyErr_SetObject(type, value);
    if (tb) {
        PyThreadState *tstate = PyThreadState_GET();
        PyObject* tmp_tb = tstate->curexc_traceback;
        if (tb != tmp_tb) {
            Py_INCREF(tb);
            tstate->curexc_traceback = tb;
            Py_XDECREF(tmp_tb);
        }
    }
bad:
    Py_XDECREF(owned_instance);
    return;
}
#endif

static void __Pyx_call_next_tp_dealloc(PyObject* obj, destructor current_tp_dealloc) {
    PyTypeObject* type = Py_TYPE(obj);
    while (type && type->tp_dealloc != current_tp_dealloc)
        type = type->tp_base;
    while (type && type->tp_dealloc == current_tp_dealloc)
        type = type->tp_base;
    if (type)
        type->tp_dealloc(obj);
}

static int __Pyx_call_next_tp_traverse(PyObject* obj, visitproc v, void *a, traverseproc current_tp_traverse) {
    PyTypeObject* type = Py_TYPE(obj);
    while (type && type->tp_traverse != current_tp_traverse)
        type = type->tp_base;
    while (type && type->tp_traverse == current_tp_traverse)
        type = type->tp_base;
    if (type && type->tp_traverse)
        return type->tp_traverse(obj, v, a);
    return 0;
}

static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_clear) {
    PyTypeObject* type = Py_TYPE(obj);
    while (type && type->tp_clear != current_tp_clear)
        type = type->tp_base;
    while (type && type->tp_clear == current_tp_clear)
        type = type->tp_base;
    if (type && type->tp_clear)
        type->tp_clear(obj);
}

static int __Pyx_SetVtable(PyObject *dict, void *vtable) {
#if PY_VERSION_HEX >= 0x02070000 && !(PY_MAJOR_VERSION==3&&PY_MINOR_VERSION==0)
    PyObject *ob = PyCapsule_New(vtable, 0, 0);
#else
    PyObject *ob = PyCObject_FromVoidPtr(vtable, 0);
#endif
    if (!ob)
        goto bad;
    if (PyDict_SetItem(dict, __pyx_n_s_pyx_vtable, ob) < 0)
        goto bad;
    Py_DECREF(ob);
    return 0;
bad:
    Py_XDECREF(ob);
    return -1;
}

static void* __Pyx_GetVtable(PyObject *dict) {
    void* ptr;
    PyObject *ob = PyObject_GetItem(dict, __pyx_n_s_pyx_vtable);
    if (!ob)
        goto bad;
#if PY_VERSION_HEX >= 0x02070000 && !(PY_MAJOR_VERSION==3&&PY_MINOR_VERSION==0)
    ptr = PyCapsule_GetPointer(ob, 0);
#else
    ptr = PyCObject_AsVoidPtr(ob);
#endif
    if (!ptr && !PyErr_Occurred())
        PyErr_SetString(PyExc_RuntimeError, "invalid vtable found for imported type");
    Py_DECREF(ob);
    return ptr;
bad:
    Py_XDECREF(ob);
    return NULL;
}

static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) {
    PyObject* value = __Pyx_PyObject_GetAttrStr(module, name);
    if (unlikely(!value) && PyErr_ExceptionMatches(PyExc_AttributeError)) {
        PyErr_Format(PyExc_ImportError,
        #if PY_MAJOR_VERSION < 3
            "cannot import name %.230s", PyString_AS_STRING(name));
        #else
            "cannot import name %S", name);
        #endif
    }
    return value;
}

static PyTypeObject* __Pyx_FetchCommonType(PyTypeObject* type) {
    PyObject* fake_module;
    PyTypeObject* cached_type = NULL;
    fake_module = PyImport_AddModule((char*) "_cython_" CYTHON_ABI);
    if (!fake_module) return NULL;
    Py_INCREF(fake_module);
    cached_type = (PyTypeObject*) PyObject_GetAttrString(fake_module, type->tp_name);
    if (cached_type) {
        if (!PyType_Check((PyObject*)cached_type)) {
            PyErr_Format(PyExc_TypeError,
                "Shared Cython type %.200s is not a type object",
                type->tp_name);
            goto bad;
        }
        if (cached_type->tp_basicsize != type->tp_basicsize) {
            PyErr_Format(PyExc_TypeError,
                "Shared Cython type %.200s has the wrong size, try recompiling",
                type->tp_name);
            goto bad;
        }
    } else {
        if (!PyErr_ExceptionMatches(PyExc_AttributeError)) goto bad;
        PyErr_Clear();
        if (PyType_Ready(type) < 0) goto bad;
        if (PyObject_SetAttrString(fake_module, type->tp_name, (PyObject*) type) < 0)
            goto bad;
        Py_INCREF(type);
        cached_type = type;
    }
done:
    Py_DECREF(fake_module);
    return cached_type;
bad:
    Py_XDECREF(cached_type);
    cached_type = NULL;
    goto done;
}

static PyObject *
__Pyx_CyFunction_get_doc(__pyx_CyFunctionObject *op, CYTHON_UNUSED void *closure)
{
    if (unlikely(op->func_doc == NULL)) {
        if (op->func.m_ml->ml_doc) {
#if PY_MAJOR_VERSION >= 3
            op->func_doc = PyUnicode_FromString(op->func.m_ml->ml_doc);
#else
            op->func_doc = PyString_FromString(op->func.m_ml->ml_doc);
#endif
            if (unlikely(op->func_doc == NULL))
                return NULL;
        } else {
            Py_INCREF(Py_None);
            return Py_None;
        }
    }
    Py_INCREF(op->func_doc);
    return op->func_doc;
}
static int
__Pyx_CyFunction_set_doc(__pyx_CyFunctionObject *op, PyObject *value)
{
    PyObject *tmp = op->func_doc;
    if (value == NULL)
        value = Py_None; /* Mark as deleted */
    Py_INCREF(value);
    op->func_doc = value;
    Py_XDECREF(tmp);
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_name(__pyx_CyFunctionObject *op)
{
    if (unlikely(op->func_name == NULL)) {
#if PY_MAJOR_VERSION >= 3
        op->func_name = PyUnicode_InternFromString(op->func.m_ml->ml_name);
#else
        op->func_name = PyString_InternFromString(op->func.m_ml->ml_name);
#endif
        if (unlikely(op->func_name == NULL))
            return NULL;
    }
    Py_INCREF(op->func_name);
    return op->func_name;
}
static int
__Pyx_CyFunction_set_name(__pyx_CyFunctionObject *op, PyObject *value)
{
    PyObject *tmp;
#if PY_MAJOR_VERSION >= 3
    if (unlikely(value == NULL || !PyUnicode_Check(value))) {
#else
    if (unlikely(value == NULL || !PyString_Check(value))) {
#endif
        PyErr_SetString(PyExc_TypeError,
                        "__name__ must be set to a string object");
        return -1;
    }
    tmp = op->func_name;
    Py_INCREF(value);
    op->func_name = value;
    Py_XDECREF(tmp);
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_qualname(__pyx_CyFunctionObject *op)
{
    Py_INCREF(op->func_qualname);
    return op->func_qualname;
}
static int
__Pyx_CyFunction_set_qualname(__pyx_CyFunctionObject *op, PyObject *value)
{
    PyObject *tmp;
#if PY_MAJOR_VERSION >= 3
    if (unlikely(value == NULL || !PyUnicode_Check(value))) {
#else
    if (unlikely(value == NULL || !PyString_Check(value))) {
#endif
        PyErr_SetString(PyExc_TypeError,
                        "__qualname__ must be set to a string object");
        return -1;
    }
    tmp = op->func_qualname;
    Py_INCREF(value);
    op->func_qualname = value;
    Py_XDECREF(tmp);
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_self(__pyx_CyFunctionObject *m, CYTHON_UNUSED void *closure)
{
    PyObject *self;
    self = m->func_closure;
    if (self == NULL)
        self = Py_None;
    Py_INCREF(self);
    return self;
}
static PyObject *
__Pyx_CyFunction_get_dict(__pyx_CyFunctionObject *op)
{
    if (unlikely(op->func_dict == NULL)) {
        op->func_dict = PyDict_New();
        if (unlikely(op->func_dict == NULL))
            return NULL;
    }
    Py_INCREF(op->func_dict);
    return op->func_dict;
}
static int
__Pyx_CyFunction_set_dict(__pyx_CyFunctionObject *op, PyObject *value)
{
    PyObject *tmp;
    if (unlikely(value == NULL)) {
        PyErr_SetString(PyExc_TypeError,
               "function's dictionary may not be deleted");
        return -1;
    }
    if (unlikely(!PyDict_Check(value))) {
        PyErr_SetString(PyExc_TypeError,
               "setting function's dictionary to a non-dict");
        return -1;
    }
    tmp = op->func_dict;
    Py_INCREF(value);
    op->func_dict = value;
    Py_XDECREF(tmp);
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_globals(__pyx_CyFunctionObject *op)
{
    Py_INCREF(op->func_globals);
    return op->func_globals;
}
static PyObject *
__Pyx_CyFunction_get_closure(CYTHON_UNUSED __pyx_CyFunctionObject *op)
{
    Py_INCREF(Py_None);
    return Py_None;
}
static PyObject *
__Pyx_CyFunction_get_code(__pyx_CyFunctionObject *op)
{
    PyObject* result = (op->func_code) ? op->func_code : Py_None;
    Py_INCREF(result);
    return result;
}
static int
__Pyx_CyFunction_init_defaults(__pyx_CyFunctionObject *op) {
    PyObject *res = op->defaults_getter((PyObject *) op);
    if (unlikely(!res))
        return -1;
    op->defaults_tuple = PyTuple_GET_ITEM(res, 0);
    Py_INCREF(op->defaults_tuple);
    op->defaults_kwdict = PyTuple_GET_ITEM(res, 1);
    Py_INCREF(op->defaults_kwdict);
    Py_DECREF(res);
    return 0;
}
static int
__Pyx_CyFunction_set_defaults(__pyx_CyFunctionObject *op, PyObject* value) {
    PyObject* tmp;
    if (!value) {
        value = Py_None;
    } else if (value != Py_None && !PyTuple_Check(value)) {
        PyErr_SetString(PyExc_TypeError,
                        "__defaults__ must be set to a tuple object");
        return -1;
    }
    Py_INCREF(value);
    tmp = op->defaults_tuple;
    op->defaults_tuple = value;
    Py_XDECREF(tmp);
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_defaults(__pyx_CyFunctionObject *op) {
    PyObject* result = op->defaults_tuple;
    if (unlikely(!result)) {
        if (op->defaults_getter) {
            if (__Pyx_CyFunction_init_defaults(op) < 0) return NULL;
            result = op->defaults_tuple;
        } else {
            result = Py_None;
        }
    }
    Py_INCREF(result);
    return result;
}
static int
__Pyx_CyFunction_set_kwdefaults(__pyx_CyFunctionObject *op, PyObject* value) {
    PyObject* tmp;
    if (!value) {
        value = Py_None;
    } else if (value != Py_None && !PyDict_Check(value)) {
        PyErr_SetString(PyExc_TypeError,
                        "__kwdefaults__ must be set to a dict object");
        return -1;
    }
    Py_INCREF(value);
    tmp = op->defaults_kwdict;
    op->defaults_kwdict = value;
    Py_XDECREF(tmp);
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_kwdefaults(__pyx_CyFunctionObject *op) {
    PyObject* result = op->defaults_kwdict;
    if (unlikely(!result)) {
        if (op->defaults_getter) {
            if (__Pyx_CyFunction_init_defaults(op) < 0) return NULL;
            result = op->defaults_kwdict;
        } else {
            result = Py_None;
        }
    }
    Py_INCREF(result);
    return result;
}
static int
__Pyx_CyFunction_set_annotations(__pyx_CyFunctionObject *op, PyObject* value) {
    PyObject* tmp;
    if (!value || value == Py_None) {
        value = NULL;
    } else if (!PyDict_Check(value)) {
        PyErr_SetString(PyExc_TypeError,
                        "__annotations__ must be set to a dict object");
        return -1;
    }
    Py_XINCREF(value);
    tmp = op->func_annotations;
    op->func_annotations = value;
    Py_XDECREF(tmp);
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_annotations(__pyx_CyFunctionObject *op) {
    PyObject* result = op->func_annotations;
    if (unlikely(!result)) {
        result = PyDict_New();
        if (unlikely(!result)) return NULL;
        op->func_annotations = result;
    }
    Py_INCREF(result);
    return result;
}
static PyGetSetDef __pyx_CyFunction_getsets[] = {
    {(char *) "func_doc", (getter)__Pyx_CyFunction_get_doc, (setter)__Pyx_CyFunction_set_doc, 0, 0},
    {(char *) "__doc__",  (getter)__Pyx_CyFunction_get_doc, (setter)__Pyx_CyFunction_set_doc, 0, 0},
    {(char *) "func_name", (getter)__Pyx_CyFunction_get_name, (setter)__Pyx_CyFunction_set_name, 0, 0},
    {(char *) "__name__", (getter)__Pyx_CyFunction_get_name, (setter)__Pyx_CyFunction_set_name, 0, 0},
    {(char *) "__qualname__", (getter)__Pyx_CyFunction_get_qualname, (setter)__Pyx_CyFunction_set_qualname, 0, 0},
    {(char *) "__self__", (getter)__Pyx_CyFunction_get_self, 0, 0, 0},
    {(char *) "func_dict", (getter)__Pyx_CyFunction_get_dict, (setter)__Pyx_CyFunction_set_dict, 0, 0},
    {(char *) "__dict__", (getter)__Pyx_CyFunction_get_dict, (setter)__Pyx_CyFunction_set_dict, 0, 0},
    {(char *) "func_globals", (getter)__Pyx_CyFunction_get_globals, 0, 0, 0},
    {(char *) "__globals__", (getter)__Pyx_CyFunction_get_globals, 0, 0, 0},
    {(char *) "func_closure", (getter)__Pyx_CyFunction_get_closure, 0, 0, 0},
    {(char *) "__closure__", (getter)__Pyx_CyFunction_get_closure, 0, 0, 0},
    {(char *) "func_code", (getter)__Pyx_CyFunction_get_code, 0, 0, 0},
    {(char *) "__code__", (getter)__Pyx_CyFunction_get_code, 0, 0, 0},
    {(char *) "func_defaults", (getter)__Pyx_CyFunction_get_defaults, (setter)__Pyx_CyFunction_set_defaults, 0, 0},
    {(char *) "__defaults__", (getter)__Pyx_CyFunction_get_defaults, (setter)__Pyx_CyFunction_set_defaults, 0, 0},
    {(char *) "__kwdefaults__", (getter)__Pyx_CyFunction_get_kwdefaults, (setter)__Pyx_CyFunction_set_kwdefaults, 0, 0},
    {(char *) "__annotations__", (getter)__Pyx_CyFunction_get_annotations, (setter)__Pyx_CyFunction_set_annotations, 0, 0},
    {0, 0, 0, 0, 0}
};
#ifndef PY_WRITE_RESTRICTED /* < Py2.5 */
#define PY_WRITE_RESTRICTED WRITE_RESTRICTED
#endif
static PyMemberDef __pyx_CyFunction_members[] = {
    {(char *) "__module__", T_OBJECT, offsetof(__pyx_CyFunctionObject, func.m_module), PY_WRITE_RESTRICTED, 0},
    {0, 0, 0,  0, 0}
};
static PyObject *
__Pyx_CyFunction_reduce(__pyx_CyFunctionObject *m, CYTHON_UNUSED PyObject *args)
{
#if PY_MAJOR_VERSION >= 3
    return PyUnicode_FromString(m->func.m_ml->ml_name);
#else
    return PyString_FromString(m->func.m_ml->ml_name);
#endif
}
static PyMethodDef __pyx_CyFunction_methods[] = {
    {__Pyx_NAMESTR("__reduce__"), (PyCFunction)__Pyx_CyFunction_reduce, METH_VARARGS, 0},
    {0, 0, 0, 0}
};
static PyObject *__Pyx_CyFunction_New(PyTypeObject *type, PyMethodDef *ml, int flags, PyObject* qualname,
                                      PyObject *closure, PyObject *module, PyObject* globals, PyObject* code) {
    __pyx_CyFunctionObject *op = PyObject_GC_New(__pyx_CyFunctionObject, type);
    if (op == NULL)
        return NULL;
    op->flags = flags;
    op->func_weakreflist = NULL;
    op->func.m_ml = ml;
    op->func.m_self = (PyObject *) op;
    Py_XINCREF(closure);
    op->func_closure = closure;
    Py_XINCREF(module);
    op->func.m_module = module;
    op->func_dict = NULL;
    op->func_name = NULL;
    Py_INCREF(qualname);
    op->func_qualname = qualname;
    op->func_doc = NULL;
    op->func_classobj = NULL;
    op->func_globals = globals;
    Py_INCREF(op->func_globals);
    Py_XINCREF(code);
    op->func_code = code;
    op->defaults_pyobjects = 0;
    op->defaults = NULL;
    op->defaults_tuple = NULL;
    op->defaults_kwdict = NULL;
    op->defaults_getter = NULL;
    op->func_annotations = NULL;
    PyObject_GC_Track(op);
    return (PyObject *) op;
}
static int
__Pyx_CyFunction_clear(__pyx_CyFunctionObject *m)
{
    Py_CLEAR(m->func_closure);
    Py_CLEAR(m->func.m_module);
    Py_CLEAR(m->func_dict);
    Py_CLEAR(m->func_name);
    Py_CLEAR(m->func_qualname);
    Py_CLEAR(m->func_doc);
    Py_CLEAR(m->func_globals);
    Py_CLEAR(m->func_code);
    Py_CLEAR(m->func_classobj);
    Py_CLEAR(m->defaults_tuple);
    Py_CLEAR(m->defaults_kwdict);
    Py_CLEAR(m->func_annotations);
    if (m->defaults) {
        PyObject **pydefaults = __Pyx_CyFunction_Defaults(PyObject *, m);
        int i;
        for (i = 0; i < m->defaults_pyobjects; i++)
            Py_XDECREF(pydefaults[i]);
        PyMem_Free(m->defaults);
        m->defaults = NULL;
    }
    return 0;
}
static void __Pyx_CyFunction_dealloc(__pyx_CyFunctionObject *m)
{
    PyObject_GC_UnTrack(m);
    if (m->func_weakreflist != NULL)
        PyObject_ClearWeakRefs((PyObject *) m);
    __Pyx_CyFunction_clear(m);
    PyObject_GC_Del(m);
}
static int __Pyx_CyFunction_traverse(__pyx_CyFunctionObject *m, visitproc visit, void *arg)
{
    Py_VISIT(m->func_closure);
    Py_VISIT(m->func.m_module);
    Py_VISIT(m->func_dict);
    Py_VISIT(m->func_name);
    Py_VISIT(m->func_qualname);
    Py_VISIT(m->func_doc);
    Py_VISIT(m->func_globals);
    Py_VISIT(m->func_code);
    Py_VISIT(m->func_classobj);
    Py_VISIT(m->defaults_tuple);
    Py_VISIT(m->defaults_kwdict);
    if (m->defaults) {
        PyObject **pydefaults = __Pyx_CyFunction_Defaults(PyObject *, m);
        int i;
        for (i = 0; i < m->defaults_pyobjects; i++)
            Py_VISIT(pydefaults[i]);
    }
    return 0;
}
static PyObject *__Pyx_CyFunction_descr_get(PyObject *func, PyObject *obj, PyObject *type)
{
    __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
    if (m->flags & __Pyx_CYFUNCTION_STATICMETHOD) {
        Py_INCREF(func);
        return func;
    }
    if (m->flags & __Pyx_CYFUNCTION_CLASSMETHOD) {
        if (type == NULL)
            type = (PyObject *)(Py_TYPE(obj));
        return PyMethod_New(func,
                            type, (PyObject *)(Py_TYPE(type)));
    }
    if (obj == Py_None)
        obj = NULL;
    return PyMethod_New(func, obj, type);
}
static PyObject*
__Pyx_CyFunction_repr(__pyx_CyFunctionObject *op)
{
#if PY_MAJOR_VERSION >= 3
    return PyUnicode_FromFormat("<cyfunction %U at %p>",
                                op->func_qualname, (void *)op);
#else
    return PyString_FromFormat("<cyfunction %s at %p>",
                               PyString_AsString(op->func_qualname), (void *)op);
#endif
}
#if CYTHON_COMPILING_IN_PYPY
static PyObject * __Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) {
    PyCFunctionObject* f = (PyCFunctionObject*)func;
    PyCFunction meth = PyCFunction_GET_FUNCTION(func);
    PyObject *self = PyCFunction_GET_SELF(func);
    Py_ssize_t size;
    switch (PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST)) {
    case METH_VARARGS:
        if (likely(kw == NULL) || PyDict_Size(kw) == 0)
            return (*meth)(self, arg);
        break;
    case METH_VARARGS | METH_KEYWORDS:
        return (*(PyCFunctionWithKeywords)meth)(self, arg, kw);
    case METH_NOARGS:
        if (likely(kw == NULL) || PyDict_Size(kw) == 0) {
            size = PyTuple_GET_SIZE(arg);
            if (size == 0)
                return (*meth)(self, NULL);
            PyErr_Format(PyExc_TypeError,
                "%.200s() takes no arguments (%zd given)",
                f->m_ml->ml_name, size);
            return NULL;
        }
        break;
    case METH_O:
        if (likely(kw == NULL) || PyDict_Size(kw) == 0) {
            size = PyTuple_GET_SIZE(arg);
            if (size == 1)
                return (*meth)(self, PyTuple_GET_ITEM(arg, 0));
            PyErr_Format(PyExc_TypeError,
                "%.200s() takes exactly one argument (%zd given)",
                f->m_ml->ml_name, size);
            return NULL;
        }
        break;
    default:
        PyErr_SetString(PyExc_SystemError, "Bad call flags in "
                        "__Pyx_CyFunction_Call. METH_OLDARGS is no "
                        "longer supported!");
        return NULL;
    }
    PyErr_Format(PyExc_TypeError, "%.200s() takes no keyword arguments",
                 f->m_ml->ml_name);
    return NULL;
}
#else
static PyObject * __Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) {
	return PyCFunction_Call(func, arg, kw);
}
#endif
static PyTypeObject __pyx_CyFunctionType_type = {
    PyVarObject_HEAD_INIT(0, 0)
    __Pyx_NAMESTR("cython_function_or_method"), /*tp_name*/
    sizeof(__pyx_CyFunctionObject),   /*tp_basicsize*/
    0,                                  /*tp_itemsize*/
    (destructor) __Pyx_CyFunction_dealloc, /*tp_dealloc*/
    0,                                  /*tp_print*/
    0,                                  /*tp_getattr*/
    0,                                  /*tp_setattr*/
#if PY_MAJOR_VERSION < 3
    0,                                  /*tp_compare*/
#else
    0,                                  /*reserved*/
#endif
    (reprfunc) __Pyx_CyFunction_repr,   /*tp_repr*/
    0,                                  /*tp_as_number*/
    0,                                  /*tp_as_sequence*/
    0,                                  /*tp_as_mapping*/
    0,                                  /*tp_hash*/
    __Pyx_CyFunction_Call,              /*tp_call*/
    0,                                  /*tp_str*/
    0,                                  /*tp_getattro*/
    0,                                  /*tp_setattro*/
    0,                                  /*tp_as_buffer*/
    Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, /* tp_flags*/
    0,                                  /*tp_doc*/
    (traverseproc) __Pyx_CyFunction_traverse,   /*tp_traverse*/
    (inquiry) __Pyx_CyFunction_clear,   /*tp_clear*/
    0,                                  /*tp_richcompare*/
    offsetof(__pyx_CyFunctionObject, func_weakreflist), /* tp_weaklistoffse */
    0,                                  /*tp_iter*/
    0,                                  /*tp_iternext*/
    __pyx_CyFunction_methods,           /*tp_methods*/
    __pyx_CyFunction_members,           /*tp_members*/
    __pyx_CyFunction_getsets,           /*tp_getset*/
    0,                                  /*tp_base*/
    0,                                  /*tp_dict*/
    __Pyx_CyFunction_descr_get,         /*tp_descr_get*/
    0,                                  /*tp_descr_set*/
    offsetof(__pyx_CyFunctionObject, func_dict),/*tp_dictoffset*/
    0,                                  /*tp_init*/
    0,                                  /*tp_alloc*/
    0,                                  /*tp_new*/
    0,                                  /*tp_free*/
    0,                                  /*tp_is_gc*/
    0,                                  /*tp_bases*/
    0,                                  /*tp_mro*/
    0,                                  /*tp_cache*/
    0,                                  /*tp_subclasses*/
    0,                                  /*tp_weaklist*/
    0,                                  /*tp_del*/
#if PY_VERSION_HEX >= 0x02060000
    0,                                  /*tp_version_tag*/
#endif
#if PY_VERSION_HEX >= 0x030400a1
    0,                                  /*tp_finalize*/
#endif
};
static int __Pyx_CyFunction_init(void) {
#if !CYTHON_COMPILING_IN_PYPY
    __pyx_CyFunctionType_type.tp_call = PyCFunction_Call;
#endif
    __pyx_CyFunctionType = __Pyx_FetchCommonType(&__pyx_CyFunctionType_type);
    if (__pyx_CyFunctionType == NULL) {
        return -1;
    }
    return 0;
}
static CYTHON_INLINE void *__Pyx_CyFunction_InitDefaults(PyObject *func, size_t size, int pyobjects) {
    __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
    m->defaults = PyMem_Malloc(size);
    if (!m->defaults)
        return PyErr_NoMemory();
    memset(m->defaults, 0, size);
    m->defaults_pyobjects = pyobjects;
    return m->defaults;
}
static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsTuple(PyObject *func, PyObject *tuple) {
    __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
    m->defaults_tuple = tuple;
    Py_INCREF(tuple);
}
static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *func, PyObject *dict) {
    __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
    m->defaults_kwdict = dict;
    Py_INCREF(dict);
}
static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *func, PyObject *dict) {
    __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
    m->func_annotations = dict;
    Py_INCREF(dict);
}

static PyObject *__Pyx_CalculateMetaclass(PyTypeObject *metaclass, PyObject *bases) {
    Py_ssize_t i, nbases = PyTuple_GET_SIZE(bases);
    for (i=0; i < nbases; i++) {
        PyTypeObject *tmptype;
        PyObject *tmp = PyTuple_GET_ITEM(bases, i);
        tmptype = Py_TYPE(tmp);
#if PY_MAJOR_VERSION < 3
        if (tmptype == &PyClass_Type)
            continue;
#endif
        if (!metaclass) {
            metaclass = tmptype;
            continue;
        }
        if (PyType_IsSubtype(metaclass, tmptype))
            continue;
        if (PyType_IsSubtype(tmptype, metaclass)) {
            metaclass = tmptype;
            continue;
        }
        PyErr_SetString(PyExc_TypeError,
                        "metaclass conflict: "
                        "the metaclass of a derived class "
                        "must be a (non-strict) subclass "
                        "of the metaclasses of all its bases");
        return NULL;
    }
    if (!metaclass) {
#if PY_MAJOR_VERSION < 3
        metaclass = &PyClass_Type;
#else
        metaclass = &PyType_Type;
#endif
    }
    Py_INCREF((PyObject*) metaclass);
    return (PyObject*) metaclass;
}

static PyObject *__Pyx_Py3MetaclassPrepare(PyObject *metaclass, PyObject *bases, PyObject *name,
                                           PyObject *qualname, PyObject *mkw, PyObject *modname, PyObject *doc) {
    PyObject *ns;
    if (metaclass) {
        PyObject *prep = __Pyx_PyObject_GetAttrStr(metaclass, __pyx_n_s_prepare);
        if (prep) {
            PyObject *pargs = PyTuple_Pack(2, name, bases);
            if (unlikely(!pargs)) {
                Py_DECREF(prep);
                return NULL;
            }
            ns = PyObject_Call(prep, pargs, mkw);
            Py_DECREF(prep);
            Py_DECREF(pargs);
        } else {
            if (unlikely(!PyErr_ExceptionMatches(PyExc_AttributeError)))
                return NULL;
            PyErr_Clear();
            ns = PyDict_New();
        }
    } else {
        ns = PyDict_New();
    }
    if (unlikely(!ns))
        return NULL;
    if (unlikely(PyObject_SetItem(ns, __pyx_n_s_module, modname) < 0)) goto bad;
    if (unlikely(PyObject_SetItem(ns, __pyx_n_s_qualname, qualname) < 0)) goto bad;
    if (unlikely(doc && PyObject_SetItem(ns, __pyx_n_s_doc, doc) < 0)) goto bad;
    return ns;
bad:
    Py_DECREF(ns);
    return NULL;
}
static PyObject *__Pyx_Py3ClassCreate(PyObject *metaclass, PyObject *name, PyObject *bases,
                                      PyObject *dict, PyObject *mkw,
                                      int calculate_metaclass, int allow_py2_metaclass) {
    PyObject *result, *margs;
    PyObject *owned_metaclass = NULL;
    if (allow_py2_metaclass) {
        owned_metaclass = PyObject_GetItem(dict, __pyx_n_s_metaclass);
        if (owned_metaclass) {
            metaclass = owned_metaclass;
        } else if (likely(PyErr_ExceptionMatches(PyExc_KeyError))) {
            PyErr_Clear();
        } else {
            return NULL;
        }
    }
    if (calculate_metaclass && (!metaclass || PyType_Check(metaclass))) {
        metaclass = __Pyx_CalculateMetaclass((PyTypeObject*) metaclass, bases);
        Py_XDECREF(owned_metaclass);
        if (unlikely(!metaclass))
            return NULL;
        owned_metaclass = metaclass;
    }
    margs = PyTuple_Pack(3, name, bases, dict);
    if (unlikely(!margs)) {
        result = NULL;
    } else {
        result = PyObject_Call(metaclass, margs, mkw);
        Py_DECREF(margs);
    }
    Py_XDECREF(owned_metaclass);
    return result;
}

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value) {
    const int neg_one = (int) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
    if (is_unsigned) {
        if (sizeof(int) < sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(int) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
        } else if (sizeof(int) <= sizeof(unsigned long long)) {
            return PyLong_FromUnsignedLongLong((unsigned long long) value);
        }
    } else {
        if (sizeof(int) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(int) <= sizeof(long long)) {
            return PyLong_FromLongLong((long long) value);
        }
    }
    {
        int one = 1; int little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&value;
        return _PyLong_FromByteArray(bytes, sizeof(int),
                                     little, !is_unsigned);
    }
}

#define __PYX_VERIFY_RETURN_INT(target_type, func_type, func)             \
    {                                                                     \
        func_type value = func(x);                                        \
        if (sizeof(target_type) < sizeof(func_type)) {                    \
            if (unlikely(value != (func_type) (target_type) value)) {     \
                func_type zero = 0;                                       \
                PyErr_SetString(PyExc_OverflowError,                      \
                    (is_unsigned && unlikely(value < zero)) ?             \
                    "can't convert negative value to " #target_type :     \
                    "value too large to convert to " #target_type);       \
                return (target_type) -1;                                  \
            }                                                             \
        }                                                                 \
        return (target_type) value;                                       \
    }

#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
  #include "longintrepr.h"
 #endif
#endif
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
    const int neg_one = (int) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(int) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(int, long, PyInt_AS_LONG)
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                PyErr_SetString(PyExc_OverflowError,
                                "can't convert negative value to int");
                return (int) -1;
            }
            return (int) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
            if (sizeof(digit) <= sizeof(int)) {
                switch (Py_SIZE(x)) {
                    case  0: return 0;
                    case  1: return (int) ((PyLongObject*)x)->ob_digit[0];
                }
            }
 #endif
#endif
            if (unlikely(Py_SIZE(x) < 0)) {
                PyErr_SetString(PyExc_OverflowError,
                                "can't convert negative value to int");
                return (int) -1;
            }
            if (sizeof(int) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT(int, unsigned long, PyLong_AsUnsignedLong)
            } else if (sizeof(int) <= sizeof(unsigned long long)) {
                __PYX_VERIFY_RETURN_INT(int, unsigned long long, PyLong_AsUnsignedLongLong)
            }
        } else {
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
            if (sizeof(digit) <= sizeof(int)) {
                switch (Py_SIZE(x)) {
                    case  0: return 0;
                    case  1: return +(int) ((PyLongObject*)x)->ob_digit[0];
                    case -1: return -(int) ((PyLongObject*)x)->ob_digit[0];
                }
            }
 #endif
#endif
            if (sizeof(int) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT(int, long, PyLong_AsLong)
            } else if (sizeof(int) <= sizeof(long long)) {
                __PYX_VERIFY_RETURN_INT(int, long long, PyLong_AsLongLong)
            }
        }
        {
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
            PyErr_SetString(PyExc_RuntimeError,
                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
#else
            int val;
            PyObject *v = __Pyx_PyNumber_Int(x);
 #if PY_MAJOR_VERSION < 3
            if (likely(v) && !PyLong_Check(v)) {
                PyObject *tmp = v;
                v = PyNumber_Long(tmp);
                Py_DECREF(tmp);
            }
 #endif
            if (likely(v)) {
                int one = 1; int is_little = (int)*(unsigned char *)&one;
                unsigned char *bytes = (unsigned char *)&val;
                int ret = _PyLong_AsByteArray((PyLongObject *)v,
                                              bytes, sizeof(val),
                                              is_little, !is_unsigned);
                Py_DECREF(v);
                if (likely(!ret))
                    return val;
            }
#endif
            return (int) -1;
        }
    } else {
        int val;
        PyObject *tmp = __Pyx_PyNumber_Int(x);
        if (!tmp) return (int) -1;
        val = __Pyx_PyInt_As_int(tmp);
        Py_DECREF(tmp);
        return val;
    }
}

static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) {
    PyObject *empty_list = 0;
    PyObject *module = 0;
    PyObject *global_dict = 0;
    PyObject *empty_dict = 0;
    PyObject *list;
    #if PY_VERSION_HEX < 0x03030000
    PyObject *py_import;
    py_import = __Pyx_PyObject_GetAttrStr(__pyx_b, __pyx_n_s_import_2);
    if (!py_import)
        goto bad;
    #endif
    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;
    #if PY_VERSION_HEX >= 0x02050000
    {
        #if PY_MAJOR_VERSION >= 3
        if (level == -1) {
            if (strchr(__Pyx_MODULE_NAME, '.')) {
                #if PY_VERSION_HEX < 0x03030000
                PyObject *py_level = PyInt_FromLong(1);
                if (!py_level)
                    goto bad;
                module = PyObject_CallFunctionObjArgs(py_import,
                    name, global_dict, empty_dict, list, py_level, NULL);
                Py_DECREF(py_level);
                #else
                module = PyImport_ImportModuleLevelObject(
                    name, global_dict, empty_dict, list, 1);
                #endif
                if (!module) {
                    if (!PyErr_ExceptionMatches(PyExc_ImportError))
                        goto bad;
                    PyErr_Clear();
                }
            }
            level = 0; /* try absolute import on failure */
        }
        #endif
        if (!module) {
            #if PY_VERSION_HEX < 0x03030000
            PyObject *py_level = PyInt_FromLong(level);
            if (!py_level)
                goto bad;
            module = PyObject_CallFunctionObjArgs(py_import,
                name, global_dict, empty_dict, list, py_level, NULL);
            Py_DECREF(py_level);
            #else
            module = PyImport_ImportModuleLevelObject(
                name, global_dict, empty_dict, list, level);
            #endif
        }
    }
    #else
    if (level>0) {
        PyErr_SetString(PyExc_RuntimeError, "Relative import is not supported for Python <=2.4.");
        goto bad;
    }
    module = PyObject_CallFunctionObjArgs(py_import,
        name, global_dict, empty_dict, list, NULL);
    #endif
bad:
    #if PY_VERSION_HEX < 0x03030000
    Py_XDECREF(py_import);
    #endif
    Py_XDECREF(empty_list);
    Py_XDECREF(empty_dict);
    return module;
}

static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
    const long neg_one = (long) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
    if (is_unsigned) {
        if (sizeof(long) < sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(long) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
        } else if (sizeof(long) <= sizeof(unsigned long long)) {
            return PyLong_FromUnsignedLongLong((unsigned long long) value);
        }
    } else {
        if (sizeof(long) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
        } else if (sizeof(long) <= sizeof(long long)) {
            return PyLong_FromLongLong((long long) value);
        }
    }
    {
        int one = 1; int little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&value;
        return _PyLong_FromByteArray(bytes, sizeof(long),
                                     little, !is_unsigned);
    }
}

#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
  #include "longintrepr.h"
 #endif
#endif
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
    const long neg_one = (long) -1, const_zero = 0;
    const int is_unsigned = neg_one > const_zero;
#if PY_MAJOR_VERSION < 3
    if (likely(PyInt_Check(x))) {
        if (sizeof(long) < sizeof(long)) {
            __PYX_VERIFY_RETURN_INT(long, long, PyInt_AS_LONG)
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                PyErr_SetString(PyExc_OverflowError,
                                "can't convert negative value to long");
                return (long) -1;
            }
            return (long) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
            if (sizeof(digit) <= sizeof(long)) {
                switch (Py_SIZE(x)) {
                    case  0: return 0;
                    case  1: return (long) ((PyLongObject*)x)->ob_digit[0];
                }
            }
 #endif
#endif
            if (unlikely(Py_SIZE(x) < 0)) {
                PyErr_SetString(PyExc_OverflowError,
                                "can't convert negative value to long");
                return (long) -1;
            }
            if (sizeof(long) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT(long, unsigned long, PyLong_AsUnsignedLong)
            } else if (sizeof(long) <= sizeof(unsigned long long)) {
                __PYX_VERIFY_RETURN_INT(long, unsigned long long, PyLong_AsUnsignedLongLong)
            }
        } else {
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
            if (sizeof(digit) <= sizeof(long)) {
                switch (Py_SIZE(x)) {
                    case  0: return 0;
                    case  1: return +(long) ((PyLongObject*)x)->ob_digit[0];
                    case -1: return -(long) ((PyLongObject*)x)->ob_digit[0];
                }
            }
 #endif
#endif
            if (sizeof(long) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT(long, long, PyLong_AsLong)
            } else if (sizeof(long) <= sizeof(long long)) {
                __PYX_VERIFY_RETURN_INT(long, long long, PyLong_AsLongLong)
            }
        }
        {
#if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
            PyErr_SetString(PyExc_RuntimeError,
                            "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
#else
            long val;
            PyObject *v = __Pyx_PyNumber_Int(x);
 #if PY_MAJOR_VERSION < 3
            if (likely(v) && !PyLong_Check(v)) {
                PyObject *tmp = v;
                v = PyNumber_Long(tmp);
                Py_DECREF(tmp);
            }
 #endif
            if (likely(v)) {
                int one = 1; int is_little = (int)*(unsigned char *)&one;
                unsigned char *bytes = (unsigned char *)&val;
                int ret = _PyLong_AsByteArray((PyLongObject *)v,
                                              bytes, sizeof(val),
                                              is_little, !is_unsigned);
                Py_DECREF(v);
                if (likely(!ret))
                    return val;
            }
#endif
            return (long) -1;
        }
    } else {
        long val;
        PyObject *tmp = __Pyx_PyNumber_Int(x);
        if (!tmp) return (long) -1;
        val = __Pyx_PyInt_As_long(tmp);
        Py_DECREF(tmp);
        return val;
    }
}

static int __Pyx_check_binary_version(void) {
    char ctversion[4], rtversion[4];
    PyOS_snprintf(ctversion, 4, "%d.%d", PY_MAJOR_VERSION, PY_MINOR_VERSION);
    PyOS_snprintf(rtversion, 4, "%s", Py_GetVersion());
    if (ctversion[0] != rtversion[0] || ctversion[2] != rtversion[2]) {
        char message[200];
        PyOS_snprintf(message, sizeof(message),
                      "compiletime version %s of module '%.100s' "
                      "does not match runtime version %s",
                      ctversion, __Pyx_MODULE_NAME, rtversion);
        #if PY_VERSION_HEX < 0x02050000
        return PyErr_Warn(NULL, message);
        #else
        return PyErr_WarnEx(NULL, message, 1);
        #endif
    }
    return 0;
}

#ifndef __PYX_HAVE_RT_ImportModule
#define __PYX_HAVE_RT_ImportModule
static PyObject *__Pyx_ImportModule(const char *name) {
    PyObject *py_name = 0;
    PyObject *py_module = 0;
    py_name = __Pyx_PyIdentifier_FromString(name);
    if (!py_name)
        goto bad;
    py_module = PyImport_Import(py_name);
    Py_DECREF(py_name);
    return py_module;
bad:
    Py_XDECREF(py_name);
    return 0;
}
#endif

#ifndef __PYX_HAVE_RT_ImportType
#define __PYX_HAVE_RT_ImportType
static PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class_name,
    size_t size, int strict)
{
    PyObject *py_module = 0;
    PyObject *result = 0;
    PyObject *py_name = 0;
    char warning[200];
    Py_ssize_t basicsize;
#ifdef Py_LIMITED_API
    PyObject *py_basicsize;
#endif
    py_module = __Pyx_ImportModule(module_name);
    if (!py_module)
        goto bad;
    py_name = __Pyx_PyIdentifier_FromString(class_name);
    if (!py_name)
        goto bad;
    result = PyObject_GetAttr(py_module, py_name);
    Py_DECREF(py_name);
    py_name = 0;
    Py_DECREF(py_module);
    py_module = 0;
    if (!result)
        goto bad;
    if (!PyType_Check(result)) {
        PyErr_Format(PyExc_TypeError,
            "%.200s.%.200s is not a type object",
            module_name, class_name);
        goto bad;
    }
#ifndef Py_LIMITED_API
    basicsize = ((PyTypeObject *)result)->tp_basicsize;
#else
    py_basicsize = PyObject_GetAttrString(result, "__basicsize__");
    if (!py_basicsize)
        goto bad;
    basicsize = PyLong_AsSsize_t(py_basicsize);
    Py_DECREF(py_basicsize);
    py_basicsize = 0;
    if (basicsize == (Py_ssize_t)-1 && PyErr_Occurred())
        goto bad;
#endif
    if (!strict && (size_t)basicsize > size) {
        PyOS_snprintf(warning, sizeof(warning),
            "%s.%s size changed, may indicate binary incompatibility",
            module_name, class_name);
        #if PY_VERSION_HEX < 0x02050000
        if (PyErr_Warn(NULL, warning) < 0) goto bad;
        #else
        if (PyErr_WarnEx(NULL, warning, 0) < 0) goto bad;
        #endif
    }
    else if ((size_t)basicsize != size) {
        PyErr_Format(PyExc_ValueError,
            "%.200s.%.200s has the wrong size, try recompiling",
            module_name, class_name);
        goto bad;
    }
    return (PyTypeObject *)result;
bad:
    Py_XDECREF(py_module);
    Py_XDECREF(result);
    return NULL;
}
#endif

static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line) {
    int start = 0, mid = 0, end = count - 1;
    if (end >= 0 && code_line > entries[end].code_line) {
        return count;
    }
    while (start < end) {
        mid = (start + end) / 2;
        if (code_line < entries[mid].code_line) {
            end = mid;
        } else if (code_line > entries[mid].code_line) {
             start = mid + 1;
        } else {
            return mid;
        }
    }
    if (code_line <= entries[mid].code_line) {
        return mid;
    } else {
        return mid + 1;
    }
}
static PyCodeObject *__pyx_find_code_object(int code_line) {
    PyCodeObject* code_object;
    int pos;
    if (unlikely(!code_line) || unlikely(!__pyx_code_cache.entries)) {
        return NULL;
    }
    pos = __pyx_bisect_code_objects(__pyx_code_cache.entries, __pyx_code_cache.count, code_line);
    if (unlikely(pos >= __pyx_code_cache.count) || unlikely(__pyx_code_cache.entries[pos].code_line != code_line)) {
        return NULL;
    }
    code_object = __pyx_code_cache.entries[pos].code_object;
    Py_INCREF(code_object);
    return code_object;
}
static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
    int pos, i;
    __Pyx_CodeObjectCacheEntry* entries = __pyx_code_cache.entries;
    if (unlikely(!code_line)) {
        return;
    }
    if (unlikely(!entries)) {
        entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Malloc(64*sizeof(__Pyx_CodeObjectCacheEntry));
        if (likely(entries)) {
            __pyx_code_cache.entries = entries;
            __pyx_code_cache.max_count = 64;
            __pyx_code_cache.count = 1;
            entries[0].code_line = code_line;
            entries[0].code_object = code_object;
            Py_INCREF(code_object);
        }
        return;
    }
    pos = __pyx_bisect_code_objects(__pyx_code_cache.entries, __pyx_code_cache.count, code_line);
    if ((pos < __pyx_code_cache.count) && unlikely(__pyx_code_cache.entries[pos].code_line == code_line)) {
        PyCodeObject* tmp = entries[pos].code_object;
        entries[pos].code_object = code_object;
        Py_DECREF(tmp);
        return;
    }
    if (__pyx_code_cache.count == __pyx_code_cache.max_count) {
        int new_max = __pyx_code_cache.max_count + 64;
        entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Realloc(
            __pyx_code_cache.entries, new_max*sizeof(__Pyx_CodeObjectCacheEntry));
        if (unlikely(!entries)) {
            return;
        }
        __pyx_code_cache.entries = entries;
        __pyx_code_cache.max_count = new_max;
    }
    for (i=__pyx_code_cache.count; i>pos; i--) {
        entries[i] = entries[i-1];
    }
    entries[pos].code_line = code_line;
    entries[pos].code_object = code_object;
    __pyx_code_cache.count++;
    Py_INCREF(code_object);
}

#include "compile.h"
#include "frameobject.h"
#include "traceback.h"
static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
            const char *funcname, int c_line,
            int py_line, const char *filename) {
    PyCodeObject *py_code = 0;
    PyObject *py_srcfile = 0;
    PyObject *py_funcname = 0;
    #if PY_MAJOR_VERSION < 3
    py_srcfile = PyString_FromString(filename);
    #else
    py_srcfile = PyUnicode_FromString(filename);
    #endif
    if (!py_srcfile) goto bad;
    if (c_line) {
        #if PY_MAJOR_VERSION < 3
        py_funcname = PyString_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
        #else
        py_funcname = PyUnicode_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
        #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_code = __Pyx_PyCode_New(
        0,            /*int argcount,*/
        0,            /*int kwonlyargcount,*/
        0,            /*int nlocals,*/
        0,            /*int stacksize,*/
        0,            /*int flags,*/
        __pyx_empty_bytes, /*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,*/
        py_line,      /*int firstlineno,*/
        __pyx_empty_bytes  /*PyObject *lnotab*/
    );
    Py_DECREF(py_srcfile);
    Py_DECREF(py_funcname);
    return py_code;
bad:
    Py_XDECREF(py_srcfile);
    Py_XDECREF(py_funcname);
    return NULL;
}
static void __Pyx_AddTraceback(const char *funcname, int c_line,
                               int py_line, const char *filename) {
    PyCodeObject *py_code = 0;
    PyObject *py_globals = 0;
    PyFrameObject *py_frame = 0;
    py_code = __pyx_find_code_object(c_line ? c_line : py_line);
    if (!py_code) {
        py_code = __Pyx_CreateCodeObjectForTraceback(
            funcname, c_line, py_line, filename);
        if (!py_code) goto bad;
        __pyx_insert_code_object(c_line ? c_line : py_line, py_code);
    }
    py_globals = PyModule_GetDict(__pyx_m);
    if (!py_globals) 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 = py_line;
    PyTraceBack_Here(py_frame);
bad:
    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->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_unicode | t->is_str) {
            if (t->intern) {
                *t->p = PyUnicode_InternFromString(t->s);
            } else if (t->encoding) {
                *t->p = PyUnicode_Decode(t->s, t->n - 1, t->encoding, NULL);
            } else {
                *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;
}

static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(char* c_str) {
    return __Pyx_PyUnicode_FromStringAndSize(c_str, strlen(c_str));
}
static CYTHON_INLINE char* __Pyx_PyObject_AsString(PyObject* o) {
    Py_ssize_t ignore;
    return __Pyx_PyObject_AsStringAndSize(o, &ignore);
}
static CYTHON_INLINE char* __Pyx_PyObject_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
    if (
#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
            __Pyx_sys_getdefaultencoding_not_ascii &&
#endif
            PyUnicode_Check(o)) {
#if PY_VERSION_HEX < 0x03030000
        char* defenc_c;
        PyObject* defenc = _PyUnicode_AsDefaultEncodedString(o, NULL);
        if (!defenc) return NULL;
        defenc_c = PyBytes_AS_STRING(defenc);
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
        {
            char* end = defenc_c + PyBytes_GET_SIZE(defenc);
            char* c;
            for (c = defenc_c; c < end; c++) {
                if ((unsigned char) (*c) >= 128) {
                    PyUnicode_AsASCIIString(o);
                    return NULL;
                }
            }
        }
#endif /*__PYX_DEFAULT_STRING_ENCODING_IS_ASCII*/
        *length = PyBytes_GET_SIZE(defenc);
        return defenc_c;
#else /* PY_VERSION_HEX < 0x03030000 */
        if (PyUnicode_READY(o) == -1) return NULL;
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
        if (PyUnicode_IS_ASCII(o)) {
            *length = PyUnicode_GET_DATA_SIZE(o);
            return PyUnicode_AsUTF8(o);
        } else {
            PyUnicode_AsASCIIString(o);
            return NULL;
        }
#else /* __PYX_DEFAULT_STRING_ENCODING_IS_ASCII */
        return PyUnicode_AsUTF8AndSize(o, length);
#endif /* __PYX_DEFAULT_STRING_ENCODING_IS_ASCII */
#endif /* PY_VERSION_HEX < 0x03030000 */
    } else
#endif /* __PYX_DEFAULT_STRING_ENCODING_IS_ASCII  || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT */
#if !CYTHON_COMPILING_IN_PYPY
#if PY_VERSION_HEX >= 0x02060000
    if (PyByteArray_Check(o)) {
        *length = PyByteArray_GET_SIZE(o);
        return PyByteArray_AS_STRING(o);
    } else
#endif
#endif
    {
        char* result;
        int r = PyBytes_AsStringAndSize(o, &result, length);
        if (unlikely(r < 0)) {
            return NULL;
        } else {
            return result;
        }
    }
}
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
   int is_true = x == Py_True;
   if (is_true | (x == Py_False) | (x == Py_None)) return is_true;
   else return PyObject_IsTrue(x);
}
static CYTHON_INLINE PyObject* __Pyx_PyNumber_Int(PyObject* x) {
  PyNumberMethods *m;
  const char *name = NULL;
  PyObject *res = NULL;
#if PY_MAJOR_VERSION < 3
  if (PyInt_Check(x) || PyLong_Check(x))
#else
  if (PyLong_Check(x))
#endif
    return Py_INCREF(x), x;
  m = Py_TYPE(x)->tp_as_number;
#if PY_MAJOR_VERSION < 3
  if (m && m->nb_int) {
    name = "int";
    res = PyNumber_Int(x);
  }
  else if (m && m->nb_long) {
    name = "long";
    res = PyNumber_Long(x);
  }
#else
  if (m && m->nb_int) {
    name = "int";
    res = PyNumber_Long(x);
  }
#endif
  if (res) {
#if PY_MAJOR_VERSION < 3
    if (!PyInt_Check(res) && !PyLong_Check(res)) {
#else
    if (!PyLong_Check(res)) {
#endif
      PyErr_Format(PyExc_TypeError,
                   "__%.4s__ returned non-%.4s (type %.200s)",
                   name, name, Py_TYPE(res)->tp_name);
      Py_DECREF(res);
      return NULL;
    }
  }
  else if (!PyErr_Occurred()) {
    PyErr_SetString(PyExc_TypeError,
                    "an integer is required");
  }
  return res;
}
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
 #if CYTHON_USE_PYLONG_INTERNALS
  #include "longintrepr.h"
 #endif
#endif
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
  Py_ssize_t ival;
  PyObject *x;
#if PY_MAJOR_VERSION < 3
  if (likely(PyInt_CheckExact(b)))
      return PyInt_AS_LONG(b);
#endif
  if (likely(PyLong_CheckExact(b))) {
    #if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3
     #if CYTHON_USE_PYLONG_INTERNALS
       switch (Py_SIZE(b)) {
       case -1: return -(sdigit)((PyLongObject*)b)->ob_digit[0];
       case  0: return 0;
       case  1: return ((PyLongObject*)b)->ob_digit[0];
       }
     #endif
    #endif
  #if PY_VERSION_HEX < 0x02060000
    return PyInt_AsSsize_t(b);
  #else
    return PyLong_AsSsize_t(b);
  #endif
  }
  x = PyNumber_Index(b);
  if (!x) return -1;
  ival = PyInt_AsSsize_t(x);
  Py_DECREF(x);
  return ival;
}
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
#if PY_VERSION_HEX < 0x02050000
   if (ival <= LONG_MAX)
       return PyInt_FromLong((long)ival);
   else {
       unsigned char *bytes = (unsigned char *) &ival;
       int one = 1; int little = (int)*(unsigned char*)&one;
       return _PyLong_FromByteArray(bytes, sizeof(size_t), little, 0);
   }
#else
   return PyInt_FromSize_t(ival);
#endif
}


#endif /* Py_PYTHON_H */
