/* Generated by Cython 0.29.23 */

/* BEGIN: Cython Metadata
{
    "distutils": {
        "depends": [
            "/pub/devel/python/python-cython/python-cython-0.29.23-1.x86_64/build/Cython/Compiler/Scanning.pxd"
        ],
        "name": "Cython.Compiler.Scanning",
        "sources": [
            "/pub/devel/python/python-cython/python-cython-0.29.23-1.x86_64/build/Cython/Compiler/Scanning.py"
        ]
    },
    "module_name": "Cython.Compiler.Scanning"
}
END: Cython Metadata */

#ifndef PY_SSIZE_T_CLEAN
#define PY_SSIZE_T_CLEAN
#endif /* PY_SSIZE_T_CLEAN */
#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 < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
    #error Cython requires Python 2.6+ or Python 3.3+.
#else
#define CYTHON_ABI "0_29_23"
#define CYTHON_HEX_VERSION 0x001D17F0
#define CYTHON_FUTURE_DIVISION 1
#include <stddef.h>
#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
#define __PYX_COMMA ,
#ifndef HAVE_LONG_LONG
  #if PY_VERSION_HEX >= 0x02070000
    #define HAVE_LONG_LONG
  #endif
#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_PYSTON 0
  #define CYTHON_COMPILING_IN_CPYTHON 0
  #undef CYTHON_USE_TYPE_SLOTS
  #define CYTHON_USE_TYPE_SLOTS 0
  #undef CYTHON_USE_PYTYPE_LOOKUP
  #define CYTHON_USE_PYTYPE_LOOKUP 0
  #if PY_VERSION_HEX < 0x03050000
    #undef CYTHON_USE_ASYNC_SLOTS
    #define CYTHON_USE_ASYNC_SLOTS 0
  #elif !defined(CYTHON_USE_ASYNC_SLOTS)
    #define CYTHON_USE_ASYNC_SLOTS 1
  #endif
  #undef CYTHON_USE_PYLIST_INTERNALS
  #define CYTHON_USE_PYLIST_INTERNALS 0
  #undef CYTHON_USE_UNICODE_INTERNALS
  #define CYTHON_USE_UNICODE_INTERNALS 0
  #undef CYTHON_USE_UNICODE_WRITER
  #define CYTHON_USE_UNICODE_WRITER 0
  #undef CYTHON_USE_PYLONG_INTERNALS
  #define CYTHON_USE_PYLONG_INTERNALS 0
  #undef CYTHON_AVOID_BORROWED_REFS
  #define CYTHON_AVOID_BORROWED_REFS 1
  #undef CYTHON_ASSUME_SAFE_MACROS
  #define CYTHON_ASSUME_SAFE_MACROS 0
  #undef CYTHON_UNPACK_METHODS
  #define CYTHON_UNPACK_METHODS 0
  #undef CYTHON_FAST_THREAD_STATE
  #define CYTHON_FAST_THREAD_STATE 0
  #undef CYTHON_FAST_PYCALL
  #define CYTHON_FAST_PYCALL 0
  #undef CYTHON_PEP489_MULTI_PHASE_INIT
  #define CYTHON_PEP489_MULTI_PHASE_INIT 0
  #undef CYTHON_USE_TP_FINALIZE
  #define CYTHON_USE_TP_FINALIZE 0
  #undef CYTHON_USE_DICT_VERSIONS
  #define CYTHON_USE_DICT_VERSIONS 0
  #undef CYTHON_USE_EXC_INFO_STACK
  #define CYTHON_USE_EXC_INFO_STACK 0
#elif defined(PYSTON_VERSION)
  #define CYTHON_COMPILING_IN_PYPY 0
  #define CYTHON_COMPILING_IN_PYSTON 1
  #define CYTHON_COMPILING_IN_CPYTHON 0
  #ifndef CYTHON_USE_TYPE_SLOTS
    #define CYTHON_USE_TYPE_SLOTS 1
  #endif
  #undef CYTHON_USE_PYTYPE_LOOKUP
  #define CYTHON_USE_PYTYPE_LOOKUP 0
  #undef CYTHON_USE_ASYNC_SLOTS
  #define CYTHON_USE_ASYNC_SLOTS 0
  #undef CYTHON_USE_PYLIST_INTERNALS
  #define CYTHON_USE_PYLIST_INTERNALS 0
  #ifndef CYTHON_USE_UNICODE_INTERNALS
    #define CYTHON_USE_UNICODE_INTERNALS 1
  #endif
  #undef CYTHON_USE_UNICODE_WRITER
  #define CYTHON_USE_UNICODE_WRITER 0
  #undef CYTHON_USE_PYLONG_INTERNALS
  #define CYTHON_USE_PYLONG_INTERNALS 0
  #ifndef CYTHON_AVOID_BORROWED_REFS
    #define CYTHON_AVOID_BORROWED_REFS 0
  #endif
  #ifndef CYTHON_ASSUME_SAFE_MACROS
    #define CYTHON_ASSUME_SAFE_MACROS 1
  #endif
  #ifndef CYTHON_UNPACK_METHODS
    #define CYTHON_UNPACK_METHODS 1
  #endif
  #undef CYTHON_FAST_THREAD_STATE
  #define CYTHON_FAST_THREAD_STATE 0
  #undef CYTHON_FAST_PYCALL
  #define CYTHON_FAST_PYCALL 0
  #undef CYTHON_PEP489_MULTI_PHASE_INIT
  #define CYTHON_PEP489_MULTI_PHASE_INIT 0
  #undef CYTHON_USE_TP_FINALIZE
  #define CYTHON_USE_TP_FINALIZE 0
  #undef CYTHON_USE_DICT_VERSIONS
  #define CYTHON_USE_DICT_VERSIONS 0
  #undef CYTHON_USE_EXC_INFO_STACK
  #define CYTHON_USE_EXC_INFO_STACK 0
#else
  #define CYTHON_COMPILING_IN_PYPY 0
  #define CYTHON_COMPILING_IN_PYSTON 0
  #define CYTHON_COMPILING_IN_CPYTHON 1
  #ifndef CYTHON_USE_TYPE_SLOTS
    #define CYTHON_USE_TYPE_SLOTS 1
  #endif
  #if PY_VERSION_HEX < 0x02070000
    #undef CYTHON_USE_PYTYPE_LOOKUP
    #define CYTHON_USE_PYTYPE_LOOKUP 0
  #elif !defined(CYTHON_USE_PYTYPE_LOOKUP)
    #define CYTHON_USE_PYTYPE_LOOKUP 1
  #endif
  #if PY_MAJOR_VERSION < 3
    #undef CYTHON_USE_ASYNC_SLOTS
    #define CYTHON_USE_ASYNC_SLOTS 0
  #elif !defined(CYTHON_USE_ASYNC_SLOTS)
    #define CYTHON_USE_ASYNC_SLOTS 1
  #endif
  #if PY_VERSION_HEX < 0x02070000
    #undef CYTHON_USE_PYLONG_INTERNALS
    #define CYTHON_USE_PYLONG_INTERNALS 0
  #elif !defined(CYTHON_USE_PYLONG_INTERNALS)
    #define CYTHON_USE_PYLONG_INTERNALS 1
  #endif
  #ifndef CYTHON_USE_PYLIST_INTERNALS
    #define CYTHON_USE_PYLIST_INTERNALS 1
  #endif
  #ifndef CYTHON_USE_UNICODE_INTERNALS
    #define CYTHON_USE_UNICODE_INTERNALS 1
  #endif
  #if PY_VERSION_HEX < 0x030300F0
    #undef CYTHON_USE_UNICODE_WRITER
    #define CYTHON_USE_UNICODE_WRITER 0
  #elif !defined(CYTHON_USE_UNICODE_WRITER)
    #define CYTHON_USE_UNICODE_WRITER 1
  #endif
  #ifndef CYTHON_AVOID_BORROWED_REFS
    #define CYTHON_AVOID_BORROWED_REFS 0
  #endif
  #ifndef CYTHON_ASSUME_SAFE_MACROS
    #define CYTHON_ASSUME_SAFE_MACROS 1
  #endif
  #ifndef CYTHON_UNPACK_METHODS
    #define CYTHON_UNPACK_METHODS 1
  #endif
  #ifndef CYTHON_FAST_THREAD_STATE
    #define CYTHON_FAST_THREAD_STATE 1
  #endif
  #ifndef CYTHON_FAST_PYCALL
    #define CYTHON_FAST_PYCALL 1
  #endif
  #ifndef CYTHON_PEP489_MULTI_PHASE_INIT
    #define CYTHON_PEP489_MULTI_PHASE_INIT (PY_VERSION_HEX >= 0x03050000)
  #endif
  #ifndef CYTHON_USE_TP_FINALIZE
    #define CYTHON_USE_TP_FINALIZE (PY_VERSION_HEX >= 0x030400a1)
  #endif
  #ifndef CYTHON_USE_DICT_VERSIONS
    #define CYTHON_USE_DICT_VERSIONS (PY_VERSION_HEX >= 0x030600B1)
  #endif
  #ifndef CYTHON_USE_EXC_INFO_STACK
    #define CYTHON_USE_EXC_INFO_STACK (PY_VERSION_HEX >= 0x030700A3)
  #endif
#endif
#if !defined(CYTHON_FAST_PYCCALL)
#define CYTHON_FAST_PYCCALL  (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
#endif
#if CYTHON_USE_PYLONG_INTERNALS
  #include "longintrepr.h"
  #undef SHIFT
  #undef BASE
  #undef MASK
  #ifdef SIZEOF_VOID_P
    enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
  #endif
#endif
#ifndef __has_attribute
  #define __has_attribute(x) 0
#endif
#ifndef __has_cpp_attribute
  #define __has_cpp_attribute(x) 0
#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
#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
#ifndef CYTHON_MAYBE_UNUSED_VAR
#  if defined(__cplusplus)
     template<class T> void CYTHON_MAYBE_UNUSED_VAR( const T& ) { }
#  else
#    define CYTHON_MAYBE_UNUSED_VAR(x) (void)(x)
#  endif
#endif
#ifndef CYTHON_NCP_UNUSED
# if CYTHON_COMPILING_IN_CPYTHON
#  define CYTHON_NCP_UNUSED
# else
#  define CYTHON_NCP_UNUSED CYTHON_UNUSED
# endif
#endif
#define __Pyx_void_to_None(void_result) ((void)(void_result), Py_INCREF(Py_None), Py_None)
#ifdef _MSC_VER
    #ifndef _MSC_STDINT_H_
        #if _MSC_VER < 1300
           typedef unsigned char     uint8_t;
           typedef unsigned int      uint32_t;
        #else
           typedef unsigned __int8   uint8_t;
           typedef unsigned __int32  uint32_t;
        #endif
    #endif
#else
   #include <stdint.h>
#endif
#ifndef CYTHON_FALLTHROUGH
  #if defined(__cplusplus) && __cplusplus >= 201103L
    #if __has_cpp_attribute(fallthrough)
      #define CYTHON_FALLTHROUGH [[fallthrough]]
    #elif __has_cpp_attribute(clang::fallthrough)
      #define CYTHON_FALLTHROUGH [[clang::fallthrough]]
    #elif __has_cpp_attribute(gnu::fallthrough)
      #define CYTHON_FALLTHROUGH [[gnu::fallthrough]]
    #endif
  #endif
  #ifndef CYTHON_FALLTHROUGH
    #if __has_attribute(fallthrough)
      #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
    #else
      #define CYTHON_FALLTHROUGH
    #endif
  #endif
  #if defined(__clang__ ) && defined(__apple_build_version__)
    #if __apple_build_version__ < 7000000
      #undef  CYTHON_FALLTHROUGH
      #define CYTHON_FALLTHROUGH
    #endif
  #endif
#endif

#ifndef CYTHON_INLINE
  #if defined(__clang__)
    #define CYTHON_INLINE __inline__ __attribute__ ((__unused__))
  #elif 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

#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x02070600 && !defined(Py_OptimizeFlag)
  #define Py_OptimizeFlag 0
#endif
#define __PYX_BUILD_PY_SSIZE_T "n"
#define CYTHON_FORMAT_SSIZE_T "z"
#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"
#if PY_VERSION_HEX >= 0x030800A4 && PY_VERSION_HEX < 0x030800B2
  #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
          PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
#else
  #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)
#endif
  #define __Pyx_DefaultClassType PyType_Type
#endif
#ifndef Py_TPFLAGS_CHECKTYPES
  #define Py_TPFLAGS_CHECKTYPES 0
#endif
#ifndef Py_TPFLAGS_HAVE_INDEX
  #define Py_TPFLAGS_HAVE_INDEX 0
#endif
#ifndef Py_TPFLAGS_HAVE_NEWBUFFER
  #define Py_TPFLAGS_HAVE_NEWBUFFER 0
#endif
#ifndef Py_TPFLAGS_HAVE_FINALIZE
  #define Py_TPFLAGS_HAVE_FINALIZE 0
#endif
#ifndef METH_STACKLESS
  #define METH_STACKLESS 0
#endif
#if PY_VERSION_HEX <= 0x030700A3 || !defined(METH_FASTCALL)
  #ifndef METH_FASTCALL
     #define METH_FASTCALL 0x80
  #endif
  typedef PyObject *(*__Pyx_PyCFunctionFast) (PyObject *self, PyObject *const *args, Py_ssize_t nargs);
  typedef PyObject *(*__Pyx_PyCFunctionFastWithKeywords) (PyObject *self, PyObject *const *args,
                                                          Py_ssize_t nargs, PyObject *kwnames);
#else
  #define __Pyx_PyCFunctionFast _PyCFunctionFast
  #define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords
#endif
#if CYTHON_FAST_PYCCALL
#define __Pyx_PyFastCFunction_Check(func)\
    ((PyCFunction_Check(func) && (METH_FASTCALL == (PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_KEYWORDS | METH_STACKLESS)))))
#else
#define __Pyx_PyFastCFunction_Check(func) 0
#endif
#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Malloc)
  #define PyObject_Malloc(s)   PyMem_Malloc(s)
  #define PyObject_Free(p)     PyMem_Free(p)
  #define PyObject_Realloc(p)  PyMem_Realloc(p)
#endif
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030400A1
  #define PyMem_RawMalloc(n)           PyMem_Malloc(n)
  #define PyMem_RawRealloc(p, n)       PyMem_Realloc(p, n)
  #define PyMem_RawFree(p)             PyMem_Free(p)
#endif
#if CYTHON_COMPILING_IN_PYSTON
  #define __Pyx_PyCode_HasFreeVars(co)  PyCode_HasFreeVars(co)
  #define __Pyx_PyFrame_SetLineNumber(frame, lineno) PyFrame_SetLineNumber(frame, lineno)
#else
  #define __Pyx_PyCode_HasFreeVars(co)  (PyCode_GetNumFree(co) > 0)
  #define __Pyx_PyFrame_SetLineNumber(frame, lineno)  (frame)->f_lineno = (lineno)
#endif
#if !CYTHON_FAST_THREAD_STATE || PY_VERSION_HEX < 0x02070000
  #define __Pyx_PyThreadState_Current PyThreadState_GET()
#elif PY_VERSION_HEX >= 0x03060000
  #define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet()
#elif PY_VERSION_HEX >= 0x03000000
  #define __Pyx_PyThreadState_Current PyThreadState_GET()
#else
  #define __Pyx_PyThreadState_Current _PyThreadState_Current
#endif
#if PY_VERSION_HEX < 0x030700A2 && !defined(PyThread_tss_create) && !defined(Py_tss_NEEDS_INIT)
#include "pythread.h"
#define Py_tss_NEEDS_INIT 0
typedef int Py_tss_t;
static CYTHON_INLINE int PyThread_tss_create(Py_tss_t *key) {
  *key = PyThread_create_key();
  return 0;
}
static CYTHON_INLINE Py_tss_t * PyThread_tss_alloc(void) {
  Py_tss_t *key = (Py_tss_t *)PyObject_Malloc(sizeof(Py_tss_t));
  *key = Py_tss_NEEDS_INIT;
  return key;
}
static CYTHON_INLINE void PyThread_tss_free(Py_tss_t *key) {
  PyObject_Free(key);
}
static CYTHON_INLINE int PyThread_tss_is_created(Py_tss_t *key) {
  return *key != Py_tss_NEEDS_INIT;
}
static CYTHON_INLINE void PyThread_tss_delete(Py_tss_t *key) {
  PyThread_delete_key(*key);
  *key = Py_tss_NEEDS_INIT;
}
static CYTHON_INLINE int PyThread_tss_set(Py_tss_t *key, void *value) {
  return PyThread_set_key_value(*key, value);
}
static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) {
  return PyThread_get_key_value(*key);
}
#endif
#if CYTHON_COMPILING_IN_CPYTHON || defined(_PyDict_NewPresized)
#define __Pyx_PyDict_NewPresized(n)  ((n <= 8) ? PyDict_New() : _PyDict_NewPresized(n))
#else
#define __Pyx_PyDict_NewPresized(n)  PyDict_New()
#endif
#if PY_MAJOR_VERSION >= 3 || CYTHON_FUTURE_DIVISION
  #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
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1 && CYTHON_USE_UNICODE_INTERNALS
#define __Pyx_PyDict_GetItemStr(dict, name)  _PyDict_GetItem_KnownHash(dict, name, ((PyASCIIObject *) name)->hash)
#else
#define __Pyx_PyDict_GetItemStr(dict, name)  PyDict_GetItem(dict, name)
#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_MAX_CHAR_VALUE(u)   PyUnicode_MAX_CHAR_VALUE(u)
  #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)
  #define __Pyx_PyUnicode_WRITE(k, d, i, ch)  PyUnicode_WRITE(k, d, i, ch)
  #if defined(PyUnicode_IS_READY) && defined(PyUnicode_GET_SIZE)
  #define __Pyx_PyUnicode_IS_TRUE(u)      (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : PyUnicode_GET_SIZE(u)))
  #else
  #define __Pyx_PyUnicode_IS_TRUE(u)      (0 != PyUnicode_GET_LENGTH(u))
  #endif
#else
  #define CYTHON_PEP393_ENABLED 0
  #define PyUnicode_1BYTE_KIND  1
  #define PyUnicode_2BYTE_KIND  2
  #define PyUnicode_4BYTE_KIND  4
  #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_MAX_CHAR_VALUE(u)   ((sizeof(Py_UNICODE) == 2) ? 65535 : 1114111)
  #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]))
  #define __Pyx_PyUnicode_WRITE(k, d, i, ch)  (((void)(k)), ((Py_UNICODE*)d)[i] = ch)
  #define __Pyx_PyUnicode_IS_TRUE(u)      (0 != PyUnicode_GET_SIZE(u))
#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
#if CYTHON_COMPILING_IN_PYPY && !defined(PyUnicode_Contains)
  #define PyUnicode_Contains(u, s)  PySequence_Contains(u, s)
#endif
#if CYTHON_COMPILING_IN_PYPY && !defined(PyByteArray_Check)
  #define PyByteArray_Check(obj)  PyObject_TypeCheck(obj, &PyByteArray_Type)
#endif
#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Format)
  #define PyObject_Format(obj, fmt)  PyObject_CallMethod(obj, "__format__", "O", fmt)
#endif
#define __Pyx_PyString_FormatSafe(a, b)   ((unlikely((a) == Py_None || (PyString_Check(b) && !PyString_CheckExact(b)))) ? PyNumber_Remainder(a, b) : __Pyx_PyString_Format(a, b))
#define __Pyx_PyUnicode_FormatSafe(a, b)  ((unlikely((a) == Py_None || (PyUnicode_Check(b) && !PyUnicode_CheckExact(b)))) ? 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 && !defined(PyObject_ASCII)
  #define PyObject_ASCII(o)            PyObject_Repr(o)
#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
#ifndef PyObject_Unicode
  #define PyObject_Unicode             PyObject_Str
#endif
#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_Check(obj) || PyUnicode_Check(obj))
  #define __Pyx_PyBaseString_CheckExact(obj) (PyString_CheckExact(obj) || PyUnicode_CheckExact(obj))
#endif
#ifndef PySet_CheckExact
  #define PySet_CheckExact(obj)        (Py_TYPE(obj) == &PySet_Type)
#endif
#if PY_VERSION_HEX >= 0x030900A4
  #define __Pyx_SET_REFCNT(obj, refcnt) Py_SET_REFCNT(obj, refcnt)
  #define __Pyx_SET_SIZE(obj, size) Py_SET_SIZE(obj, size)
#else
  #define __Pyx_SET_REFCNT(obj, refcnt) Py_REFCNT(obj) = (refcnt)
  #define __Pyx_SET_SIZE(obj, size) Py_SIZE(obj) = (size)
#endif
#if CYTHON_ASSUME_SAFE_MACROS
  #define __Pyx_PySequence_SIZE(seq)  Py_SIZE(seq)
#else
  #define __Pyx_PySequence_SIZE(seq)  PySequence_Size(seq)
#endif
#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_MAJOR_VERSION >= 3 && CYTHON_COMPILING_IN_PYPY
  #ifndef PyUnicode_InternFromString
    #define PyUnicode_InternFromString(s) PyUnicode_FromString(s)
  #endif
#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
  #define __Pyx_PyMethod_New(func, self, klass) ((self) ? ((void)(klass), PyMethod_New(func, self)) : __Pyx_NewRef(func))
#else
  #define __Pyx_PyMethod_New(func, self, klass) PyMethod_New(func, self, klass)
#endif
#if CYTHON_USE_ASYNC_SLOTS
  #if PY_VERSION_HEX >= 0x030500B1
    #define __Pyx_PyAsyncMethodsStruct PyAsyncMethods
    #define __Pyx_PyType_AsAsync(obj) (Py_TYPE(obj)->tp_as_async)
  #else
    #define __Pyx_PyType_AsAsync(obj) ((__Pyx_PyAsyncMethodsStruct*) (Py_TYPE(obj)->tp_reserved))
  #endif
#else
  #define __Pyx_PyType_AsAsync(obj) NULL
#endif
#ifndef __Pyx_PyAsyncMethodsStruct
    typedef struct {
        unaryfunc am_await;
        unaryfunc am_aiter;
        unaryfunc am_anext;
    } __Pyx_PyAsyncMethodsStruct;
#endif

#if defined(WIN32) || defined(MS_WINDOWS)
  #define _USE_MATH_DEFINES
#endif
#include <math.h>
#ifdef NAN
#define __PYX_NAN() ((float) NAN)
#else
static CYTHON_INLINE float __PYX_NAN() {
  float value;
  memset(&value, 0xFF, sizeof(value));
  return value;
}
#endif
#if defined(__CYGWIN__) && defined(_LDBL_EQ_DBL)
#define __Pyx_truncl trunc
#else
#define __Pyx_truncl truncl
#endif

#define __PYX_MARK_ERR_POS(f_index, lineno) \
    { __pyx_filename = __pyx_f[f_index]; (void)__pyx_filename; __pyx_lineno = lineno; (void)__pyx_lineno; __pyx_clineno = __LINE__; (void)__pyx_clineno; }
#define __PYX_ERR(f_index, lineno, Ln_error) \
    { __PYX_MARK_ERR_POS(f_index, lineno) goto Ln_error; }

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

#define __PYX_HAVE__Cython__Compiler__Scanning
#define __PYX_HAVE_API__Cython__Compiler__Scanning
/* Early includes */
#ifdef _OPENMP
#include <omp.h>
#endif /* _OPENMP */

#if defined(PYREX_WITHOUT_ASSERTIONS) && !defined(CYTHON_WITHOUT_ASSERTIONS)
#define CYTHON_WITHOUT_ASSERTIONS
#endif

typedef struct {PyObject **p; const char *s; const Py_ssize_t n; const char* encoding;
                const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry;

#define __PYX_DEFAULT_STRING_ENCODING_IS_ASCII 0
#define __PYX_DEFAULT_STRING_ENCODING_IS_UTF8 0
#define __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT (PY_MAJOR_VERSION >= 3 && __PYX_DEFAULT_STRING_ENCODING_IS_UTF8)
#define __PYX_DEFAULT_STRING_ENCODING ""
#define __Pyx_PyObject_FromString __Pyx_PyBytes_FromString
#define __Pyx_PyObject_FromStringAndSize __Pyx_PyBytes_FromStringAndSize
#define __Pyx_uchar_cast(c) ((unsigned char)c)
#define __Pyx_long_cast(x) ((long)x)
#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 int __Pyx_is_valid_index(Py_ssize_t i, Py_ssize_t limit) {
    return (size_t) i < (size_t) limit;
}
#if defined (__cplusplus) && __cplusplus >= 201103L
    #include <cstdlib>
    #define __Pyx_sst_abs(value) std::abs(value)
#elif SIZEOF_INT >= SIZEOF_SIZE_T
    #define __Pyx_sst_abs(value) abs(value)
#elif SIZEOF_LONG >= SIZEOF_SIZE_T
    #define __Pyx_sst_abs(value) labs(value)
#elif defined (_MSC_VER)
    #define __Pyx_sst_abs(value) ((Py_ssize_t)_abs64(value))
#elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
    #define __Pyx_sst_abs(value) llabs(value)
#elif defined (__GNUC__)
    #define __Pyx_sst_abs(value) __builtin_llabs(value)
#else
    #define __Pyx_sst_abs(value) ((value<0) ? -value : value)
#endif
static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject*);
static CYTHON_INLINE const 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(const 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_PyBytes_AsWritableString(s)     ((char*) PyBytes_AS_STRING(s))
#define __Pyx_PyBytes_AsWritableSString(s)    ((signed char*) PyBytes_AS_STRING(s))
#define __Pyx_PyBytes_AsWritableUString(s)    ((unsigned char*) PyBytes_AS_STRING(s))
#define __Pyx_PyBytes_AsString(s)     ((const char*) PyBytes_AS_STRING(s))
#define __Pyx_PyBytes_AsSString(s)    ((const signed char*) PyBytes_AS_STRING(s))
#define __Pyx_PyBytes_AsUString(s)    ((const unsigned char*) PyBytes_AS_STRING(s))
#define __Pyx_PyObject_AsWritableString(s)    ((char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_AsWritableSString(s)    ((signed char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_AsWritableUString(s)    ((unsigned char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_AsSString(s)    ((const signed char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_AsUString(s)    ((const unsigned char*) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_FromCString(s)  __Pyx_PyObject_FromString((const char*)s)
#define __Pyx_PyBytes_FromCString(s)   __Pyx_PyBytes_FromString((const char*)s)
#define __Pyx_PyByteArray_FromCString(s)   __Pyx_PyByteArray_FromString((const char*)s)
#define __Pyx_PyStr_FromCString(s)     __Pyx_PyStr_FromString((const char*)s)
#define __Pyx_PyUnicode_FromCString(s) __Pyx_PyUnicode_FromString((const char*)s)
static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u) {
    const Py_UNICODE *u_end = u;
    while (*u_end++) ;
    return (size_t)(u_end - u - 1);
}
#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_NewRef(obj) (Py_INCREF(obj), obj)
#define __Pyx_Owned_Py_None(b) __Pyx_NewRef(Py_None)
static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b);
static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject*);
static CYTHON_INLINE int __Pyx_PyObject_IsTrueAndDecref(PyObject*);
static CYTHON_INLINE PyObject* __Pyx_PyNumber_IntOrLong(PyObject* x);
#define __Pyx_PySequence_Tuple(obj)\
    (likely(PyTuple_CheckExact(obj)) ? __Pyx_NewRef(obj) : PySequence_Tuple(obj))
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t);
#if CYTHON_ASSUME_SAFE_MACROS
#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
#define __Pyx_PyNumber_Int(x) (PyLong_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Long(x))
#else
#define __Pyx_PyNumber_Int(x) (PyInt_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Int(x))
#endif
#define __Pyx_PyNumber_Float(x) (PyFloat_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Float(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;
    PyObject* default_encoding = NULL;
    PyObject* ascii_chars_u = NULL;
    PyObject* ascii_chars_b = NULL;
    const char* default_encoding_c;
    sys = PyImport_ImportModule("sys");
    if (!sys) goto bad;
    default_encoding = PyObject_CallMethod(sys, (char*) "getdefaultencoding", NULL);
    Py_DECREF(sys);
    if (!default_encoding) goto bad;
    default_encoding_c = PyBytes_AsString(default_encoding);
    if (!default_encoding_c) goto bad;
    if (strcmp(default_encoding_c, "ascii") == 0) {
        __Pyx_sys_getdefaultencoding_not_ascii = 0;
    } else {
        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) goto bad;
        ascii_chars_b = PyUnicode_AsEncodedString(ascii_chars_u, default_encoding_c, NULL);
        if (!ascii_chars_b || !PyBytes_Check(ascii_chars_b) || memcmp(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_DECREF(ascii_chars_u);
        Py_DECREF(ascii_chars_b);
    }
    Py_DECREF(default_encoding);
    return 0;
bad:
    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;
    PyObject* default_encoding = NULL;
    char* default_encoding_c;
    sys = PyImport_ImportModule("sys");
    if (!sys) goto bad;
    default_encoding = PyObject_CallMethod(sys, (char*) (const char*) "getdefaultencoding", NULL);
    Py_DECREF(sys);
    if (!default_encoding) goto bad;
    default_encoding_c = PyBytes_AsString(default_encoding);
    if (!default_encoding_c) goto bad;
    __PYX_DEFAULT_STRING_ENCODING = (char*) malloc(strlen(default_encoding_c) + 1);
    if (!__PYX_DEFAULT_STRING_ENCODING) goto bad;
    strcpy(__PYX_DEFAULT_STRING_ENCODING, default_encoding_c);
    Py_DECREF(default_encoding);
    return 0;
bad:
    Py_XDECREF(default_encoding);
    return -1;
}
#endif
#endif


/* Test for GCC > 2.95 */
#if defined(__GNUC__)     && (__GNUC__ > 2 || (__GNUC__ == 2 && (__GNUC_MINOR__ > 95)))
  #define likely(x)   __builtin_expect(!!(x), 1)
  #define unlikely(x) __builtin_expect(!!(x), 0)
#else /* !__GNUC__ or GCC < 2.95 */
  #define likely(x)   (x)
  #define unlikely(x) (x)
#endif /* __GNUC__ */
static CYTHON_INLINE void __Pyx_pretend_to_initialize(void* ptr) { (void)ptr; }

static PyObject *__pyx_m = NULL;
static PyObject *__pyx_d;
static PyObject *__pyx_b;
static PyObject *__pyx_cython_runtime = NULL;
static PyObject *__pyx_empty_tuple;
static PyObject *__pyx_empty_bytes;
static PyObject *__pyx_empty_unicode;
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[] = {
  "Cython/Compiler/Scanning.py",
  "Cython/Compiler/Scanning.pxd",
  "Cython/Plex/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;

/* "Plex/Scanners.pxd":50
 *     cdef begin(self, state)
 *     @cython.final
 *     cdef produce(self, value, text = *)             # <<<<<<<<<<<<<<
 */
struct __pyx_opt_args_6Cython_4Plex_8Scanners_7Scanner_produce {
  int __pyx_n;
  PyObject *text;
};

/* "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;
};


/* "Plex/Scanners.pxd":7
 * 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;
  long input_state;
  PyObject *level;
};


/* "Cython/Compiler/Scanning.pxd":12
 * cdef initial_compile_time_env()
 * 
 * cdef class Method:             # <<<<<<<<<<<<<<
 *     cdef object name
 *     cdef dict kwargs
 */
struct __pyx_obj_6Cython_8Compiler_8Scanning_Method {
  PyObject_HEAD
  PyObject *name;
  PyObject *kwargs;
  PyObject *__name__;
};


/* "Cython/Compiler/Scanning.pxd":20
 * 
 * @cython.final
 * cdef class CompileTimeScope:             # <<<<<<<<<<<<<<
 *     cdef public dict entries
 *     cdef public CompileTimeScope outer
 */
struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope {
  PyObject_HEAD
  PyObject *entries;
  struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *outer;
};


/* "Cython/Compiler/Scanning.pxd":28
 * 
 * @cython.final
 * 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;
  int async_enabled;
  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;


/* "Plex/Scanners.pxd":7
 * 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 *, int __pyx_skip_dispatch);
  PyObject *(*scan_a_token)(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":315
 * #------------------------------------------------------------------
 * 
 * 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);
};
static struct __pyx_vtabstruct_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_vtabptr_6Cython_8Compiler_8Scanning_PyrexScanner;
static long __pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_current_level(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *);
static PyObject *__pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_indentation_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *, PyObject *, int __pyx_skip_dispatch);

/* --- Runtime support code (head) --- */
/* Refnanny.proto */
#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);
  #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
#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)

/* PyObjectGetAttrStr.proto */
#if CYTHON_USE_TYPE_SLOTS
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name);
#else
#define __Pyx_PyObject_GetAttrStr(o,n) PyObject_GetAttr(o,n)
#endif

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

/* PyFunctionFastCall.proto */
#if CYTHON_FAST_PYCALL
#define __Pyx_PyFunction_FastCall(func, args, nargs)\
    __Pyx_PyFunction_FastCallDict((func), (args), (nargs), NULL)
#if 1 || PY_VERSION_HEX < 0x030600B1
static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, Py_ssize_t nargs, PyObject *kwargs);
#else
#define __Pyx_PyFunction_FastCallDict(func, args, nargs, kwargs) _PyFunction_FastCallDict(func, args, nargs, kwargs)
#endif
#define __Pyx_BUILD_ASSERT_EXPR(cond)\
    (sizeof(char [1 - 2*!(cond)]) - 1)
#ifndef Py_MEMBER_SIZE
#define Py_MEMBER_SIZE(type, member) sizeof(((type *)0)->member)
#endif
  static size_t __pyx_pyframe_localsplus_offset = 0;
  #include "frameobject.h"
  #define __Pxy_PyFrame_Initialize_Offsets()\
    ((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\
     (void)(__pyx_pyframe_localsplus_offset = ((size_t)PyFrame_Type.tp_basicsize) - Py_MEMBER_SIZE(PyFrameObject, f_localsplus)))
  #define __Pyx_PyFrame_GetLocalsplus(frame)\
    (assert(__pyx_pyframe_localsplus_offset), (PyObject **)(((char *)(frame)) + __pyx_pyframe_localsplus_offset))
#endif

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

/* PyObjectCallMethO.proto */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg);
#endif

/* PyObjectCallNoArg.proto */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func);
#else
#define __Pyx_PyObject_CallNoArg(func) __Pyx_PyObject_Call(func, __pyx_empty_tuple, NULL)
#endif

/* PyCFunctionFastCall.proto */
#if CYTHON_FAST_PYCCALL
static CYTHON_INLINE PyObject *__Pyx_PyCFunction_FastCall(PyObject *func, PyObject **args, Py_ssize_t nargs);
#else
#define __Pyx_PyCFunction_FastCall(func, args, nargs)  (assert(0), NULL)
#endif

/* PyObjectCallOneArg.proto */
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg);

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

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

/* RaiseArgTupleInvalid.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);

/* GetAttr.proto */
static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *, PyObject *);

/* PyObjectCall2Args.proto */
static CYTHON_UNUSED PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyObject* arg1, PyObject* arg2);

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

/* DictGetItem.proto */
#if PY_MAJOR_VERSION >= 3 && !CYTHON_COMPILING_IN_PYPY
static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key);
#define __Pyx_PyObject_Dict_GetItem(obj, name)\
    (likely(PyDict_CheckExact(obj)) ?\
     __Pyx_PyDict_GetItem(obj, name) : PyObject_GetItem(obj, name))
#else
#define __Pyx_PyDict_GetItem(d, key) PyObject_GetItem(d, key)
#define __Pyx_PyObject_Dict_GetItem(obj, name)  PyObject_GetItem(obj, name)
#endif

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

/* GetTopmostException.proto */
#if CYTHON_USE_EXC_INFO_STACK
static _PyErr_StackItem * __Pyx_PyErr_GetTopmostException(PyThreadState *tstate);
#endif

/* PyThreadStateGet.proto */
#if CYTHON_FAST_THREAD_STATE
#define __Pyx_PyThreadState_declare  PyThreadState *__pyx_tstate;
#define __Pyx_PyThreadState_assign  __pyx_tstate = __Pyx_PyThreadState_Current;
#define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
#else
#define __Pyx_PyThreadState_declare
#define __Pyx_PyThreadState_assign
#define __Pyx_PyErr_Occurred()  PyErr_Occurred()
#endif

/* SaveResetException.proto */
#if CYTHON_FAST_THREAD_STATE
#define __Pyx_ExceptionSave(type, value, tb)  __Pyx__ExceptionSave(__pyx_tstate, type, value, tb)
static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
#define __Pyx_ExceptionReset(type, value, tb)  __Pyx__ExceptionReset(__pyx_tstate, type, value, tb)
static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb);
#else
#define __Pyx_ExceptionSave(type, value, tb)   PyErr_GetExcInfo(type, value, tb)
#define __Pyx_ExceptionReset(type, value, tb)  PyErr_SetExcInfo(type, value, tb)
#endif

/* PyErrExceptionMatches.proto */
#if CYTHON_FAST_THREAD_STATE
#define __Pyx_PyErr_ExceptionMatches(err) __Pyx_PyErr_ExceptionMatchesInState(__pyx_tstate, err)
static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err);
#else
#define __Pyx_PyErr_ExceptionMatches(err)  PyErr_ExceptionMatches(err)
#endif

/* GetException.proto */
#if CYTHON_FAST_THREAD_STATE
#define __Pyx_GetException(type, value, tb)  __Pyx__GetException(__pyx_tstate, type, value, tb)
static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
#else
static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb);
#endif

/* PyErrFetchRestore.proto */
#if CYTHON_FAST_THREAD_STATE
#define __Pyx_PyErr_Clear() __Pyx_ErrRestore(NULL, NULL, NULL)
#define __Pyx_ErrRestoreWithState(type, value, tb)  __Pyx_ErrRestoreInState(PyThreadState_GET(), type, value, tb)
#define __Pyx_ErrFetchWithState(type, value, tb)    __Pyx_ErrFetchInState(PyThreadState_GET(), type, value, tb)
#define __Pyx_ErrRestore(type, value, tb)  __Pyx_ErrRestoreInState(__pyx_tstate, type, value, tb)
#define __Pyx_ErrFetch(type, value, tb)    __Pyx_ErrFetchInState(__pyx_tstate, type, value, tb)
static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb);
static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
#if CYTHON_COMPILING_IN_CPYTHON
#define __Pyx_PyErr_SetNone(exc) (Py_INCREF(exc), __Pyx_ErrRestore((exc), NULL, NULL))
#else
#define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc)
#endif
#else
#define __Pyx_PyErr_Clear() PyErr_Clear()
#define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc)
#define __Pyx_ErrRestoreWithState(type, value, tb)  PyErr_Restore(type, value, tb)
#define __Pyx_ErrFetchWithState(type, value, tb)  PyErr_Fetch(type, value, tb)
#define __Pyx_ErrRestoreInState(tstate, type, value, tb)  PyErr_Restore(type, value, tb)
#define __Pyx_ErrFetchInState(tstate, type, value, tb)  PyErr_Fetch(type, value, tb)
#define __Pyx_ErrRestore(type, value, tb)  PyErr_Restore(type, value, tb)
#define __Pyx_ErrFetch(type, value, tb)  PyErr_Fetch(type, value, tb)
#endif

/* RaiseTooManyValuesToUnpack.proto */
static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected);

/* RaiseNeedMoreValuesToUnpack.proto */
static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index);

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

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

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

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

/* GetAttr3.proto */
static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *, PyObject *, PyObject *);

/* IncludeStringH.proto */
#include <string.h>

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

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

/* SliceObject.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);

/* PyObjectSetAttrStr.proto */
#if CYTHON_USE_TYPE_SLOTS
#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);
#else
#define __Pyx_PyObject_DelAttrStr(o,n)   PyObject_DelAttr(o,n)
#define __Pyx_PyObject_SetAttrStr(o,n,v) PyObject_SetAttr(o,n,v)
#endif

/* PyDictVersioning.proto */
#if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_TYPE_SLOTS
#define __PYX_DICT_VERSION_INIT  ((PY_UINT64_T) -1)
#define __PYX_GET_DICT_VERSION(dict)  (((PyDictObject*)(dict))->ma_version_tag)
#define __PYX_UPDATE_DICT_CACHE(dict, value, cache_var, version_var)\
    (version_var) = __PYX_GET_DICT_VERSION(dict);\
    (cache_var) = (value);
#define __PYX_PY_DICT_LOOKUP_IF_MODIFIED(VAR, DICT, LOOKUP) {\
    static PY_UINT64_T __pyx_dict_version = 0;\
    static PyObject *__pyx_dict_cached_value = NULL;\
    if (likely(__PYX_GET_DICT_VERSION(DICT) == __pyx_dict_version)) {\
        (VAR) = __pyx_dict_cached_value;\
    } else {\
        (VAR) = __pyx_dict_cached_value = (LOOKUP);\
        __pyx_dict_version = __PYX_GET_DICT_VERSION(DICT);\
    }\
}
static CYTHON_INLINE PY_UINT64_T __Pyx_get_tp_dict_version(PyObject *obj);
static CYTHON_INLINE PY_UINT64_T __Pyx_get_object_dict_version(PyObject *obj);
static CYTHON_INLINE int __Pyx_object_dict_version_matches(PyObject* obj, PY_UINT64_T tp_dict_version, PY_UINT64_T obj_dict_version);
#else
#define __PYX_GET_DICT_VERSION(dict)  (0)
#define __PYX_UPDATE_DICT_CACHE(dict, value, cache_var, version_var)
#define __PYX_PY_DICT_LOOKUP_IF_MODIFIED(VAR, DICT, LOOKUP)  (VAR) = (LOOKUP);
#endif

/* GetModuleGlobalName.proto */
#if CYTHON_USE_DICT_VERSIONS
#define __Pyx_GetModuleGlobalName(var, name)  {\
    static PY_UINT64_T __pyx_dict_version = 0;\
    static PyObject *__pyx_dict_cached_value = NULL;\
    (var) = (likely(__pyx_dict_version == __PYX_GET_DICT_VERSION(__pyx_d))) ?\
        (likely(__pyx_dict_cached_value) ? __Pyx_NewRef(__pyx_dict_cached_value) : __Pyx_GetBuiltinName(name)) :\
        __Pyx__GetModuleGlobalName(name, &__pyx_dict_version, &__pyx_dict_cached_value);\
}
#define __Pyx_GetModuleGlobalNameUncached(var, name)  {\
    PY_UINT64_T __pyx_dict_version;\
    PyObject *__pyx_dict_cached_value;\
    (var) = __Pyx__GetModuleGlobalName(name, &__pyx_dict_version, &__pyx_dict_cached_value);\
}
static PyObject *__Pyx__GetModuleGlobalName(PyObject *name, PY_UINT64_T *dict_version, PyObject **dict_cached_value);
#else
#define __Pyx_GetModuleGlobalName(var, name)  (var) = __Pyx__GetModuleGlobalName(name)
#define __Pyx_GetModuleGlobalNameUncached(var, name)  (var) = __Pyx__GetModuleGlobalName(name)
static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name);
#endif

/* GetItemInt.proto */
#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 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);

/* ObjectGetItem.proto */
#if CYTHON_USE_TYPE_SLOTS
static CYTHON_INLINE PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject* key);
#else
#define __Pyx_PyObject_GetItem(obj, key)  PyObject_GetItem(obj, key)
#endif

/* PyObjectLookupSpecial.proto */
#if CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
static CYTHON_INLINE PyObject* __Pyx_PyObject_LookupSpecial(PyObject* obj, PyObject* attr_name) {
    PyObject *res;
    PyTypeObject *tp = Py_TYPE(obj);
#if PY_MAJOR_VERSION < 3
    if (unlikely(PyInstance_Check(obj)))
        return __Pyx_PyObject_GetAttrStr(obj, attr_name);
#endif
    res = _PyType_Lookup(tp, attr_name);
    if (likely(res)) {
        descrgetfunc f = Py_TYPE(res)->tp_descr_get;
        if (!f) {
            Py_INCREF(res);
        } else {
            res = f(res, obj, (PyObject *)tp);
        }
    } else {
        PyErr_SetObject(PyExc_AttributeError, attr_name);
    }
    return res;
}
#else
#define __Pyx_PyObject_LookupSpecial(o,n) __Pyx_PyObject_GetAttrStr(o,n)
#endif

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

/* None.proto */
static CYTHON_INLINE void __Pyx_RaiseUnboundLocalError(const char *varname);

/* ListCompAppend.proto */
#if CYTHON_USE_PYLIST_INTERNALS && CYTHON_ASSUME_SAFE_MACROS
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);
        __Pyx_SET_SIZE(list, len + 1);
        return 0;
    }
    return PyList_Append(list, x);
}
#else
#define __Pyx_ListComp_Append(L,x) PyList_Append(L,x)
#endif

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

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

/* ListAppend.proto */
#if CYTHON_USE_PYLIST_INTERNALS && CYTHON_ASSUME_SAFE_MACROS
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);
        __Pyx_SET_SIZE(list, len + 1);
        return 0;
    }
    return PyList_Append(list, x);
}
#else
#define __Pyx_PyList_Append(L,x) PyList_Append(L,x)
#endif

/* PyObjectGetMethod.proto */
static int __Pyx_PyObject_GetMethod(PyObject *obj, PyObject *name, PyObject **method);

/* PyObjectCallMethod0.proto */
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name);

/* pop.proto */
static CYTHON_INLINE PyObject* __Pyx__PyObject_Pop(PyObject* L);
#if CYTHON_USE_PYLIST_INTERNALS && CYTHON_ASSUME_SAFE_MACROS
static CYTHON_INLINE PyObject* __Pyx_PyList_Pop(PyObject* L);
#define __Pyx_PyObject_Pop(L) (likely(PyList_CheckExact(L)) ?\
    __Pyx_PyList_Pop(L) : __Pyx__PyObject_Pop(L))
#else
#define __Pyx_PyList_Pop(L)  __Pyx__PyObject_Pop(L)
#define __Pyx_PyObject_Pop(L)  __Pyx__PyObject_Pop(L)
#endif

/* UnpackUnboundCMethod.proto */
typedef struct {
    PyObject *type;
    PyObject **method_name;
    PyCFunction func;
    PyObject *method;
    int flag;
} __Pyx_CachedCFunction;

/* CallUnboundCMethod0.proto */
static PyObject* __Pyx__CallUnboundCMethod0(__Pyx_CachedCFunction* cfunc, PyObject* self);
#if CYTHON_COMPILING_IN_CPYTHON
#define __Pyx_CallUnboundCMethod0(cfunc, self)\
    (likely((cfunc)->func) ?\
        (likely((cfunc)->flag == METH_NOARGS) ?  (*((cfunc)->func))(self, NULL) :\
         (PY_VERSION_HEX >= 0x030600B1 && likely((cfunc)->flag == METH_FASTCALL) ?\
            (PY_VERSION_HEX >= 0x030700A0 ?\
                (*(__Pyx_PyCFunctionFast)(void*)(PyCFunction)(cfunc)->func)(self, &__pyx_empty_tuple, 0) :\
                (*(__Pyx_PyCFunctionFastWithKeywords)(void*)(PyCFunction)(cfunc)->func)(self, &__pyx_empty_tuple, 0, NULL)) :\
          (PY_VERSION_HEX >= 0x030700A0 && (cfunc)->flag == (METH_FASTCALL | METH_KEYWORDS) ?\
            (*(__Pyx_PyCFunctionFastWithKeywords)(void*)(PyCFunction)(cfunc)->func)(self, &__pyx_empty_tuple, 0, NULL) :\
            (likely((cfunc)->flag == (METH_VARARGS | METH_KEYWORDS)) ?  ((*(PyCFunctionWithKeywords)(void*)(PyCFunction)(cfunc)->func)(self, __pyx_empty_tuple, NULL)) :\
               ((cfunc)->flag == METH_VARARGS ?  (*((cfunc)->func))(self, __pyx_empty_tuple) :\
               __Pyx__CallUnboundCMethod0(cfunc, self)))))) :\
        __Pyx__CallUnboundCMethod0(cfunc, self))
#else
#define __Pyx_CallUnboundCMethod0(cfunc, self)  __Pyx__CallUnboundCMethod0(cfunc, self)
#endif

/* RaiseNoneIterError.proto */
static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void);

/* FastTypeChecks.proto */
#if CYTHON_COMPILING_IN_CPYTHON
#define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type)
static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b);
static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject *type);
static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2);
#else
#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type)
#define __Pyx_PyErr_GivenExceptionMatches(err, type) PyErr_GivenExceptionMatches(err, type)
#define __Pyx_PyErr_GivenExceptionMatches2(err, type1, type2) (PyErr_GivenExceptionMatches(err, type1) || PyErr_GivenExceptionMatches(err, type2))
#endif
#define __Pyx_PyException_Check(obj) __Pyx_TypeCheck(obj, PyExc_Exception)

/* pyfrozenset_new.proto */
static CYTHON_INLINE PyObject* __Pyx_PyFrozenSet_New(PyObject* it);

/* PySetContains.proto */
static CYTHON_INLINE int __Pyx_PySet_ContainsTF(PyObject* key, PyObject* set, int eq);

/* py_set_discard.proto */
static CYTHON_INLINE int __Pyx_PySet_Discard(PyObject *set, PyObject *key);

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

/* PyObjectFormatAndDecref.proto */
static CYTHON_INLINE PyObject* __Pyx_PyObject_FormatSimpleAndDecref(PyObject* s, PyObject* f);
static CYTHON_INLINE PyObject* __Pyx_PyObject_FormatAndDecref(PyObject* s, PyObject* f);

/* JoinPyUnicode.proto */
static PyObject* __Pyx_PyUnicode_Join(PyObject* value_tuple, Py_ssize_t value_count, Py_ssize_t result_ulength,
                                      Py_UCS4 max_char);

/* CallNextTpDealloc.proto */
static void __Pyx_call_next_tp_dealloc(PyObject* obj, destructor current_tp_dealloc);

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

/* CallNextTpClear.proto */
static void __Pyx_call_next_tp_clear(PyObject* obj, inquiry current_tp_dealloc);

/* PyObject_GenericGetAttrNoDict.proto */
#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
static CYTHON_INLINE PyObject* __Pyx_PyObject_GenericGetAttrNoDict(PyObject* obj, PyObject* attr_name);
#else
#define __Pyx_PyObject_GenericGetAttrNoDict PyObject_GenericGetAttr
#endif

/* PyObject_GenericGetAttr.proto */
#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
static PyObject* __Pyx_PyObject_GenericGetAttr(PyObject* obj, PyObject* attr_name);
#else
#define __Pyx_PyObject_GenericGetAttr PyObject_GenericGetAttr
#endif

/* TypeImport.proto */
#ifndef __PYX_HAVE_RT_ImportType_proto
#define __PYX_HAVE_RT_ImportType_proto
enum __Pyx_ImportType_CheckSize {
   __Pyx_ImportType_CheckSize_Error = 0,
   __Pyx_ImportType_CheckSize_Warn = 1,
   __Pyx_ImportType_CheckSize_Ignore = 2
};
static PyTypeObject *__Pyx_ImportType(PyObject* module, const char *module_name, const char *class_name, size_t size, enum __Pyx_ImportType_CheckSize check_size);
#endif

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

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

/* FetchCommonType.proto */
static PyTypeObject* __Pyx_FetchCommonType(PyTypeObject* type);

/* CythonFunctionShared.proto */
#define __Pyx_CyFunction_USED 1
#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;
#if PY_VERSION_HEX < 0x030500A0
    PyObject *func_weakreflist;
#endif
    PyObject *func_dict;
    PyObject *func_name;
    PyObject *func_qualname;
    PyObject *func_doc;
    PyObject *func_globals;
    PyObject *func_code;
    PyObject *func_closure;
    PyObject *func_classobj;
    void *defaults;
    int defaults_pyobjects;
    size_t defaults_size;  // used by FusedFunction for copying defaults
    int flags;
    PyObject *defaults_tuple;
    PyObject *defaults_kwdict;
    PyObject *(*defaults_getter)(PyObject *);
    PyObject *func_annotations;
} __pyx_CyFunctionObject;
static PyTypeObject *__pyx_CyFunctionType = 0;
#define __Pyx_CyFunction_Check(obj)  (__Pyx_TypeCheck(obj, __pyx_CyFunctionType))
static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject* op, 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);

/* CythonFunction.proto */
static PyObject *__Pyx_CyFunction_New(PyMethodDef *ml,
                                      int flags, PyObject* qualname,
                                      PyObject *closure,
                                      PyObject *module, PyObject *globals,
                                      PyObject* code);

/* CalculateMetaclass.proto */
static PyObject *__Pyx_CalculateMetaclass(PyTypeObject *metaclass, PyObject *bases);

/* SetNameInClass.proto */
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1
#define __Pyx_SetNameInClass(ns, name, value)\
    (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, value))
#elif CYTHON_COMPILING_IN_CPYTHON
#define __Pyx_SetNameInClass(ns, name, value)\
    (likely(PyDict_CheckExact(ns)) ? PyDict_SetItem(ns, name, value) : PyObject_SetItem(ns, name, value))
#else
#define __Pyx_SetNameInClass(ns, name, value)  PyObject_SetItem(ns, name, value)
#endif

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

/* CLineInTraceback.proto */
#ifdef CYTHON_CLINE_IN_TRACEBACK
#define __Pyx_CLineForTraceback(tstate, c_line)  (((CYTHON_CLINE_IN_TRACEBACK)) ? c_line : 0)
#else
static int __Pyx_CLineForTraceback(PyThreadState *tstate, int c_line);
#endif

/* CodeObjectCache.proto */
typedef struct {
    PyCodeObject* code_object;
    int code_line;
} __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);

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

/* GCCDiagnostics.proto */
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
#define __Pyx_HAS_GCC_DIAGNOSTIC
#endif

/* CIntToPy.proto */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value);

/* CIntFromPy.proto */
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *);

/* CIntToPy.proto */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value);

/* CIntFromPy.proto */
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *);

/* CheckBinaryVersion.proto */
static int __Pyx_check_binary_version(void);

/* VoidPtrExport.proto */
static int __Pyx_ExportVoidPtr(PyObject *name, void *p, const char *sig);

/* FunctionExport.proto */
static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig);

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

static long __pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_current_level(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* 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, CYTHON_UNUSED int __pyx_skip_dispatch); /* 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_any_string_prefix = 0;
static PyObject *__pyx_v_6Cython_8Compiler_8Scanning_IDENT = 0;
static PyObject *__pyx_v_6Cython_8Compiler_8Scanning_make_lexicon = 0;
static PyObject *__pyx_v_6Cython_8Compiler_8Scanning_lexicon = 0;
static PyObject *__pyx_v_6Cython_8Compiler_8Scanning_print_function = 0;
static PyObject *__pyx_v_6Cython_8Compiler_8Scanning_error = 0;
static PyObject *__pyx_v_6Cython_8Compiler_8Scanning_warning = 0;
static PyObject *__pyx_v_6Cython_8Compiler_8Scanning_os = 0;
static PyObject *__pyx_v_6Cython_8Compiler_8Scanning_platform = 0;
static PyObject *__pyx_f_6Cython_8Compiler_8Scanning_get_lexicon(void); /*proto*/
static PyObject *__pyx_f_6Cython_8Compiler_8Scanning_initial_compile_time_env(void); /*proto*/
#define __Pyx_MODULE_NAME "Cython.Compiler.Scanning"
extern int __pyx_module_is_main_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_ValueError;
static PyObject *__pyx_builtin_id;
static const char __pyx_k_f[] = "f";
static const char __pyx_k_x[] = "x";
static const char __pyx_k_IF[] = "IF";
static const char __pyx_k__5[] = "\\";
static const char __pyx_k__6[] = "/";
static const char __pyx_k__8[] = ".";
static const char __pyx_k_eq[] = "__eq__";
static const char __pyx_k_gt[] = "__gt__";
static const char __pyx_k_id[] = "id";
static const char __pyx_k_if[] = "if";
static const char __pyx_k_in[] = "in";
static const char __pyx_k_is[] = "is";
static const char __pyx_k_le[] = "__le__";
static const char __pyx_k_lt[] = "__lt__";
static const char __pyx_k_or[] = "or";
static const char __pyx_k_os[] = "os";
static const char __pyx_k_py[] = ".py";
static const char __pyx_k_sy[] = "sy";
static const char __pyx_k_DEF[] = "DEF";
static const char __pyx_k_EOF[] = "EOF";
static const char __pyx_k__10[] = "\n";
static const char __pyx_k__11[] = "";
static const char __pyx_k__12[] = "_";
static const char __pyx_k__15[] = "'";
static const char __pyx_k__18[] = ";";
static const char __pyx_k__95[] = "\"";
static const char __pyx_k__96[] = "'''";
static const char __pyx_k__97[] = "\"\"\"";
static const char __pyx_k_abs[] = "abs";
static const char __pyx_k_all[] = "all";
static const char __pyx_k_and[] = "and";
static const char __pyx_k_any[] = "any";
static const char __pyx_k_bin[] = "bin";
static const char __pyx_k_chr[] = "chr";
static const char __pyx_k_cmp[] = "cmp";
static const char __pyx_k_cwd[] = "cwd";
static const char __pyx_k_def[] = "def";
static const char __pyx_k_del[] = "del";
static const char __pyx_k_doc[] = "__doc__";
static const char __pyx_k_err[] = "err";
static const char __pyx_k_ext[] = "ext";
static const char __pyx_k_for[] = "for";
static const char __pyx_k_hex[] = "hex";
static const char __pyx_k_int[] = "int";
static const char __pyx_k_key[] = "key";
static const char __pyx_k_len[] = "len";
static const char __pyx_k_map[] = "map";
static const char __pyx_k_max[] = "max";
static const char __pyx_k_min[] = "min";
static const char __pyx_k_not[] = "not";
static const char __pyx_k_oct[] = "oct";
static const char __pyx_k_ord[] = "ord";
static const char __pyx_k_pop[] = "pop";
static const char __pyx_k_pos[] = "pos";
static const char __pyx_k_pow[] = "pow";
static const char __pyx_k_pxd[] = ".pxd";
static const char __pyx_k_pyx[] = ".pyx";
static const char __pyx_k_sep[] = "sep";
static const char __pyx_k_set[] = "set";
static const char __pyx_k_str[] = "str";
static const char __pyx_k_sum[] = "sum";
static const char __pyx_k_try[] = "try";
static const char __pyx_k_zip[] = "zip";
static const char __pyx_k_ELIF[] = "ELIF";
static const char __pyx_k_ELSE[] = "ELSE";
static const char __pyx_k_True[] = "True";
static const char __pyx_k_bool[] = "bool";
static const char __pyx_k_cdef[] = "cdef";
static const char __pyx_k_code[] = "code";
static const char __pyx_k_copy[] = "__copy__";
static const char __pyx_k_dict[] = "dict";
static const char __pyx_k_elif[] = "elif";
static const char __pyx_k_else[] = "else";
static const char __pyx_k_exec[] = "exec";
static const char __pyx_k_exit[] = "__exit__";
static const char __pyx_k_file[] = "file";
static const char __pyx_k_from[] = "from";
static const char __pyx_k_hash[] = "hash";
static const char __pyx_k_init[] = "__init__";
static const char __pyx_k_line[] = "line";
static const char __pyx_k_list[] = "list";
static const char __pyx_k_long[] = "long";
static const char __pyx_k_main[] = "__main__";
static const char __pyx_k_memo[] = "memo";
static const char __pyx_k_name[] = "name";
static const char __pyx_k_next[] = "next";
static const char __pyx_k_pass[] = "pass";
static const char __pyx_k_path[] = "path";
static const char __pyx_k_peek[] = "peek";
static const char __pyx_k_py_2[] = "py";
static const char __pyx_k_repr[] = "repr";
static const char __pyx_k_self[] = "self";
static const char __pyx_k_test[] = "__test__";
static const char __pyx_k_text[] = "text";
static const char __pyx_k_what[] = "what";
static const char __pyx_k_with[] = "with";
static const char __pyx_k_ASCII[] = "ASCII";
static const char __pyx_k_False[] = "False";
static const char __pyx_k_IDENT[] = "IDENT";
static const char __pyx_k_Utils[] = "Utils";
static const char __pyx_k_ascii[] = "ascii";
static const char __pyx_k_async[] = "async";
static const char __pyx_k_await[] = "await";
static const char __pyx_k_break[] = "break";
static const char __pyx_k_bytes[] = "bytes";
static const char __pyx_k_class[] = "class";
static const char __pyx_k_cpdef[] = "cpdef";
static const char __pyx_k_enter[] = "__enter__";
static const char __pyx_k_error[] = "error";
static const char __pyx_k_fatal[] = "fatal";
static const char __pyx_k_float[] = "float";
static const char __pyx_k_found[] = "', found '";
static const char __pyx_k_lines[] = "_lines";
static const char __pyx_k_other[] = "other";
static const char __pyx_k_outer[] = "outer";
static const char __pyx_k_print[] = "print";
static const char __pyx_k_pxd_2[] = "pxd";
static const char __pyx_k_pyx_2[] = "pyx";
static const char __pyx_k_raise[] = "raise";
static const char __pyx_k_range[] = "range";
static const char __pyx_k_round[] = "round";
static const char __pyx_k_saved[] = "saved";
static const char __pyx_k_scope[] = "scope";
static const char __pyx_k_slice[] = "slice";
static const char __pyx_k_split[] = "split";
static const char __pyx_k_str_2[] = "__str__";
static const char __pyx_k_token[] = "token";
static const char __pyx_k_tuple[] = "tuple";
static const char __pyx_k_uname[] = "uname";
static const char __pyx_k_value[] = "value";
static const char __pyx_k_while[] = "while";
static const char __pyx_k_yield[] = "yield";
static const char __pyx_k_DEDENT[] = "DEDENT";
static const char __pyx_k_Errors[] = "Errors";
static const char __pyx_k_Future[] = "Future";
static const char __pyx_k_INDENT[] = "INDENT";
static const char __pyx_k_Method[] = "Method";
static const char __pyx_k_assert[] = "assert";
static const char __pyx_k_decode[] = "decode";
static const char __pyx_k_divmod[] = "divmod";
static const char __pyx_k_encode[] = "encode";
static const char __pyx_k_except[] = "except";
static const char __pyx_k_expect[] = "expect";
static const char __pyx_k_filter[] = "filter";
static const char __pyx_k_format[] = "format";
static const char __pyx_k_getcwd[] = "getcwd";
static const char __pyx_k_global[] = "global";
static const char __pyx_k_hash_2[] = "__hash__";
static const char __pyx_k_import[] = "__import__";
static const char __pyx_k_lambda[] = "lambda";
static const char __pyx_k_lookup[] = "lookup";
static const char __pyx_k_module[] = "__module__";
static const char __pyx_k_name_2[] = "__name__";
static const char __pyx_k_object[] = "object";
static const char __pyx_k_reduce[] = "reduce";
static const char __pyx_k_repr_2[] = "__repr__";
static const char __pyx_k_return[] = "return";
static const char __pyx_k_sorted[] = "sorted";
static const char __pyx_k_stream[] = "stream";
static const char __pyx_k_symbol[] = "symbol";
static const char __pyx_k_unread[] = "unread";
static const char __pyx_k_update[] = "update";
static const char __pyx_k_xrange[] = "xrange";
static const char __pyx_k_Lexicon[] = "Lexicon";
static const char __pyx_k_NEWLINE[] = "NEWLINE";
static const char __pyx_k_Scanner[] = "Scanner";
static const char __pyx_k_abspath[] = "abspath";
static const char __pyx_k_builtin[] = "__builtin__";
static const char __pyx_k_cimport[] = "cimport";
static const char __pyx_k_complex[] = "complex";
static const char __pyx_k_context[] = "context";
static const char __pyx_k_declare[] = "declare";
static const char __pyx_k_finally[] = "finally";
static const char __pyx_k_found_2[] = "found";
static const char __pyx_k_include[] = "include";
static const char __pyx_k_lines_2[] = "lines";
static const char __pyx_k_message[] = "message";
static const char __pyx_k_options[] = "options";
static const char __pyx_k_prepare[] = "__prepare__";
static const char __pyx_k_relpath[] = "relpath";
static const char __pyx_k_replace[] = "replace";
static const char __pyx_k_unicode[] = "unicode";
static const char __pyx_k_warning[] = "warning";
static const char __pyx_k_workdir[] = "workdir";
static const char __pyx_k_Expected[] = "Expected '";
static const char __pyx_k_KeyError[] = "KeyError";
static const char __pyx_k_builtins[] = "builtins";
static const char __pyx_k_cmp_name[] = "_cmp_name";
static const char __pyx_k_continue[] = "continue";
static const char __pyx_k_ctypedef[] = "ctypedef";
static const char __pyx_k_deepcopy[] = "__deepcopy__";
static const char __pyx_k_encoding[] = "encoding";
static const char __pyx_k_esc_desc[] = "esc_desc";
static const char __pyx_k_expected[] = "expected";
static const char __pyx_k_filename[] = "filename";
static const char __pyx_k_import_2[] = "import";
static const char __pyx_k_nonlocal[] = "nonlocal";
static const char __pyx_k_platform[] = "platform";
static const char __pyx_k_position[] = "position";
static const char __pyx_k_put_back[] = "put_back";
static const char __pyx_k_pyx_capi[] = "__pyx_capi__";
static const char __pyx_k_qualname[] = "__qualname__";
static const char __pyx_k_reversed[] = "reversed";
static const char __pyx_k_splitext[] = "splitext";
static const char __pyx_k_systring[] = "systring";
static const char __pyx_k_DQ_STRING[] = "DQ_STRING";
static const char __pyx_k_SQ_STRING[] = "SQ_STRING";
static const char __pyx_k_bytearray[] = "bytearray";
static const char __pyx_k_codelines[] = "codelines";
static const char __pyx_k_enumerate[] = "enumerate";
static const char __pyx_k_file_path[] = "file_path";
static const char __pyx_k_file_type[] = "_file_type";
static const char __pyx_k_frozenset[] = "frozenset";
static const char __pyx_k_functools[] = "functools";
static const char __pyx_k_get_lines[] = "get_lines";
static const char __pyx_k_metaclass[] = "__metaclass__";
static const char __pyx_k_END_STRING[] = "END_STRING";
static const char __pyx_k_TDQ_STRING[] = "TDQ_STRING";
static const char __pyx_k_TSQ_STRING[] = "TSQ_STRING";
static const char __pyx_k_ValueError[] = "ValueError";
static const char __pyx_k_eof_action[] = "eof_action";
static const char __pyx_k_exit_async[] = "exit_async";
static const char __pyx_k_pyx_vtable[] = "__pyx_vtable__";
static const char __pyx_k_startswith[] = "startswith";
static const char __pyx_k_ImportError[] = "ImportError";
static const char __pyx_k_Plex_Errors[] = "Plex.Errors";
static const char __pyx_k_commentline[] = "commentline";
static const char __pyx_k_enter_async[] = "enter_async";
static const char __pyx_k_initial_pos[] = "initial_pos";
static const char __pyx_k_lookup_here[] = "lookup_here";
static const char __pyx_k_BEGIN_STRING[] = "BEGIN_STRING";
static const char __pyx_k_PyrexScanner[] = "PyrexScanner";
static const char __pyx_k_make_lexicon[] = "make_lexicon";
static const char __pyx_k_stringsource[] = "stringsource";
static const char __pyx_k_Method___copy[] = "Method.__copy__";
static const char __pyx_k_Plex_Scanners[] = "Plex.Scanners";
static const char __pyx_k_UNAME_MACHINE[] = "UNAME_MACHINE";
static const char __pyx_k_UNAME_RELEASE[] = "UNAME_RELEASE";
static const char __pyx_k_UNAME_SYSNAME[] = "UNAME_SYSNAME";
static const char __pyx_k_UNAME_VERSION[] = "UNAME_VERSION";
static const char __pyx_k_async_enabled[] = "async_enabled";
static const char __pyx_k_debug_scanner[] = "debug_scanner";
static const char __pyx_k_expect_dedent[] = "expect_dedent";
static const char __pyx_k_expect_indent[] = "expect_indent";
static const char __pyx_k_string_states[] = "string_states";
static const char __pyx_k_trace_scanner[] = "trace_scanner";
static const char __pyx_k_AttributeError[] = "AttributeError";
static const char __pyx_k_UNAME_NODENAME[] = "UNAME_NODENAME";
static const char __pyx_k_error_handling[] = "error_handling";
static const char __pyx_k_expect_keyword[] = "expect_keyword";
static const char __pyx_k_expect_newline[] = "expect_newline";
static const char __pyx_k_included_files[] = "included_files";
static const char __pyx_k_intern_ustring[] = "intern_ustring";
static const char __pyx_k_is_cython_file[] = "is_cython_file";
static const char __pyx_k_is_python_file[] = "is_python_file";
static const char __pyx_k_language_level[] = "language_level";
static const char __pyx_k_newline_action[] = "newline_action";
static const char __pyx_k_parent_scanner[] = "parent_scanner";
static const char __pyx_k_parse_comments[] = "parse_comments";
static const char __pyx_k_print_function[] = "print_function";
static const char __pyx_k_decode_filename[] = "decode_filename";
static const char __pyx_k_get_description[] = "get_description";
static const char __pyx_k_source_encoding[] = "source_encoding";
static const char __pyx_k_CompileTimeScope[] = "CompileTimeScope";
static const char __pyx_k_SourceDescriptor[] = "SourceDescriptor";
static const char __pyx_k_compile_time_env[] = "compile_time_env";
static const char __pyx_k_ignore_semicolon[] = "ignore_semicolon";
static const char __pyx_k_open_source_file[] = "open_source_file";
static const char __pyx_k_path_description[] = "path_description";
static const char __pyx_k_Method___deepcopy[] = "Method.__deepcopy__";
static const char __pyx_k_PyrexScanner_next[] = "PyrexScanner.next";
static const char __pyx_k_PyrexScanner_peek[] = "PyrexScanner.peek";
static const char __pyx_k_UnrecognizedInput[] = "UnrecognizedInput";
static const char __pyx_k_any_string_prefix[] = "any_string_prefix";
static const char __pyx_k_compile_time_eval[] = "compile_time_eval";
static const char __pyx_k_compile_time_expr[] = "compile_time_expr";
static const char __pyx_k_end_string_action[] = "end_string_action";
static const char __pyx_k_future_directives[] = "future_directives";
static const char __pyx_k_py_reserved_words[] = "py_reserved_words";
static const char __pyx_k_scanner_dump_file[] = "scanner_dump_file";
static const char __pyx_k_strip_underscores[] = "strip_underscores";
static const char __pyx_k_Expected_a_newline[] = "Expected a newline";
static const char __pyx_k_PyrexScanner_error[] = "PyrexScanner.error";
static const char __pyx_k_cline_in_traceback[] = "cline_in_traceback";
static const char __pyx_k_indentation_action[] = "indentation_action";
static const char __pyx_k_pyx_reserved_words[] = "pyx_reserved_words";
static const char __pyx_k_PyrexScanner_expect[] = "PyrexScanner.expect";
static const char __pyx_k_PyrexScanner_unread[] = "PyrexScanner.unread";
static const char __pyx_k_begin_string_action[] = "begin_string_action";
static const char __pyx_k_escaped_description[] = "_escaped_description";
static const char __pyx_k_open_bracket_action[] = "open_bracket_action";
static const char __pyx_k_scanner_debug_flags[] = "scanner_debug_flags";
static const char __pyx_k_FileSourceDescriptor[] = "FileSourceDescriptor";
static const char __pyx_k_close_bracket_action[] = "close_bracket_action";
static const char __pyx_k_PyrexScanner_expected[] = "PyrexScanner.expected";
static const char __pyx_k_PyrexScanner_put_back[] = "PyrexScanner.put_back";
static const char __pyx_k_SourceDescriptor___gt[] = "SourceDescriptor.__gt__";
static const char __pyx_k_SourceDescriptor___le[] = "SourceDescriptor.__le__";
static const char __pyx_k_SourceDescriptor___lt[] = "SourceDescriptor.__lt__";
static const char __pyx_k_get_error_description[] = "get_error_description";
static const char __pyx_k_FileSourceDescriptor_s[] = "<FileSourceDescriptor:%s>";
static const char __pyx_k_SourceDescriptor___str[] = "SourceDescriptor.__str__";
static const char __pyx_k_StringSourceDescriptor[] = "StringSourceDescriptor";
static const char __pyx_k_Unrecognized_character[] = "Unrecognized character";
static const char __pyx_k_unclosed_string_action[] = "unclosed_string_action";
static const char __pyx_k_CompileTimeScope_lookup[] = "CompileTimeScope.lookup";
static const char __pyx_k_CompileTimeScope_update[] = "CompileTimeScope.update";
static const char __pyx_k_PyrexScanner_eof_action[] = "PyrexScanner.eof_action";
static const char __pyx_k_PyrexScanner_exit_async[] = "PyrexScanner.exit_async";
static const char __pyx_k_SourceDescriptor___copy[] = "SourceDescriptor.__copy__";
static const char __pyx_k_Unclosed_string_literal[] = "Unclosed string literal";
static const char __pyx_k_get_escaped_description[] = "get_escaped_description";
static const char __pyx_k_get_filenametable_entry[] = "get_filenametable_entry";
static const char __pyx_k_set_file_type_from_name[] = "set_file_type_from_name";
static const char __pyx_k_CompileTimeScope_declare[] = "CompileTimeScope.declare";
static const char __pyx_k_Cython_Compiler_Scanning[] = "Cython.Compiler.Scanning";
static const char __pyx_k_Inconsistent_indentation[] = "Inconsistent indentation";
static const char __pyx_k_PyrexScanner_commentline[] = "PyrexScanner.commentline";
static const char __pyx_k_PyrexScanner_enter_async[] = "PyrexScanner.enter_async";
static const char __pyx_k_StringSourceDescriptor_s[] = "<StringSourceDescriptor:%s>";
static const char __pyx_k_FileSourceDescriptor___eq[] = "FileSourceDescriptor.__eq__";
static const char __pyx_k_PyrexScanner_expect_dedent[] = "PyrexScanner.expect_dedent";
static const char __pyx_k_PyrexScanner_expect_indent[] = "PyrexScanner.expect_indent";
static const char __pyx_k_useless_trailing_semicolon[] = "useless trailing semicolon";
static const char __pyx_k_Cython_Compiler_Scanning_py[] = "Cython/Compiler/Scanning.py";
static const char __pyx_k_FileSourceDescriptor___hash[] = "FileSourceDescriptor.__hash__";
static const char __pyx_k_FileSourceDescriptor___init[] = "FileSourceDescriptor.__init__";
static const char __pyx_k_FileSourceDescriptor___repr[] = "FileSourceDescriptor.__repr__";
static const char __pyx_k_PyrexScanner_expect_keyword[] = "PyrexScanner.expect_keyword";
static const char __pyx_k_PyrexScanner_expect_newline[] = "PyrexScanner.expect_newline";
static const char __pyx_k_PyrexScanner_newline_action[] = "PyrexScanner.newline_action";
static const char __pyx_k_SourceDescriptor___deepcopy[] = "SourceDescriptor.__deepcopy__";
static const char __pyx_k_StringSourceDescriptor___eq[] = "StringSourceDescriptor.__eq__";
static const char __pyx_k_CompileTimeScope_lookup_here[] = "CompileTimeScope.lookup_here";
static const char __pyx_k_Mixed_use_of_tabs_and_spaces[] = "Mixed use of tabs and spaces";
static const char __pyx_k_useless_trailing_semicolon_2[] = "useless_trailing_semicolon";
static const char __pyx_k_StringSourceDescriptor___hash[] = "StringSourceDescriptor.__hash__";
static const char __pyx_k_StringSourceDescriptor___init[] = "StringSourceDescriptor.__init__";
static const char __pyx_k_StringSourceDescriptor___repr[] = "StringSourceDescriptor.__repr__";
static const char __pyx_k_FileSourceDescriptor_get_lines[] = "FileSourceDescriptor.get_lines";
static const 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 const char __pyx_k_PyrexScanner_end_string_action[] = "PyrexScanner.end_string_action";
static const char __pyx_k_PyrexScanner_strip_underscores[] = "PyrexScanner.strip_underscores";
static const char __pyx_k_A_SourceDescriptor_should_be_co[] = "\n    A SourceDescriptor should be considered immutable.\n    ";
static const char __pyx_k_PyrexScanner_indentation_action[] = "PyrexScanner.indentation_action";
static const 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 const char __pyx_k_SourceDescriptor_is_cython_file[] = "SourceDescriptor.is_cython_file";
static const char __pyx_k_SourceDescriptor_is_python_file[] = "SourceDescriptor.is_python_file";
static const char __pyx_k_Expected_a_decrease_in_indentati[] = "Expected a decrease in indentation level";
static const char __pyx_k_Expected_an_increase_in_indentat[] = "Expected an increase in indentation level";
static const char __pyx_k_FileSourceDescriptor_get_descrip[] = "FileSourceDescriptor.get_description";
static const char __pyx_k_FileSourceDescriptor_get_error_d[] = "FileSourceDescriptor.get_error_description";
static const char __pyx_k_FileSourceDescriptor_get_filenam[] = "FileSourceDescriptor.get_filenametable_entry";
static const char __pyx_k_Possible_inconsistent_indentatio[] = "Possible inconsistent indentation";
static const char __pyx_k_PyrexScanner_begin_string_action[] = "PyrexScanner.begin_string_action";
static const char __pyx_k_PyrexScanner_close_bracket_actio[] = "PyrexScanner.close_bracket_action";
static const char __pyx_k_PyrexScanner_open_bracket_action[] = "PyrexScanner.open_bracket_action";
static const char __pyx_k_PyrexScanner_unclosed_string_act[] = "PyrexScanner.unclosed_string_action";
static const char __pyx_k_SourceDescriptor_get_escaped_des[] = "SourceDescriptor.get_escaped_description";
static const char __pyx_k_SourceDescriptor_set_file_type_f[] = "SourceDescriptor.set_file_type_from_name";
static const char __pyx_k_StringSourceDescriptor_get_descr[] = "StringSourceDescriptor.get_description";
static const char __pyx_k_StringSourceDescriptor_get_filen[] = "StringSourceDescriptor.get_filenametable_entry";
static const 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_CompileTimeScope;
static PyObject *__pyx_n_s_CompileTimeScope_declare;
static PyObject *__pyx_n_s_CompileTimeScope_lookup;
static PyObject *__pyx_n_s_CompileTimeScope_lookup_here;
static PyObject *__pyx_n_s_CompileTimeScope_update;
static PyObject *__pyx_n_s_Cython_Compiler_Scanning;
static PyObject *__pyx_kp_s_Cython_Compiler_Scanning_py;
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_Errors;
static PyObject *__pyx_kp_u_Expected;
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_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_n_s_Method;
static PyObject *__pyx_n_s_Method___copy;
static PyObject *__pyx_n_s_Method___deepcopy;
static PyObject *__pyx_kp_u_Mixed_use_of_tabs_and_spaces;
static PyObject *__pyx_n_u_NEWLINE;
static PyObject *__pyx_n_s_Plex_Errors;
static PyObject *__pyx_n_s_Plex_Scanners;
static PyObject *__pyx_kp_u_Possible_inconsistent_indentatio;
static PyObject *__pyx_n_s_PyrexScanner;
static PyObject *__pyx_n_s_PyrexScanner_begin_string_action;
static PyObject *__pyx_n_s_PyrexScanner_close_bracket_actio;
static PyObject *__pyx_n_s_PyrexScanner_commentline;
static PyObject *__pyx_n_s_PyrexScanner_end_string_action;
static PyObject *__pyx_n_s_PyrexScanner_enter_async;
static PyObject *__pyx_n_s_PyrexScanner_eof_action;
static PyObject *__pyx_n_s_PyrexScanner_error;
static PyObject *__pyx_n_s_PyrexScanner_exit_async;
static PyObject *__pyx_n_s_PyrexScanner_expect;
static PyObject *__pyx_n_s_PyrexScanner_expect_dedent;
static PyObject *__pyx_n_s_PyrexScanner_expect_indent;
static PyObject *__pyx_n_s_PyrexScanner_expect_keyword;
static PyObject *__pyx_n_s_PyrexScanner_expect_newline;
static PyObject *__pyx_n_s_PyrexScanner_expected;
static PyObject *__pyx_n_s_PyrexScanner_indentation_action;
static PyObject *__pyx_n_s_PyrexScanner_newline_action;
static PyObject *__pyx_n_s_PyrexScanner_next;
static PyObject *__pyx_n_s_PyrexScanner_open_bracket_action;
static PyObject *__pyx_n_s_PyrexScanner_peek;
static PyObject *__pyx_n_s_PyrexScanner_put_back;
static PyObject *__pyx_n_s_PyrexScanner_strip_underscores;
static PyObject *__pyx_n_s_PyrexScanner_unclosed_string_act;
static PyObject *__pyx_n_s_PyrexScanner_unread;
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___copy;
static PyObject *__pyx_n_s_SourceDescriptor___deepcopy;
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_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_n_s_Utils;
static PyObject *__pyx_n_s_ValueError;
static PyObject *__pyx_kp_u__10;
static PyObject *__pyx_n_s__11;
static PyObject *__pyx_kp_u__11;
static PyObject *__pyx_n_u__12;
static PyObject *__pyx_kp_u__15;
static PyObject *__pyx_kp_u__18;
static PyObject *__pyx_kp_u__5;
static PyObject *__pyx_kp_u__6;
static PyObject *__pyx_kp_u__8;
static PyObject *__pyx_kp_u__95;
static PyObject *__pyx_kp_u__96;
static PyObject *__pyx_kp_u__97;
static PyObject *__pyx_n_u_abs;
static PyObject *__pyx_n_s_abspath;
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_u_async;
static PyObject *__pyx_n_s_async_enabled;
static PyObject *__pyx_n_u_await;
static PyObject *__pyx_n_s_begin_string_action;
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_cline_in_traceback;
static PyObject *__pyx_n_s_close_bracket_action;
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_s_commentline;
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_s_copy;
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_declare;
static PyObject *__pyx_n_s_decode;
static PyObject *__pyx_n_s_decode_filename;
static PyObject *__pyx_n_s_deepcopy;
static PyObject *__pyx_n_u_def;
static PyObject *__pyx_n_u_del;
static PyObject *__pyx_n_u_dict;
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_s_enter;
static PyObject *__pyx_n_s_enter_async;
static PyObject *__pyx_n_u_enumerate;
static PyObject *__pyx_n_s_eof_action;
static PyObject *__pyx_n_s_eq;
static PyObject *__pyx_n_s_err;
static PyObject *__pyx_n_s_error;
static PyObject *__pyx_n_s_error_handling;
static PyObject *__pyx_n_s_esc_desc;
static PyObject *__pyx_n_s_escaped_description;
static PyObject *__pyx_n_u_except;
static PyObject *__pyx_n_u_exec;
static PyObject *__pyx_n_s_exit;
static PyObject *__pyx_n_s_exit_async;
static PyObject *__pyx_n_s_expect;
static PyObject *__pyx_n_s_expect_dedent;
static PyObject *__pyx_n_s_expect_indent;
static PyObject *__pyx_n_s_expect_keyword;
static PyObject *__pyx_n_s_expect_newline;
static PyObject *__pyx_n_s_expected;
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_path;
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_kp_u_found;
static PyObject *__pyx_n_s_found_2;
static PyObject *__pyx_n_u_from;
static PyObject *__pyx_n_u_frozenset;
static PyObject *__pyx_n_s_functools;
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_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_s_ignore_semicolon;
static PyObject *__pyx_n_s_import;
static PyObject *__pyx_n_u_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_pos;
static PyObject *__pyx_n_u_int;
static PyObject *__pyx_n_s_intern_ustring;
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_line;
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_lookup_here;
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_memo;
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_name_2;
static PyObject *__pyx_n_s_newline_action;
static PyObject *__pyx_n_s_next;
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_bracket_action;
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_peek;
static PyObject *__pyx_n_s_platform;
static PyObject *__pyx_n_s_pop;
static PyObject *__pyx_n_s_pos;
static PyObject *__pyx_n_s_position;
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_n_s_put_back;
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_capi;
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_reduce;
static PyObject *__pyx_n_u_reduce;
static PyObject *__pyx_n_s_relpath;
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_u_return;
static PyObject *__pyx_n_u_reversed;
static PyObject *__pyx_n_u_round;
static PyObject *__pyx_n_s_saved;
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_s_strip_underscores;
static PyObject *__pyx_n_u_sum;
static PyObject *__pyx_n_s_sy;
static PyObject *__pyx_n_s_symbol;
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_unclosed_string_action;
static PyObject *__pyx_n_u_unicode;
static PyObject *__pyx_n_s_unread;
static PyObject *__pyx_n_s_update;
static PyObject *__pyx_kp_u_useless_trailing_semicolon;
static PyObject *__pyx_n_s_useless_trailing_semicolon_2;
static PyObject *__pyx_n_s_value;
static PyObject *__pyx_n_s_warning;
static PyObject *__pyx_n_s_what;
static PyObject *__pyx_n_u_while;
static PyObject *__pyx_n_u_with;
static PyObject *__pyx_n_s_workdir;
static PyObject *__pyx_n_s_x;
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 int __pyx_pf_6Cython_8Compiler_8Scanning_6Method___init__(struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *__pyx_v_self, PyObject *__pyx_v_name, PyObject *__pyx_v_kwargs); /* 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 PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_6Method_4__copy__(struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_6Method_6__deepcopy__(struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_memo); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_6Method_8__name_____get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *__pyx_v_self); /* 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_2declare(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_name, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_4update(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_other); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_6lookup_here(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_name); /* proto */
static int __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_8__contains__(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_10lookup(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_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_16SourceDescriptor_16__copy__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_18__deepcopy__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_memo); /* 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_4strip_underscores(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_text, PyObject *__pyx_v_symbol); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_6open_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_8close_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_10newline_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_12begin_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_14end_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_16unclosed_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_18indentation_action(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_text); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_20eof_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_22next(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_24peek(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_26put_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_28unread(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_30error(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_32expect(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_what, PyObject *__pyx_v_message); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_34expect_keyword(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_what, PyObject *__pyx_v_message); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_36expected(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_what, PyObject *__pyx_v_message); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_38expect_indent(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_40expect_dedent(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_42expect_newline(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_message, PyObject *__pyx_v_ignore_semicolon); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_44enter_async(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_46exit_async(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* 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_13async_enabled___get__(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self); /* 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 __Pyx_CachedCFunction __pyx_umethod_PyList_Type_pop = {0, &__pyx_n_s_pop, 0, 0, 0};
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_tuple__2;
static PyObject *__pyx_tuple__4;
static PyObject *__pyx_tuple__7;
static PyObject *__pyx_tuple__9;
static PyObject *__pyx_slice__14;
static PyObject *__pyx_tuple__13;
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__32;
static PyObject *__pyx_tuple__34;
static PyObject *__pyx_tuple__36;
static PyObject *__pyx_tuple__38;
static PyObject *__pyx_tuple__40;
static PyObject *__pyx_tuple__42;
static PyObject *__pyx_tuple__44;
static PyObject *__pyx_tuple__46;
static PyObject *__pyx_tuple__48;
static PyObject *__pyx_tuple__50;
static PyObject *__pyx_tuple__52;
static PyObject *__pyx_tuple__54;
static PyObject *__pyx_tuple__55;
static PyObject *__pyx_tuple__57;
static PyObject *__pyx_tuple__58;
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_tuple__70;
static PyObject *__pyx_tuple__72;
static PyObject *__pyx_tuple__74;
static PyObject *__pyx_tuple__75;
static PyObject *__pyx_tuple__77;
static PyObject *__pyx_tuple__79;
static PyObject *__pyx_tuple__81;
static PyObject *__pyx_tuple__83;
static PyObject *__pyx_tuple__85;
static PyObject *__pyx_tuple__87;
static PyObject *__pyx_tuple__89;
static PyObject *__pyx_tuple__91;
static PyObject *__pyx_tuple__93;
static PyObject *__pyx_tuple__98;
static PyObject *__pyx_tuple__100;
static PyObject *__pyx_tuple__102;
static PyObject *__pyx_tuple__104;
static PyObject *__pyx_tuple__106;
static PyObject *__pyx_tuple__108;
static PyObject *__pyx_tuple__110;
static PyObject *__pyx_tuple__112;
static PyObject *__pyx_tuple__114;
static PyObject *__pyx_tuple__116;
static PyObject *__pyx_tuple__118;
static PyObject *__pyx_tuple__120;
static PyObject *__pyx_tuple__122;
static PyObject *__pyx_tuple__124;
static PyObject *__pyx_tuple__126;
static PyObject *__pyx_tuple__128;
static PyObject *__pyx_tuple__130;
static PyObject *__pyx_tuple__132;
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__33;
static PyObject *__pyx_codeobj__35;
static PyObject *__pyx_codeobj__37;
static PyObject *__pyx_codeobj__39;
static PyObject *__pyx_codeobj__41;
static PyObject *__pyx_codeobj__43;
static PyObject *__pyx_codeobj__45;
static PyObject *__pyx_codeobj__47;
static PyObject *__pyx_codeobj__49;
static PyObject *__pyx_codeobj__51;
static PyObject *__pyx_codeobj__53;
static PyObject *__pyx_codeobj__56;
static PyObject *__pyx_codeobj__59;
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;
static PyObject *__pyx_codeobj__71;
static PyObject *__pyx_codeobj__73;
static PyObject *__pyx_codeobj__76;
static PyObject *__pyx_codeobj__78;
static PyObject *__pyx_codeobj__80;
static PyObject *__pyx_codeobj__82;
static PyObject *__pyx_codeobj__84;
static PyObject *__pyx_codeobj__86;
static PyObject *__pyx_codeobj__88;
static PyObject *__pyx_codeobj__90;
static PyObject *__pyx_codeobj__92;
static PyObject *__pyx_codeobj__94;
static PyObject *__pyx_codeobj__99;
static PyObject *__pyx_codeobj__101;
static PyObject *__pyx_codeobj__103;
static PyObject *__pyx_codeobj__105;
static PyObject *__pyx_codeobj__107;
static PyObject *__pyx_codeobj__109;
static PyObject *__pyx_codeobj__111;
static PyObject *__pyx_codeobj__113;
static PyObject *__pyx_codeobj__115;
static PyObject *__pyx_codeobj__117;
static PyObject *__pyx_codeobj__119;
static PyObject *__pyx_codeobj__121;
static PyObject *__pyx_codeobj__123;
static PyObject *__pyx_codeobj__125;
static PyObject *__pyx_codeobj__127;
static PyObject *__pyx_codeobj__129;
static PyObject *__pyx_codeobj__131;
static PyObject *__pyx_codeobj__133;
/* Late includes */

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

static PyObject *__pyx_f_6Cython_8Compiler_8Scanning_get_lexicon(void) {
  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("get_lexicon", 0);

  /* "Cython/Compiler/Scanning.py":33
 * def get_lexicon():
 *     global lexicon
 *     if not lexicon:             # <<<<<<<<<<<<<<
 *         lexicon = make_lexicon()
 *     return lexicon
 */
  __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_6Cython_8Compiler_8Scanning_lexicon); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 33, __pyx_L1_error)
  __pyx_t_2 = ((!__pyx_t_1) != 0);
  if (__pyx_t_2) {

    /* "Cython/Compiler/Scanning.py":34
 *     global lexicon
 *     if not lexicon:
 *         lexicon = make_lexicon()             # <<<<<<<<<<<<<<
 *     return lexicon
 * 
 */
    __Pyx_INCREF(__pyx_v_6Cython_8Compiler_8Scanning_make_lexicon);
    __pyx_t_4 = __pyx_v_6Cython_8Compiler_8Scanning_make_lexicon; __pyx_t_5 = NULL;
    if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4);
      if (likely(__pyx_t_5)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
        __Pyx_INCREF(__pyx_t_5);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_4, function);
      }
    }
    __pyx_t_3 = (__pyx_t_5) ? __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_5) : __Pyx_PyObject_CallNoArg(__pyx_t_4);
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 34, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_XGOTREF(__pyx_v_6Cython_8Compiler_8Scanning_lexicon);
    __Pyx_DECREF_SET(__pyx_v_6Cython_8Compiler_8Scanning_lexicon, __pyx_t_3);
    __Pyx_GIVEREF(__pyx_t_3);
    __pyx_t_3 = 0;

    /* "Cython/Compiler/Scanning.py":33
 * def get_lexicon():
 *     global lexicon
 *     if not lexicon:             # <<<<<<<<<<<<<<
 *         lexicon = make_lexicon()
 *     return lexicon
 */
  }

  /* "Cython/Compiler/Scanning.py":35
 *     if not lexicon:
 *         lexicon = make_lexicon()
 *     return lexicon             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_6Cython_8Compiler_8Scanning_lexicon);
  __pyx_r = __pyx_v_6Cython_8Compiler_8Scanning_lexicon;
  goto __pyx_L0;

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

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

/* "Cython/Compiler/Scanning.py":56
 * class Method(object):
 * 
 *     def __init__(self, name, **kwargs):             # <<<<<<<<<<<<<<
 *         self.name = name
 *         self.kwargs = kwargs or None
 */

/* 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;
  PyObject *__pyx_v_kwargs = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return -1;
  __Pyx_GOTREF(__pyx_v_kwargs);
  {
    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);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__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, __pyx_v_kwargs, values, pos_args, "__init__") < 0)) __PYX_ERR(0, 56, __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_ERR(0, 56, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __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, __pyx_v_kwargs);

  /* function exit code */
  __Pyx_XDECREF(__pyx_v_kwargs);
  __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, PyObject *__pyx_v_kwargs) {
  int __pyx_r;
  __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("__init__", 0);

  /* "Cython/Compiler/Scanning.py":57
 * 
 *     def __init__(self, name, **kwargs):
 *         self.name = name             # <<<<<<<<<<<<<<
 *         self.kwargs = kwargs or None
 *         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":58
 *     def __init__(self, name, **kwargs):
 *         self.name = name
 *         self.kwargs = kwargs or None             # <<<<<<<<<<<<<<
 *         self.__name__ = name  # for Plex tracing
 * 
 */
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_kwargs); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 58, __pyx_L1_error)
  if (!__pyx_t_2) {
  } else {
    __Pyx_INCREF(__pyx_v_kwargs);
    __pyx_t_1 = __pyx_v_kwargs;
    goto __pyx_L3_bool_binop_done;
  }
  __Pyx_INCREF(Py_None);
  __pyx_t_1 = Py_None;
  __pyx_L3_bool_binop_done:;
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->kwargs);
  __Pyx_DECREF(__pyx_v_self->kwargs);
  __pyx_v_self->kwargs = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":59
 *         self.name = name
 *         self.kwargs = kwargs or None
 *         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->__name__);
  __Pyx_DECREF(__pyx_v_self->__name__);
  __pyx_v_self->__name__ = __pyx_v_name;

  /* "Cython/Compiler/Scanning.py":56
 * class Method(object):
 * 
 *     def __init__(self, name, **kwargs):             # <<<<<<<<<<<<<<
 *         self.name = name
 *         self.kwargs = kwargs or None
 */

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

/* "Cython/Compiler/Scanning.py":61
 *         self.__name__ = name  # for Plex tracing
 * 
 *     def __call__(self, stream, text):             # <<<<<<<<<<<<<<
 *         method = getattr(stream, self.name)
 *         # self.kwargs is almost always unused => avoid call overhead
 */

/* 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);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_stream)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_text)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__call__", 1, 2, 2, 1); __PYX_ERR(0, 61, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__call__") < 0)) __PYX_ERR(0, 61, __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_ERR(0, 61, __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_v_method = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_t_3;
  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("__call__", 0);

  /* "Cython/Compiler/Scanning.py":62
 * 
 *     def __call__(self, stream, text):
 *         method = getattr(stream, self.name)             # <<<<<<<<<<<<<<
 *         # self.kwargs is almost always unused => avoid call overhead
 *         return method(text, **self.kwargs) if self.kwargs is not None else method(text)
 */
  __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_ERR(0, 62, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_v_method = __pyx_t_2;
  __pyx_t_2 = 0;

  /* "Cython/Compiler/Scanning.py":64
 *         method = getattr(stream, self.name)
 *         # self.kwargs is almost always unused => avoid call overhead
 *         return method(text, **self.kwargs) if self.kwargs is not None else method(text)             # <<<<<<<<<<<<<<
 * 
 *     def __copy__(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_3 = (__pyx_v_self->kwargs != ((PyObject*)Py_None));
  if ((__pyx_t_3 != 0)) {
    __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 64, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_INCREF(__pyx_v_text);
    __Pyx_GIVEREF(__pyx_v_text);
    PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_text);
    if (unlikely(__pyx_v_self->kwargs == Py_None)) {
      PyErr_SetString(PyExc_TypeError, "argument after ** must be a mapping, not NoneType");
      __PYX_ERR(0, 64, __pyx_L1_error)
    }
    __pyx_t_4 = PyDict_Copy(__pyx_v_self->kwargs); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 64, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = __Pyx_PyObject_Call(__pyx_v_method, __pyx_t_1, __pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 64, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __pyx_t_2 = __pyx_t_5;
    __pyx_t_5 = 0;
  } else {
    __Pyx_INCREF(__pyx_v_method);
    __pyx_t_4 = __pyx_v_method; __pyx_t_1 = NULL;
    if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_1 = PyMethod_GET_SELF(__pyx_t_4);
      if (likely(__pyx_t_1)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
        __Pyx_INCREF(__pyx_t_1);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_4, function);
      }
    }
    __pyx_t_5 = (__pyx_t_1) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_1, __pyx_v_text) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_v_text);
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
    if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 64, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __pyx_t_2 = __pyx_t_5;
    __pyx_t_5 = 0;
  }
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":61
 *         self.__name__ = name  # for Plex tracing
 * 
 *     def __call__(self, stream, text):             # <<<<<<<<<<<<<<
 *         method = getattr(stream, self.name)
 *         # self.kwargs is almost always unused => avoid call overhead
 */

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

/* "Cython/Compiler/Scanning.py":66
 *         return method(text, **self.kwargs) if self.kwargs is not None else method(text)
 * 
 *     def __copy__(self):             # <<<<<<<<<<<<<<
 *         return self  # immutable, no need to copy
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_6Method_5__copy__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_6Method_5__copy__ = {"__copy__", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_6Method_5__copy__, METH_NOARGS, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_6Method_5__copy__(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__copy__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_6Method_4__copy__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *)__pyx_v_self));

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

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_6Method_4__copy__(struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__copy__", 0);

  /* "Cython/Compiler/Scanning.py":67
 * 
 *     def __copy__(self):
 *         return self  # immutable, no need to copy             # <<<<<<<<<<<<<<
 * 
 *     def __deepcopy__(self, memo):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(((PyObject *)__pyx_v_self));
  __pyx_r = ((PyObject *)__pyx_v_self);
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":66
 *         return method(text, **self.kwargs) if self.kwargs is not None else method(text)
 * 
 *     def __copy__(self):             # <<<<<<<<<<<<<<
 *         return self  # immutable, no need to copy
 * 
 */

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

/* "Cython/Compiler/Scanning.py":69
 *         return self  # immutable, no need to copy
 * 
 *     def __deepcopy__(self, memo):             # <<<<<<<<<<<<<<
 *         return self  # immutable, no need to copy
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_6Method_7__deepcopy__(PyObject *__pyx_v_self, PyObject *__pyx_v_memo); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_6Method_7__deepcopy__ = {"__deepcopy__", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_6Method_7__deepcopy__, METH_O, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_6Method_7__deepcopy__(PyObject *__pyx_v_self, PyObject *__pyx_v_memo) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__deepcopy__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_6Method_6__deepcopy__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *)__pyx_v_self), ((PyObject *)__pyx_v_memo));

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

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_6Method_6__deepcopy__(struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_memo) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__deepcopy__", 0);

  /* "Cython/Compiler/Scanning.py":70
 * 
 *     def __deepcopy__(self, memo):
 *         return self  # immutable, no need to copy             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(((PyObject *)__pyx_v_self));
  __pyx_r = ((PyObject *)__pyx_v_self);
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":69
 *         return self  # immutable, no need to copy
 * 
 *     def __deepcopy__(self, memo):             # <<<<<<<<<<<<<<
 *         return self  # immutable, no need to copy
 * 
 */

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

/* "Cython/Compiler/Scanning.pxd":15
 *     cdef object name
 *     cdef dict kwargs
 *     cdef readonly object __name__  # for tracing the scanner             # <<<<<<<<<<<<<<
 * 
 * ## methods commented with '##' out are used by Parsing.py when compiled.
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_6Method_8__name___1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_6Method_8__name___1__get__(PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_6Method_8__name_____get__(((struct __pyx_obj_6Cython_8Compiler_8Scanning_Method *)__pyx_v_self));

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

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

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

/* "Cython/Compiler/Scanning.py":77
 * 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);
        CYTHON_FALLTHROUGH;
        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 = __Pyx_PyDict_GetItemStr(__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_ERR(0, 77, __pyx_L3_error)
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        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_ERR(0, 77, __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":78
 * 
 *     def __init__(self, outer=None):
 *         self.entries = {}             # <<<<<<<<<<<<<<
 *         self.outer = outer
 * 
 */
  __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 78, __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":79
 *     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_ERR(0, 79, __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":77
 * 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":81
 *         self.outer = outer
 * 
 *     def declare(self, name, value):             # <<<<<<<<<<<<<<
 *         self.entries[name] = value
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_3declare(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_16CompileTimeScope_3declare = {"declare", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_3declare, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_3declare(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_name = 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("declare (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_name,&__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);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("declare", 1, 2, 2, 1); __PYX_ERR(0, 81, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "declare") < 0)) __PYX_ERR(0, 81, __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_name = values[0];
    __pyx_v_value = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("declare", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 81, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.CompileTimeScope.declare", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_2declare(((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_v_self), __pyx_v_name, __pyx_v_value);

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

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_2declare(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":82
 * 
 *     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_ERR(0, 82, __pyx_L1_error)
  }
  if (unlikely(PyDict_SetItem(__pyx_v_self->entries, __pyx_v_name, __pyx_v_value) < 0)) __PYX_ERR(0, 82, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":81
 *         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 = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

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

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_5update(PyObject *__pyx_v_self, PyObject *__pyx_v_other); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_16CompileTimeScope_5update = {"update", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_5update, METH_O, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_5update(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_4update(((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_4update(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":85
 * 
 *     def update(self, other):
 *         self.entries.update(other)             # <<<<<<<<<<<<<<
 * 
 *     def lookup_here(self, name):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->entries, __pyx_n_s_update); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 85, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
    }
  }
  __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_2, __pyx_t_3, __pyx_v_other) : __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_v_other);
  __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 85, __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":84
 *         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":87
 *         self.entries.update(other)
 * 
 *     def lookup_here(self, name):             # <<<<<<<<<<<<<<
 *         return self.entries[name]
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_7lookup_here(PyObject *__pyx_v_self, PyObject *__pyx_v_name); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_16CompileTimeScope_7lookup_here = {"lookup_here", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_7lookup_here, METH_O, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_7lookup_here(PyObject *__pyx_v_self, PyObject *__pyx_v_name) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("lookup_here (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16CompileTimeScope_6lookup_here(((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_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":88
 * 
 *     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_ERR(0, 88, __pyx_L1_error)
  }
  __pyx_t_1 = __Pyx_PyDict_GetItem(__pyx_v_self->entries, __pyx_v_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 88, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":87
 *         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 = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

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

/* Python wrapper */
static int __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_9__contains__(PyObject *__pyx_v_self, PyObject *__pyx_v_name); /*proto*/
static int __pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_9__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_8__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_8__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":91
 * 
 *     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_ERR(0, 91, __pyx_L1_error)
  }
  __pyx_t_1 = (__Pyx_PyDict_ContainsTF(__pyx_v_name, __pyx_v_self->entries, Py_EQ)); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 91, __pyx_L1_error)
  __pyx_r = __pyx_t_1;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":90
 *         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":93
 *         return name in self.entries
 * 
 *     def lookup(self, name):             # <<<<<<<<<<<<<<
 *         try:
 *             return self.lookup_here(name)
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_11lookup(PyObject *__pyx_v_self, PyObject *__pyx_v_name); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_16CompileTimeScope_11lookup = {"lookup", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_11lookup, METH_O, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_11lookup(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_10lookup(((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_10lookup(struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *__pyx_v_self, PyObject *__pyx_v_name) {
  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;
  PyObject *__pyx_t_10 = NULL;
  PyObject *__pyx_t_11 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("lookup", 0);

  /* "Cython/Compiler/Scanning.py":94
 * 
 *     def lookup(self, name):
 *         try:             # <<<<<<<<<<<<<<
 *             return self.lookup_here(name)
 *         except KeyError:
 */
  {
    __Pyx_PyThreadState_declare
    __Pyx_PyThreadState_assign
    __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":95
 *     def lookup(self, name):
 *         try:
 *             return self.lookup_here(name)             # <<<<<<<<<<<<<<
 *         except KeyError:
 *             outer = self.outer
 */
      __Pyx_XDECREF(__pyx_r);
      __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_lookup_here); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 95, __pyx_L3_error)
      __Pyx_GOTREF(__pyx_t_5);
      __pyx_t_6 = NULL;
      if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_5))) {
        __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_5);
        if (likely(__pyx_t_6)) {
          PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
          __Pyx_INCREF(__pyx_t_6);
          __Pyx_INCREF(function);
          __Pyx_DECREF_SET(__pyx_t_5, function);
        }
      }
      __pyx_t_4 = (__pyx_t_6) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_6, __pyx_v_name) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_v_name);
      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
      if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 95, __pyx_L3_error)
      __Pyx_GOTREF(__pyx_t_4);
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __pyx_r = __pyx_t_4;
      __pyx_t_4 = 0;
      goto __pyx_L7_try_return;

      /* "Cython/Compiler/Scanning.py":94
 * 
 *     def lookup(self, name):
 *         try:             # <<<<<<<<<<<<<<
 *             return self.lookup_here(name)
 *         except KeyError:
 */
    }
    __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":96
 *         try:
 *             return self.lookup_here(name)
 *         except KeyError:             # <<<<<<<<<<<<<<
 *             outer = self.outer
 *             if outer:
 */
    __pyx_t_7 = __Pyx_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_4, &__pyx_t_5, &__pyx_t_6) < 0) __PYX_ERR(0, 96, __pyx_L5_except_error)
      __Pyx_GOTREF(__pyx_t_4);
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_GOTREF(__pyx_t_6);

      /* "Cython/Compiler/Scanning.py":97
 *             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":98
 *         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_ERR(0, 98, __pyx_L5_except_error)
      if (likely(__pyx_t_9)) {

        /* "Cython/Compiler/Scanning.py":99
 *             outer = self.outer
 *             if outer:
 *                 return outer.lookup(name)             # <<<<<<<<<<<<<<
 *             else:
 *                 raise
 */
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_10 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_outer), __pyx_n_s_lookup); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 99, __pyx_L5_except_error)
        __Pyx_GOTREF(__pyx_t_10);
        __pyx_t_11 = NULL;
        if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_10))) {
          __pyx_t_11 = PyMethod_GET_SELF(__pyx_t_10);
          if (likely(__pyx_t_11)) {
            PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_10);
            __Pyx_INCREF(__pyx_t_11);
            __Pyx_INCREF(function);
            __Pyx_DECREF_SET(__pyx_t_10, function);
          }
        }
        __pyx_t_8 = (__pyx_t_11) ? __Pyx_PyObject_Call2Args(__pyx_t_10, __pyx_t_11, __pyx_v_name) : __Pyx_PyObject_CallOneArg(__pyx_t_10, __pyx_v_name);
        __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
        if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 99, __pyx_L5_except_error)
        __Pyx_GOTREF(__pyx_t_8);
        __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
        __pyx_r = __pyx_t_8;
        __pyx_t_8 = 0;
        __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;

        /* "Cython/Compiler/Scanning.py":98
 *         except KeyError:
 *             outer = self.outer
 *             if outer:             # <<<<<<<<<<<<<<
 *                 return outer.lookup(name)
 *             else:
 */
      }

      /* "Cython/Compiler/Scanning.py":101
 *                 return outer.lookup(name)
 *             else:
 *                 raise             # <<<<<<<<<<<<<<
 * 
 * 
 */
      /*else*/ {
        __Pyx_GIVEREF(__pyx_t_4);
        __Pyx_GIVEREF(__pyx_t_5);
        __Pyx_XGIVEREF(__pyx_t_6);
        __Pyx_ErrRestoreWithState(__pyx_t_4, __pyx_t_5, __pyx_t_6);
        __pyx_t_4 = 0; __pyx_t_5 = 0; __pyx_t_6 = 0; 
        __PYX_ERR(0, 101, __pyx_L5_except_error)
      }
    }
    goto __pyx_L5_except_error;
    __pyx_L5_except_error:;

    /* "Cython/Compiler/Scanning.py":94
 * 
 *     def lookup(self, name):
 *         try:             # <<<<<<<<<<<<<<
 *             return self.lookup_here(name)
 *         except KeyError:
 */
    __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;
  }

  /* "Cython/Compiler/Scanning.py":93
 *         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_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_10);
  __Pyx_XDECREF(__pyx_t_11);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.CompileTimeScope.lookup", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_outer);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.pxd":21
 * @cython.final
 * 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_ERR(1, 21, __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":22
 * 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_ERR(1, 22, __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":104
 * 
 * 
 * def initial_compile_time_env():             # <<<<<<<<<<<<<<
 *     benv = CompileTimeScope()
 *     names = ('UNAME_SYSNAME', 'UNAME_NODENAME', 'UNAME_RELEASE', 'UNAME_VERSION', 'UNAME_MACHINE')
 */

static PyObject *__pyx_f_6Cython_8Compiler_8Scanning_initial_compile_time_env(void) {
  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;
  PyObject *__pyx_v_reduce = 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;
  PyObject *__pyx_t_3 = NULL;
  Py_ssize_t __pyx_t_4;
  PyObject *(*__pyx_t_5)(PyObject *);
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *(*__pyx_t_8)(PyObject *);
  int __pyx_t_9;
  PyObject *__pyx_t_10 = NULL;
  PyObject *__pyx_t_11 = NULL;
  PyObject *__pyx_t_12 = NULL;
  PyObject *__pyx_t_13 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("initial_compile_time_env", 0);

  /* "Cython/Compiler/Scanning.py":105
 * 
 * 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_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 105, __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":106
 * 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()):
 *         benv.declare(name, value)
 */
  __Pyx_INCREF(__pyx_tuple_);
  __pyx_v_names = __pyx_tuple_;

  /* "Cython/Compiler/Scanning.py":107
 *     benv = CompileTimeScope()
 *     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_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_6Cython_8Compiler_8Scanning_platform, __pyx_n_s_uname); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 107, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
    }
  }
  __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 107, __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_ERR(0, 107, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_names);
  __Pyx_GIVEREF(__pyx_v_names);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_names);
  __Pyx_GIVEREF(__pyx_t_1);
  PyTuple_SET_ITEM(__pyx_t_2, 1, __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_ERR(0, 107, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  if (likely(PyList_CheckExact(__pyx_t_1)) || PyTuple_CheckExact(__pyx_t_1)) {
    __pyx_t_2 = __pyx_t_1; __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_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 107, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_5 = Py_TYPE(__pyx_t_2)->tp_iternext; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 107, __pyx_L1_error)
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  for (;;) {
    if (likely(!__pyx_t_5)) {
      if (likely(PyList_CheckExact(__pyx_t_2))) {
        if (__pyx_t_4 >= PyList_GET_SIZE(__pyx_t_2)) break;
        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
        __pyx_t_1 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 107, __pyx_L1_error)
        #else
        __pyx_t_1 = PySequence_ITEM(__pyx_t_2, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 107, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_1);
        #endif
      } else {
        if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_2)) break;
        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
        __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 107, __pyx_L1_error)
        #else
        __pyx_t_1 = PySequence_ITEM(__pyx_t_2, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 107, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_1);
        #endif
      }
    } else {
      __pyx_t_1 = __pyx_t_5(__pyx_t_2);
      if (unlikely(!__pyx_t_1)) {
        PyObject* exc_type = PyErr_Occurred();
        if (exc_type) {
          if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
          else __PYX_ERR(0, 107, __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;
      Py_ssize_t size = __Pyx_PySequence_SIZE(sequence);
      if (unlikely(size != 2)) {
        if (size > 2) __Pyx_RaiseTooManyValuesError(2);
        else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
        __PYX_ERR(0, 107, __pyx_L1_error)
      }
      #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
      if (likely(PyTuple_CheckExact(sequence))) {
        __pyx_t_3 = PyTuple_GET_ITEM(sequence, 0); 
        __pyx_t_6 = PyTuple_GET_ITEM(sequence, 1); 
      } else {
        __pyx_t_3 = PyList_GET_ITEM(sequence, 0); 
        __pyx_t_6 = PyList_GET_ITEM(sequence, 1); 
      }
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(__pyx_t_6);
      #else
      __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 107, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_3);
      __pyx_t_6 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 107, __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_ERR(0, 107, __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_3 = __pyx_t_8(__pyx_t_7); if (unlikely(!__pyx_t_3)) goto __pyx_L5_unpacking_failed;
      __Pyx_GOTREF(__pyx_t_3);
      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_ERR(0, 107, __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_ERR(0, 107, __pyx_L1_error)
      __pyx_L6_unpacking_done:;
    }
    __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_3);
    __pyx_t_3 = 0;
    __Pyx_XDECREF_SET(__pyx_v_value, __pyx_t_6);
    __pyx_t_6 = 0;

    /* "Cython/Compiler/Scanning.py":108
 *     names = ('UNAME_SYSNAME', 'UNAME_NODENAME', 'UNAME_RELEASE', 'UNAME_VERSION', 'UNAME_MACHINE')
 *     for name, value in zip(names, platform.uname()):
 *         benv.declare(name, value)             # <<<<<<<<<<<<<<
 *     try:
 *         import __builtin__ as builtins
 */
    __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_benv), __pyx_n_s_declare); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 108, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __pyx_t_3 = NULL;
    __pyx_t_9 = 0;
    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_6))) {
      __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_6);
      if (likely(__pyx_t_3)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6);
        __Pyx_INCREF(__pyx_t_3);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_6, function);
        __pyx_t_9 = 1;
      }
    }
    #if CYTHON_FAST_PYCALL
    if (PyFunction_Check(__pyx_t_6)) {
      PyObject *__pyx_temp[3] = {__pyx_t_3, __pyx_v_name, __pyx_v_value};
      __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 108, __pyx_L1_error)
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_GOTREF(__pyx_t_1);
    } else
    #endif
    #if CYTHON_FAST_PYCCALL
    if (__Pyx_PyFastCFunction_Check(__pyx_t_6)) {
      PyObject *__pyx_temp[3] = {__pyx_t_3, __pyx_v_name, __pyx_v_value};
      __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 108, __pyx_L1_error)
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_GOTREF(__pyx_t_1);
    } else
    #endif
    {
      __pyx_t_7 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 108, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_7);
      if (__pyx_t_3) {
        __Pyx_GIVEREF(__pyx_t_3); PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_3); __pyx_t_3 = NULL;
      }
      __Pyx_INCREF(__pyx_v_name);
      __Pyx_GIVEREF(__pyx_v_name);
      PyTuple_SET_ITEM(__pyx_t_7, 0+__pyx_t_9, __pyx_v_name);
      __Pyx_INCREF(__pyx_v_value);
      __Pyx_GIVEREF(__pyx_v_value);
      PyTuple_SET_ITEM(__pyx_t_7, 1+__pyx_t_9, __pyx_v_value);
      __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_7, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 108, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    }
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "Cython/Compiler/Scanning.py":107
 *     benv = CompileTimeScope()
 *     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_DECREF(__pyx_t_2); __pyx_t_2 = 0;

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

      /* "Cython/Compiler/Scanning.py":110
 *         benv.declare(name, value)
 *     try:
 *         import __builtin__ as builtins             # <<<<<<<<<<<<<<
 *     except ImportError:
 *         import builtins
 */
      __pyx_t_2 = __Pyx_Import(__pyx_n_s_builtin, 0, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 110, __pyx_L7_error)
      __Pyx_GOTREF(__pyx_t_2);
      __pyx_v_builtins = __pyx_t_2;
      __pyx_t_2 = 0;

      /* "Cython/Compiler/Scanning.py":109
 *     for name, value in zip(names, platform.uname()):
 *         benv.declare(name, value)
 *     try:             # <<<<<<<<<<<<<<
 *         import __builtin__ as builtins
 *     except ImportError:
 */
    }
    __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
    __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
    __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
    goto __pyx_L12_try_end;
    __pyx_L7_error:;
    __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;
    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
    __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;

    /* "Cython/Compiler/Scanning.py":111
 *     try:
 *         import __builtin__ as builtins
 *     except ImportError:             # <<<<<<<<<<<<<<
 *         import builtins
 * 
 */
    __pyx_t_9 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_ImportError);
    if (__pyx_t_9) {
      __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_ERR(0, 111, __pyx_L9_except_error)
      __Pyx_GOTREF(__pyx_t_2);
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_GOTREF(__pyx_t_6);

      /* "Cython/Compiler/Scanning.py":112
 *         import __builtin__ as builtins
 *     except ImportError:
 *         import builtins             # <<<<<<<<<<<<<<
 * 
 *     names = (
 */
      __pyx_t_7 = __Pyx_Import(__pyx_n_s_builtins, 0, 0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 112, __pyx_L9_except_error)
      __Pyx_GOTREF(__pyx_t_7);
      __Pyx_XDECREF_SET(__pyx_v_builtins, __pyx_t_7);
      __pyx_t_7 = 0;
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
      goto __pyx_L8_exception_handled;
    }
    goto __pyx_L9_except_error;
    __pyx_L9_except_error:;

    /* "Cython/Compiler/Scanning.py":109
 *     for name, value in zip(names, platform.uname()):
 *         benv.declare(name, value)
 *     try:             # <<<<<<<<<<<<<<
 *         import __builtin__ as builtins
 *     except ImportError:
 */
    __Pyx_XGIVEREF(__pyx_t_10);
    __Pyx_XGIVEREF(__pyx_t_11);
    __Pyx_XGIVEREF(__pyx_t_12);
    __Pyx_ExceptionReset(__pyx_t_10, __pyx_t_11, __pyx_t_12);
    goto __pyx_L1_error;
    __pyx_L8_exception_handled:;
    __Pyx_XGIVEREF(__pyx_t_10);
    __Pyx_XGIVEREF(__pyx_t_11);
    __Pyx_XGIVEREF(__pyx_t_12);
    __Pyx_ExceptionReset(__pyx_t_10, __pyx_t_11, __pyx_t_12);
    __pyx_L12_try_end:;
  }

  /* "Cython/Compiler/Scanning.py":115
 * 
 *     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":126
 *     )
 * 
 *     for name in names:             # <<<<<<<<<<<<<<
 *         try:
 *             benv.declare(name, getattr(builtins, name))
 */
  __pyx_t_6 = __pyx_v_names; __Pyx_INCREF(__pyx_t_6); __pyx_t_4 = 0;
  for (;;) {
    if (__pyx_t_4 >= PyTuple_GET_SIZE(__pyx_t_6)) break;
    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
    __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_6, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) __PYX_ERR(0, 126, __pyx_L1_error)
    #else
    __pyx_t_1 = PySequence_ITEM(__pyx_t_6, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 126, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    #endif
    __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_1);
    __pyx_t_1 = 0;

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

        /* "Cython/Compiler/Scanning.py":128
 *     for name in names:
 *         try:
 *             benv.declare(name, getattr(builtins, name))             # <<<<<<<<<<<<<<
 *         except AttributeError:
 *             # ignore, likely Py3
 */
        __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_benv), __pyx_n_s_declare); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 128, __pyx_L17_error)
        __Pyx_GOTREF(__pyx_t_2);
        __pyx_t_7 = __Pyx_GetAttr(__pyx_v_builtins, __pyx_v_name); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 128, __pyx_L17_error)
        __Pyx_GOTREF(__pyx_t_7);
        __pyx_t_3 = NULL;
        __pyx_t_9 = 0;
        if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
          if (likely(__pyx_t_3)) {
            PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
            __Pyx_INCREF(__pyx_t_3);
            __Pyx_INCREF(function);
            __Pyx_DECREF_SET(__pyx_t_2, function);
            __pyx_t_9 = 1;
          }
        }
        #if CYTHON_FAST_PYCALL
        if (PyFunction_Check(__pyx_t_2)) {
          PyObject *__pyx_temp[3] = {__pyx_t_3, __pyx_v_name, __pyx_t_7};
          __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_2, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 128, __pyx_L17_error)
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_GOTREF(__pyx_t_1);
          __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
        } else
        #endif
        #if CYTHON_FAST_PYCCALL
        if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
          PyObject *__pyx_temp[3] = {__pyx_t_3, __pyx_v_name, __pyx_t_7};
          __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_2, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 128, __pyx_L17_error)
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_GOTREF(__pyx_t_1);
          __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
        } else
        #endif
        {
          __pyx_t_13 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 128, __pyx_L17_error)
          __Pyx_GOTREF(__pyx_t_13);
          if (__pyx_t_3) {
            __Pyx_GIVEREF(__pyx_t_3); PyTuple_SET_ITEM(__pyx_t_13, 0, __pyx_t_3); __pyx_t_3 = NULL;
          }
          __Pyx_INCREF(__pyx_v_name);
          __Pyx_GIVEREF(__pyx_v_name);
          PyTuple_SET_ITEM(__pyx_t_13, 0+__pyx_t_9, __pyx_v_name);
          __Pyx_GIVEREF(__pyx_t_7);
          PyTuple_SET_ITEM(__pyx_t_13, 1+__pyx_t_9, __pyx_t_7);
          __pyx_t_7 = 0;
          __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_13, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 128, __pyx_L17_error)
          __Pyx_GOTREF(__pyx_t_1);
          __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
        }
        __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

        /* "Cython/Compiler/Scanning.py":127
 * 
 *     for name in names:
 *         try:             # <<<<<<<<<<<<<<
 *             benv.declare(name, getattr(builtins, name))
 *         except AttributeError:
 */
      }
      __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
      __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
      __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
      goto __pyx_L24_try_end;
      __pyx_L17_error:;
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0;
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;

      /* "Cython/Compiler/Scanning.py":129
 *         try:
 *             benv.declare(name, getattr(builtins, name))
 *         except AttributeError:             # <<<<<<<<<<<<<<
 *             # ignore, likely Py3
 *             pass
 */
      __pyx_t_9 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_AttributeError);
      if (__pyx_t_9) {
        __Pyx_ErrRestore(0,0,0);
        goto __pyx_L18_exception_handled;
      }
      goto __pyx_L19_except_error;
      __pyx_L19_except_error:;

      /* "Cython/Compiler/Scanning.py":127
 * 
 *     for name in names:
 *         try:             # <<<<<<<<<<<<<<
 *             benv.declare(name, getattr(builtins, name))
 *         except AttributeError:
 */
      __Pyx_XGIVEREF(__pyx_t_12);
      __Pyx_XGIVEREF(__pyx_t_11);
      __Pyx_XGIVEREF(__pyx_t_10);
      __Pyx_ExceptionReset(__pyx_t_12, __pyx_t_11, __pyx_t_10);
      goto __pyx_L1_error;
      __pyx_L18_exception_handled:;
      __Pyx_XGIVEREF(__pyx_t_12);
      __Pyx_XGIVEREF(__pyx_t_11);
      __Pyx_XGIVEREF(__pyx_t_10);
      __Pyx_ExceptionReset(__pyx_t_12, __pyx_t_11, __pyx_t_10);
      __pyx_L24_try_end:;
    }

    /* "Cython/Compiler/Scanning.py":126
 *     )
 * 
 *     for name in names:             # <<<<<<<<<<<<<<
 *         try:
 *             benv.declare(name, getattr(builtins, name))
 */
  }
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "Cython/Compiler/Scanning.py":134
 * 
 *     # Py2/3 adaptations
 *     from functools import reduce             # <<<<<<<<<<<<<<
 *     benv.declare('reduce', reduce)
 *     benv.declare('unicode', getattr(builtins, 'unicode', getattr(builtins, 'str')))
 */
  __pyx_t_6 = PyList_New(1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 134, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_6);
  __Pyx_INCREF(__pyx_n_s_reduce);
  __Pyx_GIVEREF(__pyx_n_s_reduce);
  PyList_SET_ITEM(__pyx_t_6, 0, __pyx_n_s_reduce);
  __pyx_t_1 = __Pyx_Import(__pyx_n_s_functools, __pyx_t_6, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 134, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __pyx_t_6 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_reduce); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 134, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_6);
  __Pyx_INCREF(__pyx_t_6);
  __pyx_v_reduce = __pyx_t_6;
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":135
 *     # Py2/3 adaptations
 *     from functools import reduce
 *     benv.declare('reduce', reduce)             # <<<<<<<<<<<<<<
 *     benv.declare('unicode', getattr(builtins, 'unicode', getattr(builtins, 'str')))
 *     benv.declare('long', getattr(builtins, 'long', getattr(builtins, 'int')))
 */
  __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_benv), __pyx_n_s_declare); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 135, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_6);
  __pyx_t_2 = NULL;
  __pyx_t_9 = 0;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_6))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_6);
    if (likely(__pyx_t_2)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6);
      __Pyx_INCREF(__pyx_t_2);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_6, function);
      __pyx_t_9 = 1;
    }
  }
  #if CYTHON_FAST_PYCALL
  if (PyFunction_Check(__pyx_t_6)) {
    PyObject *__pyx_temp[3] = {__pyx_t_2, __pyx_n_u_reduce, __pyx_v_reduce};
    __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 135, __pyx_L1_error)
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_GOTREF(__pyx_t_1);
  } else
  #endif
  #if CYTHON_FAST_PYCCALL
  if (__Pyx_PyFastCFunction_Check(__pyx_t_6)) {
    PyObject *__pyx_temp[3] = {__pyx_t_2, __pyx_n_u_reduce, __pyx_v_reduce};
    __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 135, __pyx_L1_error)
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_GOTREF(__pyx_t_1);
  } else
  #endif
  {
    __pyx_t_13 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 135, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_13);
    if (__pyx_t_2) {
      __Pyx_GIVEREF(__pyx_t_2); PyTuple_SET_ITEM(__pyx_t_13, 0, __pyx_t_2); __pyx_t_2 = NULL;
    }
    __Pyx_INCREF(__pyx_n_u_reduce);
    __Pyx_GIVEREF(__pyx_n_u_reduce);
    PyTuple_SET_ITEM(__pyx_t_13, 0+__pyx_t_9, __pyx_n_u_reduce);
    __Pyx_INCREF(__pyx_v_reduce);
    __Pyx_GIVEREF(__pyx_v_reduce);
    PyTuple_SET_ITEM(__pyx_t_13, 1+__pyx_t_9, __pyx_v_reduce);
    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_13, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 135, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
  }
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":136
 *     from functools import reduce
 *     benv.declare('reduce', reduce)
 *     benv.declare('unicode', getattr(builtins, 'unicode', getattr(builtins, 'str')))             # <<<<<<<<<<<<<<
 *     benv.declare('long', getattr(builtins, 'long', getattr(builtins, 'int')))
 *     benv.declare('xrange', getattr(builtins, 'xrange', getattr(builtins, 'range')))
 */
  __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_benv), __pyx_n_s_declare); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 136, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_6);
  __pyx_t_13 = __Pyx_GetAttr(__pyx_v_builtins, __pyx_n_u_str); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 136, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_13);
  __pyx_t_2 = __Pyx_GetAttr3(__pyx_v_builtins, __pyx_n_u_unicode, __pyx_t_13); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 136, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
  __pyx_t_13 = NULL;
  __pyx_t_9 = 0;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_6))) {
    __pyx_t_13 = PyMethod_GET_SELF(__pyx_t_6);
    if (likely(__pyx_t_13)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6);
      __Pyx_INCREF(__pyx_t_13);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_6, function);
      __pyx_t_9 = 1;
    }
  }
  #if CYTHON_FAST_PYCALL
  if (PyFunction_Check(__pyx_t_6)) {
    PyObject *__pyx_temp[3] = {__pyx_t_13, __pyx_n_u_unicode, __pyx_t_2};
    __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 136, __pyx_L1_error)
    __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0;
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  } else
  #endif
  #if CYTHON_FAST_PYCCALL
  if (__Pyx_PyFastCFunction_Check(__pyx_t_6)) {
    PyObject *__pyx_temp[3] = {__pyx_t_13, __pyx_n_u_unicode, __pyx_t_2};
    __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 136, __pyx_L1_error)
    __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0;
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  } else
  #endif
  {
    __pyx_t_7 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 136, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_7);
    if (__pyx_t_13) {
      __Pyx_GIVEREF(__pyx_t_13); PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_13); __pyx_t_13 = NULL;
    }
    __Pyx_INCREF(__pyx_n_u_unicode);
    __Pyx_GIVEREF(__pyx_n_u_unicode);
    PyTuple_SET_ITEM(__pyx_t_7, 0+__pyx_t_9, __pyx_n_u_unicode);
    __Pyx_GIVEREF(__pyx_t_2);
    PyTuple_SET_ITEM(__pyx_t_7, 1+__pyx_t_9, __pyx_t_2);
    __pyx_t_2 = 0;
    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_7, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 136, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
  }
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":137
 *     benv.declare('reduce', reduce)
 *     benv.declare('unicode', getattr(builtins, 'unicode', getattr(builtins, 'str')))
 *     benv.declare('long', getattr(builtins, 'long', getattr(builtins, 'int')))             # <<<<<<<<<<<<<<
 *     benv.declare('xrange', getattr(builtins, 'xrange', getattr(builtins, 'range')))
 * 
 */
  __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_benv), __pyx_n_s_declare); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 137, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_6);
  __pyx_t_7 = __Pyx_GetAttr(__pyx_v_builtins, __pyx_n_u_int); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 137, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_7);
  __pyx_t_2 = __Pyx_GetAttr3(__pyx_v_builtins, __pyx_n_u_long, __pyx_t_7); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 137, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
  __pyx_t_7 = NULL;
  __pyx_t_9 = 0;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_6))) {
    __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_6);
    if (likely(__pyx_t_7)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6);
      __Pyx_INCREF(__pyx_t_7);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_6, function);
      __pyx_t_9 = 1;
    }
  }
  #if CYTHON_FAST_PYCALL
  if (PyFunction_Check(__pyx_t_6)) {
    PyObject *__pyx_temp[3] = {__pyx_t_7, __pyx_n_u_long, __pyx_t_2};
    __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 137, __pyx_L1_error)
    __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  } else
  #endif
  #if CYTHON_FAST_PYCCALL
  if (__Pyx_PyFastCFunction_Check(__pyx_t_6)) {
    PyObject *__pyx_temp[3] = {__pyx_t_7, __pyx_n_u_long, __pyx_t_2};
    __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 137, __pyx_L1_error)
    __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  } else
  #endif
  {
    __pyx_t_13 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 137, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_13);
    if (__pyx_t_7) {
      __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_13, 0, __pyx_t_7); __pyx_t_7 = NULL;
    }
    __Pyx_INCREF(__pyx_n_u_long);
    __Pyx_GIVEREF(__pyx_n_u_long);
    PyTuple_SET_ITEM(__pyx_t_13, 0+__pyx_t_9, __pyx_n_u_long);
    __Pyx_GIVEREF(__pyx_t_2);
    PyTuple_SET_ITEM(__pyx_t_13, 1+__pyx_t_9, __pyx_t_2);
    __pyx_t_2 = 0;
    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_13, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 137, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
  }
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":138
 *     benv.declare('unicode', getattr(builtins, 'unicode', getattr(builtins, 'str')))
 *     benv.declare('long', getattr(builtins, 'long', getattr(builtins, 'int')))
 *     benv.declare('xrange', getattr(builtins, 'xrange', getattr(builtins, 'range')))             # <<<<<<<<<<<<<<
 * 
 *     denv = CompileTimeScope(benv)
 */
  __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_benv), __pyx_n_s_declare); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 138, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_6);
  __pyx_t_13 = __Pyx_GetAttr(__pyx_v_builtins, __pyx_n_u_range); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 138, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_13);
  __pyx_t_2 = __Pyx_GetAttr3(__pyx_v_builtins, __pyx_n_u_xrange, __pyx_t_13); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 138, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
  __pyx_t_13 = NULL;
  __pyx_t_9 = 0;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_6))) {
    __pyx_t_13 = PyMethod_GET_SELF(__pyx_t_6);
    if (likely(__pyx_t_13)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6);
      __Pyx_INCREF(__pyx_t_13);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_6, function);
      __pyx_t_9 = 1;
    }
  }
  #if CYTHON_FAST_PYCALL
  if (PyFunction_Check(__pyx_t_6)) {
    PyObject *__pyx_temp[3] = {__pyx_t_13, __pyx_n_u_xrange, __pyx_t_2};
    __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 138, __pyx_L1_error)
    __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0;
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  } else
  #endif
  #if CYTHON_FAST_PYCCALL
  if (__Pyx_PyFastCFunction_Check(__pyx_t_6)) {
    PyObject *__pyx_temp[3] = {__pyx_t_13, __pyx_n_u_xrange, __pyx_t_2};
    __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_6, __pyx_temp+1-__pyx_t_9, 2+__pyx_t_9); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 138, __pyx_L1_error)
    __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0;
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  } else
  #endif
  {
    __pyx_t_7 = PyTuple_New(2+__pyx_t_9); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 138, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_7);
    if (__pyx_t_13) {
      __Pyx_GIVEREF(__pyx_t_13); PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_13); __pyx_t_13 = NULL;
    }
    __Pyx_INCREF(__pyx_n_u_xrange);
    __Pyx_GIVEREF(__pyx_n_u_xrange);
    PyTuple_SET_ITEM(__pyx_t_7, 0+__pyx_t_9, __pyx_n_u_xrange);
    __Pyx_GIVEREF(__pyx_t_2);
    PyTuple_SET_ITEM(__pyx_t_7, 1+__pyx_t_9, __pyx_t_2);
    __pyx_t_2 = 0;
    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_7, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 138, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
  }
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":140
 *     benv.declare('xrange', getattr(builtins, 'xrange', getattr(builtins, 'range')))
 * 
 *     denv = CompileTimeScope(benv)             # <<<<<<<<<<<<<<
 *     return denv
 * 
 */
  __pyx_t_1 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope), ((PyObject *)__pyx_v_benv)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 140, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_denv = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":141
 * 
 *     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":104
 * 
 * 
 * def initial_compile_time_env():             # <<<<<<<<<<<<<<
 *     benv = CompileTimeScope()
 *     names = ('UNAME_SYSNAME', 'UNAME_NODENAME', 'UNAME_RELEASE', 'UNAME_VERSION', 'UNAME_MACHINE')
 */

  /* 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_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_13);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.initial_compile_time_env", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __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(__pyx_v_reduce);
  __Pyx_XDECREF((PyObject *)__pyx_v_denv);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":156
 *     _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__ = {"__str__", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_1__str__, METH_O, 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":157
 *     _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_ERR(0, 157, __pyx_L1_error)
    }
  }
  #endif

  /* "Cython/Compiler/Scanning.py":156
 *     _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":159
 *         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 = {"set_file_type_from_name", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_3set_file_type_from_name, METH_VARARGS|METH_KEYWORDS, 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);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_filename)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("set_file_type_from_name", 1, 2, 2, 1); __PYX_ERR(0, 159, __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_ERR(0, 159, __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_ERR(0, 159, __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_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("set_file_type_from_name", 0);

  /* "Cython/Compiler/Scanning.py":160
 * 
 *     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_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_6Cython_8Compiler_8Scanning_os, __pyx_n_s_path); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 160, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_splitext); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 160, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = NULL;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_3))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3);
    if (likely(__pyx_t_2)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
      __Pyx_INCREF(__pyx_t_2);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_3, function);
    }
  }
  __pyx_t_1 = (__pyx_t_2) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_2, __pyx_v_filename) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_v_filename);
  __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 160, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  if ((likely(PyTuple_CheckExact(__pyx_t_1))) || (PyList_CheckExact(__pyx_t_1))) {
    PyObject* sequence = __pyx_t_1;
    Py_ssize_t size = __Pyx_PySequence_SIZE(sequence);
    if (unlikely(size != 2)) {
      if (size > 2) __Pyx_RaiseTooManyValuesError(2);
      else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
      __PYX_ERR(0, 160, __pyx_L1_error)
    }
    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
    if (likely(PyTuple_CheckExact(sequence))) {
      __pyx_t_3 = PyTuple_GET_ITEM(sequence, 0); 
      __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1); 
    } else {
      __pyx_t_3 = PyList_GET_ITEM(sequence, 0); 
      __pyx_t_2 = PyList_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_ERR(0, 160, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_2 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 160, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    #endif
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  } else {
    Py_ssize_t index = -1;
    __pyx_t_4 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 160, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __pyx_t_5 = Py_TYPE(__pyx_t_4)->tp_iternext;
    index = 0; __pyx_t_3 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed;
    __Pyx_GOTREF(__pyx_t_3);
    index = 1; __pyx_t_2 = __pyx_t_5(__pyx_t_4); if (unlikely(!__pyx_t_2)) goto __pyx_L3_unpacking_failed;
    __Pyx_GOTREF(__pyx_t_2);
    if (__Pyx_IternextUnpackEndCheck(__pyx_t_5(__pyx_t_4), 2) < 0) __PYX_ERR(0, 160, __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_ERR(0, 160, __pyx_L1_error)
    __pyx_L4_unpacking_done:;
  }
  __pyx_v_name = __pyx_t_3;
  __pyx_t_3 = 0;
  __pyx_v_ext = __pyx_t_2;
  __pyx_t_2 = 0;

  /* "Cython/Compiler/Scanning.py":161
 *     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_2 = __pyx_v_ext;
  __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_t_2, __pyx_kp_u_pyx, Py_EQ)); if (unlikely(__pyx_t_7 < 0)) __PYX_ERR(0, 161, __pyx_L1_error)
  if (!__pyx_t_7) {
  } else {
    __pyx_t_6 = __pyx_t_7;
    goto __pyx_L8_bool_binop_done;
  }
  __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_t_2, __pyx_kp_u_pxd, Py_EQ)); if (unlikely(__pyx_t_7 < 0)) __PYX_ERR(0, 161, __pyx_L1_error)
  if (!__pyx_t_7) {
  } else {
    __pyx_t_6 = __pyx_t_7;
    goto __pyx_L8_bool_binop_done;
  }
  __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_t_2, __pyx_kp_u_py, Py_EQ)); if (unlikely(__pyx_t_7 < 0)) __PYX_ERR(0, 161, __pyx_L1_error)
  __pyx_t_6 = __pyx_t_7;
  __pyx_L8_bool_binop_done:;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_7 = __pyx_t_6;
  if (!__pyx_t_7) {
    goto __pyx_L6_next_or;
  } else {
  }
  __pyx_t_2 = __Pyx_PyObject_GetSlice(__pyx_v_ext, 1, 0, NULL, NULL, &__pyx_slice__3, 1, 0, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 161, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_7 < 0)) __PYX_ERR(0, 161, __pyx_L1_error)
  if (!__pyx_t_7) {
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  } else {
    __Pyx_INCREF(__pyx_t_2);
    __pyx_t_1 = __pyx_t_2;
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    goto __pyx_L5_bool_binop_done;
  }
  __pyx_L6_next_or:;
  __Pyx_INCREF(__pyx_n_u_pyx_2);
  __pyx_t_1 = __pyx_n_u_pyx_2;
  __pyx_L5_bool_binop_done:;
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_file_type, __pyx_t_1) < 0) __PYX_ERR(0, 161, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":159
 *         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":163
 *         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 = {"is_cython_file", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_5is_cython_file, METH_O, 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_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("is_cython_file", 0);

  /* "Cython/Compiler/Scanning.py":164
 * 
 *     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_ERR(0, 164, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_3 = (__Pyx_PyUnicode_Equals(__pyx_t_1, __pyx_n_u_pyx_2, Py_EQ)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 164, __pyx_L1_error)
  if (!__pyx_t_3) {
  } else {
    __pyx_t_2 = __pyx_t_3;
    goto __pyx_L3_bool_binop_done;
  }
  __pyx_t_3 = (__Pyx_PyUnicode_Equals(__pyx_t_1, __pyx_n_u_pxd_2, Py_EQ)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 164, __pyx_L1_error)
  __pyx_t_2 = __pyx_t_3;
  __pyx_L3_bool_binop_done:;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 164, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":163
 *         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":166
 *         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 = {"is_python_file", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_7is_python_file, METH_O, 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":167
 * 
 *     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_ERR(0, 167, __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_ERR(0, 167, __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":166
 *         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":169
 *         return self._file_type == 'py'
 * 
 *     def get_escaped_description(self):             # <<<<<<<<<<<<<<
 *         if self._escaped_description is None:
 *             esc_desc = \
 */

/* 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 = {"get_escaped_description", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_9get_escaped_description, METH_O, 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_v_esc_desc = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_t_3;
  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_RefNannySetupContext("get_escaped_description", 0);

  /* "Cython/Compiler/Scanning.py":170
 * 
 *     def get_escaped_description(self):
 *         if self._escaped_description is None:             # <<<<<<<<<<<<<<
 *             esc_desc = \
 *                 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_ERR(0, 170, __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":172
 *         if self._escaped_description is None:
 *             esc_desc = \
 *                 self.get_description().encode('ASCII', 'replace').decode("ASCII")             # <<<<<<<<<<<<<<
 *             # Use forward slashes on Windows since these paths
 *             # will be used in the #line directives in the C/C++ files.
 */
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_get_description); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 172, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __pyx_t_6 = NULL;
    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_5))) {
      __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_5);
      if (likely(__pyx_t_6)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
        __Pyx_INCREF(__pyx_t_6);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_5, function);
      }
    }
    __pyx_t_4 = (__pyx_t_6) ? __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_t_6) : __Pyx_PyObject_CallNoArg(__pyx_t_5);
    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
    if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 172, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_encode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 172, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_tuple__4, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 172, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_decode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 172, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __pyx_t_4 = NULL;
    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_5))) {
      __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_5);
      if (likely(__pyx_t_4)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5);
        __Pyx_INCREF(__pyx_t_4);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_5, function);
      }
    }
    __pyx_t_1 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_5, __pyx_t_4, __pyx_n_u_ASCII) : __Pyx_PyObject_CallOneArg(__pyx_t_5, __pyx_n_u_ASCII);
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 172, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    __pyx_v_esc_desc = __pyx_t_1;
    __pyx_t_1 = 0;

    /* "Cython/Compiler/Scanning.py":175
 *             # Use forward slashes on Windows since these paths
 *             # will be used in the #line directives in the C/C++ files.
 *             self._escaped_description = esc_desc.replace('\\', '/')             # <<<<<<<<<<<<<<
 *         return self._escaped_description
 * 
 */
    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_esc_desc, __pyx_n_s_replace); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 175, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__7, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 175, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_escaped_description, __pyx_t_5) < 0) __PYX_ERR(0, 175, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

    /* "Cython/Compiler/Scanning.py":170
 * 
 *     def get_escaped_description(self):
 *         if self._escaped_description is None:             # <<<<<<<<<<<<<<
 *             esc_desc = \
 *                 self.get_description().encode('ASCII', 'replace').decode("ASCII")
 */
  }

  /* "Cython/Compiler/Scanning.py":176
 *             # will be used in the #line directives in the C/C++ files.
 *             self._escaped_description = esc_desc.replace('\\', '/')
 *         return self._escaped_description             # <<<<<<<<<<<<<<
 * 
 *     def __gt__(self, other):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_escaped_description); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 176, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  __pyx_r = __pyx_t_5;
  __pyx_t_5 = 0;
  goto __pyx_L0;

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

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

/* "Cython/Compiler/Scanning.py":178
 *         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__ = {"__gt__", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_11__gt__, METH_VARARGS|METH_KEYWORDS, 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);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_other)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__gt__", 1, 2, 2, 1); __PYX_ERR(0, 178, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__gt__") < 0)) __PYX_ERR(0, 178, __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_ERR(0, 178, __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":180
 *     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_PyThreadState_declare
    __Pyx_PyThreadState_assign
    __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":181
 *         # 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_ERR(0, 181, __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_ERR(0, 181, __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_ERR(0, 181, __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;

      /* "Cython/Compiler/Scanning.py":180
 *     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_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":182
 *         try:
 *             return self._cmp_name > other._cmp_name
 *         except AttributeError:             # <<<<<<<<<<<<<<
 *             return False
 * 
 */
    __pyx_t_7 = __Pyx_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_ERR(0, 182, __pyx_L5_except_error)
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_GOTREF(__pyx_t_4);

      /* "Cython/Compiler/Scanning.py":183
 *             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;
    }
    goto __pyx_L5_except_error;
    __pyx_L5_except_error:;

    /* "Cython/Compiler/Scanning.py":180
 *     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_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;
  }

  /* "Cython/Compiler/Scanning.py":178
 *         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":185
 *             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__ = {"__lt__", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_13__lt__, METH_VARARGS|METH_KEYWORDS, 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);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_other)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__lt__", 1, 2, 2, 1); __PYX_ERR(0, 185, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__lt__") < 0)) __PYX_ERR(0, 185, __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_ERR(0, 185, __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":187
 *     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_PyThreadState_declare
    __Pyx_PyThreadState_assign
    __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":188
 *         # 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_ERR(0, 188, __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_ERR(0, 188, __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_ERR(0, 188, __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;

      /* "Cython/Compiler/Scanning.py":187
 *     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_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":189
 *         try:
 *             return self._cmp_name < other._cmp_name
 *         except AttributeError:             # <<<<<<<<<<<<<<
 *             return False
 * 
 */
    __pyx_t_7 = __Pyx_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_ERR(0, 189, __pyx_L5_except_error)
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_GOTREF(__pyx_t_4);

      /* "Cython/Compiler/Scanning.py":190
 *             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;
    }
    goto __pyx_L5_except_error;
    __pyx_L5_except_error:;

    /* "Cython/Compiler/Scanning.py":187
 *     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_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;
  }

  /* "Cython/Compiler/Scanning.py":185
 *             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":192
 *             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__ = {"__le__", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_15__le__, METH_VARARGS|METH_KEYWORDS, 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);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_other)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__le__", 1, 2, 2, 1); __PYX_ERR(0, 192, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__le__") < 0)) __PYX_ERR(0, 192, __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_ERR(0, 192, __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":194
 *     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_PyThreadState_declare
    __Pyx_PyThreadState_assign
    __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":195
 *         # 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_ERR(0, 195, __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_ERR(0, 195, __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_ERR(0, 195, __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;

      /* "Cython/Compiler/Scanning.py":194
 *     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_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":196
 *         try:
 *             return self._cmp_name <= other._cmp_name
 *         except AttributeError:             # <<<<<<<<<<<<<<
 *             return False
 * 
 */
    __pyx_t_7 = __Pyx_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_ERR(0, 196, __pyx_L5_except_error)
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_GOTREF(__pyx_t_4);

      /* "Cython/Compiler/Scanning.py":197
 *             return self._cmp_name <= other._cmp_name
 *         except AttributeError:
 *             return False             # <<<<<<<<<<<<<<
 * 
 *     def __copy__(self):
 */
      __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;
    }
    goto __pyx_L5_except_error;
    __pyx_L5_except_error:;

    /* "Cython/Compiler/Scanning.py":194
 *     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_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;
  }

  /* "Cython/Compiler/Scanning.py":192
 *             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":199
 *             return False
 * 
 *     def __copy__(self):             # <<<<<<<<<<<<<<
 *         return self  # immutable, no need to copy
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_17__copy__(PyObject *__pyx_self, PyObject *__pyx_v_self); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_17__copy__ = {"__copy__", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_17__copy__, METH_O, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_17__copy__(PyObject *__pyx_self, PyObject *__pyx_v_self) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__copy__ (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_16__copy__(__pyx_self, ((PyObject *)__pyx_v_self));

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

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

  /* "Cython/Compiler/Scanning.py":200
 * 
 *     def __copy__(self):
 *         return self  # immutable, no need to copy             # <<<<<<<<<<<<<<
 * 
 *     def __deepcopy__(self, memo):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_self);
  __pyx_r = __pyx_v_self;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":199
 *             return False
 * 
 *     def __copy__(self):             # <<<<<<<<<<<<<<
 *         return self  # immutable, no need to copy
 * 
 */

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

/* "Cython/Compiler/Scanning.py":202
 *         return self  # immutable, no need to copy
 * 
 *     def __deepcopy__(self, memo):             # <<<<<<<<<<<<<<
 *         return self  # immutable, no need to copy
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_19__deepcopy__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_19__deepcopy__ = {"__deepcopy__", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_19__deepcopy__, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_16SourceDescriptor_19__deepcopy__(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_self = 0;
  CYTHON_UNUSED PyObject *__pyx_v_memo = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__deepcopy__ (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_self,&__pyx_n_s_memo,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);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_memo)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__deepcopy__", 1, 2, 2, 1); __PYX_ERR(0, 202, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__deepcopy__") < 0)) __PYX_ERR(0, 202, __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_memo = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__deepcopy__", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 202, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.SourceDescriptor.__deepcopy__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_18__deepcopy__(__pyx_self, __pyx_v_self, __pyx_v_memo);

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

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_16SourceDescriptor_18__deepcopy__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_memo) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__deepcopy__", 0);

  /* "Cython/Compiler/Scanning.py":203
 * 
 *     def __deepcopy__(self, memo):
 *         return self  # immutable, no need to copy             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_self);
  __pyx_r = __pyx_v_self;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":202
 *         return self  # immutable, no need to copy
 * 
 *     def __deepcopy__(self, memo):             # <<<<<<<<<<<<<<
 *         return self  # immutable, no need to copy
 * 
 */

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

/* "Cython/Compiler/Scanning.py":214
 *     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__ = {"__init__", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_1__init__, METH_VARARGS|METH_KEYWORDS, 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);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_filename)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__init__", 0, 2, 3, 1); __PYX_ERR(0, 214, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__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_ERR(0, 214, __pyx_L3_error)
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        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_ERR(0, 214, __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_v_workdir = 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;
  PyObject *__pyx_t_5 = NULL;
  Py_ssize_t __pyx_t_6;
  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":215
 *     """
 *     def __init__(self, filename, path_description=None):
 *         filename = Utils.decode_filename(filename)             # <<<<<<<<<<<<<<
 *         self.path_description = path_description or filename
 *         self.filename = filename
 */
  __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_Utils); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 215, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_decode_filename); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 215, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = NULL;
  if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3);
    if (likely(__pyx_t_2)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
      __Pyx_INCREF(__pyx_t_2);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_3, function);
    }
  }
  __pyx_t_1 = (__pyx_t_2) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_2, __pyx_v_filename) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_v_filename);
  __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 215, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF_SET(__pyx_v_filename, __pyx_t_1);
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":216
 *     def __init__(self, filename, path_description=None):
 *         filename = Utils.decode_filename(filename)
 *         self.path_description = path_description or filename             # <<<<<<<<<<<<<<
 *         self.filename = filename
 *         # Prefer relative paths to current directory (which is most likely the project root) over absolute paths.
 */
  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_path_description); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 216, __pyx_L1_error)
  if (!__pyx_t_4) {
  } else {
    __Pyx_INCREF(__pyx_v_path_description);
    __pyx_t_1 = __pyx_v_path_description;
    goto __pyx_L3_bool_binop_done;
  }
  __Pyx_INCREF(__pyx_v_filename);
  __pyx_t_1 = __pyx_v_filename;
  __pyx_L3_bool_binop_done:;
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_path_description, __pyx_t_1) < 0) __PYX_ERR(0, 216, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":217
 *         filename = Utils.decode_filename(filename)
 *         self.path_description = path_description or filename
 *         self.filename = filename             # <<<<<<<<<<<<<<
 *         # Prefer relative paths to current directory (which is most likely the project root) over absolute paths.
 *         workdir = os.path.abspath('.') + os.sep
 */
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_filename, __pyx_v_filename) < 0) __PYX_ERR(0, 217, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":219
 *         self.filename = filename
 *         # Prefer relative paths to current directory (which is most likely the project root) over absolute paths.
 *         workdir = os.path.abspath('.') + os.sep             # <<<<<<<<<<<<<<
 *         self.file_path = filename[len(workdir):] if filename.startswith(workdir) else filename
 *         self.set_file_type_from_name(filename)
 */
  __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_6Cython_8Compiler_8Scanning_os, __pyx_n_s_path); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 219, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_abspath); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 219, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = NULL;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
    }
  }
  __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_2, __pyx_t_3, __pyx_kp_u__8) : __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_kp_u__8);
  __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 219, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_6Cython_8Compiler_8Scanning_os, __pyx_n_s_sep); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 219, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyNumber_Add(__pyx_t_1, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 219, __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_v_workdir = __pyx_t_3;
  __pyx_t_3 = 0;

  /* "Cython/Compiler/Scanning.py":220
 *         # Prefer relative paths to current directory (which is most likely the project root) over absolute paths.
 *         workdir = os.path.abspath('.') + os.sep
 *         self.file_path = filename[len(workdir):] if filename.startswith(workdir) else filename             # <<<<<<<<<<<<<<
 *         self.set_file_type_from_name(filename)
 *         self._cmp_name = filename
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_filename, __pyx_n_s_startswith); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 220, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_5 = NULL;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_1))) {
    __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_1);
    if (likely(__pyx_t_5)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_1);
      __Pyx_INCREF(__pyx_t_5);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_1, function);
    }
  }
  __pyx_t_2 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_1, __pyx_t_5, __pyx_v_workdir) : __Pyx_PyObject_CallOneArg(__pyx_t_1, __pyx_v_workdir);
  __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
  if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 220, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 220, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  if (__pyx_t_4) {
    __pyx_t_6 = PyObject_Length(__pyx_v_workdir); if (unlikely(__pyx_t_6 == ((Py_ssize_t)-1))) __PYX_ERR(0, 220, __pyx_L1_error)
    __pyx_t_2 = __Pyx_PyObject_GetSlice(__pyx_v_filename, __pyx_t_6, 0, NULL, NULL, NULL, 1, 0, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 220, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_3 = __pyx_t_2;
    __pyx_t_2 = 0;
  } else {
    __Pyx_INCREF(__pyx_v_filename);
    __pyx_t_3 = __pyx_v_filename;
  }
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_file_path, __pyx_t_3) < 0) __PYX_ERR(0, 220, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "Cython/Compiler/Scanning.py":221
 *         workdir = os.path.abspath('.') + os.sep
 *         self.file_path = filename[len(workdir):] if filename.startswith(workdir) else filename
 *         self.set_file_type_from_name(filename)             # <<<<<<<<<<<<<<
 *         self._cmp_name = filename
 *         self._lines = {}
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_set_file_type_from_name); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 221, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_1 = NULL;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_1 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_1)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_1);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
    }
  }
  __pyx_t_3 = (__pyx_t_1) ? __Pyx_PyObject_Call2Args(__pyx_t_2, __pyx_t_1, __pyx_v_filename) : __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_v_filename);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 221, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "Cython/Compiler/Scanning.py":222
 *         self.file_path = filename[len(workdir):] if filename.startswith(workdir) else 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_ERR(0, 222, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":223
 *         self.set_file_type_from_name(filename)
 *         self._cmp_name = filename
 *         self._lines = {}             # <<<<<<<<<<<<<<
 * 
 *     def get_lines(self, encoding=None, error_handling=None):
 */
  __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 223, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_lines, __pyx_t_3) < 0) __PYX_ERR(0, 223, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "Cython/Compiler/Scanning.py":214
 *     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_XDECREF(__pyx_t_5);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.FileSourceDescriptor.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_workdir);
  __Pyx_XDECREF(__pyx_v_filename);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":225
 *         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 = {"get_lines", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_3get_lines, METH_VARARGS|METH_KEYWORDS, 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);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_encoding);
          if (value) { values[1] = value; kw_args--; }
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__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_ERR(0, 225, __pyx_L3_error)
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        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_ERR(0, 225, __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;
  PyObject *__pyx_t_11 = NULL;
  PyObject *__pyx_t_12 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get_lines", 0);

  /* "Cython/Compiler/Scanning.py":228
 *         # 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_ERR(0, 228, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_v_encoding);
  __Pyx_GIVEREF(__pyx_v_encoding);
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_encoding);
  __Pyx_INCREF(__pyx_v_error_handling);
  __Pyx_GIVEREF(__pyx_v_error_handling);
  PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_error_handling);
  __pyx_v_key = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":229
 *         # 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_PyThreadState_declare
    __Pyx_PyThreadState_assign
    __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":230
 *         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_ERR(0, 230, __pyx_L3_error)
      __Pyx_GOTREF(__pyx_t_1);
      __pyx_t_5 = __Pyx_PyObject_GetItem(__pyx_t_1, __pyx_v_key); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 230, __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":231
 *         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":232
 *             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;

        /* "Cython/Compiler/Scanning.py":231
 *         try:
 *             lines = self._lines[key]
 *             if lines is not None:             # <<<<<<<<<<<<<<
 *                 return lines
 *         except KeyError:
 */
      }

      /* "Cython/Compiler/Scanning.py":229
 *         # 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_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_L8_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":233
 *             if lines is not None:
 *                 return lines
 *         except KeyError:             # <<<<<<<<<<<<<<
 *             pass
 * 
 */
    __pyx_t_8 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_KeyError);
    if (__pyx_t_8) {
      __Pyx_ErrRestore(0,0,0);
      goto __pyx_L4_exception_handled;
    }
    goto __pyx_L5_except_error;
    __pyx_L5_except_error:;

    /* "Cython/Compiler/Scanning.py":229
 *         # 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_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_L8_try_end:;
  }

  /* "Cython/Compiler/Scanning.py":236
 *             pass
 * 
 *         with Utils.open_source_file(self.filename, encoding=encoding, error_handling=error_handling) as f:             # <<<<<<<<<<<<<<
 *             lines = list(f)
 * 
 */
  /*with:*/ {
    __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_Utils); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 236, __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_ERR(0, 236, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_filename); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 236, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __pyx_t_9 = PyTuple_New(1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 236, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_9);
    __Pyx_GIVEREF(__pyx_t_5);
    PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_t_5);
    __pyx_t_5 = 0;
    __pyx_t_5 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 236, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    if (PyDict_SetItem(__pyx_t_5, __pyx_n_s_encoding, __pyx_v_encoding) < 0) __PYX_ERR(0, 236, __pyx_L1_error)
    if (PyDict_SetItem(__pyx_t_5, __pyx_n_s_error_handling, __pyx_v_error_handling) < 0) __PYX_ERR(0, 236, __pyx_L1_error)
    __pyx_t_10 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_9, __pyx_t_5); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 236, __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_t_4 = __Pyx_PyObject_LookupSpecial(__pyx_t_10, __pyx_n_s_exit); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 236, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_9 = __Pyx_PyObject_LookupSpecial(__pyx_t_10, __pyx_n_s_enter); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 236, __pyx_L10_error)
    __Pyx_GOTREF(__pyx_t_9);
    __pyx_t_1 = NULL;
    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_9))) {
      __pyx_t_1 = PyMethod_GET_SELF(__pyx_t_9);
      if (likely(__pyx_t_1)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_9);
        __Pyx_INCREF(__pyx_t_1);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_9, function);
      }
    }
    __pyx_t_5 = (__pyx_t_1) ? __Pyx_PyObject_CallOneArg(__pyx_t_9, __pyx_t_1) : __Pyx_PyObject_CallNoArg(__pyx_t_9);
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
    if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 236, __pyx_L10_error)
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
    __pyx_t_9 = __pyx_t_5;
    __pyx_t_5 = 0;
    __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
    /*try:*/ {
      {
        __Pyx_PyThreadState_declare
        __Pyx_PyThreadState_assign
        __Pyx_ExceptionSave(&__pyx_t_3, &__pyx_t_2, &__pyx_t_11);
        __Pyx_XGOTREF(__pyx_t_3);
        __Pyx_XGOTREF(__pyx_t_2);
        __Pyx_XGOTREF(__pyx_t_11);
        /*try:*/ {
          __pyx_v_f = __pyx_t_9;
          __pyx_t_9 = 0;

          /* "Cython/Compiler/Scanning.py":237
 * 
 *         with Utils.open_source_file(self.filename, encoding=encoding, error_handling=error_handling) as f:
 *             lines = list(f)             # <<<<<<<<<<<<<<
 * 
 *         if key in self._lines:
 */
          __pyx_t_9 = PySequence_List(__pyx_v_f); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 237, __pyx_L14_error)
          __Pyx_GOTREF(__pyx_t_9);
          __Pyx_XDECREF_SET(__pyx_v_lines, __pyx_t_9);
          __pyx_t_9 = 0;

          /* "Cython/Compiler/Scanning.py":236
 *             pass
 * 
 *         with Utils.open_source_file(self.filename, encoding=encoding, error_handling=error_handling) as f:             # <<<<<<<<<<<<<<
 *             lines = list(f)
 * 
 */
        }
        __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
        __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
        __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
        goto __pyx_L19_try_end;
        __pyx_L14_error:;
        __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
        __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
        __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
        __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
        /*except:*/ {
          __Pyx_AddTraceback("Cython.Compiler.Scanning.FileSourceDescriptor.get_lines", __pyx_clineno, __pyx_lineno, __pyx_filename);
          if (__Pyx_GetException(&__pyx_t_9, &__pyx_t_10, &__pyx_t_5) < 0) __PYX_ERR(0, 236, __pyx_L16_except_error)
          __Pyx_GOTREF(__pyx_t_9);
          __Pyx_GOTREF(__pyx_t_10);
          __Pyx_GOTREF(__pyx_t_5);
          __pyx_t_1 = PyTuple_Pack(3, __pyx_t_9, __pyx_t_10, __pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 236, __pyx_L16_except_error)
          __Pyx_GOTREF(__pyx_t_1);
          __pyx_t_12 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_1, NULL);
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
          if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 236, __pyx_L16_except_error)
          __Pyx_GOTREF(__pyx_t_12);
          __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_12);
          __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
          if (__pyx_t_7 < 0) __PYX_ERR(0, 236, __pyx_L16_except_error)
          __pyx_t_6 = ((!(__pyx_t_7 != 0)) != 0);
          if (__pyx_t_6) {
            __Pyx_GIVEREF(__pyx_t_9);
            __Pyx_GIVEREF(__pyx_t_10);
            __Pyx_XGIVEREF(__pyx_t_5);
            __Pyx_ErrRestoreWithState(__pyx_t_9, __pyx_t_10, __pyx_t_5);
            __pyx_t_9 = 0; __pyx_t_10 = 0; __pyx_t_5 = 0; 
            __PYX_ERR(0, 236, __pyx_L16_except_error)
          }
          __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;
          goto __pyx_L15_exception_handled;
        }
        __pyx_L16_except_error:;
        __Pyx_XGIVEREF(__pyx_t_3);
        __Pyx_XGIVEREF(__pyx_t_2);
        __Pyx_XGIVEREF(__pyx_t_11);
        __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_2, __pyx_t_11);
        goto __pyx_L1_error;
        __pyx_L15_exception_handled:;
        __Pyx_XGIVEREF(__pyx_t_3);
        __Pyx_XGIVEREF(__pyx_t_2);
        __Pyx_XGIVEREF(__pyx_t_11);
        __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_2, __pyx_t_11);
        __pyx_L19_try_end:;
      }
    }
    /*finally:*/ {
      /*normal exit:*/{
        if (__pyx_t_4) {
          __pyx_t_11 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_tuple__9, NULL);
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 236, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_11);
          __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
        }
        goto __pyx_L13;
      }
      __pyx_L13:;
    }
    goto __pyx_L23;
    __pyx_L10_error:;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    goto __pyx_L1_error;
    __pyx_L23:;
  }

  /* "Cython/Compiler/Scanning.py":239
 *             lines = list(f)
 * 
 *         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_ERR(0, 239, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  __pyx_t_6 = (__Pyx_PySequence_ContainsTF(__pyx_v_key, __pyx_t_5, Py_EQ)); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 239, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __pyx_t_7 = (__pyx_t_6 != 0);
  if (__pyx_t_7) {

    /* "Cython/Compiler/Scanning.py":240
 * 
 *         if key in self._lines:
 *             self._lines[key] = lines             # <<<<<<<<<<<<<<
 *         else:
 *             # do not cache the first access, but remember that we
 */
    if (unlikely(!__pyx_v_lines)) { __Pyx_RaiseUnboundLocalError("lines"); __PYX_ERR(0, 240, __pyx_L1_error) }
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_lines); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 240, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    if (unlikely(PyObject_SetItem(__pyx_t_5, __pyx_v_key, __pyx_v_lines) < 0)) __PYX_ERR(0, 240, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

    /* "Cython/Compiler/Scanning.py":239
 *             lines = list(f)
 * 
 *         if key in self._lines:             # <<<<<<<<<<<<<<
 *             self._lines[key] = lines
 *         else:
 */
    goto __pyx_L24;
  }

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

  /* "Cython/Compiler/Scanning.py":245
 *             # already read it once
 *             self._lines[key] = None
 *         return lines             # <<<<<<<<<<<<<<
 * 
 *     def get_description(self):
 */
  __Pyx_XDECREF(__pyx_r);
  if (unlikely(!__pyx_v_lines)) { __Pyx_RaiseUnboundLocalError("lines"); __PYX_ERR(0, 245, __pyx_L1_error) }
  __Pyx_INCREF(__pyx_v_lines);
  __pyx_r = __pyx_v_lines;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":225
 *         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":247
 *         return lines
 * 
 *     def get_description(self):             # <<<<<<<<<<<<<<
 *         try:
 *             return os.path.relpath(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 = {"get_description", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_5get_description, METH_O, 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;
  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;
  PyObject *__pyx_t_7 = NULL;
  int __pyx_t_8;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get_description", 0);

  /* "Cython/Compiler/Scanning.py":248
 * 
 *     def get_description(self):
 *         try:             # <<<<<<<<<<<<<<
 *             return os.path.relpath(self.path_description)
 *         except ValueError:
 */
  {
    __Pyx_PyThreadState_declare
    __Pyx_PyThreadState_assign
    __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":249
 *     def get_description(self):
 *         try:
 *             return os.path.relpath(self.path_description)             # <<<<<<<<<<<<<<
 *         except ValueError:
 *             # path not under current directory => use complete file path
 */
      __Pyx_XDECREF(__pyx_r);
      __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_6Cython_8Compiler_8Scanning_os, __pyx_n_s_path); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 249, __pyx_L3_error)
      __Pyx_GOTREF(__pyx_t_5);
      __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_relpath); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 249, __pyx_L3_error)
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_path_description); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 249, __pyx_L3_error)
      __Pyx_GOTREF(__pyx_t_5);
      __pyx_t_7 = NULL;
      if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_6))) {
        __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_6);
        if (likely(__pyx_t_7)) {
          PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6);
          __Pyx_INCREF(__pyx_t_7);
          __Pyx_INCREF(function);
          __Pyx_DECREF_SET(__pyx_t_6, function);
        }
      }
      __pyx_t_4 = (__pyx_t_7) ? __Pyx_PyObject_Call2Args(__pyx_t_6, __pyx_t_7, __pyx_t_5) : __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_t_5);
      __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 249, __pyx_L3_error)
      __Pyx_GOTREF(__pyx_t_4);
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __pyx_r = __pyx_t_4;
      __pyx_t_4 = 0;
      goto __pyx_L7_try_return;

      /* "Cython/Compiler/Scanning.py":248
 * 
 *     def get_description(self):
 *         try:             # <<<<<<<<<<<<<<
 *             return os.path.relpath(self.path_description)
 *         except ValueError:
 */
    }
    __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;
    __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;

    /* "Cython/Compiler/Scanning.py":250
 *         try:
 *             return os.path.relpath(self.path_description)
 *         except ValueError:             # <<<<<<<<<<<<<<
 *             # path not under current directory => use complete file path
 *             return self.path_description
 */
    __pyx_t_8 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_ValueError);
    if (__pyx_t_8) {
      __Pyx_AddTraceback("Cython.Compiler.Scanning.FileSourceDescriptor.get_description", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_6, &__pyx_t_5) < 0) __PYX_ERR(0, 250, __pyx_L5_except_error)
      __Pyx_GOTREF(__pyx_t_4);
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_GOTREF(__pyx_t_5);

      /* "Cython/Compiler/Scanning.py":252
 *         except ValueError:
 *             # path not under current directory => use complete file path
 *             return self.path_description             # <<<<<<<<<<<<<<
 * 
 *     def get_error_description(self):
 */
      __Pyx_XDECREF(__pyx_r);
      __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_path_description); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 252, __pyx_L5_except_error)
      __Pyx_GOTREF(__pyx_t_7);
      __pyx_r = __pyx_t_7;
      __pyx_t_7 = 0;
      __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;
    }
    goto __pyx_L5_except_error;
    __pyx_L5_except_error:;

    /* "Cython/Compiler/Scanning.py":248
 * 
 *     def get_description(self):
 *         try:             # <<<<<<<<<<<<<<
 *             return os.path.relpath(self.path_description)
 *         except ValueError:
 */
    __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;
  }

  /* "Cython/Compiler/Scanning.py":247
 *         return lines
 * 
 *     def get_description(self):             # <<<<<<<<<<<<<<
 *         try:
 *             return os.path.relpath(self.path_description)
 */

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_7);
  __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":254
 *             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 = {"get_error_description", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_7get_error_description, METH_O, 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;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_t_6;
  Py_ssize_t __pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get_error_description", 0);

  /* "Cython/Compiler/Scanning.py":255
 * 
 *     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_ERR(0, 255, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_path = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":256
 *     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_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_Utils); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 256, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_decode_filename); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 256, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_6Cython_8Compiler_8Scanning_os, __pyx_n_s_getcwd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 256, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_5 = NULL;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) {
    __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4);
    if (likely(__pyx_t_5)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
      __Pyx_INCREF(__pyx_t_5);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_4, function);
    }
  }
  __pyx_t_2 = (__pyx_t_5) ? __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_5) : __Pyx_PyObject_CallNoArg(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
  if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 256, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_6Cython_8Compiler_8Scanning_os, __pyx_n_s_path); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 256, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_sep); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 256, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 256, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __pyx_t_5 = NULL;
  if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_3))) {
    __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_3);
    if (likely(__pyx_t_5)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
      __Pyx_INCREF(__pyx_t_5);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_3, function);
    }
  }
  __pyx_t_1 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_5, __pyx_t_4) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 256, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_v_cwd = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":257
 *         path = self.filename
 *         cwd = Utils.decode_filename(os.getcwd() + os.path.sep)
 *         if path.startswith(cwd):             # <<<<<<<<<<<<<<
 *             return path[len(cwd):]
 *         return path
 */
  __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_path, __pyx_n_s_startswith); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 257, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = NULL;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_3))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
    if (likely(__pyx_t_4)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_3, function);
    }
  }
  __pyx_t_1 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_v_cwd) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_v_cwd);
  __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 257, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_6 < 0)) __PYX_ERR(0, 257, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (__pyx_t_6) {

    /* "Cython/Compiler/Scanning.py":258
 *         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_7 = PyObject_Length(__pyx_v_cwd); if (unlikely(__pyx_t_7 == ((Py_ssize_t)-1))) __PYX_ERR(0, 258, __pyx_L1_error)
    __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_v_path, __pyx_t_7, 0, NULL, NULL, NULL, 1, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 258, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_r = __pyx_t_1;
    __pyx_t_1 = 0;
    goto __pyx_L0;

    /* "Cython/Compiler/Scanning.py":257
 *         path = self.filename
 *         cwd = Utils.decode_filename(os.getcwd() + os.path.sep)
 *         if path.startswith(cwd):             # <<<<<<<<<<<<<<
 *             return path[len(cwd):]
 *         return path
 */
  }

  /* "Cython/Compiler/Scanning.py":259
 *         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":254
 *             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_XDECREF(__pyx_t_5);
  __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":261
 *         return path
 * 
 *     def get_filenametable_entry(self):             # <<<<<<<<<<<<<<
 *         return self.file_path
 * 
 */

/* 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 = {"get_filenametable_entry", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_9get_filenametable_entry, METH_O, 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":262
 * 
 *     def get_filenametable_entry(self):
 *         return self.file_path             # <<<<<<<<<<<<<<
 * 
 *     def __eq__(self, other):
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_file_path); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 262, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

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

  /* 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":264
 *         return self.file_path
 * 
 *     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__ = {"__eq__", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_11__eq__, METH_VARARGS|METH_KEYWORDS, 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);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_other)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__eq__", 1, 2, 2, 1); __PYX_ERR(0, 264, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__eq__") < 0)) __PYX_ERR(0, 264, __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_ERR(0, 264, __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;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_t_3;
  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":265
 * 
 *     def __eq__(self, other):
 *         return isinstance(other, FileSourceDescriptor) and self.filename == other.filename             # <<<<<<<<<<<<<<
 * 
 *     def __hash__(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_FileSourceDescriptor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 265, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyObject_IsInstance(__pyx_v_other, __pyx_t_2); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(0, 265, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  if (__pyx_t_3) {
  } else {
    __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 265, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_1 = __pyx_t_2;
    __pyx_t_2 = 0;
    goto __pyx_L3_bool_binop_done;
  }
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_filename); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 265, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_other, __pyx_n_s_filename); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 265, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_5 = PyObject_RichCompare(__pyx_t_2, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 265, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_INCREF(__pyx_t_5);
  __pyx_t_1 = __pyx_t_5;
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __pyx_L3_bool_binop_done:;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":264
 *         return self.file_path
 * 
 *     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_2);
  __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":267
 *         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__ = {"__hash__", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_13__hash__, METH_O, 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":268
 * 
 *     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_ERR(0, 268, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyObject_Hash(__pyx_t_1); if (unlikely(__pyx_t_2 == ((Py_hash_t)-1))) __PYX_ERR(0, 268, __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_ERR(0, 268, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":267
 *         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":270
 *         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__ = {"__repr__", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_15__repr__, METH_O, 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":271
 * 
 *     def __repr__(self):
 *         return "<FileSourceDescriptor:%s>" % self.filename             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_filename); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 271, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyUnicode_FormatSafe(__pyx_kp_u_FileSourceDescriptor_s, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 271, __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":270
 *         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":279
 *     code originates from a string object.
 *     """
 *     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__ = {"__init__", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_1__init__, METH_VARARGS|METH_KEYWORDS, 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);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_name)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, 1); __PYX_ERR(0, 279, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_code)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, 2); __PYX_ERR(0, 279, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__init__") < 0)) __PYX_ERR(0, 279, __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_ERR(0, 279, __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_7genexpr__pyx_v_x = 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;
  Py_ssize_t __pyx_t_5;
  PyObject *(*__pyx_t_6)(PyObject *);
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "Cython/Compiler/Scanning.py":280
 *     """
 *     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_ERR(0, 280, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":282
 *         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 */
    __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 282, __pyx_L5_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_code, __pyx_n_s_split); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 282, __pyx_L5_error)
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = NULL;
    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_3))) {
      __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
      if (likely(__pyx_t_4)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
        __Pyx_INCREF(__pyx_t_4);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_3, function);
      }
    }
    __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_kp_u__10) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_kp_u__10);
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 282, __pyx_L5_error)
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    if (likely(PyList_CheckExact(__pyx_t_2)) || PyTuple_CheckExact(__pyx_t_2)) {
      __pyx_t_3 = __pyx_t_2; __Pyx_INCREF(__pyx_t_3); __pyx_t_5 = 0;
      __pyx_t_6 = NULL;
    } else {
      __pyx_t_5 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 282, __pyx_L5_error)
      __Pyx_GOTREF(__pyx_t_3);
      __pyx_t_6 = Py_TYPE(__pyx_t_3)->tp_iternext; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 282, __pyx_L5_error)
    }
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    for (;;) {
      if (likely(!__pyx_t_6)) {
        if (likely(PyList_CheckExact(__pyx_t_3))) {
          if (__pyx_t_5 >= PyList_GET_SIZE(__pyx_t_3)) break;
          #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
          __pyx_t_2 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_5); __Pyx_INCREF(__pyx_t_2); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 282, __pyx_L5_error)
          #else
          __pyx_t_2 = PySequence_ITEM(__pyx_t_3, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 282, __pyx_L5_error)
          __Pyx_GOTREF(__pyx_t_2);
          #endif
        } else {
          if (__pyx_t_5 >= PyTuple_GET_SIZE(__pyx_t_3)) break;
          #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
          __pyx_t_2 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_5); __Pyx_INCREF(__pyx_t_2); __pyx_t_5++; if (unlikely(0 < 0)) __PYX_ERR(0, 282, __pyx_L5_error)
          #else
          __pyx_t_2 = PySequence_ITEM(__pyx_t_3, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 282, __pyx_L5_error)
          __Pyx_GOTREF(__pyx_t_2);
          #endif
        }
      } else {
        __pyx_t_2 = __pyx_t_6(__pyx_t_3);
        if (unlikely(!__pyx_t_2)) {
          PyObject* exc_type = PyErr_Occurred();
          if (exc_type) {
            if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
            else __PYX_ERR(0, 282, __pyx_L5_error)
          }
          break;
        }
        __Pyx_GOTREF(__pyx_t_2);
      }
      __Pyx_XDECREF_SET(__pyx_7genexpr__pyx_v_x, __pyx_t_2);
      __pyx_t_2 = 0;
      __pyx_t_2 = PyNumber_Add(__pyx_7genexpr__pyx_v_x, __pyx_kp_u__10); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 282, __pyx_L5_error)
      __Pyx_GOTREF(__pyx_t_2);
      if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_2))) __PYX_ERR(0, 282, __pyx_L5_error)
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    }
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_XDECREF(__pyx_7genexpr__pyx_v_x); __pyx_7genexpr__pyx_v_x = 0;
    goto __pyx_L8_exit_scope;
    __pyx_L5_error:;
    __Pyx_XDECREF(__pyx_7genexpr__pyx_v_x); __pyx_7genexpr__pyx_v_x = 0;
    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_ERR(0, 282, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":283
 *         #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_ERR(0, 283, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":279
 *     code originates from a string object.
 *     """
 *     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_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.StringSourceDescriptor.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_7genexpr__pyx_v_x);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":285
 *         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 = {"get_lines", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_3get_lines, METH_VARARGS|METH_KEYWORDS, 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);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_encoding);
          if (value) { values[1] = value; kw_args--; }
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__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_ERR(0, 285, __pyx_L3_error)
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        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_ERR(0, 285, __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_8genexpr1__pyx_v_line = 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;
  Py_ssize_t __pyx_t_6;
  PyObject *(*__pyx_t_7)(PyObject *);
  PyObject *__pyx_t_8 = NULL;
  PyObject *__pyx_t_9 = NULL;
  PyObject *__pyx_t_10 = NULL;
  int __pyx_t_11;
  PyObject *__pyx_t_12 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get_lines", 0);

  /* "Cython/Compiler/Scanning.py":286
 * 
 *     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_ERR(0, 286, __pyx_L1_error)
  __pyx_t_2 = ((!__pyx_t_1) != 0);
  if (__pyx_t_2) {

    /* "Cython/Compiler/Scanning.py":287
 *     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_ERR(0, 287, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_r = __pyx_t_3;
    __pyx_t_3 = 0;
    goto __pyx_L0;

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

  /* "Cython/Compiler/Scanning.py":289
 *             return self.codelines
 *         else:
 *             return [line.encode(encoding, error_handling).decode(encoding)             # <<<<<<<<<<<<<<
 *                     for line in self.codelines]
 * 
 */
  /*else*/ {
    __Pyx_XDECREF(__pyx_r);
    { /* enter inner scope */
      __pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 289, __pyx_L6_error)
      __Pyx_GOTREF(__pyx_t_3);

      /* "Cython/Compiler/Scanning.py":290
 *         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_ERR(0, 290, __pyx_L6_error)
      __Pyx_GOTREF(__pyx_t_4);
      if (likely(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_ERR(0, 290, __pyx_L6_error)
        __Pyx_GOTREF(__pyx_t_5);
        __pyx_t_7 = Py_TYPE(__pyx_t_5)->tp_iternext; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 290, __pyx_L6_error)
      }
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      for (;;) {
        if (likely(!__pyx_t_7)) {
          if (likely(PyList_CheckExact(__pyx_t_5))) {
            if (__pyx_t_6 >= PyList_GET_SIZE(__pyx_t_5)) break;
            #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
            __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_ERR(0, 290, __pyx_L6_error)
            #else
            __pyx_t_4 = PySequence_ITEM(__pyx_t_5, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 290, __pyx_L6_error)
            __Pyx_GOTREF(__pyx_t_4);
            #endif
          } else {
            if (__pyx_t_6 >= PyTuple_GET_SIZE(__pyx_t_5)) break;
            #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
            __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_ERR(0, 290, __pyx_L6_error)
            #else
            __pyx_t_4 = PySequence_ITEM(__pyx_t_5, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 290, __pyx_L6_error)
            __Pyx_GOTREF(__pyx_t_4);
            #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(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear();
              else __PYX_ERR(0, 290, __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":289
 *             return self.codelines
 *         else:
 *             return [line.encode(encoding, error_handling).decode(encoding)             # <<<<<<<<<<<<<<
 *                     for line in self.codelines]
 * 
 */
        __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_8genexpr1__pyx_v_line, __pyx_n_s_encode); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 289, __pyx_L6_error)
        __Pyx_GOTREF(__pyx_t_9);
        __pyx_t_10 = NULL;
        __pyx_t_11 = 0;
        if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_9))) {
          __pyx_t_10 = PyMethod_GET_SELF(__pyx_t_9);
          if (likely(__pyx_t_10)) {
            PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_9);
            __Pyx_INCREF(__pyx_t_10);
            __Pyx_INCREF(function);
            __Pyx_DECREF_SET(__pyx_t_9, function);
            __pyx_t_11 = 1;
          }
        }
        #if CYTHON_FAST_PYCALL
        if (PyFunction_Check(__pyx_t_9)) {
          PyObject *__pyx_temp[3] = {__pyx_t_10, __pyx_v_encoding, __pyx_v_error_handling};
          __pyx_t_8 = __Pyx_PyFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 289, __pyx_L6_error)
          __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
          __Pyx_GOTREF(__pyx_t_8);
        } else
        #endif
        #if CYTHON_FAST_PYCCALL
        if (__Pyx_PyFastCFunction_Check(__pyx_t_9)) {
          PyObject *__pyx_temp[3] = {__pyx_t_10, __pyx_v_encoding, __pyx_v_error_handling};
          __pyx_t_8 = __Pyx_PyCFunction_FastCall(__pyx_t_9, __pyx_temp+1-__pyx_t_11, 2+__pyx_t_11); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 289, __pyx_L6_error)
          __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
          __Pyx_GOTREF(__pyx_t_8);
        } else
        #endif
        {
          __pyx_t_12 = PyTuple_New(2+__pyx_t_11); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 289, __pyx_L6_error)
          __Pyx_GOTREF(__pyx_t_12);
          if (__pyx_t_10) {
            __Pyx_GIVEREF(__pyx_t_10); PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_t_10); __pyx_t_10 = NULL;
          }
          __Pyx_INCREF(__pyx_v_encoding);
          __Pyx_GIVEREF(__pyx_v_encoding);
          PyTuple_SET_ITEM(__pyx_t_12, 0+__pyx_t_11, __pyx_v_encoding);
          __Pyx_INCREF(__pyx_v_error_handling);
          __Pyx_GIVEREF(__pyx_v_error_handling);
          PyTuple_SET_ITEM(__pyx_t_12, 1+__pyx_t_11, __pyx_v_error_handling);
          __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_9, __pyx_t_12, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 289, __pyx_L6_error)
          __Pyx_GOTREF(__pyx_t_8);
          __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
        }
        __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
        __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_decode); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 289, __pyx_L6_error)
        __Pyx_GOTREF(__pyx_t_9);
        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
        __pyx_t_8 = NULL;
        if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_9))) {
          __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_9);
          if (likely(__pyx_t_8)) {
            PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_9);
            __Pyx_INCREF(__pyx_t_8);
            __Pyx_INCREF(function);
            __Pyx_DECREF_SET(__pyx_t_9, function);
          }
        }
        __pyx_t_4 = (__pyx_t_8) ? __Pyx_PyObject_Call2Args(__pyx_t_9, __pyx_t_8, __pyx_v_encoding) : __Pyx_PyObject_CallOneArg(__pyx_t_9, __pyx_v_encoding);
        __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
        if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 289, __pyx_L6_error)
        __Pyx_GOTREF(__pyx_t_4);
        __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
        if (unlikely(__Pyx_ListComp_Append(__pyx_t_3, (PyObject*)__pyx_t_4))) __PYX_ERR(0, 289, __pyx_L6_error)
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

        /* "Cython/Compiler/Scanning.py":290
 *         else:
 *             return [line.encode(encoding, error_handling).decode(encoding)
 *                     for line in self.codelines]             # <<<<<<<<<<<<<<
 * 
 *     def get_description(self):
 */
      }
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_XDECREF(__pyx_8genexpr1__pyx_v_line); __pyx_8genexpr1__pyx_v_line = 0;
      goto __pyx_L9_exit_scope;
      __pyx_L6_error:;
      __Pyx_XDECREF(__pyx_8genexpr1__pyx_v_line); __pyx_8genexpr1__pyx_v_line = 0;
      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":285
 *         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_XDECREF(__pyx_t_10);
  __Pyx_XDECREF(__pyx_t_12);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.StringSourceDescriptor.get_lines", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_8genexpr1__pyx_v_line);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":292
 *                     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 = {"get_description", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_5get_description, METH_O, 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":293
 * 
 *     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_ERR(0, 293, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":292
 *                     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":297
 *     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 = {"get_filenametable_entry", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_7get_filenametable_entry, METH_O, 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":298
 * 
 *     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":297
 *     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":300
 *         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__ = {"__hash__", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_9__hash__, METH_O, 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;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__hash__", 0);

  /* "Cython/Compiler/Scanning.py":301
 * 
 *     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 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, __pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 301, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":300
 *         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_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":306
 *         # 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__ = {"__eq__", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_11__eq__, METH_VARARGS|METH_KEYWORDS, 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);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_self)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_other)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__eq__", 1, 2, 2, 1); __PYX_ERR(0, 306, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "__eq__") < 0)) __PYX_ERR(0, 306, __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_ERR(0, 306, __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;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_t_3;
  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":307
 * 
 *     def __eq__(self, other):
 *         return isinstance(other, StringSourceDescriptor) and self.name == other.name             # <<<<<<<<<<<<<<
 * 
 *     def __repr__(self):
 */
  __Pyx_XDECREF(__pyx_r);
  __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_StringSourceDescriptor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 307, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyObject_IsInstance(__pyx_v_other, __pyx_t_2); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(0, 307, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  if (__pyx_t_3) {
  } else {
    __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 307, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_1 = __pyx_t_2;
    __pyx_t_2 = 0;
    goto __pyx_L3_bool_binop_done;
  }
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_name); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 307, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_other, __pyx_n_s_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 307, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_5 = PyObject_RichCompare(__pyx_t_2, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 307, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_INCREF(__pyx_t_5);
  __pyx_t_1 = __pyx_t_5;
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __pyx_L3_bool_binop_done:;
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":306
 *         # 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_2);
  __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":309
 *         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__ = {"__repr__", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_13__repr__, METH_O, 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":310
 * 
 *     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_ERR(0, 310, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyUnicode_FormatSafe(__pyx_kp_u_StringSourceDescriptor_s, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 310, __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":309
 *         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":322
 *     #  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":323
 * 
 *     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)
 * 
 */
    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);
        CYTHON_FALLTHROUGH;
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        CYTHON_FALLTHROUGH;
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_file)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_filename)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("__init__", 0, 2, 8, 1); __PYX_ERR(0, 322, __pyx_L3_error)
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_parent_scanner);
          if (value) { values[2] = value; kw_args--; }
        }
        CYTHON_FALLTHROUGH;
        case  3:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_scope);
          if (value) { values[3] = value; kw_args--; }
        }
        CYTHON_FALLTHROUGH;
        case  4:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_context);
          if (value) { values[4] = value; kw_args--; }
        }
        CYTHON_FALLTHROUGH;
        case  5:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_source_encoding);
          if (value) { values[5] = value; kw_args--; }
        }
        CYTHON_FALLTHROUGH;
        case  6:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_parse_comments);
          if (value) { values[6] = value; kw_args--; }
        }
        CYTHON_FALLTHROUGH;
        case  7:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__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_ERR(0, 322, __pyx_L3_error)
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
        CYTHON_FALLTHROUGH;
        case  7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
        CYTHON_FALLTHROUGH;
        case  6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
        CYTHON_FALLTHROUGH;
        case  5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
        CYTHON_FALLTHROUGH;
        case  4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
        CYTHON_FALLTHROUGH;
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        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_ERR(0, 322, __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":322
 *     #  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;
  PyObject *__pyx_t_4 = NULL;
  int __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "Cython/Compiler/Scanning.py":324
 *     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 filename.is_python_file():
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_6Cython_4Plex_8Scanners_Scanner), __pyx_n_s_init); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 324, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __pyx_f_6Cython_8Compiler_8Scanning_get_lexicon(); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 324, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = NULL;
  __pyx_t_5 = 0;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_4)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_5 = 1;
    }
  }
  #if CYTHON_FAST_PYCALL
  if (PyFunction_Check(__pyx_t_2)) {
    PyObject *__pyx_temp[6] = {__pyx_t_4, ((PyObject *)__pyx_v_self), __pyx_t_3, __pyx_v_file, __pyx_v_filename, __pyx_v_initial_pos};
    __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_2, __pyx_temp+1-__pyx_t_5, 5+__pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 324, __pyx_L1_error)
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  } else
  #endif
  #if CYTHON_FAST_PYCCALL
  if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
    PyObject *__pyx_temp[6] = {__pyx_t_4, ((PyObject *)__pyx_v_self), __pyx_t_3, __pyx_v_file, __pyx_v_filename, __pyx_v_initial_pos};
    __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_2, __pyx_temp+1-__pyx_t_5, 5+__pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 324, __pyx_L1_error)
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  } else
  #endif
  {
    __pyx_t_6 = PyTuple_New(5+__pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 324, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    if (__pyx_t_4) {
      __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_4); __pyx_t_4 = NULL;
    }
    __Pyx_INCREF(((PyObject *)__pyx_v_self));
    __Pyx_GIVEREF(((PyObject *)__pyx_v_self));
    PyTuple_SET_ITEM(__pyx_t_6, 0+__pyx_t_5, ((PyObject *)__pyx_v_self));
    __Pyx_GIVEREF(__pyx_t_3);
    PyTuple_SET_ITEM(__pyx_t_6, 1+__pyx_t_5, __pyx_t_3);
    __Pyx_INCREF(__pyx_v_file);
    __Pyx_GIVEREF(__pyx_v_file);
    PyTuple_SET_ITEM(__pyx_t_6, 2+__pyx_t_5, __pyx_v_file);
    __Pyx_INCREF(__pyx_v_filename);
    __Pyx_GIVEREF(__pyx_v_filename);
    PyTuple_SET_ITEM(__pyx_t_6, 3+__pyx_t_5, __pyx_v_filename);
    __Pyx_INCREF(__pyx_v_initial_pos);
    __Pyx_GIVEREF(__pyx_v_initial_pos);
    PyTuple_SET_ITEM(__pyx_t_6, 4+__pyx_t_5, __pyx_v_initial_pos);
    __pyx_t_3 = 0;
    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 324, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __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;

  /* "Cython/Compiler/Scanning.py":326
 *         Scanner.__init__(self, get_lexicon(), file, filename, initial_pos)
 * 
 *         if filename.is_python_file():             # <<<<<<<<<<<<<<
 *             self.in_python_file = True
 *             self.keywords = set(py_reserved_words)
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_filename, __pyx_n_s_is_python_file); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 326, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_6 = NULL;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_6)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_6);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
    }
  }
  __pyx_t_1 = (__pyx_t_6) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_6) : __Pyx_PyObject_CallNoArg(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 326, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_7 < 0)) __PYX_ERR(0, 326, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (__pyx_t_7) {

    /* "Cython/Compiler/Scanning.py":327
 * 
 *         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":328
 *         if filename.is_python_file():
 *             self.in_python_file = True
 *             self.keywords = set(py_reserved_words)             # <<<<<<<<<<<<<<
 *         else:
 *             self.in_python_file = False
 */
    __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_py_reserved_words); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 328, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_2 = PySet_New(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 328, __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;

    /* "Cython/Compiler/Scanning.py":326
 *         Scanner.__init__(self, get_lexicon(), file, filename, initial_pos)
 * 
 *         if filename.is_python_file():             # <<<<<<<<<<<<<<
 *             self.in_python_file = True
 *             self.keywords = set(py_reserved_words)
 */
    goto __pyx_L3;
  }

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

    /* "Cython/Compiler/Scanning.py":331
 *         else:
 *             self.in_python_file = False
 *             self.keywords = set(pyx_reserved_words)             # <<<<<<<<<<<<<<
 * 
 *         self.async_enabled = 0
 */
    __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_reserved_words); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 331, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_1 = PySet_New(__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 331, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_GIVEREF(__pyx_t_1);
    __Pyx_GOTREF(__pyx_v_self->keywords);
    __Pyx_DECREF(__pyx_v_self->keywords);
    __pyx_v_self->keywords = ((PyObject*)__pyx_t_1);
    __pyx_t_1 = 0;
  }
  __pyx_L3:;

  /* "Cython/Compiler/Scanning.py":333
 *             self.keywords = set(pyx_reserved_words)
 * 
 *         self.async_enabled = 0             # <<<<<<<<<<<<<<
 * 
 *         if parent_scanner:
 */
  __pyx_v_self->async_enabled = 0;

  /* "Cython/Compiler/Scanning.py":335
 *         self.async_enabled = 0
 * 
 *         if parent_scanner:             # <<<<<<<<<<<<<<
 *             self.context = parent_scanner.context
 *             self.included_files = parent_scanner.included_files
 */
  __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_parent_scanner); if (unlikely(__pyx_t_7 < 0)) __PYX_ERR(0, 335, __pyx_L1_error)
  if (__pyx_t_7) {

    /* "Cython/Compiler/Scanning.py":336
 * 
 *         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_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_parent_scanner, __pyx_n_s_context); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 336, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_GIVEREF(__pyx_t_1);
    __Pyx_GOTREF(__pyx_v_self->context);
    __Pyx_DECREF(__pyx_v_self->context);
    __pyx_v_self->context = __pyx_t_1;
    __pyx_t_1 = 0;

    /* "Cython/Compiler/Scanning.py":337
 *         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_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_parent_scanner, __pyx_n_s_included_files); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 337, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    if (!(likely(PyList_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "list", Py_TYPE(__pyx_t_1)->tp_name), 0))) __PYX_ERR(0, 337, __pyx_L1_error)
    __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;

    /* "Cython/Compiler/Scanning.py":338
 *             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_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_parent_scanner, __pyx_n_s_compile_time_env); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 338, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope))))) __PYX_ERR(0, 338, __pyx_L1_error)
    __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;

    /* "Cython/Compiler/Scanning.py":339
 *             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_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_parent_scanner, __pyx_n_s_compile_time_eval); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 339, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_7 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 339, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __pyx_v_self->compile_time_eval = __pyx_t_7;

    /* "Cython/Compiler/Scanning.py":340
 *             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             # <<<<<<<<<<<<<<
 * 
 *             if parent_scanner.async_enabled:
 */
    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_parent_scanner, __pyx_n_s_compile_time_expr); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 340, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_7 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 340, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __pyx_v_self->compile_time_expr = __pyx_t_7;

    /* "Cython/Compiler/Scanning.py":342
 *             self.compile_time_expr = parent_scanner.compile_time_expr
 * 
 *             if parent_scanner.async_enabled:             # <<<<<<<<<<<<<<
 *                 self.enter_async()
 *         else:
 */
    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_parent_scanner, __pyx_n_s_async_enabled); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 342, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_7 < 0)) __PYX_ERR(0, 342, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    if (__pyx_t_7) {

      /* "Cython/Compiler/Scanning.py":343
 * 
 *             if parent_scanner.async_enabled:
 *                 self.enter_async()             # <<<<<<<<<<<<<<
 *         else:
 *             self.context = context
 */
      __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_enter_async); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 343, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_2);
      __pyx_t_6 = NULL;
      if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) {
        __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_2);
        if (likely(__pyx_t_6)) {
          PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
          __Pyx_INCREF(__pyx_t_6);
          __Pyx_INCREF(function);
          __Pyx_DECREF_SET(__pyx_t_2, function);
        }
      }
      __pyx_t_1 = (__pyx_t_6) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_6) : __Pyx_PyObject_CallNoArg(__pyx_t_2);
      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 343, __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":342
 *             self.compile_time_expr = parent_scanner.compile_time_expr
 * 
 *             if parent_scanner.async_enabled:             # <<<<<<<<<<<<<<
 *                 self.enter_async()
 *         else:
 */
    }

    /* "Cython/Compiler/Scanning.py":335
 *         self.async_enabled = 0
 * 
 *         if parent_scanner:             # <<<<<<<<<<<<<<
 *             self.context = parent_scanner.context
 *             self.included_files = parent_scanner.included_files
 */
    goto __pyx_L4;
  }

  /* "Cython/Compiler/Scanning.py":345
 *                 self.enter_async()
 *         else:
 *             self.context = context             # <<<<<<<<<<<<<<
 *             self.included_files = scope.included_files
 *             self.compile_time_env = initial_compile_time_env()
 */
  /*else*/ {
    __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":346
 *         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_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_scope, __pyx_n_s_included_files); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 346, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    if (!(likely(PyList_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None)||(PyErr_Format(PyExc_TypeError, "Expected %.16s, got %.200s", "list", Py_TYPE(__pyx_t_1)->tp_name), 0))) __PYX_ERR(0, 346, __pyx_L1_error)
    __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;

    /* "Cython/Compiler/Scanning.py":347
 *             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_1 = __pyx_f_6Cython_8Compiler_8Scanning_initial_compile_time_env(); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 347, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope))))) __PYX_ERR(0, 347, __pyx_L1_error)
    __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;

    /* "Cython/Compiler/Scanning.py":348
 *             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 getattr(context.options, 'compile_time_env', None):
 */
    __pyx_v_self->compile_time_eval = 1;

    /* "Cython/Compiler/Scanning.py":349
 *             self.compile_time_env = initial_compile_time_env()
 *             self.compile_time_eval = 1
 *             self.compile_time_expr = 0             # <<<<<<<<<<<<<<
 *             if getattr(context.options, 'compile_time_env', None):
 *                 self.compile_time_env.update(context.options.compile_time_env)
 */
    __pyx_v_self->compile_time_expr = 0;

    /* "Cython/Compiler/Scanning.py":350
 *             self.compile_time_eval = 1
 *             self.compile_time_expr = 0
 *             if getattr(context.options, 'compile_time_env', None):             # <<<<<<<<<<<<<<
 *                 self.compile_time_env.update(context.options.compile_time_env)
 *         self.parse_comments = parse_comments
 */
    __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_context, __pyx_n_s_options); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 350, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_2 = __Pyx_GetAttr3(__pyx_t_1, __pyx_n_u_compile_time_env, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 350, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely(__pyx_t_7 < 0)) __PYX_ERR(0, 350, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    if (__pyx_t_7) {

      /* "Cython/Compiler/Scanning.py":351
 *             self.compile_time_expr = 0
 *             if getattr(context.options, 'compile_time_env', None):
 *                 self.compile_time_env.update(context.options.compile_time_env)             # <<<<<<<<<<<<<<
 *         self.parse_comments = parse_comments
 *         self.source_encoding = source_encoding
 */
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self->compile_time_env), __pyx_n_s_update); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 351, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_context, __pyx_n_s_options); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 351, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_6);
      __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_compile_time_env); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 351, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_3);
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __pyx_t_6 = NULL;
      if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_1))) {
        __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_1);
        if (likely(__pyx_t_6)) {
          PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_1);
          __Pyx_INCREF(__pyx_t_6);
          __Pyx_INCREF(function);
          __Pyx_DECREF_SET(__pyx_t_1, function);
        }
      }
      __pyx_t_2 = (__pyx_t_6) ? __Pyx_PyObject_Call2Args(__pyx_t_1, __pyx_t_6, __pyx_t_3) : __Pyx_PyObject_CallOneArg(__pyx_t_1, __pyx_t_3);
      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
      if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 351, __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;

      /* "Cython/Compiler/Scanning.py":350
 *             self.compile_time_eval = 1
 *             self.compile_time_expr = 0
 *             if getattr(context.options, 'compile_time_env', None):             # <<<<<<<<<<<<<<
 *                 self.compile_time_env.update(context.options.compile_time_env)
 *         self.parse_comments = parse_comments
 */
    }
  }
  __pyx_L4:;

  /* "Cython/Compiler/Scanning.py":352
 *             if getattr(context.options, 'compile_time_env', None):
 *                 self.compile_time_env.update(context.options.compile_time_env)
 *         self.parse_comments = parse_comments             # <<<<<<<<<<<<<<
 *         self.source_encoding = source_encoding
 *         self.trace = trace_scanner
 */
  __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_parse_comments); if (unlikely((__pyx_t_7 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 352, __pyx_L1_error)
  __pyx_v_self->parse_comments = __pyx_t_7;

  /* "Cython/Compiler/Scanning.py":353
 *                 self.compile_time_env.update(context.options.compile_time_env)
 *         self.parse_comments = parse_comments
 *         self.source_encoding = source_encoding             # <<<<<<<<<<<<<<
 *         self.trace = trace_scanner
 *         self.indentation_stack = [0]
 */
  __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":354
 *         self.parse_comments = parse_comments
 *         self.source_encoding = source_encoding
 *         self.trace = trace_scanner             # <<<<<<<<<<<<<<
 *         self.indentation_stack = [0]
 *         self.indentation_char = None
 */
  __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_trace_scanner); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 354, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_7 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 354, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_v_self->__pyx_base.trace = __pyx_t_7;

  /* "Cython/Compiler/Scanning.py":355
 *         self.source_encoding = source_encoding
 *         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_ERR(0, 355, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_int_0);
  __Pyx_GIVEREF(__pyx_int_0);
  PyList_SET_ITEM(__pyx_t_2, 0, __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":356
 *         self.trace = trace_scanner
 *         self.indentation_stack = [0]
 *         self.indentation_char = None             # <<<<<<<<<<<<<<
 *         self.bracket_nesting_level = 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;

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

  /* "Cython/Compiler/Scanning.py":359
 *         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_ERR(0, 359, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

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

  /* "Cython/Compiler/Scanning.py":361
 *         self.begin('INDENT')
 *         self.sy = ''
 *         self.next()             # <<<<<<<<<<<<<<
 * 
 *     def commentline(self, text):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_next); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 361, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_3 = NULL;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_1))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_1);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_1);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_1, function);
    }
  }
  __pyx_t_2 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_1, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
  if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 361, __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;

  /* "Cython/Compiler/Scanning.py":322
 *     #  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_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_6);
  __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":363
 *         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 PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_3commentline = {"commentline", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_3commentline, METH_O, 0};
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":364
 * 
 *     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":365
 *     def commentline(self, text):
 *         if self.parse_comments:
 *             self.produce('commentline', text)             # <<<<<<<<<<<<<<
 * 
 *     def strip_underscores(self, text, symbol):
 */
    __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_ERR(0, 365, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

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

  /* "Cython/Compiler/Scanning.py":363
 *         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":367
 *             self.produce('commentline', text)
 * 
 *     def strip_underscores(self, text, symbol):             # <<<<<<<<<<<<<<
 *         self.produce(symbol, text.replace('_', ''))
 * 
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_5strip_underscores(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_5strip_underscores = {"strip_underscores", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_5strip_underscores, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_5strip_underscores(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_text = 0;
  PyObject *__pyx_v_symbol = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("strip_underscores (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_text,&__pyx_n_s_symbol,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);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_text)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_symbol)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("strip_underscores", 1, 2, 2, 1); __PYX_ERR(0, 367, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "strip_underscores") < 0)) __PYX_ERR(0, 367, __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_text = values[0];
    __pyx_v_symbol = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("strip_underscores", 1, 2, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 367, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.strip_underscores", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_4strip_underscores(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), __pyx_v_text, __pyx_v_symbol);

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

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_4strip_underscores(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_text, PyObject *__pyx_v_symbol) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  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("strip_underscores", 0);

  /* "Cython/Compiler/Scanning.py":368
 * 
 *     def strip_underscores(self, text, symbol):
 *         self.produce(symbol, text.replace('_', ''))             # <<<<<<<<<<<<<<
 * 
 *     def current_level(self):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_text, __pyx_n_s_replace); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 368, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__13, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 368, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_3.__pyx_n = 1;
  __pyx_t_3.text = __pyx_t_2;
  __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_v_symbol, &__pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 368, __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":367
 *             self.produce('commentline', text)
 * 
 *     def strip_underscores(self, text, symbol):             # <<<<<<<<<<<<<<
 *         self.produce(symbol, text.replace('_', ''))
 * 
 */

  /* 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_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.strip_underscores", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":370
 *         self.produce(symbol, text.replace('_', ''))
 * 
 *     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":371
 * 
 *     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_ERR(0, 371, __pyx_L1_error)
  }
  __pyx_t_1 = __Pyx_GetItemInt_List(__pyx_v_self->indentation_stack, -1L, long, 1, __Pyx_PyInt_From_long, 1, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 371, __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_ERR(0, 371, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_r = __pyx_t_2;
  goto __pyx_L0;

  /* "Cython/Compiler/Scanning.py":370
 *         self.produce(symbol, text.replace('_', ''))
 * 
 *     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, 1, 0);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

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

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_7open_bracket_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_7open_bracket_action = {"open_bracket_action", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_7open_bracket_action, METH_O, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_7open_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_6open_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_6open_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":374
 * 
 *     def open_bracket_action(self, text):
 *         self.bracket_nesting_level += 1             # <<<<<<<<<<<<<<
 *         return text
 * 
 */
  __pyx_v_self->bracket_nesting_level = (__pyx_v_self->bracket_nesting_level + 1);

  /* "Cython/Compiler/Scanning.py":375
 *     def open_bracket_action(self, text):
 *         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":373
 *         return self.indentation_stack[-1]
 * 
 *     def open_bracket_action(self, text):             # <<<<<<<<<<<<<<
 *         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":377
 *         return text
 * 
 *     def close_bracket_action(self, text):             # <<<<<<<<<<<<<<
 *         self.bracket_nesting_level -= 1
 *         return text
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_9close_bracket_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_9close_bracket_action = {"close_bracket_action", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_9close_bracket_action, METH_O, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_9close_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_8close_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_8close_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":378
 * 
 *     def close_bracket_action(self, text):
 *         self.bracket_nesting_level -= 1             # <<<<<<<<<<<<<<
 *         return text
 * 
 */
  __pyx_v_self->bracket_nesting_level = (__pyx_v_self->bracket_nesting_level - 1);

  /* "Cython/Compiler/Scanning.py":379
 *     def close_bracket_action(self, text):
 *         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":377
 *         return text
 * 
 *     def close_bracket_action(self, text):             # <<<<<<<<<<<<<<
 *         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":381
 *         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_11newline_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_11newline_action = {"newline_action", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_11newline_action, METH_O, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_11newline_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_10newline_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_10newline_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":382
 * 
 *     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":383
 *     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_ERR(0, 383, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

    /* "Cython/Compiler/Scanning.py":384
 *         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__11;
    __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_ERR(0, 384, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

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

  /* "Cython/Compiler/Scanning.py":381
 *         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":393
 *     }
 * 
 *     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_13begin_string_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_13begin_string_action = {"begin_string_action", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_13begin_string_action, METH_O, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_13begin_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_12begin_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_12begin_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":394
 * 
 *     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__14, 0, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 394, __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_ERR(0, 394, __pyx_L1_error)
    }
    __pyx_t_2 = (__Pyx_PyUnicode_ContainsTF(__pyx_t_1, __pyx_v_6Cython_8Compiler_8Scanning_any_string_prefix, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 394, __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":395
 *     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__3, 1, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 395, __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":396
 *         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_ERR(0, 396, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_4 = __Pyx_PyObject_GetItem(__pyx_t_1, __pyx_v_text); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 396, __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_ERR(0, 396, __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":397
 *             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_ERR(0, 397, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":393
 *     }
 * 
 *     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":399
 *         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_15end_string_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_15end_string_action = {"end_string_action", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_15end_string_action, METH_O, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_15end_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_14end_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_14end_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":400
 * 
 *     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__11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 400, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":401
 *     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_ERR(0, 401, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":399
 *         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":403
 *         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_17unclosed_string_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_17unclosed_string_action = {"unclosed_string_action", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17unclosed_string_action, METH_O, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17unclosed_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_16unclosed_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_16unclosed_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":404
 * 
 *     def unclosed_string_action(self, text):
 *         self.end_string_action(text)             # <<<<<<<<<<<<<<
 *         self.error("Unclosed string literal")
 * 
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_end_string_action); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 404, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
    }
  }
  __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_2, __pyx_t_3, __pyx_v_text) : __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_v_text);
  __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 404, __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":405
 *     def unclosed_string_action(self, text):
 *         self.end_string_action(text)
 *         self.error("Unclosed string literal")             # <<<<<<<<<<<<<<
 * 
 *     def indentation_action(self, text):
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_error); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 405, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
    }
  }
  __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_Call2Args(__pyx_t_2, __pyx_t_3, __pyx_kp_u_Unclosed_string_literal) : __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_kp_u_Unclosed_string_literal);
  __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 405, __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":403
 *         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":407
 *         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_19indentation_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, CYTHON_UNUSED int __pyx_skip_dispatch) {
  long __pyx_v_current_level;
  long __pyx_v_new_level;
  PyObject *__pyx_v_c = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_t_3;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_t_6;
  PyObject *__pyx_t_7 = NULL;
  Py_ssize_t __pyx_t_8;
  int __pyx_t_9;
  struct __pyx_opt_args_6Cython_4Plex_8Scanners_7Scanner_produce __pyx_t_10;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("indentation_action", 0);

  /* "Cython/Compiler/Scanning.py":408
 * 
 *     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__11); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 408, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":413
 *         #    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_2 = __Pyx_PyObject_IsTrue(__pyx_v_text); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 413, __pyx_L1_error)
  if (__pyx_t_2) {

    /* "Cython/Compiler/Scanning.py":414
 *         # 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)) __PYX_ERR(0, 414, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_v_c = __pyx_t_1;
    __pyx_t_1 = 0;

    /* "Cython/Compiler/Scanning.py":416
 *             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_2 = (__pyx_v_self->indentation_char == Py_None);
    __pyx_t_3 = (__pyx_t_2 != 0);
    if (__pyx_t_3) {

      /* "Cython/Compiler/Scanning.py":417
 *             #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;

      /* "Cython/Compiler/Scanning.py":416
 *             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)
 */
      goto __pyx_L4;
    }

    /* "Cython/Compiler/Scanning.py":420
 *                 #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, "") != "":
 */
    /*else*/ {
      __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_ERR(0, 420, __pyx_L1_error)
      __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 420, __pyx_L1_error)
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      if (__pyx_t_3) {

        /* "Cython/Compiler/Scanning.py":421
 *             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_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_error); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 421, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_4);
        __pyx_t_5 = NULL;
        if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4);
          if (likely(__pyx_t_5)) {
            PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
            __Pyx_INCREF(__pyx_t_5);
            __Pyx_INCREF(function);
            __Pyx_DECREF_SET(__pyx_t_4, function);
          }
        }
        __pyx_t_1 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_5, __pyx_kp_u_Mixed_use_of_tabs_and_spaces) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_kp_u_Mixed_use_of_tabs_and_spaces);
        __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
        if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 421, __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":420
 *                 #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_L4:;

    /* "Cython/Compiler/Scanning.py":422
 *                 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_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_text, __pyx_n_s_replace); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 422, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = NULL;
    __pyx_t_6 = 0;
    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4);
      if (likely(__pyx_t_5)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
        __Pyx_INCREF(__pyx_t_5);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_4, function);
        __pyx_t_6 = 1;
      }
    }
    #if CYTHON_FAST_PYCALL
    if (PyFunction_Check(__pyx_t_4)) {
      PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_v_c, __pyx_kp_u__11};
      __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 422, __pyx_L1_error)
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_GOTREF(__pyx_t_1);
    } else
    #endif
    #if CYTHON_FAST_PYCCALL
    if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) {
      PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_v_c, __pyx_kp_u__11};
      __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 422, __pyx_L1_error)
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_GOTREF(__pyx_t_1);
    } else
    #endif
    {
      __pyx_t_7 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 422, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_7);
      if (__pyx_t_5) {
        __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_5); __pyx_t_5 = NULL;
      }
      __Pyx_INCREF(__pyx_v_c);
      __Pyx_GIVEREF(__pyx_v_c);
      PyTuple_SET_ITEM(__pyx_t_7, 0+__pyx_t_6, __pyx_v_c);
      __Pyx_INCREF(__pyx_kp_u__11);
      __Pyx_GIVEREF(__pyx_kp_u__11);
      PyTuple_SET_ITEM(__pyx_t_7, 1+__pyx_t_6, __pyx_kp_u__11);
      __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_7, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 422, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    }
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __pyx_t_3 = (__Pyx_PyUnicode_Equals(__pyx_t_1, __pyx_kp_u__11, Py_NE)); if (unlikely(__pyx_t_3 < 0)) __PYX_ERR(0, 422, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    if (__pyx_t_3) {

      /* "Cython/Compiler/Scanning.py":423
 *                     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_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_error); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 423, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
      __pyx_t_7 = NULL;
      if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) {
        __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_4);
        if (likely(__pyx_t_7)) {
          PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_7);
          __Pyx_INCREF(function);
          __Pyx_DECREF_SET(__pyx_t_4, function);
        }
      }
      __pyx_t_1 = (__pyx_t_7) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_7, __pyx_kp_u_Mixed_use_of_tabs_and_spaces) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_kp_u_Mixed_use_of_tabs_and_spaces);
      __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 423, __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":422
 *                 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
 */
    }

    /* "Cython/Compiler/Scanning.py":413
 *         #    return
 *         # Check that tabs and spaces are being used consistently.
 *         if text:             # <<<<<<<<<<<<<<
 *             c = text[0]
 *             #print "Scanner.indentation_action: indent with", repr(c) ###
 */
  }

  /* "Cython/Compiler/Scanning.py":425
 *                 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 = __pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_current_level(__pyx_v_self);

  /* "Cython/Compiler/Scanning.py":426
 *         # 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_8 = PyObject_Length(__pyx_v_text); if (unlikely(__pyx_t_8 == ((Py_ssize_t)-1))) __PYX_ERR(0, 426, __pyx_L1_error)
  __pyx_v_new_level = __pyx_t_8;

  /* "Cython/Compiler/Scanning.py":428
 *         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_3 = ((__pyx_v_new_level == __pyx_v_current_level) != 0);
  if (__pyx_t_3) {

    /* "Cython/Compiler/Scanning.py":429
 *         #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":428
 *         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:
 */
  }

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

    /* "Cython/Compiler/Scanning.py":432
 *         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 '%.30s'", "append");
      __PYX_ERR(0, 432, __pyx_L1_error)
    }
    __pyx_t_1 = __Pyx_PyInt_From_long(__pyx_v_new_level); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 432, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_9 = __Pyx_PyList_Append(__pyx_v_self->indentation_stack, __pyx_t_1); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 432, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "Cython/Compiler/Scanning.py":433
 *             #print "...pushing level", new_level ###
 *             self.indentation_stack.append(new_level)
 *             self.produce('INDENT', '')             # <<<<<<<<<<<<<<
 *         else:
 *             while new_level < self.current_level():
 */
    __pyx_t_10.__pyx_n = 1;
    __pyx_t_10.text = __pyx_kp_u__11;
    __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_10); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 433, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "Cython/Compiler/Scanning.py":430
 *         if new_level == current_level:
 *             return
 *         elif new_level > current_level:             # <<<<<<<<<<<<<<
 *             #print "...pushing level", new_level ###
 *             self.indentation_stack.append(new_level)
 */
    goto __pyx_L7;
  }

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

      /* "Cython/Compiler/Scanning.py":437
 *             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 '%.30s'", "pop");
        __PYX_ERR(0, 437, __pyx_L1_error)
      }
      __pyx_t_1 = __Pyx_PyList_Pop(__pyx_v_self->indentation_stack); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 437, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

      /* "Cython/Compiler/Scanning.py":438
 *                 #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_10.__pyx_n = 1;
      __pyx_t_10.text = __pyx_kp_u__11;
      __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_10); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 438, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    }

    /* "Cython/Compiler/Scanning.py":440
 *                 self.produce('DEDENT', '')
 *             #print "...current level now", self.current_level() ###
 *             if new_level != self.current_level():             # <<<<<<<<<<<<<<
 *                 self.error("Inconsistent indentation")
 * 
 */
    __pyx_t_3 = ((__pyx_v_new_level != __pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_current_level(__pyx_v_self)) != 0);
    if (__pyx_t_3) {

      /* "Cython/Compiler/Scanning.py":441
 *             #print "...current level now", self.current_level() ###
 *             if new_level != self.current_level():
 *                 self.error("Inconsistent indentation")             # <<<<<<<<<<<<<<
 * 
 *     def eof_action(self, text):
 */
      __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_error); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 441, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
      __pyx_t_7 = NULL;
      if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) {
        __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_4);
        if (likely(__pyx_t_7)) {
          PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_7);
          __Pyx_INCREF(function);
          __Pyx_DECREF_SET(__pyx_t_4, function);
        }
      }
      __pyx_t_1 = (__pyx_t_7) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_7, __pyx_kp_u_Inconsistent_indentation) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_kp_u_Inconsistent_indentation);
      __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 441, __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":440
 *                 self.produce('DEDENT', '')
 *             #print "...current level now", self.current_level() ###
 *             if new_level != self.current_level():             # <<<<<<<<<<<<<<
 *                 self.error("Inconsistent indentation")
 * 
 */
    }
  }
  __pyx_L7:;

  /* "Cython/Compiler/Scanning.py":407
 *         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_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_7);
  __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_19indentation_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_19indentation_action = {"indentation_action", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_19indentation_action, METH_O, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_19indentation_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_18indentation_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_18indentation_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 = __pyx_f_6Cython_8Compiler_8Scanning_12PyrexScanner_indentation_action(__pyx_v_self, __pyx_v_text, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 407, __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":443
 *                 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_21eof_action(PyObject *__pyx_v_self, PyObject *__pyx_v_text); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_21eof_action = {"eof_action", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_21eof_action, METH_O, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_21eof_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_20eof_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_20eof_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":444
 * 
 *     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_ERR(0, 444, __pyx_L1_error)
    }
    __pyx_t_2 = PyList_GET_SIZE(__pyx_t_1); if (unlikely(__pyx_t_2 == ((Py_ssize_t)-1))) __PYX_ERR(0, 444, __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":445
 *     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__11;
    __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_ERR(0, 445, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "Cython/Compiler/Scanning.py":446
 *         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 '%.30s'", "pop");
      __PYX_ERR(0, 446, __pyx_L1_error)
    }
    __pyx_t_1 = __Pyx_PyList_Pop(__pyx_v_self->indentation_stack); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 446, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  }

  /* "Cython/Compiler/Scanning.py":447
 *             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__11;
  __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_ERR(0, 447, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":443
 *                 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":449
 *         self.produce('EOF', '')
 * 
 *     def next(self):             # <<<<<<<<<<<<<<
 *         try:
 *             sy, systring = self.read()
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_23next(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_23next = {"next", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_23next, METH_NOARGS, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_23next(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("next (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_22next(((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_22next(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;
  PyObject *__pyx_t_7 = NULL;
  int __pyx_t_8;
  PyObject *__pyx_t_9 = NULL;
  PyObject *__pyx_t_10 = NULL;
  int __pyx_t_11;
  int __pyx_t_12;
  int __pyx_t_13;
  int __pyx_t_14;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("next", 0);

  /* "Cython/Compiler/Scanning.py":450
 * 
 *     def next(self):
 *         try:             # <<<<<<<<<<<<<<
 *             sy, systring = self.read()
 *         except UnrecognizedInput:
 */
  {
    __Pyx_PyThreadState_declare
    __Pyx_PyThreadState_assign
    __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":451
 *     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), 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 451, __pyx_L3_error)
      __Pyx_GOTREF(__pyx_t_4);
      if (likely(__pyx_t_4 != Py_None)) {
        PyObject* sequence = __pyx_t_4;
        Py_ssize_t size = __Pyx_PySequence_SIZE(sequence);
        if (unlikely(size != 2)) {
          if (size > 2) __Pyx_RaiseTooManyValuesError(2);
          else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
          __PYX_ERR(0, 451, __pyx_L3_error)
        }
        #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
        __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_ERR(0, 451, __pyx_L3_error)
        __Pyx_GOTREF(__pyx_t_5);
        __pyx_t_6 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 451, __pyx_L3_error)
        __Pyx_GOTREF(__pyx_t_6);
        #endif
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      } else {
        __Pyx_RaiseNoneNotIterableError(); __PYX_ERR(0, 451, __pyx_L3_error)
      }
      __pyx_v_sy = __pyx_t_5;
      __pyx_t_5 = 0;
      __pyx_v_systring = __pyx_t_6;
      __pyx_t_6 = 0;

      /* "Cython/Compiler/Scanning.py":450
 * 
 *     def next(self):
 *         try:             # <<<<<<<<<<<<<<
 *             sy, systring = self.read()
 *         except UnrecognizedInput:
 */
    }
    __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_L8_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":452
 *         try:
 *             sy, systring = self.read()
 *         except UnrecognizedInput:             # <<<<<<<<<<<<<<
 *             self.error("Unrecognized character")
 *             return  # just a marker, error() always raises
 */
    __Pyx_ErrFetch(&__pyx_t_4, &__pyx_t_6, &__pyx_t_5);
    __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_UnrecognizedInput); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 452, __pyx_L5_except_error)
    __Pyx_GOTREF(__pyx_t_7);
    __pyx_t_8 = __Pyx_PyErr_GivenExceptionMatches(__pyx_t_4, __pyx_t_7);
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    __Pyx_ErrRestore(__pyx_t_4, __pyx_t_6, __pyx_t_5);
    __pyx_t_4 = 0; __pyx_t_6 = 0; __pyx_t_5 = 0;
    if (__pyx_t_8) {
      __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.next", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_4) < 0) __PYX_ERR(0, 452, __pyx_L5_except_error)
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_GOTREF(__pyx_t_4);

      /* "Cython/Compiler/Scanning.py":453
 *             sy, systring = self.read()
 *         except UnrecognizedInput:
 *             self.error("Unrecognized character")             # <<<<<<<<<<<<<<
 *             return  # just a marker, error() always raises
 *         if sy == IDENT:
 */
      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_error); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 453, __pyx_L5_except_error)
      __Pyx_GOTREF(__pyx_t_9);
      __pyx_t_10 = NULL;
      if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_9))) {
        __pyx_t_10 = PyMethod_GET_SELF(__pyx_t_9);
        if (likely(__pyx_t_10)) {
          PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_9);
          __Pyx_INCREF(__pyx_t_10);
          __Pyx_INCREF(function);
          __Pyx_DECREF_SET(__pyx_t_9, function);
        }
      }
      __pyx_t_7 = (__pyx_t_10) ? __Pyx_PyObject_Call2Args(__pyx_t_9, __pyx_t_10, __pyx_kp_u_Unrecognized_character) : __Pyx_PyObject_CallOneArg(__pyx_t_9, __pyx_kp_u_Unrecognized_character);
      __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
      if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 453, __pyx_L5_except_error)
      __Pyx_GOTREF(__pyx_t_7);
      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;

      /* "Cython/Compiler/Scanning.py":454
 *         except UnrecognizedInput:
 *             self.error("Unrecognized character")
 *             return  # just a marker, error() always raises             # <<<<<<<<<<<<<<
 *         if sy == IDENT:
 *             if systring in self.keywords:
 */
      __Pyx_XDECREF(__pyx_r);
      __pyx_r = Py_None; __Pyx_INCREF(Py_None);
      __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;
    }
    goto __pyx_L5_except_error;
    __pyx_L5_except_error:;

    /* "Cython/Compiler/Scanning.py":450
 * 
 *     def next(self):
 *         try:             # <<<<<<<<<<<<<<
 *             sy, systring = self.read()
 *         except UnrecognizedInput:
 */
    __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_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_L8_try_end:;
  }

  /* "Cython/Compiler/Scanning.py":455
 *             self.error("Unrecognized character")
 *             return  # just a marker, error() always raises
 *         if sy == IDENT:             # <<<<<<<<<<<<<<
 *             if systring in self.keywords:
 *                 if systring == u'print' and print_function in self.context.future_directives:
 */
  __pyx_t_11 = (__Pyx_PyUnicode_Equals(__pyx_v_sy, __pyx_v_6Cython_8Compiler_8Scanning_IDENT, Py_EQ)); if (unlikely(__pyx_t_11 < 0)) __PYX_ERR(0, 455, __pyx_L1_error)
  if (__pyx_t_11) {

    /* "Cython/Compiler/Scanning.py":456
 *             return  # just a marker, error() always raises
 *         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_self->keywords == Py_None)) {
      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
      __PYX_ERR(0, 456, __pyx_L1_error)
    }
    __pyx_t_11 = (__Pyx_PySet_ContainsTF(__pyx_v_systring, __pyx_v_self->keywords, Py_EQ)); if (unlikely(__pyx_t_11 < 0)) __PYX_ERR(0, 456, __pyx_L1_error)
    __pyx_t_12 = (__pyx_t_11 != 0);
    if (__pyx_t_12) {

      /* "Cython/Compiler/Scanning.py":457
 *         if sy == IDENT:
 *             if systring in self.keywords:
 *                 if systring == u'print' and print_function in self.context.future_directives:             # <<<<<<<<<<<<<<
 *                     self.keywords.discard('print')
 *                 elif systring == u'exec' and self.context.language_level >= 3:
 */
      __pyx_t_11 = (__Pyx_PyUnicode_Equals(__pyx_v_systring, __pyx_n_u_print, Py_EQ)); if (unlikely(__pyx_t_11 < 0)) __PYX_ERR(0, 457, __pyx_L1_error)
      if (__pyx_t_11) {
      } else {
        __pyx_t_12 = __pyx_t_11;
        goto __pyx_L14_bool_binop_done;
      }
      __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->context, __pyx_n_s_future_directives); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 457, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
      __pyx_t_11 = (__Pyx_PySequence_ContainsTF(__pyx_v_6Cython_8Compiler_8Scanning_print_function, __pyx_t_4, Py_EQ)); if (unlikely(__pyx_t_11 < 0)) __PYX_ERR(0, 457, __pyx_L1_error)
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __pyx_t_13 = (__pyx_t_11 != 0);
      __pyx_t_12 = __pyx_t_13;
      __pyx_L14_bool_binop_done:;
      if (__pyx_t_12) {

        /* "Cython/Compiler/Scanning.py":458
 *             if systring in self.keywords:
 *                 if systring == u'print' and print_function in self.context.future_directives:
 *                     self.keywords.discard('print')             # <<<<<<<<<<<<<<
 *                 elif systring == u'exec' and self.context.language_level >= 3:
 *                     self.keywords.discard('exec')
 */
        if (unlikely(__pyx_v_self->keywords == Py_None)) {
          PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "discard");
          __PYX_ERR(0, 458, __pyx_L1_error)
        }
        __pyx_t_14 = __Pyx_PySet_Discard(__pyx_v_self->keywords, __pyx_n_u_print); if (unlikely(__pyx_t_14 == ((int)-1))) __PYX_ERR(0, 458, __pyx_L1_error)

        /* "Cython/Compiler/Scanning.py":457
 *         if sy == IDENT:
 *             if systring in self.keywords:
 *                 if systring == u'print' and print_function in self.context.future_directives:             # <<<<<<<<<<<<<<
 *                     self.keywords.discard('print')
 *                 elif systring == u'exec' and self.context.language_level >= 3:
 */
        goto __pyx_L13;
      }

      /* "Cython/Compiler/Scanning.py":459
 *                 if systring == u'print' and print_function in self.context.future_directives:
 *                     self.keywords.discard('print')
 *                 elif systring == u'exec' and self.context.language_level >= 3:             # <<<<<<<<<<<<<<
 *                     self.keywords.discard('exec')
 *                 else:
 */
      __pyx_t_13 = (__Pyx_PyUnicode_Equals(__pyx_v_systring, __pyx_n_u_exec, Py_EQ)); if (unlikely(__pyx_t_13 < 0)) __PYX_ERR(0, 459, __pyx_L1_error)
      if (__pyx_t_13) {
      } else {
        __pyx_t_12 = __pyx_t_13;
        goto __pyx_L16_bool_binop_done;
      }
      __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->context, __pyx_n_s_language_level); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 459, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
      __pyx_t_6 = PyObject_RichCompare(__pyx_t_4, __pyx_int_3, Py_GE); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 459, __pyx_L1_error)
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely(__pyx_t_13 < 0)) __PYX_ERR(0, 459, __pyx_L1_error)
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __pyx_t_12 = __pyx_t_13;
      __pyx_L16_bool_binop_done:;
      if (__pyx_t_12) {

        /* "Cython/Compiler/Scanning.py":460
 *                     self.keywords.discard('print')
 *                 elif systring == u'exec' and self.context.language_level >= 3:
 *                     self.keywords.discard('exec')             # <<<<<<<<<<<<<<
 *                 else:
 *                     sy = systring
 */
        if (unlikely(__pyx_v_self->keywords == Py_None)) {
          PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "discard");
          __PYX_ERR(0, 460, __pyx_L1_error)
        }
        __pyx_t_14 = __Pyx_PySet_Discard(__pyx_v_self->keywords, __pyx_n_u_exec); if (unlikely(__pyx_t_14 == ((int)-1))) __PYX_ERR(0, 460, __pyx_L1_error)

        /* "Cython/Compiler/Scanning.py":459
 *                 if systring == u'print' and print_function in self.context.future_directives:
 *                     self.keywords.discard('print')
 *                 elif systring == u'exec' and self.context.language_level >= 3:             # <<<<<<<<<<<<<<
 *                     self.keywords.discard('exec')
 *                 else:
 */
        goto __pyx_L13;
      }

      /* "Cython/Compiler/Scanning.py":462
 *                     self.keywords.discard('exec')
 *                 else:
 *                     sy = systring             # <<<<<<<<<<<<<<
 *             systring = self.context.intern_ustring(systring)
 *         self.sy = sy
 */
      /*else*/ {
        __Pyx_INCREF(__pyx_v_systring);
        __Pyx_DECREF_SET(__pyx_v_sy, __pyx_v_systring);
      }
      __pyx_L13:;

      /* "Cython/Compiler/Scanning.py":456
 *             return  # just a marker, error() always raises
 *         if sy == IDENT:
 *             if systring in self.keywords:             # <<<<<<<<<<<<<<
 *                 if systring == u'print' and print_function in self.context.future_directives:
 *                     self.keywords.discard('print')
 */
    }

    /* "Cython/Compiler/Scanning.py":463
 *                 else:
 *                     sy = systring
 *             systring = self.context.intern_ustring(systring)             # <<<<<<<<<<<<<<
 *         self.sy = sy
 *         self.systring = systring
 */
    __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->context, __pyx_n_s_intern_ustring); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 463, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = NULL;
    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4);
      if (likely(__pyx_t_5)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
        __Pyx_INCREF(__pyx_t_5);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_4, function);
      }
    }
    __pyx_t_6 = (__pyx_t_5) ? __Pyx_PyObject_Call2Args(__pyx_t_4, __pyx_t_5, __pyx_v_systring) : __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_v_systring);
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 463, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF_SET(__pyx_v_systring, __pyx_t_6);
    __pyx_t_6 = 0;

    /* "Cython/Compiler/Scanning.py":455
 *             self.error("Unrecognized character")
 *             return  # just a marker, error() always raises
 *         if sy == IDENT:             # <<<<<<<<<<<<<<
 *             if systring in self.keywords:
 *                 if systring == u'print' and print_function in self.context.future_directives:
 */
  }

  /* "Cython/Compiler/Scanning.py":464
 *                     sy = systring
 *             systring = self.context.intern_ustring(systring)
 *         self.sy = sy             # <<<<<<<<<<<<<<
 *         self.systring = systring
 *         if False: # debug_scanner:
 */
  __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":465
 *             systring = self.context.intern_ustring(systring)
 *         self.sy = sy
 *         self.systring = systring             # <<<<<<<<<<<<<<
 *         if False: # debug_scanner:
 *             _, line, col = self.position()
 */
  __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":449
 *         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_7);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_XDECREF(__pyx_t_10);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.next", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __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":474
 *             print("--- %3d %2d %s" % (line, col, t))
 * 
 *     def peek(self):             # <<<<<<<<<<<<<<
 *         saved = self.sy, self.systring
 *         self.next()
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_25peek(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_25peek = {"peek", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_25peek, METH_NOARGS, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_25peek(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("peek (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_24peek(((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_24peek(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":475
 * 
 *     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_ERR(0, 475, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_v_self->sy);
  __Pyx_GIVEREF(__pyx_v_self->sy);
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_self->sy);
  __Pyx_INCREF(__pyx_v_self->systring);
  __Pyx_GIVEREF(__pyx_v_self->systring);
  PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_self->systring);
  __pyx_v_saved = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":476
 *     def peek(self):
 *         saved = self.sy, self.systring
 *         self.next()             # <<<<<<<<<<<<<<
 *         next = self.sy, self.systring
 *         self.unread(*next)
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_next); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 476, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
    }
  }
  __pyx_t_1 = (__pyx_t_3) ? __Pyx_PyObject_CallOneArg(__pyx_t_2, __pyx_t_3) : __Pyx_PyObject_CallNoArg(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 476, __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":477
 *         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_ERR(0, 477, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_v_self->sy);
  __Pyx_GIVEREF(__pyx_v_self->sy);
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_self->sy);
  __Pyx_INCREF(__pyx_v_self->systring);
  __Pyx_GIVEREF(__pyx_v_self->systring);
  PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_self->systring);
  __pyx_v_next = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":478
 *         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_ERR(0, 478, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_v_next, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 478, __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;

  /* "Cython/Compiler/Scanning.py":479
 *         next = self.sy, self.systring
 *         self.unread(*next)
 *         self.sy, self.systring = saved             # <<<<<<<<<<<<<<
 *         return next
 * 
 */
  if (1) {
    PyObject* sequence = __pyx_v_saved;
    Py_ssize_t size = __Pyx_PySequence_SIZE(sequence);
    if (unlikely(size != 2)) {
      if (size > 2) __Pyx_RaiseTooManyValuesError(2);
      else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
      __PYX_ERR(0, 479, __pyx_L1_error)
    }
    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
    __pyx_t_2 = PyTuple_GET_ITEM(sequence, 0); 
    __pyx_t_1 = PyTuple_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_ERR(0, 479, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_1 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 479, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    #endif
  }
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_GOTREF(__pyx_v_self->sy);
  __Pyx_DECREF(__pyx_v_self->sy);
  __pyx_v_self->sy = __pyx_t_2;
  __pyx_t_2 = 0;
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->systring);
  __Pyx_DECREF(__pyx_v_self->systring);
  __pyx_v_self->systring = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":480
 *         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":474
 *             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 = NULL;
  __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":482
 *         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_27put_back(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_27put_back = {"put_back", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_27put_back, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_27put_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);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_sy)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_systring)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("put_back", 1, 2, 2, 1); __PYX_ERR(0, 482, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "put_back") < 0)) __PYX_ERR(0, 482, __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_ERR(0, 482, __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_26put_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_26put_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_t_4;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("put_back", 0);

  /* "Cython/Compiler/Scanning.py":483
 * 
 *     def put_back(self, sy, systring):
 *         self.unread(self.sy, self.systring)             # <<<<<<<<<<<<<<
 *         self.sy = sy
 *         self.systring = systring
 */
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_unread); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 483, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = NULL;
  __pyx_t_4 = 0;
  if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
    if (likely(__pyx_t_3)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_2, function);
      __pyx_t_4 = 1;
    }
  }
  #if CYTHON_FAST_PYCALL
  if (PyFunction_Check(__pyx_t_2)) {
    PyObject *__pyx_temp[3] = {__pyx_t_3, __pyx_v_self->sy, __pyx_v_self->systring};
    __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_2, __pyx_temp+1-__pyx_t_4, 2+__pyx_t_4); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 483, __pyx_L1_error)
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_GOTREF(__pyx_t_1);
  } else
  #endif
  #if CYTHON_FAST_PYCCALL
  if (__Pyx_PyFastCFunction_Check(__pyx_t_2)) {
    PyObject *__pyx_temp[3] = {__pyx_t_3, __pyx_v_self->sy, __pyx_v_self->systring};
    __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_2, __pyx_temp+1-__pyx_t_4, 2+__pyx_t_4); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 483, __pyx_L1_error)
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_GOTREF(__pyx_t_1);
  } else
  #endif
  {
    __pyx_t_5 = PyTuple_New(2+__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 483, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    if (__pyx_t_3) {
      __Pyx_GIVEREF(__pyx_t_3); PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_3); __pyx_t_3 = NULL;
    }
    __Pyx_INCREF(__pyx_v_self->sy);
    __Pyx_GIVEREF(__pyx_v_self->sy);
    PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_4, __pyx_v_self->sy);
    __Pyx_INCREF(__pyx_v_self->systring);
    __Pyx_GIVEREF(__pyx_v_self->systring);
    PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_4, __pyx_v_self->systring);
    __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 483, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__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;

  /* "Cython/Compiler/Scanning.py":484
 *     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":485
 *         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":482
 *         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_XDECREF(__pyx_t_5);
  __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":487
 *         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_29unread(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_29unread = {"unread", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_29unread, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_29unread(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);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_token)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_value)) != 0)) kw_args--;
        else {
          __Pyx_RaiseArgtupleInvalid("unread", 1, 2, 2, 1); __PYX_ERR(0, 487, __pyx_L3_error)
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "unread") < 0)) __PYX_ERR(0, 487, __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_ERR(0, 487, __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_28unread(((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_28unread(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":489
 *     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 '%.30s'", "insert");
    __PYX_ERR(0, 489, __pyx_L1_error)
  }
  __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 489, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_v_token);
  __Pyx_GIVEREF(__pyx_v_token);
  PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_token);
  __Pyx_INCREF(__pyx_v_value);
  __Pyx_GIVEREF(__pyx_v_value);
  PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_value);
  __pyx_t_2 = PyList_Insert(__pyx_v_self->__pyx_base.queue, 0, __pyx_t_1); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(0, 489, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":487
 *         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":491
 *         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_31error(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_31error = {"error", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_31error, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_31error(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);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_message)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_pos);
          if (value) { values[1] = value; kw_args--; }
        }
        CYTHON_FALLTHROUGH;
        case  2:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__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_ERR(0, 491, __pyx_L3_error)
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
        CYTHON_FALLTHROUGH;
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        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_ERR(0, 491, __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_30error(((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_30error(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_t_6;
  PyObject *__pyx_t_7 = 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":492
 * 
 *     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":493
 *     def error(self, message, pos=None, fatal=True):
 *         if pos is None:
 *             pos = self.position()             # <<<<<<<<<<<<<<
 *         if self.sy == 'INDENT':
 *             error(pos, "Possible inconsistent indentation")
 */
    __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_position); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 493, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = NULL;
    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4);
      if (likely(__pyx_t_5)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
        __Pyx_INCREF(__pyx_t_5);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_4, function);
      }
    }
    __pyx_t_3 = (__pyx_t_5) ? __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_5) : __Pyx_PyObject_CallNoArg(__pyx_t_4);
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 493, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF_SET(__pyx_v_pos, __pyx_t_3);
    __pyx_t_3 = 0;

    /* "Cython/Compiler/Scanning.py":492
 * 
 *     def error(self, message, pos=None, fatal=True):
 *         if pos is None:             # <<<<<<<<<<<<<<
 *             pos = self.position()
 *         if self.sy == 'INDENT':
 */
  }

  /* "Cython/Compiler/Scanning.py":494
 *         if pos is None:
 *             pos = self.position()
 *         if self.sy == 'INDENT':             # <<<<<<<<<<<<<<
 *             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_ERR(0, 494, __pyx_L1_error)
  if (__pyx_t_2) {

    /* "Cython/Compiler/Scanning.py":495
 *             pos = self.position()
 *         if self.sy == 'INDENT':
 *             error(pos, "Possible inconsistent indentation")             # <<<<<<<<<<<<<<
 *         err = error(pos, message)
 *         if fatal: raise err
 */
    __Pyx_INCREF(__pyx_v_6Cython_8Compiler_8Scanning_error);
    __pyx_t_4 = __pyx_v_6Cython_8Compiler_8Scanning_error; __pyx_t_5 = NULL;
    __pyx_t_6 = 0;
    if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4);
      if (likely(__pyx_t_5)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
        __Pyx_INCREF(__pyx_t_5);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_4, function);
        __pyx_t_6 = 1;
      }
    }
    #if CYTHON_FAST_PYCALL
    if (PyFunction_Check(__pyx_t_4)) {
      PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_v_pos, __pyx_kp_u_Possible_inconsistent_indentatio};
      __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 495, __pyx_L1_error)
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_GOTREF(__pyx_t_3);
    } else
    #endif
    #if CYTHON_FAST_PYCCALL
    if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) {
      PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_v_pos, __pyx_kp_u_Possible_inconsistent_indentatio};
      __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 495, __pyx_L1_error)
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_GOTREF(__pyx_t_3);
    } else
    #endif
    {
      __pyx_t_7 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 495, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_7);
      if (__pyx_t_5) {
        __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_5); __pyx_t_5 = NULL;
      }
      __Pyx_INCREF(__pyx_v_pos);
      __Pyx_GIVEREF(__pyx_v_pos);
      PyTuple_SET_ITEM(__pyx_t_7, 0+__pyx_t_6, __pyx_v_pos);
      __Pyx_INCREF(__pyx_kp_u_Possible_inconsistent_indentatio);
      __Pyx_GIVEREF(__pyx_kp_u_Possible_inconsistent_indentatio);
      PyTuple_SET_ITEM(__pyx_t_7, 1+__pyx_t_6, __pyx_kp_u_Possible_inconsistent_indentatio);
      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_7, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 495, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_3);
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    }
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

    /* "Cython/Compiler/Scanning.py":494
 *         if pos is None:
 *             pos = self.position()
 *         if self.sy == 'INDENT':             # <<<<<<<<<<<<<<
 *             error(pos, "Possible inconsistent indentation")
 *         err = error(pos, message)
 */
  }

  /* "Cython/Compiler/Scanning.py":496
 *         if self.sy == 'INDENT':
 *             error(pos, "Possible inconsistent indentation")
 *         err = error(pos, message)             # <<<<<<<<<<<<<<
 *         if fatal: raise err
 * 
 */
  __Pyx_INCREF(__pyx_v_6Cython_8Compiler_8Scanning_error);
  __pyx_t_4 = __pyx_v_6Cython_8Compiler_8Scanning_error; __pyx_t_7 = NULL;
  __pyx_t_6 = 0;
  if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) {
    __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_4);
    if (likely(__pyx_t_7)) {
      PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
      __Pyx_INCREF(__pyx_t_7);
      __Pyx_INCREF(function);
      __Pyx_DECREF_SET(__pyx_t_4, function);
      __pyx_t_6 = 1;
    }
  }
  #if CYTHON_FAST_PYCALL
  if (PyFunction_Check(__pyx_t_4)) {
    PyObject *__pyx_temp[3] = {__pyx_t_7, __pyx_v_pos, __pyx_v_message};
    __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 496, __pyx_L1_error)
    __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
    __Pyx_GOTREF(__pyx_t_3);
  } else
  #endif
  #if CYTHON_FAST_PYCCALL
  if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) {
    PyObject *__pyx_temp[3] = {__pyx_t_7, __pyx_v_pos, __pyx_v_message};
    __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 496, __pyx_L1_error)
    __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
    __Pyx_GOTREF(__pyx_t_3);
  } else
  #endif
  {
    __pyx_t_5 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 496, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    if (__pyx_t_7) {
      __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_7); __pyx_t_7 = NULL;
    }
    __Pyx_INCREF(__pyx_v_pos);
    __Pyx_GIVEREF(__pyx_v_pos);
    PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_6, __pyx_v_pos);
    __Pyx_INCREF(__pyx_v_message);
    __Pyx_GIVEREF(__pyx_v_message);
    PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_6, __pyx_v_message);
    __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_5, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 496, __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_v_err = __pyx_t_3;
  __pyx_t_3 = 0;

  /* "Cython/Compiler/Scanning.py":497
 *             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_ERR(0, 497, __pyx_L1_error)
  if (unlikely(__pyx_t_2)) {
    __Pyx_Raise(__pyx_v_err, 0, 0, 0);
    __PYX_ERR(0, 497, __pyx_L1_error)
  }

  /* "Cython/Compiler/Scanning.py":491
 *         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_XDECREF(__pyx_t_7);
  __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":499
 *         if fatal: raise err
 * 
 *     def expect(self, what, message=None):             # <<<<<<<<<<<<<<
 *         if self.sy == what:
 *             self.next()
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_33expect(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_33expect = {"expect", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_33expect, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_33expect(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_what = 0;
  PyObject *__pyx_v_message = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("expect (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_what,&__pyx_n_s_message,0};
    PyObject* values[2] = {0,0};
    values[1] = ((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  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_what)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_message);
          if (value) { values[1] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "expect") < 0)) __PYX_ERR(0, 499, __pyx_L3_error)
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_what = values[0];
    __pyx_v_message = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("expect", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 499, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.expect", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_32expect(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), __pyx_v_what, __pyx_v_message);

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

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_32expect(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_what, PyObject *__pyx_v_message) {
  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;
  int __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("expect", 0);

  /* "Cython/Compiler/Scanning.py":500
 * 
 *     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_ERR(0, 500, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 500, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (__pyx_t_2) {

    /* "Cython/Compiler/Scanning.py":501
 *     def expect(self, what, message=None):
 *         if self.sy == what:
 *             self.next()             # <<<<<<<<<<<<<<
 *         else:
 *             self.expected(what, message)
 */
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_next); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 501, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = NULL;
    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_3))) {
      __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
      if (likely(__pyx_t_4)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
        __Pyx_INCREF(__pyx_t_4);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_3, function);
      }
    }
    __pyx_t_1 = (__pyx_t_4) ? __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_4) : __Pyx_PyObject_CallNoArg(__pyx_t_3);
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 501, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "Cython/Compiler/Scanning.py":500
 * 
 *     def expect(self, what, message=None):
 *         if self.sy == what:             # <<<<<<<<<<<<<<
 *             self.next()
 *         else:
 */
    goto __pyx_L3;
  }

  /* "Cython/Compiler/Scanning.py":503
 *             self.next()
 *         else:
 *             self.expected(what, message)             # <<<<<<<<<<<<<<
 * 
 *     def expect_keyword(self, what, message=None):
 */
  /*else*/ {
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_expected); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 503, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = NULL;
    __pyx_t_5 = 0;
    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_3))) {
      __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
      if (likely(__pyx_t_4)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
        __Pyx_INCREF(__pyx_t_4);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_3, function);
        __pyx_t_5 = 1;
      }
    }
    #if CYTHON_FAST_PYCALL
    if (PyFunction_Check(__pyx_t_3)) {
      PyObject *__pyx_temp[3] = {__pyx_t_4, __pyx_v_what, __pyx_v_message};
      __pyx_t_1 = __Pyx_PyFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_5, 2+__pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 503, __pyx_L1_error)
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_GOTREF(__pyx_t_1);
    } else
    #endif
    #if CYTHON_FAST_PYCCALL
    if (__Pyx_PyFastCFunction_Check(__pyx_t_3)) {
      PyObject *__pyx_temp[3] = {__pyx_t_4, __pyx_v_what, __pyx_v_message};
      __pyx_t_1 = __Pyx_PyCFunction_FastCall(__pyx_t_3, __pyx_temp+1-__pyx_t_5, 2+__pyx_t_5); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 503, __pyx_L1_error)
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_GOTREF(__pyx_t_1);
    } else
    #endif
    {
      __pyx_t_6 = PyTuple_New(2+__pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 503, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_6);
      if (__pyx_t_4) {
        __Pyx_GIVEREF(__pyx_t_4); PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_4); __pyx_t_4 = NULL;
      }
      __Pyx_INCREF(__pyx_v_what);
      __Pyx_GIVEREF(__pyx_v_what);
      PyTuple_SET_ITEM(__pyx_t_6, 0+__pyx_t_5, __pyx_v_what);
      __Pyx_INCREF(__pyx_v_message);
      __Pyx_GIVEREF(__pyx_v_message);
      PyTuple_SET_ITEM(__pyx_t_6, 1+__pyx_t_5, __pyx_v_message);
      __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_6, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 503, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
    }
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  }
  __pyx_L3:;

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

  /* 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_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.expect", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

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

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_35expect_keyword(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_35expect_keyword = {"expect_keyword", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_35expect_keyword, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_35expect_keyword(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_what = 0;
  PyObject *__pyx_v_message = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("expect_keyword (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_what,&__pyx_n_s_message,0};
    PyObject* values[2] = {0,0};
    values[1] = ((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  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_what)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_message);
          if (value) { values[1] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "expect_keyword") < 0)) __PYX_ERR(0, 505, __pyx_L3_error)
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_what = values[0];
    __pyx_v_message = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("expect_keyword", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 505, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.expect_keyword", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_34expect_keyword(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), __pyx_v_what, __pyx_v_message);

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

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_34expect_keyword(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_what, PyObject *__pyx_v_message) {
  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_t_6;
  PyObject *__pyx_t_7 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("expect_keyword", 0);

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

    /* "Cython/Compiler/Scanning.py":507
 *     def expect_keyword(self, what, message=None):
 *         if self.sy == IDENT and self.systring == what:
 *             self.next()             # <<<<<<<<<<<<<<
 *         else:
 *             self.expected(what, message)
 */
    __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_next); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 507, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = NULL;
    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4);
      if (likely(__pyx_t_5)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
        __Pyx_INCREF(__pyx_t_5);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_4, function);
      }
    }
    __pyx_t_3 = (__pyx_t_5) ? __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_5) : __Pyx_PyObject_CallNoArg(__pyx_t_4);
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 507, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

    /* "Cython/Compiler/Scanning.py":506
 * 
 *     def expect_keyword(self, what, message=None):
 *         if self.sy == IDENT and self.systring == what:             # <<<<<<<<<<<<<<
 *             self.next()
 *         else:
 */
    goto __pyx_L3;
  }

  /* "Cython/Compiler/Scanning.py":509
 *             self.next()
 *         else:
 *             self.expected(what, message)             # <<<<<<<<<<<<<<
 * 
 *     def expected(self, what, message=None):
 */
  /*else*/ {
    __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_expected); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 509, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = NULL;
    __pyx_t_6 = 0;
    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4);
      if (likely(__pyx_t_5)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
        __Pyx_INCREF(__pyx_t_5);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_4, function);
        __pyx_t_6 = 1;
      }
    }
    #if CYTHON_FAST_PYCALL
    if (PyFunction_Check(__pyx_t_4)) {
      PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_v_what, __pyx_v_message};
      __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 509, __pyx_L1_error)
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_GOTREF(__pyx_t_3);
    } else
    #endif
    #if CYTHON_FAST_PYCCALL
    if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) {
      PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_v_what, __pyx_v_message};
      __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 509, __pyx_L1_error)
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_GOTREF(__pyx_t_3);
    } else
    #endif
    {
      __pyx_t_7 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 509, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_7);
      if (__pyx_t_5) {
        __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_5); __pyx_t_5 = NULL;
      }
      __Pyx_INCREF(__pyx_v_what);
      __Pyx_GIVEREF(__pyx_v_what);
      PyTuple_SET_ITEM(__pyx_t_7, 0+__pyx_t_6, __pyx_v_what);
      __Pyx_INCREF(__pyx_v_message);
      __Pyx_GIVEREF(__pyx_v_message);
      PyTuple_SET_ITEM(__pyx_t_7, 1+__pyx_t_6, __pyx_v_message);
      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_7, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 509, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_3);
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    }
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  }
  __pyx_L3:;

  /* "Cython/Compiler/Scanning.py":505
 *             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_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.expect_keyword", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

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

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_37expected(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_37expected = {"expected", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_37expected, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_37expected(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_what = 0;
  PyObject *__pyx_v_message = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("expected (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_what,&__pyx_n_s_message,0};
    PyObject* values[2] = {0,0};
    values[1] = ((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  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      kw_args = PyDict_Size(__pyx_kwds);
      switch (pos_args) {
        case  0:
        if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_what)) != 0)) kw_args--;
        else goto __pyx_L5_argtuple_error;
        CYTHON_FALLTHROUGH;
        case  1:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_message);
          if (value) { values[1] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "expected") < 0)) __PYX_ERR(0, 511, __pyx_L3_error)
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_what = values[0];
    __pyx_v_message = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("expected", 0, 1, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 511, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.expected", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_36expected(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), __pyx_v_what, __pyx_v_message);

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

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_36expected(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_what, PyObject *__pyx_v_message) {
  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;
  Py_ssize_t __pyx_t_5;
  Py_UCS4 __pyx_t_6;
  PyObject *__pyx_t_7 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("expected", 0);

  /* "Cython/Compiler/Scanning.py":512
 * 
 *     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_ERR(0, 512, __pyx_L1_error)
  if (__pyx_t_1) {

    /* "Cython/Compiler/Scanning.py":513
 *     def expected(self, what, message=None):
 *         if message:
 *             self.error(message)             # <<<<<<<<<<<<<<
 *         else:
 *             if self.sy == IDENT:
 */
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_error); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 513, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = NULL;
    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_3))) {
      __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
      if (likely(__pyx_t_4)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
        __Pyx_INCREF(__pyx_t_4);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_3, function);
      }
    }
    __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_v_message) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_v_message);
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 513, __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":512
 * 
 *     def expected(self, what, message=None):
 *         if message:             # <<<<<<<<<<<<<<
 *             self.error(message)
 *         else:
 */
    goto __pyx_L3;
  }

  /* "Cython/Compiler/Scanning.py":515
 *             self.error(message)
 *         else:
 *             if self.sy == IDENT:             # <<<<<<<<<<<<<<
 *                 found = self.systring
 *             else:
 */
  /*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_ERR(0, 515, __pyx_L1_error)
    if (__pyx_t_1) {

      /* "Cython/Compiler/Scanning.py":516
 *         else:
 *             if self.sy == IDENT:
 *                 found = self.systring             # <<<<<<<<<<<<<<
 *             else:
 *                 found = self.sy
 */
      __pyx_t_2 = __pyx_v_self->systring;
      __Pyx_INCREF(__pyx_t_2);
      __pyx_v_found = __pyx_t_2;
      __pyx_t_2 = 0;

      /* "Cython/Compiler/Scanning.py":515
 *             self.error(message)
 *         else:
 *             if self.sy == IDENT:             # <<<<<<<<<<<<<<
 *                 found = self.systring
 *             else:
 */
      goto __pyx_L4;
    }

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

    /* "Cython/Compiler/Scanning.py":519
 *             else:
 *                 found = self.sy
 *             self.error("Expected '%s', found '%s'" % (what, found))             # <<<<<<<<<<<<<<
 * 
 *     def expect_indent(self):
 */
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_error); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 519, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_4 = PyTuple_New(5); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 519, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = 0;
    __pyx_t_6 = 127;
    __Pyx_INCREF(__pyx_kp_u_Expected);
    __pyx_t_5 += 10;
    __Pyx_GIVEREF(__pyx_kp_u_Expected);
    PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_kp_u_Expected);
    __pyx_t_7 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Unicode(__pyx_v_what), __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 519, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_7);
    __pyx_t_6 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) > __pyx_t_6) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) : __pyx_t_6;
    __pyx_t_5 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7);
    __Pyx_GIVEREF(__pyx_t_7);
    PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_7);
    __pyx_t_7 = 0;
    __Pyx_INCREF(__pyx_kp_u_found);
    __pyx_t_5 += 10;
    __Pyx_GIVEREF(__pyx_kp_u_found);
    PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_kp_u_found);
    __pyx_t_7 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Unicode(__pyx_v_found), __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 519, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_7);
    __pyx_t_6 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) > __pyx_t_6) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) : __pyx_t_6;
    __pyx_t_5 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7);
    __Pyx_GIVEREF(__pyx_t_7);
    PyTuple_SET_ITEM(__pyx_t_4, 3, __pyx_t_7);
    __pyx_t_7 = 0;
    __Pyx_INCREF(__pyx_kp_u__15);
    __pyx_t_5 += 1;
    __Pyx_GIVEREF(__pyx_kp_u__15);
    PyTuple_SET_ITEM(__pyx_t_4, 4, __pyx_kp_u__15);
    __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_4, 5, __pyx_t_5, __pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 519, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_7);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __pyx_t_4 = NULL;
    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_3))) {
      __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
      if (likely(__pyx_t_4)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
        __Pyx_INCREF(__pyx_t_4);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_3, function);
      }
    }
    __pyx_t_2 = (__pyx_t_4) ? __Pyx_PyObject_Call2Args(__pyx_t_3, __pyx_t_4, __pyx_t_7) : __Pyx_PyObject_CallOneArg(__pyx_t_3, __pyx_t_7);
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 519, __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;
  }
  __pyx_L3:;

  /* "Cython/Compiler/Scanning.py":511
 *             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_XDECREF(__pyx_t_7);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.expected", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_found);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

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

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_39expect_indent(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_39expect_indent = {"expect_indent", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_39expect_indent, METH_NOARGS, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_39expect_indent(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("expect_indent (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_38expect_indent(((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_38expect_indent(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__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("expect_indent", 0);

  /* "Cython/Compiler/Scanning.py":522
 * 
 *     def expect_indent(self):
 *         self.expect('INDENT', "Expected an increase in indentation level")             # <<<<<<<<<<<<<<
 * 
 *     def expect_dedent(self):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_expect); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 522, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__16, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 522, __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;

  /* "Cython/Compiler/Scanning.py":521
 *             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_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.expect_indent", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

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

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_41expect_dedent(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_41expect_dedent = {"expect_dedent", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_41expect_dedent, METH_NOARGS, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_41expect_dedent(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("expect_dedent (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_40expect_dedent(((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_40expect_dedent(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__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("expect_dedent", 0);

  /* "Cython/Compiler/Scanning.py":525
 * 
 *     def expect_dedent(self):
 *         self.expect('DEDENT', "Expected a decrease in indentation level")             # <<<<<<<<<<<<<<
 * 
 *     def expect_newline(self, message="Expected a newline", ignore_semicolon=False):
 */
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_expect); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 525, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__17, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 525, __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;

  /* "Cython/Compiler/Scanning.py":524
 *         self.expect('INDENT', "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_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.expect_dedent", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":527
 *         self.expect('DEDENT', "Expected a decrease in indentation level")
 * 
 *     def expect_newline(self, message="Expected a newline", ignore_semicolon=False):             # <<<<<<<<<<<<<<
 *         # Expect either a newline or end of file
 *         useless_trailing_semicolon = None
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_43expect_newline(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_43expect_newline = {"expect_newline", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_43expect_newline, METH_VARARGS|METH_KEYWORDS, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_43expect_newline(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_message = 0;
  PyObject *__pyx_v_ignore_semicolon = 0;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("expect_newline (wrapper)", 0);
  {
    static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_message,&__pyx_n_s_ignore_semicolon,0};
    PyObject* values[2] = {0,0};
    values[0] = ((PyObject *)__pyx_kp_u_Expected_a_newline);
    values[1] = ((PyObject *)Py_False);
    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);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        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 = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_message);
          if (value) { values[0] = value; kw_args--; }
        }
        CYTHON_FALLTHROUGH;
        case  1:
        if (kw_args > 0) {
          PyObject* value = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_ignore_semicolon);
          if (value) { values[1] = value; kw_args--; }
        }
      }
      if (unlikely(kw_args > 0)) {
        if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args, "expect_newline") < 0)) __PYX_ERR(0, 527, __pyx_L3_error)
      }
    } else {
      switch (PyTuple_GET_SIZE(__pyx_args)) {
        case  2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
        CYTHON_FALLTHROUGH;
        case  1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_message = values[0];
    __pyx_v_ignore_semicolon = values[1];
  }
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("expect_newline", 0, 0, 2, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 527, __pyx_L3_error)
  __pyx_L3_error:;
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.expect_newline", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_42expect_newline(((struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *)__pyx_v_self), __pyx_v_message, __pyx_v_ignore_semicolon);

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

static PyObject *__pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_42expect_newline(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self, PyObject *__pyx_v_message, PyObject *__pyx_v_ignore_semicolon) {
  PyObject *__pyx_v_useless_trailing_semicolon = 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_t_6;
  PyObject *__pyx_t_7 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("expect_newline", 0);

  /* "Cython/Compiler/Scanning.py":529
 *     def expect_newline(self, message="Expected a newline", ignore_semicolon=False):
 *         # Expect either a newline or end of file
 *         useless_trailing_semicolon = None             # <<<<<<<<<<<<<<
 *         if ignore_semicolon and self.sy == ';':
 *             useless_trailing_semicolon = self.position()
 */
  __Pyx_INCREF(Py_None);
  __pyx_v_useless_trailing_semicolon = Py_None;

  /* "Cython/Compiler/Scanning.py":530
 *         # Expect either a newline or end of file
 *         useless_trailing_semicolon = None
 *         if ignore_semicolon and self.sy == ';':             # <<<<<<<<<<<<<<
 *             useless_trailing_semicolon = self.position()
 *             self.next()
 */
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_ignore_semicolon); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 530, __pyx_L1_error)
  if (__pyx_t_2) {
  } else {
    __pyx_t_1 = __pyx_t_2;
    goto __pyx_L4_bool_binop_done;
  }
  __pyx_t_2 = (__Pyx_PyUnicode_Equals(__pyx_v_self->sy, __pyx_kp_u__18, Py_EQ)); if (unlikely(__pyx_t_2 < 0)) __PYX_ERR(0, 530, __pyx_L1_error)
  __pyx_t_1 = __pyx_t_2;
  __pyx_L4_bool_binop_done:;
  if (__pyx_t_1) {

    /* "Cython/Compiler/Scanning.py":531
 *         useless_trailing_semicolon = None
 *         if ignore_semicolon and self.sy == ';':
 *             useless_trailing_semicolon = self.position()             # <<<<<<<<<<<<<<
 *             self.next()
 *         if self.sy != 'EOF':
 */
    __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_position); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 531, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = NULL;
    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4);
      if (likely(__pyx_t_5)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
        __Pyx_INCREF(__pyx_t_5);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_4, function);
      }
    }
    __pyx_t_3 = (__pyx_t_5) ? __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_5) : __Pyx_PyObject_CallNoArg(__pyx_t_4);
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 531, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF_SET(__pyx_v_useless_trailing_semicolon, __pyx_t_3);
    __pyx_t_3 = 0;

    /* "Cython/Compiler/Scanning.py":532
 *         if ignore_semicolon and self.sy == ';':
 *             useless_trailing_semicolon = self.position()
 *             self.next()             # <<<<<<<<<<<<<<
 *         if self.sy != 'EOF':
 *             self.expect('NEWLINE', message)
 */
    __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_next); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 532, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = NULL;
    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4);
      if (likely(__pyx_t_5)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
        __Pyx_INCREF(__pyx_t_5);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_4, function);
      }
    }
    __pyx_t_3 = (__pyx_t_5) ? __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_5) : __Pyx_PyObject_CallNoArg(__pyx_t_4);
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 532, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

    /* "Cython/Compiler/Scanning.py":530
 *         # Expect either a newline or end of file
 *         useless_trailing_semicolon = None
 *         if ignore_semicolon and self.sy == ';':             # <<<<<<<<<<<<<<
 *             useless_trailing_semicolon = self.position()
 *             self.next()
 */
  }

  /* "Cython/Compiler/Scanning.py":533
 *             useless_trailing_semicolon = self.position()
 *             self.next()
 *         if self.sy != 'EOF':             # <<<<<<<<<<<<<<
 *             self.expect('NEWLINE', message)
 *         if useless_trailing_semicolon is not None:
 */
  __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_v_self->sy, __pyx_n_u_EOF, Py_NE)); if (unlikely(__pyx_t_1 < 0)) __PYX_ERR(0, 533, __pyx_L1_error)
  if (__pyx_t_1) {

    /* "Cython/Compiler/Scanning.py":534
 *             self.next()
 *         if self.sy != 'EOF':
 *             self.expect('NEWLINE', message)             # <<<<<<<<<<<<<<
 *         if useless_trailing_semicolon is not None:
 *             warning(useless_trailing_semicolon, "useless trailing semicolon")
 */
    __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_expect); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 534, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = NULL;
    __pyx_t_6 = 0;
    if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4);
      if (likely(__pyx_t_5)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
        __Pyx_INCREF(__pyx_t_5);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_4, function);
        __pyx_t_6 = 1;
      }
    }
    #if CYTHON_FAST_PYCALL
    if (PyFunction_Check(__pyx_t_4)) {
      PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_n_u_NEWLINE, __pyx_v_message};
      __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 534, __pyx_L1_error)
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_GOTREF(__pyx_t_3);
    } else
    #endif
    #if CYTHON_FAST_PYCCALL
    if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) {
      PyObject *__pyx_temp[3] = {__pyx_t_5, __pyx_n_u_NEWLINE, __pyx_v_message};
      __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 534, __pyx_L1_error)
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_GOTREF(__pyx_t_3);
    } else
    #endif
    {
      __pyx_t_7 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 534, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_7);
      if (__pyx_t_5) {
        __Pyx_GIVEREF(__pyx_t_5); PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_5); __pyx_t_5 = NULL;
      }
      __Pyx_INCREF(__pyx_n_u_NEWLINE);
      __Pyx_GIVEREF(__pyx_n_u_NEWLINE);
      PyTuple_SET_ITEM(__pyx_t_7, 0+__pyx_t_6, __pyx_n_u_NEWLINE);
      __Pyx_INCREF(__pyx_v_message);
      __Pyx_GIVEREF(__pyx_v_message);
      PyTuple_SET_ITEM(__pyx_t_7, 1+__pyx_t_6, __pyx_v_message);
      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_7, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 534, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_3);
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    }
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

    /* "Cython/Compiler/Scanning.py":533
 *             useless_trailing_semicolon = self.position()
 *             self.next()
 *         if self.sy != 'EOF':             # <<<<<<<<<<<<<<
 *             self.expect('NEWLINE', message)
 *         if useless_trailing_semicolon is not None:
 */
  }

  /* "Cython/Compiler/Scanning.py":535
 *         if self.sy != 'EOF':
 *             self.expect('NEWLINE', message)
 *         if useless_trailing_semicolon is not None:             # <<<<<<<<<<<<<<
 *             warning(useless_trailing_semicolon, "useless trailing semicolon")
 * 
 */
  __pyx_t_1 = (__pyx_v_useless_trailing_semicolon != Py_None);
  __pyx_t_2 = (__pyx_t_1 != 0);
  if (__pyx_t_2) {

    /* "Cython/Compiler/Scanning.py":536
 *             self.expect('NEWLINE', message)
 *         if useless_trailing_semicolon is not None:
 *             warning(useless_trailing_semicolon, "useless trailing semicolon")             # <<<<<<<<<<<<<<
 * 
 *     def enter_async(self):
 */
    __Pyx_INCREF(__pyx_v_6Cython_8Compiler_8Scanning_warning);
    __pyx_t_4 = __pyx_v_6Cython_8Compiler_8Scanning_warning; __pyx_t_7 = NULL;
    __pyx_t_6 = 0;
    if (CYTHON_UNPACK_METHODS && unlikely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_4);
      if (likely(__pyx_t_7)) {
        PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
        __Pyx_INCREF(__pyx_t_7);
        __Pyx_INCREF(function);
        __Pyx_DECREF_SET(__pyx_t_4, function);
        __pyx_t_6 = 1;
      }
    }
    #if CYTHON_FAST_PYCALL
    if (PyFunction_Check(__pyx_t_4)) {
      PyObject *__pyx_temp[3] = {__pyx_t_7, __pyx_v_useless_trailing_semicolon, __pyx_kp_u_useless_trailing_semicolon};
      __pyx_t_3 = __Pyx_PyFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 536, __pyx_L1_error)
      __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
      __Pyx_GOTREF(__pyx_t_3);
    } else
    #endif
    #if CYTHON_FAST_PYCCALL
    if (__Pyx_PyFastCFunction_Check(__pyx_t_4)) {
      PyObject *__pyx_temp[3] = {__pyx_t_7, __pyx_v_useless_trailing_semicolon, __pyx_kp_u_useless_trailing_semicolon};
      __pyx_t_3 = __Pyx_PyCFunction_FastCall(__pyx_t_4, __pyx_temp+1-__pyx_t_6, 2+__pyx_t_6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 536, __pyx_L1_error)
      __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
      __Pyx_GOTREF(__pyx_t_3);
    } else
    #endif
    {
      __pyx_t_5 = PyTuple_New(2+__pyx_t_6); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 536, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_5);
      if (__pyx_t_7) {
        __Pyx_GIVEREF(__pyx_t_7); PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_7); __pyx_t_7 = NULL;
      }
      __Pyx_INCREF(__pyx_v_useless_trailing_semicolon);
      __Pyx_GIVEREF(__pyx_v_useless_trailing_semicolon);
      PyTuple_SET_ITEM(__pyx_t_5, 0+__pyx_t_6, __pyx_v_useless_trailing_semicolon);
      __Pyx_INCREF(__pyx_kp_u_useless_trailing_semicolon);
      __Pyx_GIVEREF(__pyx_kp_u_useless_trailing_semicolon);
      PyTuple_SET_ITEM(__pyx_t_5, 1+__pyx_t_6, __pyx_kp_u_useless_trailing_semicolon);
      __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_5, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 536, __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_DECREF(__pyx_t_3); __pyx_t_3 = 0;

    /* "Cython/Compiler/Scanning.py":535
 *         if self.sy != 'EOF':
 *             self.expect('NEWLINE', message)
 *         if useless_trailing_semicolon is not None:             # <<<<<<<<<<<<<<
 *             warning(useless_trailing_semicolon, "useless trailing semicolon")
 * 
 */
  }

  /* "Cython/Compiler/Scanning.py":527
 *         self.expect('DEDENT', "Expected a decrease in indentation level")
 * 
 *     def expect_newline(self, message="Expected a newline", ignore_semicolon=False):             # <<<<<<<<<<<<<<
 *         # Expect either a newline or end of file
 *         useless_trailing_semicolon = None
 */

  /* 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_XDECREF(__pyx_t_7);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.expect_newline", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_useless_trailing_semicolon);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.py":538
 *             warning(useless_trailing_semicolon, "useless trailing semicolon")
 * 
 *     def enter_async(self):             # <<<<<<<<<<<<<<
 *         self.async_enabled += 1
 *         if self.async_enabled == 1:
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_45enter_async(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_45enter_async = {"enter_async", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_45enter_async, METH_NOARGS, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_45enter_async(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("enter_async (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_44enter_async(((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_44enter_async(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("enter_async", 0);

  /* "Cython/Compiler/Scanning.py":539
 * 
 *     def enter_async(self):
 *         self.async_enabled += 1             # <<<<<<<<<<<<<<
 *         if self.async_enabled == 1:
 *             self.keywords.add('async')
 */
  __pyx_v_self->async_enabled = (__pyx_v_self->async_enabled + 1);

  /* "Cython/Compiler/Scanning.py":540
 *     def enter_async(self):
 *         self.async_enabled += 1
 *         if self.async_enabled == 1:             # <<<<<<<<<<<<<<
 *             self.keywords.add('async')
 *             self.keywords.add('await')
 */
  __pyx_t_1 = ((__pyx_v_self->async_enabled == 1) != 0);
  if (__pyx_t_1) {

    /* "Cython/Compiler/Scanning.py":541
 *         self.async_enabled += 1
 *         if self.async_enabled == 1:
 *             self.keywords.add('async')             # <<<<<<<<<<<<<<
 *             self.keywords.add('await')
 * 
 */
    if (unlikely(__pyx_v_self->keywords == Py_None)) {
      PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "add");
      __PYX_ERR(0, 541, __pyx_L1_error)
    }
    __pyx_t_2 = PySet_Add(__pyx_v_self->keywords, __pyx_n_u_async); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(0, 541, __pyx_L1_error)

    /* "Cython/Compiler/Scanning.py":542
 *         if self.async_enabled == 1:
 *             self.keywords.add('async')
 *             self.keywords.add('await')             # <<<<<<<<<<<<<<
 * 
 *     def exit_async(self):
 */
    if (unlikely(__pyx_v_self->keywords == Py_None)) {
      PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "add");
      __PYX_ERR(0, 542, __pyx_L1_error)
    }
    __pyx_t_2 = PySet_Add(__pyx_v_self->keywords, __pyx_n_u_await); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(0, 542, __pyx_L1_error)

    /* "Cython/Compiler/Scanning.py":540
 *     def enter_async(self):
 *         self.async_enabled += 1
 *         if self.async_enabled == 1:             # <<<<<<<<<<<<<<
 *             self.keywords.add('async')
 *             self.keywords.add('await')
 */
  }

  /* "Cython/Compiler/Scanning.py":538
 *             warning(useless_trailing_semicolon, "useless trailing semicolon")
 * 
 *     def enter_async(self):             # <<<<<<<<<<<<<<
 *         self.async_enabled += 1
 *         if self.async_enabled == 1:
 */

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

/* "Cython/Compiler/Scanning.py":544
 *             self.keywords.add('await')
 * 
 *     def exit_async(self):             # <<<<<<<<<<<<<<
 *         assert self.async_enabled > 0
 *         self.async_enabled -= 1
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_47exit_async(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused); /*proto*/
static PyMethodDef __pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_47exit_async = {"exit_async", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_47exit_async, METH_NOARGS, 0};
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_47exit_async(PyObject *__pyx_v_self, CYTHON_UNUSED PyObject *unused) {
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("exit_async (wrapper)", 0);
  __pyx_r = __pyx_pf_6Cython_8Compiler_8Scanning_12PyrexScanner_46exit_async(((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_46exit_async(struct __pyx_obj_6Cython_8Compiler_8Scanning_PyrexScanner *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("exit_async", 0);

  /* "Cython/Compiler/Scanning.py":545
 * 
 *     def exit_async(self):
 *         assert self.async_enabled > 0             # <<<<<<<<<<<<<<
 *         self.async_enabled -= 1
 *         if not self.async_enabled:
 */
  #ifndef CYTHON_WITHOUT_ASSERTIONS
  if (unlikely(!Py_OptimizeFlag)) {
    if (unlikely(!((__pyx_v_self->async_enabled > 0) != 0))) {
      PyErr_SetNone(PyExc_AssertionError);
      __PYX_ERR(0, 545, __pyx_L1_error)
    }
  }
  #endif

  /* "Cython/Compiler/Scanning.py":546
 *     def exit_async(self):
 *         assert self.async_enabled > 0
 *         self.async_enabled -= 1             # <<<<<<<<<<<<<<
 *         if not self.async_enabled:
 *             self.keywords.discard('await')
 */
  __pyx_v_self->async_enabled = (__pyx_v_self->async_enabled - 1);

  /* "Cython/Compiler/Scanning.py":547
 *         assert self.async_enabled > 0
 *         self.async_enabled -= 1
 *         if not self.async_enabled:             # <<<<<<<<<<<<<<
 *             self.keywords.discard('await')
 *             self.keywords.discard('async')
 */
  __pyx_t_1 = ((!(__pyx_v_self->async_enabled != 0)) != 0);
  if (__pyx_t_1) {

    /* "Cython/Compiler/Scanning.py":548
 *         self.async_enabled -= 1
 *         if not self.async_enabled:
 *             self.keywords.discard('await')             # <<<<<<<<<<<<<<
 *             self.keywords.discard('async')
 *             if self.sy in ('async', 'await'):
 */
    if (unlikely(__pyx_v_self->keywords == Py_None)) {
      PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "discard");
      __PYX_ERR(0, 548, __pyx_L1_error)
    }
    __pyx_t_2 = __Pyx_PySet_Discard(__pyx_v_self->keywords, __pyx_n_u_await); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(0, 548, __pyx_L1_error)

    /* "Cython/Compiler/Scanning.py":549
 *         if not self.async_enabled:
 *             self.keywords.discard('await')
 *             self.keywords.discard('async')             # <<<<<<<<<<<<<<
 *             if self.sy in ('async', 'await'):
 *                 self.sy, self.systring = IDENT, self.context.intern_ustring(self.sy)
 */
    if (unlikely(__pyx_v_self->keywords == Py_None)) {
      PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "discard");
      __PYX_ERR(0, 549, __pyx_L1_error)
    }
    __pyx_t_2 = __Pyx_PySet_Discard(__pyx_v_self->keywords, __pyx_n_u_async); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(0, 549, __pyx_L1_error)

    /* "Cython/Compiler/Scanning.py":550
 *             self.keywords.discard('await')
 *             self.keywords.discard('async')
 *             if self.sy in ('async', 'await'):             # <<<<<<<<<<<<<<
 *                 self.sy, self.systring = IDENT, self.context.intern_ustring(self.sy)
 */
    __Pyx_INCREF(__pyx_v_self->sy);
    __pyx_t_3 = __pyx_v_self->sy;
    __pyx_t_4 = (__Pyx_PyUnicode_Equals(__pyx_t_3, __pyx_n_u_async, Py_EQ)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 550, __pyx_L1_error)
    if (!__pyx_t_4) {
    } else {
      __pyx_t_1 = __pyx_t_4;
      goto __pyx_L5_bool_binop_done;
    }
    __pyx_t_4 = (__Pyx_PyUnicode_Equals(__pyx_t_3, __pyx_n_u_await, Py_EQ)); if (unlikely(__pyx_t_4 < 0)) __PYX_ERR(0, 550, __pyx_L1_error)
    __pyx_t_1 = __pyx_t_4;
    __pyx_L5_bool_binop_done:;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __pyx_t_4 = (__pyx_t_1 != 0);
    if (__pyx_t_4) {

      /* "Cython/Compiler/Scanning.py":551
 *             self.keywords.discard('async')
 *             if self.sy in ('async', 'await'):
 *                 self.sy, self.systring = IDENT, self.context.intern_ustring(self.sy)             # <<<<<<<<<<<<<<
 */
      __pyx_t_3 = __pyx_v_6Cython_8Compiler_8Scanning_IDENT;
      __Pyx_INCREF(__pyx_t_3);
      __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->context, __pyx_n_s_intern_ustring); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 551, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_6);
      __pyx_t_7 = NULL;
      if (CYTHON_UNPACK_METHODS && likely(PyMethod_Check(__pyx_t_6))) {
        __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_6);
        if (likely(__pyx_t_7)) {
          PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6);
          __Pyx_INCREF(__pyx_t_7);
          __Pyx_INCREF(function);
          __Pyx_DECREF_SET(__pyx_t_6, function);
        }
      }
      __pyx_t_5 = (__pyx_t_7) ? __Pyx_PyObject_Call2Args(__pyx_t_6, __pyx_t_7, __pyx_v_self->sy) : __Pyx_PyObject_CallOneArg(__pyx_t_6, __pyx_v_self->sy);
      __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
      if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 551, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __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_5);
      __Pyx_GOTREF(__pyx_v_self->systring);
      __Pyx_DECREF(__pyx_v_self->systring);
      __pyx_v_self->systring = __pyx_t_5;
      __pyx_t_5 = 0;

      /* "Cython/Compiler/Scanning.py":550
 *             self.keywords.discard('await')
 *             self.keywords.discard('async')
 *             if self.sy in ('async', 'await'):             # <<<<<<<<<<<<<<
 *                 self.sy, self.systring = IDENT, self.context.intern_ustring(self.sy)
 */
    }

    /* "Cython/Compiler/Scanning.py":547
 *         assert self.async_enabled > 0
 *         self.async_enabled -= 1
 *         if not self.async_enabled:             # <<<<<<<<<<<<<<
 *             self.keywords.discard('await')
 *             self.keywords.discard('async')
 */
  }

  /* "Cython/Compiler/Scanning.py":544
 *             self.keywords.add('await')
 * 
 *     def exit_async(self):             # <<<<<<<<<<<<<<
 *         assert self.async_enabled > 0
 *         self.async_enabled -= 1
 */

  /* 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_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_AddTraceback("Cython.Compiler.Scanning.PyrexScanner.exit_async", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.pxd":29
 * @cython.final
 * 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":30
 * 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_ERR(1, 30, __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":31
 *     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_ERR(1, 31, __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":32
 *     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_ERR(1, 32, __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_ERR(1, 32, __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":33
 *     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_ERR(1, 33, __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_ERR(1, 33, __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":34
 *     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_ERR(1, 34, __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_ERR(1, 34, __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":35
 *     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_ERR(1, 35, __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_ERR(1, 35, __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":36
 *     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":38
 *     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_ERR(1, 38, __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":39
 *     cdef set keywords
 *     cdef public list indentation_stack
 *     cdef public indentation_char             # <<<<<<<<<<<<<<
 *     cdef public int bracket_nesting_level
 *     cdef readonly bint async_enabled
 */

/* 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":40
 *     cdef public list indentation_stack
 *     cdef public indentation_char
 *     cdef public int bracket_nesting_level             # <<<<<<<<<<<<<<
 *     cdef readonly bint async_enabled
 *     cdef public sy
 */

/* 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_ERR(1, 40, __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_ERR(1, 40, __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":41
 *     cdef public indentation_char
 *     cdef public int bracket_nesting_level
 *     cdef readonly bint async_enabled             # <<<<<<<<<<<<<<
 *     cdef public sy
 *     cdef public systring
 */

/* Python wrapper */
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_13async_enabled_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_13async_enabled_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_13async_enabled___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_13async_enabled___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->async_enabled); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 41, __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.async_enabled.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "Cython/Compiler/Scanning.pxd":42
 *     cdef public int bracket_nesting_level
 *     cdef readonly bint async_enabled
 *     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":43
 *     cdef readonly bint async_enabled
 *     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->kwargs = ((PyObject*)Py_None); Py_INCREF(Py_None);
  p->__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 CYTHON_USE_TP_FINALIZE
  if (unlikely(PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE) && 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->kwargs);
  Py_CLEAR(p->__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->kwargs) {
    e = (*v)(p->kwargs, a); if (e) return e;
  }
  if (p->__name__) {
    e = (*v)(p->__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->kwargs);
  p->kwargs = ((PyObject*)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->__name__);
  p->__name__ = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}

static PyObject *__pyx_getprop_6Cython_8Compiler_8Scanning_6Method___name__(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_6Cython_8Compiler_8Scanning_6Method_8__name___1__get__(o);
}

static PyMethodDef __pyx_methods_6Cython_8Compiler_8Scanning_Method[] = {
  {"__copy__", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_6Method_5__copy__, METH_NOARGS, 0},
  {"__deepcopy__", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_6Method_7__deepcopy__, METH_O, 0},
  {0, 0, 0, 0}
};

static struct PyGetSetDef __pyx_getsets_6Cython_8Compiler_8Scanning_Method[] = {
  {(char *)"__name__", __pyx_getprop_6Cython_8Compiler_8Scanning_6Method___name__, 0, (char *)0, 0},
  {0, 0, 0, 0, 0}
};

static PyTypeObject __pyx_type_6Cython_8Compiler_8Scanning_Method = {
  PyVarObject_HEAD_INIT(0, 0)
  "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*/
  #if PY_VERSION_HEX < 0x030800b4
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b4
  0, /*tp_vectorcall_offset*/
  #endif
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #endif
  #if PY_MAJOR_VERSION >= 3
  0, /*tp_as_async*/
  #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*/
  __pyx_getsets_6Cython_8Compiler_8Scanning_Method, /*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*/
  0, /*tp_version_tag*/
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b1
  0, /*tp_vectorcall*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
  0, /*tp_print*/
  #endif
};

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;
  o = (*t->tp_alloc)(t, 0);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_6Cython_8Compiler_8Scanning_CompileTimeScope *)o);
  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;
  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[] = {
  {"declare", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_3declare, METH_VARARGS|METH_KEYWORDS, 0},
  {"update", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_5update, METH_O, 0},
  {"lookup_here", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_7lookup_here, METH_O, 0},
  {"lookup", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_16CompileTimeScope_11lookup, METH_O, 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, (char *)0, 0},
  {(char *)"outer", __pyx_getprop_6Cython_8Compiler_8Scanning_16CompileTimeScope_outer, __pyx_setprop_6Cython_8Compiler_8Scanning_16CompileTimeScope_outer, (char *)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_9__contains__, /*sq_contains*/
  0, /*sq_inplace_concat*/
  0, /*sq_inplace_repeat*/
};

static PyTypeObject __pyx_type_6Cython_8Compiler_8Scanning_CompileTimeScope = {
  PyVarObject_HEAD_INIT(0, 0)
  "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*/
  #if PY_VERSION_HEX < 0x030800b4
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b4
  0, /*tp_vectorcall_offset*/
  #endif
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #endif
  #if PY_MAJOR_VERSION >= 3
  0, /*tp_as_async*/
  #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_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*/
  0, /*tp_version_tag*/
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b1
  0, /*tp_vectorcall*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
  0, /*tp_print*/
  #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;
  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_async_enabled(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_13async_enabled_1__get__(o);
}

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[] = {
  {"commentline", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_3commentline, METH_O, 0},
  {"strip_underscores", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_5strip_underscores, METH_VARARGS|METH_KEYWORDS, 0},
  {"open_bracket_action", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_7open_bracket_action, METH_O, 0},
  {"close_bracket_action", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_9close_bracket_action, METH_O, 0},
  {"newline_action", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_11newline_action, METH_O, 0},
  {"begin_string_action", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_13begin_string_action, METH_O, 0},
  {"end_string_action", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_15end_string_action, METH_O, 0},
  {"unclosed_string_action", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_17unclosed_string_action, METH_O, 0},
  {"eof_action", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_21eof_action, METH_O, 0},
  {"next", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_23next, METH_NOARGS, 0},
  {"peek", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_25peek, METH_NOARGS, 0},
  {"put_back", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_27put_back, METH_VARARGS|METH_KEYWORDS, 0},
  {"unread", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_29unread, METH_VARARGS|METH_KEYWORDS, 0},
  {"error", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_31error, METH_VARARGS|METH_KEYWORDS, 0},
  {"expect", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_33expect, METH_VARARGS|METH_KEYWORDS, 0},
  {"expect_keyword", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_35expect_keyword, METH_VARARGS|METH_KEYWORDS, 0},
  {"expected", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_37expected, METH_VARARGS|METH_KEYWORDS, 0},
  {"expect_indent", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_39expect_indent, METH_NOARGS, 0},
  {"expect_dedent", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_41expect_dedent, METH_NOARGS, 0},
  {"expect_newline", (PyCFunction)(void*)(PyCFunctionWithKeywords)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_43expect_newline, METH_VARARGS|METH_KEYWORDS, 0},
  {"enter_async", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_45enter_async, METH_NOARGS, 0},
  {"exit_async", (PyCFunction)__pyx_pw_6Cython_8Compiler_8Scanning_12PyrexScanner_47exit_async, METH_NOARGS, 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, (char *)0, 0},
  {(char *)"included_files", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_included_files, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_included_files, (char *)0, 0},
  {(char *)"compile_time_env", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_compile_time_env, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_compile_time_env, (char *)0, 0},
  {(char *)"compile_time_eval", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_compile_time_eval, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_compile_time_eval, (char *)0, 0},
  {(char *)"compile_time_expr", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_compile_time_expr, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_compile_time_expr, (char *)0, 0},
  {(char *)"parse_comments", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_parse_comments, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_parse_comments, (char *)0, 0},
  {(char *)"in_python_file", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_in_python_file, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_in_python_file, (char *)0, 0},
  {(char *)"source_encoding", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_source_encoding, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_source_encoding, (char *)0, 0},
  {(char *)"indentation_stack", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_indentation_stack, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_indentation_stack, (char *)0, 0},
  {(char *)"indentation_char", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_indentation_char, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_indentation_char, (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, (char *)0, 0},
  {(char *)"async_enabled", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_async_enabled, 0, (char *)0, 0},
  {(char *)"sy", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_sy, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_sy, (char *)0, 0},
  {(char *)"systring", __pyx_getprop_6Cython_8Compiler_8Scanning_12PyrexScanner_systring, __pyx_setprop_6Cython_8Compiler_8Scanning_12PyrexScanner_systring, (char *)0, 0},
  {0, 0, 0, 0, 0}
};

static PyTypeObject __pyx_type_6Cython_8Compiler_8Scanning_PyrexScanner = {
  PyVarObject_HEAD_INIT(0, 0)
  "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*/
  #if PY_VERSION_HEX < 0x030800b4
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b4
  0, /*tp_vectorcall_offset*/
  #endif
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  #if PY_MAJOR_VERSION < 3
  0, /*tp_compare*/
  #endif
  #if PY_MAJOR_VERSION >= 3
  0, /*tp_as_async*/
  #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_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*/
  0, /*tp_version_tag*/
  #if PY_VERSION_HEX >= 0x030400a1
  0, /*tp_finalize*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b1
  0, /*tp_vectorcall*/
  #endif
  #if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
  0, /*tp_print*/
  #endif
};

static PyMethodDef __pyx_methods[] = {
  {0, 0, 0, 0}
};

#if PY_MAJOR_VERSION >= 3
#if CYTHON_PEP489_MULTI_PHASE_INIT
static PyObject* __pyx_pymod_create(PyObject *spec, PyModuleDef *def); /*proto*/
static int __pyx_pymod_exec_Scanning(PyObject* module); /*proto*/
static PyModuleDef_Slot __pyx_moduledef_slots[] = {
  {Py_mod_create, (void*)__pyx_pymod_create},
  {Py_mod_exec, (void*)__pyx_pymod_exec_Scanning},
  {0, NULL}
};
#endif

static struct PyModuleDef __pyx_moduledef = {
    PyModuleDef_HEAD_INIT,
    "Scanning",
    0, /* m_doc */
  #if CYTHON_PEP489_MULTI_PHASE_INIT
    0, /* m_size */
  #else
    -1, /* m_size */
  #endif
    __pyx_methods /* m_methods */,
  #if CYTHON_PEP489_MULTI_PHASE_INIT
    __pyx_moduledef_slots, /* m_slots */
  #else
    NULL, /* m_reload */
  #endif
    NULL, /* m_traverse */
    NULL, /* m_clear */
    NULL /* m_free */
};
#endif
#ifndef CYTHON_SMALL_CODE
#if defined(__clang__)
    #define CYTHON_SMALL_CODE
#elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))
    #define CYTHON_SMALL_CODE __attribute__((cold))
#else
    #define CYTHON_SMALL_CODE
#endif
#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_CompileTimeScope, __pyx_k_CompileTimeScope, sizeof(__pyx_k_CompileTimeScope), 0, 0, 1, 1},
  {&__pyx_n_s_CompileTimeScope_declare, __pyx_k_CompileTimeScope_declare, sizeof(__pyx_k_CompileTimeScope_declare), 0, 0, 1, 1},
  {&__pyx_n_s_CompileTimeScope_lookup, __pyx_k_CompileTimeScope_lookup, sizeof(__pyx_k_CompileTimeScope_lookup), 0, 0, 1, 1},
  {&__pyx_n_s_CompileTimeScope_lookup_here, __pyx_k_CompileTimeScope_lookup_here, sizeof(__pyx_k_CompileTimeScope_lookup_here), 0, 0, 1, 1},
  {&__pyx_n_s_CompileTimeScope_update, __pyx_k_CompileTimeScope_update, sizeof(__pyx_k_CompileTimeScope_update), 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_kp_s_Cython_Compiler_Scanning_py, __pyx_k_Cython_Compiler_Scanning_py, sizeof(__pyx_k_Cython_Compiler_Scanning_py), 0, 0, 1, 0},
  {&__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_Errors, __pyx_k_Errors, sizeof(__pyx_k_Errors), 0, 0, 1, 1},
  {&__pyx_kp_u_Expected, __pyx_k_Expected, sizeof(__pyx_k_Expected), 0, 1, 0, 0},
  {&__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_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_n_s_Method, __pyx_k_Method, sizeof(__pyx_k_Method), 0, 0, 1, 1},
  {&__pyx_n_s_Method___copy, __pyx_k_Method___copy, sizeof(__pyx_k_Method___copy), 0, 0, 1, 1},
  {&__pyx_n_s_Method___deepcopy, __pyx_k_Method___deepcopy, sizeof(__pyx_k_Method___deepcopy), 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_n_s_Plex_Errors, __pyx_k_Plex_Errors, sizeof(__pyx_k_Plex_Errors), 0, 0, 1, 1},
  {&__pyx_n_s_Plex_Scanners, __pyx_k_Plex_Scanners, sizeof(__pyx_k_Plex_Scanners), 0, 0, 1, 1},
  {&__pyx_kp_u_Possible_inconsistent_indentatio, __pyx_k_Possible_inconsistent_indentatio, sizeof(__pyx_k_Possible_inconsistent_indentatio), 0, 1, 0, 0},
  {&__pyx_n_s_PyrexScanner, __pyx_k_PyrexScanner, sizeof(__pyx_k_PyrexScanner), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_begin_string_action, __pyx_k_PyrexScanner_begin_string_action, sizeof(__pyx_k_PyrexScanner_begin_string_action), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_close_bracket_actio, __pyx_k_PyrexScanner_close_bracket_actio, sizeof(__pyx_k_PyrexScanner_close_bracket_actio), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_commentline, __pyx_k_PyrexScanner_commentline, sizeof(__pyx_k_PyrexScanner_commentline), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_end_string_action, __pyx_k_PyrexScanner_end_string_action, sizeof(__pyx_k_PyrexScanner_end_string_action), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_enter_async, __pyx_k_PyrexScanner_enter_async, sizeof(__pyx_k_PyrexScanner_enter_async), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_eof_action, __pyx_k_PyrexScanner_eof_action, sizeof(__pyx_k_PyrexScanner_eof_action), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_error, __pyx_k_PyrexScanner_error, sizeof(__pyx_k_PyrexScanner_error), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_exit_async, __pyx_k_PyrexScanner_exit_async, sizeof(__pyx_k_PyrexScanner_exit_async), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_expect, __pyx_k_PyrexScanner_expect, sizeof(__pyx_k_PyrexScanner_expect), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_expect_dedent, __pyx_k_PyrexScanner_expect_dedent, sizeof(__pyx_k_PyrexScanner_expect_dedent), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_expect_indent, __pyx_k_PyrexScanner_expect_indent, sizeof(__pyx_k_PyrexScanner_expect_indent), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_expect_keyword, __pyx_k_PyrexScanner_expect_keyword, sizeof(__pyx_k_PyrexScanner_expect_keyword), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_expect_newline, __pyx_k_PyrexScanner_expect_newline, sizeof(__pyx_k_PyrexScanner_expect_newline), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_expected, __pyx_k_PyrexScanner_expected, sizeof(__pyx_k_PyrexScanner_expected), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_indentation_action, __pyx_k_PyrexScanner_indentation_action, sizeof(__pyx_k_PyrexScanner_indentation_action), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_newline_action, __pyx_k_PyrexScanner_newline_action, sizeof(__pyx_k_PyrexScanner_newline_action), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_next, __pyx_k_PyrexScanner_next, sizeof(__pyx_k_PyrexScanner_next), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_open_bracket_action, __pyx_k_PyrexScanner_open_bracket_action, sizeof(__pyx_k_PyrexScanner_open_bracket_action), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_peek, __pyx_k_PyrexScanner_peek, sizeof(__pyx_k_PyrexScanner_peek), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_put_back, __pyx_k_PyrexScanner_put_back, sizeof(__pyx_k_PyrexScanner_put_back), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_strip_underscores, __pyx_k_PyrexScanner_strip_underscores, sizeof(__pyx_k_PyrexScanner_strip_underscores), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_unclosed_string_act, __pyx_k_PyrexScanner_unclosed_string_act, sizeof(__pyx_k_PyrexScanner_unclosed_string_act), 0, 0, 1, 1},
  {&__pyx_n_s_PyrexScanner_unread, __pyx_k_PyrexScanner_unread, sizeof(__pyx_k_PyrexScanner_unread), 0, 0, 1, 1},
  {&__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___copy, __pyx_k_SourceDescriptor___copy, sizeof(__pyx_k_SourceDescriptor___copy), 0, 0, 1, 1},
  {&__pyx_n_s_SourceDescriptor___deepcopy, __pyx_k_SourceDescriptor___deepcopy, sizeof(__pyx_k_SourceDescriptor___deepcopy), 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_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_n_s_Utils, __pyx_k_Utils, sizeof(__pyx_k_Utils), 0, 0, 1, 1},
  {&__pyx_n_s_ValueError, __pyx_k_ValueError, sizeof(__pyx_k_ValueError), 0, 0, 1, 1},
  {&__pyx_kp_u__10, __pyx_k__10, sizeof(__pyx_k__10), 0, 1, 0, 0},
  {&__pyx_n_s__11, __pyx_k__11, sizeof(__pyx_k__11), 0, 0, 1, 1},
  {&__pyx_kp_u__11, __pyx_k__11, sizeof(__pyx_k__11), 0, 1, 0, 0},
  {&__pyx_n_u__12, __pyx_k__12, sizeof(__pyx_k__12), 0, 1, 0, 1},
  {&__pyx_kp_u__15, __pyx_k__15, sizeof(__pyx_k__15), 0, 1, 0, 0},
  {&__pyx_kp_u__18, __pyx_k__18, sizeof(__pyx_k__18), 0, 1, 0, 0},
  {&__pyx_kp_u__5, __pyx_k__5, sizeof(__pyx_k__5), 0, 1, 0, 0},
  {&__pyx_kp_u__6, __pyx_k__6, sizeof(__pyx_k__6), 0, 1, 0, 0},
  {&__pyx_kp_u__8, __pyx_k__8, sizeof(__pyx_k__8), 0, 1, 0, 0},
  {&__pyx_kp_u__95, __pyx_k__95, sizeof(__pyx_k__95), 0, 1, 0, 0},
  {&__pyx_kp_u__96, __pyx_k__96, sizeof(__pyx_k__96), 0, 1, 0, 0},
  {&__pyx_kp_u__97, __pyx_k__97, sizeof(__pyx_k__97), 0, 1, 0, 0},
  {&__pyx_n_u_abs, __pyx_k_abs, sizeof(__pyx_k_abs), 0, 1, 0, 1},
  {&__pyx_n_s_abspath, __pyx_k_abspath, sizeof(__pyx_k_abspath), 0, 0, 1, 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_u_async, __pyx_k_async, sizeof(__pyx_k_async), 0, 1, 0, 1},
  {&__pyx_n_s_async_enabled, __pyx_k_async_enabled, sizeof(__pyx_k_async_enabled), 0, 0, 1, 1},
  {&__pyx_n_u_await, __pyx_k_await, sizeof(__pyx_k_await), 0, 1, 0, 1},
  {&__pyx_n_s_begin_string_action, __pyx_k_begin_string_action, sizeof(__pyx_k_begin_string_action), 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_cline_in_traceback, __pyx_k_cline_in_traceback, sizeof(__pyx_k_cline_in_traceback), 0, 0, 1, 1},
  {&__pyx_n_s_close_bracket_action, __pyx_k_close_bracket_action, sizeof(__pyx_k_close_bracket_action), 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_s_commentline, __pyx_k_commentline, sizeof(__pyx_k_commentline), 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_s_copy, __pyx_k_copy, sizeof(__pyx_k_copy), 0, 0, 1, 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_declare, __pyx_k_declare, sizeof(__pyx_k_declare), 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_s_deepcopy, __pyx_k_deepcopy, sizeof(__pyx_k_deepcopy), 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_u_dict, __pyx_k_dict, sizeof(__pyx_k_dict), 0, 1, 0, 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_s_enter, __pyx_k_enter, sizeof(__pyx_k_enter), 0, 0, 1, 1},
  {&__pyx_n_s_enter_async, __pyx_k_enter_async, sizeof(__pyx_k_enter_async), 0, 0, 1, 1},
  {&__pyx_n_u_enumerate, __pyx_k_enumerate, sizeof(__pyx_k_enumerate), 0, 1, 0, 1},
  {&__pyx_n_s_eof_action, __pyx_k_eof_action, sizeof(__pyx_k_eof_action), 0, 0, 1, 1},
  {&__pyx_n_s_eq, __pyx_k_eq, sizeof(__pyx_k_eq), 0, 0, 1, 1},
  {&__pyx_n_s_err, __pyx_k_err, sizeof(__pyx_k_err), 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_esc_desc, __pyx_k_esc_desc, sizeof(__pyx_k_esc_desc), 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_exit, __pyx_k_exit, sizeof(__pyx_k_exit), 0, 0, 1, 1},
  {&__pyx_n_s_exit_async, __pyx_k_exit_async, sizeof(__pyx_k_exit_async), 0, 0, 1, 1},
  {&__pyx_n_s_expect, __pyx_k_expect, sizeof(__pyx_k_expect), 0, 0, 1, 1},
  {&__pyx_n_s_expect_dedent, __pyx_k_expect_dedent, sizeof(__pyx_k_expect_dedent), 0, 0, 1, 1},
  {&__pyx_n_s_expect_indent, __pyx_k_expect_indent, sizeof(__pyx_k_expect_indent), 0, 0, 1, 1},
  {&__pyx_n_s_expect_keyword, __pyx_k_expect_keyword, sizeof(__pyx_k_expect_keyword), 0, 0, 1, 1},
  {&__pyx_n_s_expect_newline, __pyx_k_expect_newline, sizeof(__pyx_k_expect_newline), 0, 0, 1, 1},
  {&__pyx_n_s_expected, __pyx_k_expected, sizeof(__pyx_k_expected), 0, 0, 1, 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_path, __pyx_k_file_path, sizeof(__pyx_k_file_path), 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_kp_u_found, __pyx_k_found, sizeof(__pyx_k_found), 0, 1, 0, 0},
  {&__pyx_n_s_found_2, __pyx_k_found_2, sizeof(__pyx_k_found_2), 0, 0, 1, 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_functools, __pyx_k_functools, sizeof(__pyx_k_functools), 0, 0, 1, 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_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_s_ignore_semicolon, __pyx_k_ignore_semicolon, sizeof(__pyx_k_ignore_semicolon), 0, 0, 1, 1},
  {&__pyx_n_s_import, __pyx_k_import, sizeof(__pyx_k_import), 0, 0, 1, 1},
  {&__pyx_n_u_import_2, __pyx_k_import_2, sizeof(__pyx_k_import_2), 0, 1, 0, 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_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_s_intern_ustring, __pyx_k_intern_ustring, sizeof(__pyx_k_intern_ustring), 0, 0, 1, 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_line, __pyx_k_line, sizeof(__pyx_k_line), 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_lookup_here, __pyx_k_lookup_here, sizeof(__pyx_k_lookup_here), 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_memo, __pyx_k_memo, sizeof(__pyx_k_memo), 0, 0, 1, 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_name_2, __pyx_k_name_2, sizeof(__pyx_k_name_2), 0, 0, 1, 1},
  {&__pyx_n_s_newline_action, __pyx_k_newline_action, sizeof(__pyx_k_newline_action), 0, 0, 1, 1},
  {&__pyx_n_s_next, __pyx_k_next, sizeof(__pyx_k_next), 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_bracket_action, __pyx_k_open_bracket_action, sizeof(__pyx_k_open_bracket_action), 0, 0, 1, 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_peek, __pyx_k_peek, sizeof(__pyx_k_peek), 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_s_position, __pyx_k_position, sizeof(__pyx_k_position), 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_n_s_put_back, __pyx_k_put_back, sizeof(__pyx_k_put_back), 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_capi, __pyx_k_pyx_capi, sizeof(__pyx_k_pyx_capi), 0, 0, 1, 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_reduce, __pyx_k_reduce, sizeof(__pyx_k_reduce), 0, 0, 1, 1},
  {&__pyx_n_u_reduce, __pyx_k_reduce, sizeof(__pyx_k_reduce), 0, 1, 0, 1},
  {&__pyx_n_s_relpath, __pyx_k_relpath, sizeof(__pyx_k_relpath), 0, 0, 1, 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_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_saved, __pyx_k_saved, sizeof(__pyx_k_saved), 0, 0, 1, 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_s_strip_underscores, __pyx_k_strip_underscores, sizeof(__pyx_k_strip_underscores), 0, 0, 1, 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_symbol, __pyx_k_symbol, sizeof(__pyx_k_symbol), 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_unclosed_string_action, __pyx_k_unclosed_string_action, sizeof(__pyx_k_unclosed_string_action), 0, 0, 1, 1},
  {&__pyx_n_u_unicode, __pyx_k_unicode, sizeof(__pyx_k_unicode), 0, 1, 0, 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_kp_u_useless_trailing_semicolon, __pyx_k_useless_trailing_semicolon, sizeof(__pyx_k_useless_trailing_semicolon), 0, 1, 0, 0},
  {&__pyx_n_s_useless_trailing_semicolon_2, __pyx_k_useless_trailing_semicolon_2, sizeof(__pyx_k_useless_trailing_semicolon_2), 0, 0, 1, 1},
  {&__pyx_n_s_value, __pyx_k_value, sizeof(__pyx_k_value), 0, 0, 1, 1},
  {&__pyx_n_s_warning, __pyx_k_warning, sizeof(__pyx_k_warning), 0, 0, 1, 1},
  {&__pyx_n_s_what, __pyx_k_what, sizeof(__pyx_k_what), 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_s_workdir, __pyx_k_workdir, sizeof(__pyx_k_workdir), 0, 0, 1, 1},
  {&__pyx_n_s_x, __pyx_k_x, sizeof(__pyx_k_x), 0, 0, 1, 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 CYTHON_SMALL_CODE int __Pyx_InitCachedBuiltins(void) {
  __pyx_builtin_object = __Pyx_GetBuiltinName(__pyx_n_s_object); if (!__pyx_builtin_object) __PYX_ERR(0, 146, __pyx_L1_error)
  __pyx_builtin_KeyError = __Pyx_GetBuiltinName(__pyx_n_s_KeyError); if (!__pyx_builtin_KeyError) __PYX_ERR(0, 96, __pyx_L1_error)
  __pyx_builtin_zip = __Pyx_GetBuiltinName(__pyx_n_s_zip); if (!__pyx_builtin_zip) __PYX_ERR(0, 107, __pyx_L1_error)
  __pyx_builtin_ImportError = __Pyx_GetBuiltinName(__pyx_n_s_ImportError); if (!__pyx_builtin_ImportError) __PYX_ERR(0, 111, __pyx_L1_error)
  __pyx_builtin_AttributeError = __Pyx_GetBuiltinName(__pyx_n_s_AttributeError); if (!__pyx_builtin_AttributeError) __PYX_ERR(0, 129, __pyx_L1_error)
  __pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_n_s_ValueError); if (!__pyx_builtin_ValueError) __PYX_ERR(0, 250, __pyx_L1_error)
  __pyx_builtin_id = __Pyx_GetBuiltinName(__pyx_n_s_id); if (!__pyx_builtin_id) __PYX_ERR(0, 301, __pyx_L1_error)
  return 0;
  __pyx_L1_error:;
  return -1;
}

static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0);

  /* "Cython/Compiler/Scanning.py":106
 * 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()):
 *         benv.declare(name, value)
 */
  __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_ERR(0, 106, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple_);
  __Pyx_GIVEREF(__pyx_tuple_);

  /* "Cython/Compiler/Scanning.py":115
 * 
 *     names = (
 *         'False', 'True',             # <<<<<<<<<<<<<<
 *         'abs', 'all', 'any', 'ascii', 'bin', 'bool', 'bytearray', 'bytes',
 *         'chr', 'cmp', 'complex', 'dict', 'divmod', 'enumerate', 'filter',
 */
  __pyx_tuple__2 = PyTuple_Pack(42, __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_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_zip); if (unlikely(!__pyx_tuple__2)) __PYX_ERR(0, 115, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__2);
  __Pyx_GIVEREF(__pyx_tuple__2);

  /* "Cython/Compiler/Scanning.py":161
 *     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_ERR(0, 161, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_slice__3);
  __Pyx_GIVEREF(__pyx_slice__3);

  /* "Cython/Compiler/Scanning.py":172
 *         if self._escaped_description is None:
 *             esc_desc = \
 *                 self.get_description().encode('ASCII', 'replace').decode("ASCII")             # <<<<<<<<<<<<<<
 *             # Use forward slashes on Windows since these paths
 *             # will be used in the #line directives in the C/C++ files.
 */
  __pyx_tuple__4 = PyTuple_Pack(2, __pyx_n_u_ASCII, __pyx_n_u_replace); if (unlikely(!__pyx_tuple__4)) __PYX_ERR(0, 172, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__4);
  __Pyx_GIVEREF(__pyx_tuple__4);

  /* "Cython/Compiler/Scanning.py":175
 *             # Use forward slashes on Windows since these paths
 *             # will be used in the #line directives in the C/C++ files.
 *             self._escaped_description = esc_desc.replace('\\', '/')             # <<<<<<<<<<<<<<
 *         return self._escaped_description
 * 
 */
  __pyx_tuple__7 = PyTuple_Pack(2, __pyx_kp_u__5, __pyx_kp_u__6); if (unlikely(!__pyx_tuple__7)) __PYX_ERR(0, 175, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__7);
  __Pyx_GIVEREF(__pyx_tuple__7);

  /* "Cython/Compiler/Scanning.py":236
 *             pass
 * 
 *         with Utils.open_source_file(self.filename, encoding=encoding, error_handling=error_handling) as f:             # <<<<<<<<<<<<<<
 *             lines = list(f)
 * 
 */
  __pyx_tuple__9 = PyTuple_Pack(3, Py_None, Py_None, Py_None); if (unlikely(!__pyx_tuple__9)) __PYX_ERR(0, 236, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__9);
  __Pyx_GIVEREF(__pyx_tuple__9);

  /* "Cython/Compiler/Scanning.py":368
 * 
 *     def strip_underscores(self, text, symbol):
 *         self.produce(symbol, text.replace('_', ''))             # <<<<<<<<<<<<<<
 * 
 *     def current_level(self):
 */
  __pyx_tuple__13 = PyTuple_Pack(2, __pyx_n_u__12, __pyx_kp_u__11); if (unlikely(!__pyx_tuple__13)) __PYX_ERR(0, 368, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__13);
  __Pyx_GIVEREF(__pyx_tuple__13);

  /* "Cython/Compiler/Scanning.py":394
 * 
 *     def begin_string_action(self, text):
 *         while text[:1] in any_string_prefix:             # <<<<<<<<<<<<<<
 *             text = text[1:]
 *         self.begin(self.string_states[text])
 */
  __pyx_slice__14 = PySlice_New(Py_None, __pyx_int_1, Py_None); if (unlikely(!__pyx_slice__14)) __PYX_ERR(0, 394, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_slice__14);
  __Pyx_GIVEREF(__pyx_slice__14);

  /* "Cython/Compiler/Scanning.py":522
 * 
 *     def expect_indent(self):
 *         self.expect('INDENT', "Expected an increase in indentation level")             # <<<<<<<<<<<<<<
 * 
 *     def expect_dedent(self):
 */
  __pyx_tuple__16 = PyTuple_Pack(2, __pyx_n_u_INDENT, __pyx_kp_u_Expected_an_increase_in_indentat); if (unlikely(!__pyx_tuple__16)) __PYX_ERR(0, 522, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__16);
  __Pyx_GIVEREF(__pyx_tuple__16);

  /* "Cython/Compiler/Scanning.py":525
 * 
 *     def expect_dedent(self):
 *         self.expect('DEDENT', "Expected a decrease in indentation level")             # <<<<<<<<<<<<<<
 * 
 *     def expect_newline(self, message="Expected a newline", ignore_semicolon=False):
 */
  __pyx_tuple__17 = PyTuple_Pack(2, __pyx_n_u_DEDENT, __pyx_kp_u_Expected_a_decrease_in_indentati); if (unlikely(!__pyx_tuple__17)) __PYX_ERR(0, 525, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__17);
  __Pyx_GIVEREF(__pyx_tuple__17);

  /* "Cython/Compiler/Scanning.py":66
 *         return method(text, **self.kwargs) if self.kwargs is not None else method(text)
 * 
 *     def __copy__(self):             # <<<<<<<<<<<<<<
 *         return self  # immutable, no need to copy
 * 
 */
  __pyx_tuple__19 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__19)) __PYX_ERR(0, 66, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__19);
  __Pyx_GIVEREF(__pyx_tuple__19);
  __pyx_codeobj__20 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__19, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_copy, 66, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__20)) __PYX_ERR(0, 66, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":69
 *         return self  # immutable, no need to copy
 * 
 *     def __deepcopy__(self, memo):             # <<<<<<<<<<<<<<
 *         return self  # immutable, no need to copy
 * 
 */
  __pyx_tuple__21 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_memo); if (unlikely(!__pyx_tuple__21)) __PYX_ERR(0, 69, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__21);
  __Pyx_GIVEREF(__pyx_tuple__21);
  __pyx_codeobj__22 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__21, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_deepcopy, 69, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__22)) __PYX_ERR(0, 69, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":81
 *         self.outer = outer
 * 
 *     def declare(self, name, value):             # <<<<<<<<<<<<<<
 *         self.entries[name] = value
 * 
 */
  __pyx_tuple__23 = PyTuple_Pack(3, __pyx_n_s_self, __pyx_n_s_name, __pyx_n_s_value); if (unlikely(!__pyx_tuple__23)) __PYX_ERR(0, 81, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__23);
  __Pyx_GIVEREF(__pyx_tuple__23);
  __pyx_codeobj__24 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__23, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_declare, 81, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__24)) __PYX_ERR(0, 81, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":84
 *         self.entries[name] = value
 * 
 *     def update(self, other):             # <<<<<<<<<<<<<<
 *         self.entries.update(other)
 * 
 */
  __pyx_tuple__25 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_other); if (unlikely(!__pyx_tuple__25)) __PYX_ERR(0, 84, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__25);
  __Pyx_GIVEREF(__pyx_tuple__25);
  __pyx_codeobj__26 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__25, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_update, 84, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__26)) __PYX_ERR(0, 84, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":87
 *         self.entries.update(other)
 * 
 *     def lookup_here(self, name):             # <<<<<<<<<<<<<<
 *         return self.entries[name]
 * 
 */
  __pyx_tuple__27 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_name); if (unlikely(!__pyx_tuple__27)) __PYX_ERR(0, 87, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__27);
  __Pyx_GIVEREF(__pyx_tuple__27);
  __pyx_codeobj__28 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__27, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_lookup_here, 87, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__28)) __PYX_ERR(0, 87, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":93
 *         return name in self.entries
 * 
 *     def lookup(self, name):             # <<<<<<<<<<<<<<
 *         try:
 *             return self.lookup_here(name)
 */
  __pyx_tuple__29 = PyTuple_Pack(3, __pyx_n_s_self, __pyx_n_s_name, __pyx_n_s_outer); if (unlikely(!__pyx_tuple__29)) __PYX_ERR(0, 93, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__29);
  __Pyx_GIVEREF(__pyx_tuple__29);
  __pyx_codeobj__30 = (PyObject*)__Pyx_PyCode_New(2, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__29, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_lookup, 93, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__30)) __PYX_ERR(0, 93, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":146
 * #------------------------------------------------------------------
 * 
 * class SourceDescriptor(object):             # <<<<<<<<<<<<<<
 *     """
 *     A SourceDescriptor should be considered immutable.
 */
  __pyx_tuple__31 = PyTuple_Pack(1, __pyx_builtin_object); if (unlikely(!__pyx_tuple__31)) __PYX_ERR(0, 146, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__31);
  __Pyx_GIVEREF(__pyx_tuple__31);

  /* "Cython/Compiler/Scanning.py":156
 *     _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__32 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__32)) __PYX_ERR(0, 156, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__32);
  __Pyx_GIVEREF(__pyx_tuple__32);
  __pyx_codeobj__33 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__32, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_str_2, 156, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__33)) __PYX_ERR(0, 156, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":159
 *         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__34 = PyTuple_Pack(4, __pyx_n_s_self, __pyx_n_s_filename, __pyx_n_s_name, __pyx_n_s_ext); if (unlikely(!__pyx_tuple__34)) __PYX_ERR(0, 159, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__34);
  __Pyx_GIVEREF(__pyx_tuple__34);
  __pyx_codeobj__35 = (PyObject*)__Pyx_PyCode_New(2, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__34, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_set_file_type_from_name, 159, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__35)) __PYX_ERR(0, 159, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":163
 *         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__36 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__36)) __PYX_ERR(0, 163, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__36);
  __Pyx_GIVEREF(__pyx_tuple__36);
  __pyx_codeobj__37 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__36, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_is_cython_file, 163, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__37)) __PYX_ERR(0, 163, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":166
 *         return self._file_type in ('pyx', 'pxd')
 * 
 *     def is_python_file(self):             # <<<<<<<<<<<<<<
 *         return self._file_type == 'py'
 * 
 */
  __pyx_tuple__38 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__38)) __PYX_ERR(0, 166, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__38);
  __Pyx_GIVEREF(__pyx_tuple__38);
  __pyx_codeobj__39 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__38, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_is_python_file, 166, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__39)) __PYX_ERR(0, 166, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":169
 *         return self._file_type == 'py'
 * 
 *     def get_escaped_description(self):             # <<<<<<<<<<<<<<
 *         if self._escaped_description is None:
 *             esc_desc = \
 */
  __pyx_tuple__40 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_esc_desc); if (unlikely(!__pyx_tuple__40)) __PYX_ERR(0, 169, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__40);
  __Pyx_GIVEREF(__pyx_tuple__40);
  __pyx_codeobj__41 = (PyObject*)__Pyx_PyCode_New(1, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__40, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_get_escaped_description, 169, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__41)) __PYX_ERR(0, 169, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":178
 *         return self._escaped_description
 * 
 *     def __gt__(self, other):             # <<<<<<<<<<<<<<
 *         # this is only used to provide some sort of order
 *         try:
 */
  __pyx_tuple__42 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_other); if (unlikely(!__pyx_tuple__42)) __PYX_ERR(0, 178, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__42);
  __Pyx_GIVEREF(__pyx_tuple__42);
  __pyx_codeobj__43 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__42, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_gt, 178, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__43)) __PYX_ERR(0, 178, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":185
 *             return False
 * 
 *     def __lt__(self, other):             # <<<<<<<<<<<<<<
 *         # this is only used to provide some sort of order
 *         try:
 */
  __pyx_tuple__44 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_other); if (unlikely(!__pyx_tuple__44)) __PYX_ERR(0, 185, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__44);
  __Pyx_GIVEREF(__pyx_tuple__44);
  __pyx_codeobj__45 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__44, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_lt, 185, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__45)) __PYX_ERR(0, 185, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":192
 *             return False
 * 
 *     def __le__(self, other):             # <<<<<<<<<<<<<<
 *         # this is only used to provide some sort of order
 *         try:
 */
  __pyx_tuple__46 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_other); if (unlikely(!__pyx_tuple__46)) __PYX_ERR(0, 192, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__46);
  __Pyx_GIVEREF(__pyx_tuple__46);
  __pyx_codeobj__47 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__46, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_le, 192, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__47)) __PYX_ERR(0, 192, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":199
 *             return False
 * 
 *     def __copy__(self):             # <<<<<<<<<<<<<<
 *         return self  # immutable, no need to copy
 * 
 */
  __pyx_tuple__48 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__48)) __PYX_ERR(0, 199, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__48);
  __Pyx_GIVEREF(__pyx_tuple__48);
  __pyx_codeobj__49 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__48, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_copy, 199, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__49)) __PYX_ERR(0, 199, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":202
 *         return self  # immutable, no need to copy
 * 
 *     def __deepcopy__(self, memo):             # <<<<<<<<<<<<<<
 *         return self  # immutable, no need to copy
 * 
 */
  __pyx_tuple__50 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_memo); if (unlikely(!__pyx_tuple__50)) __PYX_ERR(0, 202, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__50);
  __Pyx_GIVEREF(__pyx_tuple__50);
  __pyx_codeobj__51 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__50, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_deepcopy, 202, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__51)) __PYX_ERR(0, 202, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":214
 *     the position()-tuple.
 *     """
 *     def __init__(self, filename, path_description=None):             # <<<<<<<<<<<<<<
 *         filename = Utils.decode_filename(filename)
 *         self.path_description = path_description or filename
 */
  __pyx_tuple__52 = PyTuple_Pack(4, __pyx_n_s_self, __pyx_n_s_filename, __pyx_n_s_path_description, __pyx_n_s_workdir); if (unlikely(!__pyx_tuple__52)) __PYX_ERR(0, 214, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__52);
  __Pyx_GIVEREF(__pyx_tuple__52);
  __pyx_codeobj__53 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__52, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_init, 214, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__53)) __PYX_ERR(0, 214, __pyx_L1_error)
  __pyx_tuple__54 = PyTuple_Pack(1, ((PyObject *)Py_None)); if (unlikely(!__pyx_tuple__54)) __PYX_ERR(0, 214, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__54);
  __Pyx_GIVEREF(__pyx_tuple__54);

  /* "Cython/Compiler/Scanning.py":225
 *         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__55 = 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__55)) __PYX_ERR(0, 225, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__55);
  __Pyx_GIVEREF(__pyx_tuple__55);
  __pyx_codeobj__56 = (PyObject*)__Pyx_PyCode_New(3, 0, 6, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__55, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_get_lines, 225, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__56)) __PYX_ERR(0, 225, __pyx_L1_error)
  __pyx_tuple__57 = PyTuple_Pack(2, ((PyObject *)Py_None), ((PyObject *)Py_None)); if (unlikely(!__pyx_tuple__57)) __PYX_ERR(0, 225, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__57);
  __Pyx_GIVEREF(__pyx_tuple__57);

  /* "Cython/Compiler/Scanning.py":247
 *         return lines
 * 
 *     def get_description(self):             # <<<<<<<<<<<<<<
 *         try:
 *             return os.path.relpath(self.path_description)
 */
  __pyx_tuple__58 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__58)) __PYX_ERR(0, 247, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__58);
  __Pyx_GIVEREF(__pyx_tuple__58);
  __pyx_codeobj__59 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__58, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_get_description, 247, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__59)) __PYX_ERR(0, 247, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":254
 *             return self.path_description
 * 
 *     def get_error_description(self):             # <<<<<<<<<<<<<<
 *         path = self.filename
 *         cwd = Utils.decode_filename(os.getcwd() + os.path.sep)
 */
  __pyx_tuple__60 = PyTuple_Pack(3, __pyx_n_s_self, __pyx_n_s_path, __pyx_n_s_cwd); if (unlikely(!__pyx_tuple__60)) __PYX_ERR(0, 254, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__60);
  __Pyx_GIVEREF(__pyx_tuple__60);
  __pyx_codeobj__61 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__60, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_get_error_description, 254, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__61)) __PYX_ERR(0, 254, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":261
 *         return path
 * 
 *     def get_filenametable_entry(self):             # <<<<<<<<<<<<<<
 *         return self.file_path
 * 
 */
  __pyx_tuple__62 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__62)) __PYX_ERR(0, 261, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__62);
  __Pyx_GIVEREF(__pyx_tuple__62);
  __pyx_codeobj__63 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__62, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_get_filenametable_entry, 261, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__63)) __PYX_ERR(0, 261, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":264
 *         return self.file_path
 * 
 *     def __eq__(self, other):             # <<<<<<<<<<<<<<
 *         return isinstance(other, FileSourceDescriptor) and self.filename == other.filename
 * 
 */
  __pyx_tuple__64 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_other); if (unlikely(!__pyx_tuple__64)) __PYX_ERR(0, 264, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__64);
  __Pyx_GIVEREF(__pyx_tuple__64);
  __pyx_codeobj__65 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__64, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_eq, 264, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__65)) __PYX_ERR(0, 264, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":267
 *         return isinstance(other, FileSourceDescriptor) and self.filename == other.filename
 * 
 *     def __hash__(self):             # <<<<<<<<<<<<<<
 *         return hash(self.filename)
 * 
 */
  __pyx_tuple__66 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__66)) __PYX_ERR(0, 267, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__66);
  __Pyx_GIVEREF(__pyx_tuple__66);
  __pyx_codeobj__67 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__66, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_hash_2, 267, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__67)) __PYX_ERR(0, 267, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":270
 *         return hash(self.filename)
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return "<FileSourceDescriptor:%s>" % self.filename
 * 
 */
  __pyx_tuple__68 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__68)) __PYX_ERR(0, 270, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__68);
  __Pyx_GIVEREF(__pyx_tuple__68);
  __pyx_codeobj__69 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__68, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_repr_2, 270, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__69)) __PYX_ERR(0, 270, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":279
 *     code originates from a string object.
 *     """
 *     def __init__(self, name, code):             # <<<<<<<<<<<<<<
 *         self.name = name
 *         #self.set_file_type_from_name(name)
 */
  __pyx_tuple__70 = PyTuple_Pack(4, __pyx_n_s_self, __pyx_n_s_name, __pyx_n_s_code, __pyx_n_s_x); if (unlikely(!__pyx_tuple__70)) __PYX_ERR(0, 279, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__70);
  __Pyx_GIVEREF(__pyx_tuple__70);
  __pyx_codeobj__71 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__70, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_init, 279, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__71)) __PYX_ERR(0, 279, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":285
 *         self._cmp_name = name
 * 
 *     def get_lines(self, encoding=None, error_handling=None):             # <<<<<<<<<<<<<<
 *         if not encoding:
 *             return self.codelines
 */
  __pyx_tuple__72 = PyTuple_Pack(4, __pyx_n_s_self, __pyx_n_s_encoding, __pyx_n_s_error_handling, __pyx_n_s_line); if (unlikely(!__pyx_tuple__72)) __PYX_ERR(0, 285, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__72);
  __Pyx_GIVEREF(__pyx_tuple__72);
  __pyx_codeobj__73 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__72, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_get_lines, 285, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__73)) __PYX_ERR(0, 285, __pyx_L1_error)
  __pyx_tuple__74 = PyTuple_Pack(2, ((PyObject *)Py_None), ((PyObject *)Py_None)); if (unlikely(!__pyx_tuple__74)) __PYX_ERR(0, 285, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__74);
  __Pyx_GIVEREF(__pyx_tuple__74);

  /* "Cython/Compiler/Scanning.py":292
 *                     for line in self.codelines]
 * 
 *     def get_description(self):             # <<<<<<<<<<<<<<
 *         return self.name
 * 
 */
  __pyx_tuple__75 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__75)) __PYX_ERR(0, 292, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__75);
  __Pyx_GIVEREF(__pyx_tuple__75);
  __pyx_codeobj__76 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__75, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_get_description, 292, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__76)) __PYX_ERR(0, 292, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":297
 *     get_error_description = get_description
 * 
 *     def get_filenametable_entry(self):             # <<<<<<<<<<<<<<
 *         return "stringsource"
 * 
 */
  __pyx_tuple__77 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__77)) __PYX_ERR(0, 297, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__77);
  __Pyx_GIVEREF(__pyx_tuple__77);
  __pyx_codeobj__78 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__77, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_get_filenametable_entry, 297, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__78)) __PYX_ERR(0, 297, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":300
 *         return "stringsource"
 * 
 *     def __hash__(self):             # <<<<<<<<<<<<<<
 *         return id(self)
 *         # Do not hash on the name, an identical string source should be the
 */
  __pyx_tuple__79 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__79)) __PYX_ERR(0, 300, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__79);
  __Pyx_GIVEREF(__pyx_tuple__79);
  __pyx_codeobj__80 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__79, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_hash_2, 300, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__80)) __PYX_ERR(0, 300, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":306
 *         # return hash(self.name)
 * 
 *     def __eq__(self, other):             # <<<<<<<<<<<<<<
 *         return isinstance(other, StringSourceDescriptor) and self.name == other.name
 * 
 */
  __pyx_tuple__81 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_other); if (unlikely(!__pyx_tuple__81)) __PYX_ERR(0, 306, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__81);
  __Pyx_GIVEREF(__pyx_tuple__81);
  __pyx_codeobj__82 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__81, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_eq, 306, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__82)) __PYX_ERR(0, 306, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":309
 *         return isinstance(other, StringSourceDescriptor) and self.name == other.name
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return "<StringSourceDescriptor:%s>" % self.name
 * 
 */
  __pyx_tuple__83 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__83)) __PYX_ERR(0, 309, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__83);
  __Pyx_GIVEREF(__pyx_tuple__83);
  __pyx_codeobj__84 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__83, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_repr_2, 309, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__84)) __PYX_ERR(0, 309, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":363
 *         self.next()
 * 
 *     def commentline(self, text):             # <<<<<<<<<<<<<<
 *         if self.parse_comments:
 *             self.produce('commentline', text)
 */
  __pyx_tuple__85 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_text); if (unlikely(!__pyx_tuple__85)) __PYX_ERR(0, 363, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__85);
  __Pyx_GIVEREF(__pyx_tuple__85);
  __pyx_codeobj__86 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__85, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_commentline, 363, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__86)) __PYX_ERR(0, 363, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":367
 *             self.produce('commentline', text)
 * 
 *     def strip_underscores(self, text, symbol):             # <<<<<<<<<<<<<<
 *         self.produce(symbol, text.replace('_', ''))
 * 
 */
  __pyx_tuple__87 = PyTuple_Pack(3, __pyx_n_s_self, __pyx_n_s_text, __pyx_n_s_symbol); if (unlikely(!__pyx_tuple__87)) __PYX_ERR(0, 367, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__87);
  __Pyx_GIVEREF(__pyx_tuple__87);
  __pyx_codeobj__88 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__87, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_strip_underscores, 367, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__88)) __PYX_ERR(0, 367, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":373
 *         return self.indentation_stack[-1]
 * 
 *     def open_bracket_action(self, text):             # <<<<<<<<<<<<<<
 *         self.bracket_nesting_level += 1
 *         return text
 */
  __pyx_tuple__89 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_text); if (unlikely(!__pyx_tuple__89)) __PYX_ERR(0, 373, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__89);
  __Pyx_GIVEREF(__pyx_tuple__89);
  __pyx_codeobj__90 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__89, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_open_bracket_action, 373, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__90)) __PYX_ERR(0, 373, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":377
 *         return text
 * 
 *     def close_bracket_action(self, text):             # <<<<<<<<<<<<<<
 *         self.bracket_nesting_level -= 1
 *         return text
 */
  __pyx_tuple__91 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_text); if (unlikely(!__pyx_tuple__91)) __PYX_ERR(0, 377, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__91);
  __Pyx_GIVEREF(__pyx_tuple__91);
  __pyx_codeobj__92 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__91, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_close_bracket_action, 377, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__92)) __PYX_ERR(0, 377, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":381
 *         return text
 * 
 *     def newline_action(self, text):             # <<<<<<<<<<<<<<
 *         if self.bracket_nesting_level == 0:
 *             self.begin('INDENT')
 */
  __pyx_tuple__93 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_text); if (unlikely(!__pyx_tuple__93)) __PYX_ERR(0, 381, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__93);
  __Pyx_GIVEREF(__pyx_tuple__93);
  __pyx_codeobj__94 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__93, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_newline_action, 381, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__94)) __PYX_ERR(0, 381, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":393
 *     }
 * 
 *     def begin_string_action(self, text):             # <<<<<<<<<<<<<<
 *         while text[:1] in any_string_prefix:
 *             text = text[1:]
 */
  __pyx_tuple__98 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_text); if (unlikely(!__pyx_tuple__98)) __PYX_ERR(0, 393, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__98);
  __Pyx_GIVEREF(__pyx_tuple__98);
  __pyx_codeobj__99 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__98, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_begin_string_action, 393, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__99)) __PYX_ERR(0, 393, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":399
 *         self.produce('BEGIN_STRING')
 * 
 *     def end_string_action(self, text):             # <<<<<<<<<<<<<<
 *         self.begin('')
 *         self.produce('END_STRING')
 */
  __pyx_tuple__100 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_text); if (unlikely(!__pyx_tuple__100)) __PYX_ERR(0, 399, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__100);
  __Pyx_GIVEREF(__pyx_tuple__100);
  __pyx_codeobj__101 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__100, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_end_string_action, 399, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__101)) __PYX_ERR(0, 399, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":403
 *         self.produce('END_STRING')
 * 
 *     def unclosed_string_action(self, text):             # <<<<<<<<<<<<<<
 *         self.end_string_action(text)
 *         self.error("Unclosed string literal")
 */
  __pyx_tuple__102 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_text); if (unlikely(!__pyx_tuple__102)) __PYX_ERR(0, 403, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__102);
  __Pyx_GIVEREF(__pyx_tuple__102);
  __pyx_codeobj__103 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__102, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_unclosed_string_action, 403, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__103)) __PYX_ERR(0, 403, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":407
 *         self.error("Unclosed string literal")
 * 
 *     def indentation_action(self, text):             # <<<<<<<<<<<<<<
 *         self.begin('')
 *         # Indentation within brackets should be ignored.
 */
  __pyx_tuple__104 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_text); if (unlikely(!__pyx_tuple__104)) __PYX_ERR(0, 407, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__104);
  __Pyx_GIVEREF(__pyx_tuple__104);
  __pyx_codeobj__105 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__104, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_indentation_action, 407, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__105)) __PYX_ERR(0, 407, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":443
 *                 self.error("Inconsistent indentation")
 * 
 *     def eof_action(self, text):             # <<<<<<<<<<<<<<
 *         while len(self.indentation_stack) > 1:
 *             self.produce('DEDENT', '')
 */
  __pyx_tuple__106 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_text); if (unlikely(!__pyx_tuple__106)) __PYX_ERR(0, 443, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__106);
  __Pyx_GIVEREF(__pyx_tuple__106);
  __pyx_codeobj__107 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__106, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_eof_action, 443, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__107)) __PYX_ERR(0, 443, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":449
 *         self.produce('EOF', '')
 * 
 *     def next(self):             # <<<<<<<<<<<<<<
 *         try:
 *             sy, systring = self.read()
 */
  __pyx_tuple__108 = PyTuple_Pack(3, __pyx_n_s_self, __pyx_n_s_sy, __pyx_n_s_systring); if (unlikely(!__pyx_tuple__108)) __PYX_ERR(0, 449, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__108);
  __Pyx_GIVEREF(__pyx_tuple__108);
  __pyx_codeobj__109 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__108, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_next, 449, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__109)) __PYX_ERR(0, 449, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":474
 *             print("--- %3d %2d %s" % (line, col, t))
 * 
 *     def peek(self):             # <<<<<<<<<<<<<<
 *         saved = self.sy, self.systring
 *         self.next()
 */
  __pyx_tuple__110 = PyTuple_Pack(3, __pyx_n_s_self, __pyx_n_s_saved, __pyx_n_s_next); if (unlikely(!__pyx_tuple__110)) __PYX_ERR(0, 474, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__110);
  __Pyx_GIVEREF(__pyx_tuple__110);
  __pyx_codeobj__111 = (PyObject*)__Pyx_PyCode_New(1, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__110, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_peek, 474, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__111)) __PYX_ERR(0, 474, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":482
 *         return next
 * 
 *     def put_back(self, sy, systring):             # <<<<<<<<<<<<<<
 *         self.unread(self.sy, self.systring)
 *         self.sy = sy
 */
  __pyx_tuple__112 = PyTuple_Pack(3, __pyx_n_s_self, __pyx_n_s_sy, __pyx_n_s_systring); if (unlikely(!__pyx_tuple__112)) __PYX_ERR(0, 482, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__112);
  __Pyx_GIVEREF(__pyx_tuple__112);
  __pyx_codeobj__113 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__112, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_put_back, 482, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__113)) __PYX_ERR(0, 482, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":487
 *         self.systring = systring
 * 
 *     def unread(self, token, value):             # <<<<<<<<<<<<<<
 *         # This method should be added to Plex
 *         self.queue.insert(0, (token, value))
 */
  __pyx_tuple__114 = PyTuple_Pack(3, __pyx_n_s_self, __pyx_n_s_token, __pyx_n_s_value); if (unlikely(!__pyx_tuple__114)) __PYX_ERR(0, 487, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__114);
  __Pyx_GIVEREF(__pyx_tuple__114);
  __pyx_codeobj__115 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__114, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_unread, 487, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__115)) __PYX_ERR(0, 487, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":491
 *         self.queue.insert(0, (token, value))
 * 
 *     def error(self, message, pos=None, fatal=True):             # <<<<<<<<<<<<<<
 *         if pos is None:
 *             pos = self.position()
 */
  __pyx_tuple__116 = PyTuple_Pack(5, __pyx_n_s_self, __pyx_n_s_message, __pyx_n_s_pos, __pyx_n_s_fatal, __pyx_n_s_err); if (unlikely(!__pyx_tuple__116)) __PYX_ERR(0, 491, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__116);
  __Pyx_GIVEREF(__pyx_tuple__116);
  __pyx_codeobj__117 = (PyObject*)__Pyx_PyCode_New(4, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__116, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_error, 491, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__117)) __PYX_ERR(0, 491, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":499
 *         if fatal: raise err
 * 
 *     def expect(self, what, message=None):             # <<<<<<<<<<<<<<
 *         if self.sy == what:
 *             self.next()
 */
  __pyx_tuple__118 = PyTuple_Pack(3, __pyx_n_s_self, __pyx_n_s_what, __pyx_n_s_message); if (unlikely(!__pyx_tuple__118)) __PYX_ERR(0, 499, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__118);
  __Pyx_GIVEREF(__pyx_tuple__118);
  __pyx_codeobj__119 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__118, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_expect, 499, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__119)) __PYX_ERR(0, 499, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":505
 *             self.expected(what, message)
 * 
 *     def expect_keyword(self, what, message=None):             # <<<<<<<<<<<<<<
 *         if self.sy == IDENT and self.systring == what:
 *             self.next()
 */
  __pyx_tuple__120 = PyTuple_Pack(3, __pyx_n_s_self, __pyx_n_s_what, __pyx_n_s_message); if (unlikely(!__pyx_tuple__120)) __PYX_ERR(0, 505, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__120);
  __Pyx_GIVEREF(__pyx_tuple__120);
  __pyx_codeobj__121 = (PyObject*)__Pyx_PyCode_New(3, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__120, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_expect_keyword, 505, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__121)) __PYX_ERR(0, 505, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":511
 *             self.expected(what, message)
 * 
 *     def expected(self, what, message=None):             # <<<<<<<<<<<<<<
 *         if message:
 *             self.error(message)
 */
  __pyx_tuple__122 = PyTuple_Pack(4, __pyx_n_s_self, __pyx_n_s_what, __pyx_n_s_message, __pyx_n_s_found_2); if (unlikely(!__pyx_tuple__122)) __PYX_ERR(0, 511, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__122);
  __Pyx_GIVEREF(__pyx_tuple__122);
  __pyx_codeobj__123 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__122, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_expected, 511, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__123)) __PYX_ERR(0, 511, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":521
 *             self.error("Expected '%s', found '%s'" % (what, found))
 * 
 *     def expect_indent(self):             # <<<<<<<<<<<<<<
 *         self.expect('INDENT', "Expected an increase in indentation level")
 * 
 */
  __pyx_tuple__124 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__124)) __PYX_ERR(0, 521, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__124);
  __Pyx_GIVEREF(__pyx_tuple__124);
  __pyx_codeobj__125 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__124, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_expect_indent, 521, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__125)) __PYX_ERR(0, 521, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":524
 *         self.expect('INDENT', "Expected an increase in indentation level")
 * 
 *     def expect_dedent(self):             # <<<<<<<<<<<<<<
 *         self.expect('DEDENT', "Expected a decrease in indentation level")
 * 
 */
  __pyx_tuple__126 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__126)) __PYX_ERR(0, 524, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__126);
  __Pyx_GIVEREF(__pyx_tuple__126);
  __pyx_codeobj__127 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__126, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_expect_dedent, 524, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__127)) __PYX_ERR(0, 524, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":527
 *         self.expect('DEDENT', "Expected a decrease in indentation level")
 * 
 *     def expect_newline(self, message="Expected a newline", ignore_semicolon=False):             # <<<<<<<<<<<<<<
 *         # Expect either a newline or end of file
 *         useless_trailing_semicolon = None
 */
  __pyx_tuple__128 = PyTuple_Pack(4, __pyx_n_s_self, __pyx_n_s_message, __pyx_n_s_ignore_semicolon, __pyx_n_s_useless_trailing_semicolon_2); if (unlikely(!__pyx_tuple__128)) __PYX_ERR(0, 527, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__128);
  __Pyx_GIVEREF(__pyx_tuple__128);
  __pyx_codeobj__129 = (PyObject*)__Pyx_PyCode_New(3, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__128, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_expect_newline, 527, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__129)) __PYX_ERR(0, 527, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":538
 *             warning(useless_trailing_semicolon, "useless trailing semicolon")
 * 
 *     def enter_async(self):             # <<<<<<<<<<<<<<
 *         self.async_enabled += 1
 *         if self.async_enabled == 1:
 */
  __pyx_tuple__130 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__130)) __PYX_ERR(0, 538, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__130);
  __Pyx_GIVEREF(__pyx_tuple__130);
  __pyx_codeobj__131 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__130, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_enter_async, 538, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__131)) __PYX_ERR(0, 538, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":544
 *             self.keywords.add('await')
 * 
 *     def exit_async(self):             # <<<<<<<<<<<<<<
 *         assert self.async_enabled > 0
 *         self.async_enabled -= 1
 */
  __pyx_tuple__132 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__132)) __PYX_ERR(0, 544, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_tuple__132);
  __Pyx_GIVEREF(__pyx_tuple__132);
  __pyx_codeobj__133 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__132, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Compiler_Scanning_py, __pyx_n_s_exit_async, 544, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__133)) __PYX_ERR(0, 544, __pyx_L1_error)
  __Pyx_RefNannyFinishContext();
  return 0;
  __pyx_L1_error:;
  __Pyx_RefNannyFinishContext();
  return -1;
}

static CYTHON_SMALL_CODE int __Pyx_InitGlobals(void) {
  __pyx_umethod_PyList_Type_pop.type = (PyObject*)&PyList_Type;
  if (__Pyx_InitStrings(__pyx_string_tab) < 0) __PYX_ERR(0, 1, __pyx_L1_error);
  __pyx_int_0 = PyInt_FromLong(0); if (unlikely(!__pyx_int_0)) __PYX_ERR(0, 1, __pyx_L1_error)
  __pyx_int_1 = PyInt_FromLong(1); if (unlikely(!__pyx_int_1)) __PYX_ERR(0, 1, __pyx_L1_error)
  __pyx_int_3 = PyInt_FromLong(3); if (unlikely(!__pyx_int_3)) __PYX_ERR(0, 1, __pyx_L1_error)
  return 0;
  __pyx_L1_error:;
  return -1;
}

static CYTHON_SMALL_CODE int __Pyx_modinit_global_init_code(void); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_variable_export_code(void); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_function_export_code(void); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_type_init_code(void); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_type_import_code(void); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_variable_import_code(void); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_function_import_code(void); /*proto*/

static int __Pyx_modinit_global_init_code(void) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__Pyx_modinit_global_init_code", 0);
  /*--- Global init code ---*/
  __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_make_lexicon = Py_None; Py_INCREF(Py_None);
  __pyx_v_6Cython_8Compiler_8Scanning_lexicon = Py_None; Py_INCREF(Py_None);
  __pyx_v_6Cython_8Compiler_8Scanning_print_function = Py_None; Py_INCREF(Py_None);
  __pyx_v_6Cython_8Compiler_8Scanning_error = Py_None; Py_INCREF(Py_None);
  __pyx_v_6Cython_8Compiler_8Scanning_warning = Py_None; Py_INCREF(Py_None);
  __pyx_v_6Cython_8Compiler_8Scanning_os = Py_None; Py_INCREF(Py_None);
  __pyx_v_6Cython_8Compiler_8Scanning_platform = Py_None; Py_INCREF(Py_None);
  __Pyx_RefNannyFinishContext();
  return 0;
}

static int __Pyx_modinit_variable_export_code(void) {
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__Pyx_modinit_variable_export_code", 0);
  /*--- Variable export code ---*/
  if (__Pyx_ExportVoidPtr(__pyx_n_s_any_string_prefix, (void *)&__pyx_v_6Cython_8Compiler_8Scanning_any_string_prefix, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportVoidPtr(__pyx_n_s_IDENT, (void *)&__pyx_v_6Cython_8Compiler_8Scanning_IDENT, "PyObject *") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  __Pyx_RefNannyFinishContext();
  return 0;
  __pyx_L1_error:;
  __Pyx_RefNannyFinishContext();
  return -1;
}

static int __Pyx_modinit_function_export_code(void) {
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__Pyx_modinit_function_export_code", 0);
  /*--- Function export code ---*/
  if (__Pyx_ExportFunction("get_lexicon", (void (*)(void))__pyx_f_6Cython_8Compiler_8Scanning_get_lexicon, "PyObject *(void)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_ExportFunction("initial_compile_time_env", (void (*)(void))__pyx_f_6Cython_8Compiler_8Scanning_initial_compile_time_env, "PyObject *(void)") < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  __Pyx_RefNannyFinishContext();
  return 0;
  __pyx_L1_error:;
  __Pyx_RefNannyFinishContext();
  return -1;
}

static int __Pyx_modinit_type_init_code(void) {
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__Pyx_modinit_type_init_code", 0);
  /*--- Type init code ---*/
  if (PyType_Ready(&__pyx_type_6Cython_8Compiler_8Scanning_Method) < 0) __PYX_ERR(0, 54, __pyx_L1_error)
  #if PY_VERSION_HEX < 0x030800B1
  __pyx_type_6Cython_8Compiler_8Scanning_Method.tp_print = 0;
  #endif
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_6Cython_8Compiler_8Scanning_Method.tp_dictoffset && __pyx_type_6Cython_8Compiler_8Scanning_Method.tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_type_6Cython_8Compiler_8Scanning_Method.tp_getattro = __Pyx_PyObject_GenericGetAttr;
  }
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s_Method, (PyObject *)&__pyx_type_6Cython_8Compiler_8Scanning_Method) < 0) __PYX_ERR(0, 54, __pyx_L1_error)
  __pyx_ptype_6Cython_8Compiler_8Scanning_Method = &__pyx_type_6Cython_8Compiler_8Scanning_Method;
  if (PyType_Ready(&__pyx_type_6Cython_8Compiler_8Scanning_CompileTimeScope) < 0) __PYX_ERR(0, 75, __pyx_L1_error)
  #if PY_VERSION_HEX < 0x030800B1
  __pyx_type_6Cython_8Compiler_8Scanning_CompileTimeScope.tp_print = 0;
  #endif
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_6Cython_8Compiler_8Scanning_CompileTimeScope.tp_dictoffset && __pyx_type_6Cython_8Compiler_8Scanning_CompileTimeScope.tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_type_6Cython_8Compiler_8Scanning_CompileTimeScope.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict;
  }
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s_CompileTimeScope, (PyObject *)&__pyx_type_6Cython_8Compiler_8Scanning_CompileTimeScope) < 0) __PYX_ERR(0, 75, __pyx_L1_error)
  __pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope = &__pyx_type_6Cython_8Compiler_8Scanning_CompileTimeScope;
  __pyx_t_1 = PyImport_ImportModule("Cython.Plex.Scanners"); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_ptype_6Cython_4Plex_8Scanners_Scanner = __Pyx_ImportType(__pyx_t_1, "Cython.Plex.Scanners", "Scanner", sizeof(struct __pyx_obj_6Cython_4Plex_8Scanners_Scanner), __Pyx_ImportType_CheckSize_Warn);
   if (!__pyx_ptype_6Cython_4Plex_8Scanners_Scanner) __PYX_ERR(0, 1, __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_ERR(0, 1, __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_type_6Cython_8Compiler_8Scanning_PyrexScanner.tp_base = __pyx_ptype_6Cython_4Plex_8Scanners_Scanner;
  if (PyType_Ready(&__pyx_type_6Cython_8Compiler_8Scanning_PyrexScanner) < 0) __PYX_ERR(0, 315, __pyx_L1_error)
  #if PY_VERSION_HEX < 0x030800B1
  __pyx_type_6Cython_8Compiler_8Scanning_PyrexScanner.tp_print = 0;
  #endif
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_type_6Cython_8Compiler_8Scanning_PyrexScanner.tp_dictoffset && __pyx_type_6Cython_8Compiler_8Scanning_PyrexScanner.tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_type_6Cython_8Compiler_8Scanning_PyrexScanner.tp_getattro = __Pyx_PyObject_GenericGetAttrNoDict;
  }
  if (__Pyx_SetVtable(__pyx_type_6Cython_8Compiler_8Scanning_PyrexScanner.tp_dict, __pyx_vtabptr_6Cython_8Compiler_8Scanning_PyrexScanner) < 0) __PYX_ERR(0, 315, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s_PyrexScanner, (PyObject *)&__pyx_type_6Cython_8Compiler_8Scanning_PyrexScanner) < 0) __PYX_ERR(0, 315, __pyx_L1_error)
  __pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner = &__pyx_type_6Cython_8Compiler_8Scanning_PyrexScanner;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_RefNannyFinishContext();
  return 0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_RefNannyFinishContext();
  return -1;
}

static int __Pyx_modinit_type_import_code(void) {
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__Pyx_modinit_type_import_code", 0);
  /*--- Type import code ---*/
  __pyx_t_1 = PyImport_ImportModule("Cython.Plex.Actions"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 2, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_ptype_6Cython_4Plex_7Actions_Action = __Pyx_ImportType(__pyx_t_1, "Cython.Plex.Actions", "Action", sizeof(struct __pyx_obj_6Cython_4Plex_7Actions_Action), __Pyx_ImportType_CheckSize_Warn);
   if (!__pyx_ptype_6Cython_4Plex_7Actions_Action) __PYX_ERR(2, 2, __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_ERR(2, 2, __pyx_L1_error)
  __pyx_ptype_6Cython_4Plex_7Actions_Return = __Pyx_ImportType(__pyx_t_1, "Cython.Plex.Actions", "Return", sizeof(struct __pyx_obj_6Cython_4Plex_7Actions_Return), __Pyx_ImportType_CheckSize_Warn);
   if (!__pyx_ptype_6Cython_4Plex_7Actions_Return) __PYX_ERR(2, 6, __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_ERR(2, 6, __pyx_L1_error)
  __pyx_ptype_6Cython_4Plex_7Actions_Call = __Pyx_ImportType(__pyx_t_1, "Cython.Plex.Actions", "Call", sizeof(struct __pyx_obj_6Cython_4Plex_7Actions_Call), __Pyx_ImportType_CheckSize_Warn);
   if (!__pyx_ptype_6Cython_4Plex_7Actions_Call) __PYX_ERR(2, 11, __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_ERR(2, 11, __pyx_L1_error)
  __pyx_ptype_6Cython_4Plex_7Actions_Begin = __Pyx_ImportType(__pyx_t_1, "Cython.Plex.Actions", "Begin", sizeof(struct __pyx_obj_6Cython_4Plex_7Actions_Begin), __Pyx_ImportType_CheckSize_Warn);
   if (!__pyx_ptype_6Cython_4Plex_7Actions_Begin) __PYX_ERR(2, 16, __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_ERR(2, 16, __pyx_L1_error)
  __pyx_ptype_6Cython_4Plex_7Actions_Ignore = __Pyx_ImportType(__pyx_t_1, "Cython.Plex.Actions", "Ignore", sizeof(struct __pyx_obj_6Cython_4Plex_7Actions_Ignore), __Pyx_ImportType_CheckSize_Warn);
   if (!__pyx_ptype_6Cython_4Plex_7Actions_Ignore) __PYX_ERR(2, 21, __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_ERR(2, 21, __pyx_L1_error)
  __pyx_ptype_6Cython_4Plex_7Actions_Text = __Pyx_ImportType(__pyx_t_1, "Cython.Plex.Actions", "Text", sizeof(struct __pyx_obj_6Cython_4Plex_7Actions_Text), __Pyx_ImportType_CheckSize_Warn);
   if (!__pyx_ptype_6Cython_4Plex_7Actions_Text) __PYX_ERR(2, 24, __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_ERR(2, 24, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_RefNannyFinishContext();
  return 0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_RefNannyFinishContext();
  return -1;
}

static int __Pyx_modinit_variable_import_code(void) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__Pyx_modinit_variable_import_code", 0);
  /*--- Variable import code ---*/
  __Pyx_RefNannyFinishContext();
  return 0;
}

static int __Pyx_modinit_function_import_code(void) {
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__Pyx_modinit_function_import_code", 0);
  /*--- Function import code ---*/
  __Pyx_RefNannyFinishContext();
  return 0;
}


#ifndef CYTHON_NO_PYINIT_EXPORT
#ifdef __cplusplus
#define __Pyx_PyMODINIT_FUNC extern "C" PyObject *
#else
#define __Pyx_PyMODINIT_FUNC PyObject *
#endif
#elif PY_MAJOR_VERSION < 3
#ifdef __cplusplus
#define __Pyx_PyMODINIT_FUNC extern "C" void
#else
#define __Pyx_PyMODINIT_FUNC void
#endif
#else
#ifdef __cplusplus
#define __Pyx_PyMODINIT_FUNC extern "C" PyObject *
#else
#define __Pyx_PyMODINIT_FUNC PyObject *
#endif
#endif


#if PY_MAJOR_VERSION < 3
__Pyx_PyMODINIT_FUNC initScanning(void) CYTHON_SMALL_CODE; /*proto*/
__Pyx_PyMODINIT_FUNC initScanning(void)
#else
__Pyx_PyMODINIT_FUNC PyInit_Scanning(void) CYTHON_SMALL_CODE; /*proto*/
__Pyx_PyMODINIT_FUNC PyInit_Scanning(void)
#if CYTHON_PEP489_MULTI_PHASE_INIT
{
  return PyModuleDef_Init(&__pyx_moduledef);
}
static CYTHON_SMALL_CODE int __Pyx_check_single_interpreter(void) {
    #if PY_VERSION_HEX >= 0x030700A1
    static PY_INT64_T main_interpreter_id = -1;
    PY_INT64_T current_id = PyInterpreterState_GetID(PyThreadState_Get()->interp);
    if (main_interpreter_id == -1) {
        main_interpreter_id = current_id;
        return (unlikely(current_id == -1)) ? -1 : 0;
    } else if (unlikely(main_interpreter_id != current_id))
    #else
    static PyInterpreterState *main_interpreter = NULL;
    PyInterpreterState *current_interpreter = PyThreadState_Get()->interp;
    if (!main_interpreter) {
        main_interpreter = current_interpreter;
    } else if (unlikely(main_interpreter != current_interpreter))
    #endif
    {
        PyErr_SetString(
            PyExc_ImportError,
            "Interpreter change detected - this module can only be loaded into one interpreter per process.");
        return -1;
    }
    return 0;
}
static CYTHON_SMALL_CODE int __Pyx_copy_spec_to_module(PyObject *spec, PyObject *moddict, const char* from_name, const char* to_name, int allow_none) {
    PyObject *value = PyObject_GetAttrString(spec, from_name);
    int result = 0;
    if (likely(value)) {
        if (allow_none || value != Py_None) {
            result = PyDict_SetItemString(moddict, to_name, value);
        }
        Py_DECREF(value);
    } else if (PyErr_ExceptionMatches(PyExc_AttributeError)) {
        PyErr_Clear();
    } else {
        result = -1;
    }
    return result;
}
static CYTHON_SMALL_CODE PyObject* __pyx_pymod_create(PyObject *spec, CYTHON_UNUSED PyModuleDef *def) {
    PyObject *module = NULL, *moddict, *modname;
    if (__Pyx_check_single_interpreter())
        return NULL;
    if (__pyx_m)
        return __Pyx_NewRef(__pyx_m);
    modname = PyObject_GetAttrString(spec, "name");
    if (unlikely(!modname)) goto bad;
    module = PyModule_NewObject(modname);
    Py_DECREF(modname);
    if (unlikely(!module)) goto bad;
    moddict = PyModule_GetDict(module);
    if (unlikely(!moddict)) goto bad;
    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "loader", "__loader__", 1) < 0)) goto bad;
    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "origin", "__file__", 1) < 0)) goto bad;
    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "parent", "__package__", 1) < 0)) goto bad;
    if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "submodule_search_locations", "__path__", 0) < 0)) goto bad;
    return module;
bad:
    Py_XDECREF(module);
    return NULL;
}


static CYTHON_SMALL_CODE int __pyx_pymod_exec_Scanning(PyObject *__pyx_pyinit_module)
#endif
#endif
{
  PyObject *__pyx_t_1 = NULL;
  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_RefNannyDeclarations
  #if CYTHON_PEP489_MULTI_PHASE_INIT
  if (__pyx_m) {
    if (__pyx_m == __pyx_pyinit_module) return 0;
    PyErr_SetString(PyExc_RuntimeError, "Module 'Scanning' has already been imported. Re-initialisation is not supported.");
    return -1;
  }
  #elif PY_MAJOR_VERSION >= 3
  if (__pyx_m) return __Pyx_NewRef(__pyx_m);
  #endif
  #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("__Pyx_PyMODINIT_FUNC PyInit_Scanning(void)", 0);
  if (__Pyx_check_binary_version() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  #ifdef __Pxy_PyFrame_Initialize_Offsets
  __Pxy_PyFrame_Initialize_Offsets();
  #endif
  __pyx_empty_tuple = PyTuple_New(0); if (unlikely(!__pyx_empty_tuple)) __PYX_ERR(0, 1, __pyx_L1_error)
  __pyx_empty_bytes = PyBytes_FromStringAndSize("", 0); if (unlikely(!__pyx_empty_bytes)) __PYX_ERR(0, 1, __pyx_L1_error)
  __pyx_empty_unicode = PyUnicode_FromStringAndSize("", 0); if (unlikely(!__pyx_empty_unicode)) __PYX_ERR(0, 1, __pyx_L1_error)
  #ifdef __Pyx_CyFunction_USED
  if (__pyx_CyFunction_init() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  #endif
  #ifdef __Pyx_FusedFunction_USED
  if (__pyx_FusedFunction_init() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  #endif
  #ifdef __Pyx_Coroutine_USED
  if (__pyx_Coroutine_init() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  #endif
  #ifdef __Pyx_Generator_USED
  if (__pyx_Generator_init() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  #endif
  #ifdef __Pyx_AsyncGen_USED
  if (__pyx_AsyncGen_init() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  #endif
  #ifdef __Pyx_StopAsyncIteration_USED
  if (__pyx_StopAsyncIteration_init() < 0) __PYX_ERR(0, 1, __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 CYTHON_PEP489_MULTI_PHASE_INIT
  __pyx_m = __pyx_pyinit_module;
  Py_INCREF(__pyx_m);
  #else
  #if PY_MAJOR_VERSION < 3
  __pyx_m = Py_InitModule4("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_ERR(0, 1, __pyx_L1_error)
  #endif
  __pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) __PYX_ERR(0, 1, __pyx_L1_error)
  Py_INCREF(__pyx_d);
  __pyx_b = PyImport_AddModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error)
  Py_INCREF(__pyx_b);
  __pyx_cython_runtime = PyImport_AddModule((char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
  Py_INCREF(__pyx_cython_runtime);
  if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) __PYX_ERR(0, 1, __pyx_L1_error);
  /*--- Initialize various global constants etc. ---*/
  if (__Pyx_InitGlobals() < 0) __PYX_ERR(0, 1, __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_ERR(0, 1, __pyx_L1_error)
  #endif
  if (__pyx_module_is_main_Cython__Compiler__Scanning) {
    if (PyObject_SetAttr(__pyx_m, __pyx_n_s_name_2, __pyx_n_s_main) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  }
  #if PY_MAJOR_VERSION >= 3
  {
    PyObject *modules = PyImport_GetModuleDict(); if (unlikely(!modules)) __PYX_ERR(0, 1, __pyx_L1_error)
    if (!PyDict_GetItemString(modules, "Cython.Compiler.Scanning")) {
      if (unlikely(PyDict_SetItemString(modules, "Cython.Compiler.Scanning", __pyx_m) < 0)) __PYX_ERR(0, 1, __pyx_L1_error)
    }
  }
  #endif
  /*--- Builtin init code ---*/
  if (__Pyx_InitCachedBuiltins() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  /*--- Constants init code ---*/
  if (__Pyx_InitCachedConstants() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  /*--- Global type/function init code ---*/
  (void)__Pyx_modinit_global_init_code();
  if (unlikely(__Pyx_modinit_variable_export_code() < 0)) __PYX_ERR(0, 1, __pyx_L1_error)
  if (unlikely(__Pyx_modinit_function_export_code() < 0)) __PYX_ERR(0, 1, __pyx_L1_error)
  if (unlikely(__Pyx_modinit_type_init_code() < 0)) __PYX_ERR(0, 1, __pyx_L1_error)
  if (unlikely(__Pyx_modinit_type_import_code() < 0)) __PYX_ERR(0, 1, __pyx_L1_error)
  (void)__Pyx_modinit_variable_import_code();
  (void)__Pyx_modinit_function_import_code();
  /*--- Execution code ---*/
  #if defined(__Pyx_Generator_USED) || defined(__Pyx_Coroutine_USED)
  if (__Pyx_patch_abc() < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  #endif

  /* "Cython/Compiler/Scanning.py":13
 *                os=object, platform=object)
 * 
 * import os             # <<<<<<<<<<<<<<
 * import platform
 * 
 */
  __pyx_t_1 = __Pyx_Import(__pyx_n_s_os, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 13, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_XGOTREF(__pyx_v_6Cython_8Compiler_8Scanning_os);
  __Pyx_DECREF_SET(__pyx_v_6Cython_8Compiler_8Scanning_os, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":14
 * 
 * import os
 * import platform             # <<<<<<<<<<<<<<
 * 
 * from .. import Utils
 */
  __pyx_t_1 = __Pyx_Import(__pyx_n_s_platform, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 14, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_XGOTREF(__pyx_v_6Cython_8Compiler_8Scanning_platform);
  __Pyx_DECREF_SET(__pyx_v_6Cython_8Compiler_8Scanning_platform, __pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":16
 * import platform
 * 
 * from .. import Utils             # <<<<<<<<<<<<<<
 * from ..Plex.Scanners import Scanner
 * from ..Plex.Errors import UnrecognizedInput
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 16, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_s_Utils);
  __Pyx_GIVEREF(__pyx_n_s_Utils);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_s_Utils);
  __pyx_t_2 = __Pyx_Import(__pyx_n_s__11, __pyx_t_1, 2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 16, __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_ERR(0, 16, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_Utils, __pyx_t_1) < 0) __PYX_ERR(0, 16, __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":17
 * 
 * from .. import Utils
 * from ..Plex.Scanners import Scanner             # <<<<<<<<<<<<<<
 * from ..Plex.Errors import UnrecognizedInput
 * from .Errors import error, warning
 */
  __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 17, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_n_s_Scanner);
  __Pyx_GIVEREF(__pyx_n_s_Scanner);
  PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_Scanner);
  __pyx_t_1 = __Pyx_Import(__pyx_n_s_Plex_Scanners, __pyx_t_2, 2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 17, __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":18
 * from .. import Utils
 * from ..Plex.Scanners import Scanner
 * from ..Plex.Errors import UnrecognizedInput             # <<<<<<<<<<<<<<
 * from .Errors import error, warning
 * from .Lexicon import any_string_prefix, make_lexicon, IDENT
 */
  __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 18, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_s_UnrecognizedInput);
  __Pyx_GIVEREF(__pyx_n_s_UnrecognizedInput);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_s_UnrecognizedInput);
  __pyx_t_2 = __Pyx_Import(__pyx_n_s_Plex_Errors, __pyx_t_1, 2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 18, __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_ERR(0, 18, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_UnrecognizedInput, __pyx_t_1) < 0) __PYX_ERR(0, 18, __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":19
 * from ..Plex.Scanners import Scanner
 * from ..Plex.Errors import UnrecognizedInput
 * from .Errors import error, warning             # <<<<<<<<<<<<<<
 * from .Lexicon import any_string_prefix, make_lexicon, IDENT
 * from .Future import print_function
 */
  __pyx_t_2 = PyList_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 19, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_n_s_error);
  __Pyx_GIVEREF(__pyx_n_s_error);
  PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_error);
  __Pyx_INCREF(__pyx_n_s_warning);
  __Pyx_GIVEREF(__pyx_n_s_warning);
  PyList_SET_ITEM(__pyx_t_2, 1, __pyx_n_s_warning);
  __pyx_t_1 = __Pyx_Import(__pyx_n_s_Errors, __pyx_t_2, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 19, __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_ERR(0, 19, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_t_2);
  __Pyx_XGOTREF(__pyx_v_6Cython_8Compiler_8Scanning_error);
  __Pyx_DECREF_SET(__pyx_v_6Cython_8Compiler_8Scanning_error, __pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_1, __pyx_n_s_warning); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 19, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_t_2);
  __Pyx_XGOTREF(__pyx_v_6Cython_8Compiler_8Scanning_warning);
  __Pyx_DECREF_SET(__pyx_v_6Cython_8Compiler_8Scanning_warning, __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 ..Plex.Errors import UnrecognizedInput
 * from .Errors import error, warning
 * 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_ERR(0, 20, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_s_any_string_prefix);
  __Pyx_GIVEREF(__pyx_n_s_any_string_prefix);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_s_any_string_prefix);
  __Pyx_INCREF(__pyx_n_s_make_lexicon);
  __Pyx_GIVEREF(__pyx_n_s_make_lexicon);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_s_make_lexicon);
  __Pyx_INCREF(__pyx_n_s_IDENT);
  __Pyx_GIVEREF(__pyx_n_s_IDENT);
  PyList_SET_ITEM(__pyx_t_1, 2, __pyx_n_s_IDENT);
  __pyx_t_2 = __Pyx_Import(__pyx_n_s_Lexicon, __pyx_t_1, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 20, __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_ERR(0, 20, __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_ERR(0, 20, __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_ERR(0, 20, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_t_1);
  __Pyx_XGOTREF(__pyx_v_6Cython_8Compiler_8Scanning_make_lexicon);
  __Pyx_DECREF_SET(__pyx_v_6Cython_8Compiler_8Scanning_make_lexicon, __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_IDENT); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 20, __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_ERR(0, 20, __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":21
 * from .Errors import error, warning
 * from .Lexicon import any_string_prefix, make_lexicon, IDENT
 * from .Future import print_function             # <<<<<<<<<<<<<<
 * 
 * debug_scanner = 0
 */
  __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 21, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_n_s_print_function);
  __Pyx_GIVEREF(__pyx_n_s_print_function);
  PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_print_function);
  __pyx_t_1 = __Pyx_Import(__pyx_n_s_Future, __pyx_t_2, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 21, __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_ERR(0, 21, __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":23
 * from .Future import print_function
 * 
 * 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_ERR(0, 23, __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_trace_scanner, __pyx_int_0) < 0) __PYX_ERR(0, 24, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":25
 * 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_ERR(0, 25, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":26
 * 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_ERR(0, 26, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":28
 * scanner_dump_file = None
 * 
 * lexicon = None             # <<<<<<<<<<<<<<
 * 
 * 
 */
  __Pyx_INCREF(Py_None);
  __Pyx_XGOTREF(__pyx_v_6Cython_8Compiler_8Scanning_lexicon);
  __Pyx_DECREF_SET(__pyx_v_6Cython_8Compiler_8Scanning_lexicon, Py_None);
  __Pyx_GIVEREF(Py_None);

  /* "Cython/Compiler/Scanning.py":40
 * #------------------------------------------------------------------
 * 
 * py_reserved_words = [             # <<<<<<<<<<<<<<
 *     "global", "nonlocal", "def", "class", "print", "del", "pass", "break",
 *     "continue", "return", "raise", "import", "exec", "try",
 */
  __pyx_t_1 = PyList_New(31); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 40, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_n_u_global);
  __Pyx_GIVEREF(__pyx_n_u_global);
  PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_u_global);
  __Pyx_INCREF(__pyx_n_u_nonlocal);
  __Pyx_GIVEREF(__pyx_n_u_nonlocal);
  PyList_SET_ITEM(__pyx_t_1, 1, __pyx_n_u_nonlocal);
  __Pyx_INCREF(__pyx_n_u_def);
  __Pyx_GIVEREF(__pyx_n_u_def);
  PyList_SET_ITEM(__pyx_t_1, 2, __pyx_n_u_def);
  __Pyx_INCREF(__pyx_n_u_class);
  __Pyx_GIVEREF(__pyx_n_u_class);
  PyList_SET_ITEM(__pyx_t_1, 3, __pyx_n_u_class);
  __Pyx_INCREF(__pyx_n_u_print);
  __Pyx_GIVEREF(__pyx_n_u_print);
  PyList_SET_ITEM(__pyx_t_1, 4, __pyx_n_u_print);
  __Pyx_INCREF(__pyx_n_u_del);
  __Pyx_GIVEREF(__pyx_n_u_del);
  PyList_SET_ITEM(__pyx_t_1, 5, __pyx_n_u_del);
  __Pyx_INCREF(__pyx_n_u_pass);
  __Pyx_GIVEREF(__pyx_n_u_pass);
  PyList_SET_ITEM(__pyx_t_1, 6, __pyx_n_u_pass);
  __Pyx_INCREF(__pyx_n_u_break);
  __Pyx_GIVEREF(__pyx_n_u_break);
  PyList_SET_ITEM(__pyx_t_1, 7, __pyx_n_u_break);
  __Pyx_INCREF(__pyx_n_u_continue);
  __Pyx_GIVEREF(__pyx_n_u_continue);
  PyList_SET_ITEM(__pyx_t_1, 8, __pyx_n_u_continue);
  __Pyx_INCREF(__pyx_n_u_return);
  __Pyx_GIVEREF(__pyx_n_u_return);
  PyList_SET_ITEM(__pyx_t_1, 9, __pyx_n_u_return);
  __Pyx_INCREF(__pyx_n_u_raise);
  __Pyx_GIVEREF(__pyx_n_u_raise);
  PyList_SET_ITEM(__pyx_t_1, 10, __pyx_n_u_raise);
  __Pyx_INCREF(__pyx_n_u_import_2);
  __Pyx_GIVEREF(__pyx_n_u_import_2);
  PyList_SET_ITEM(__pyx_t_1, 11, __pyx_n_u_import_2);
  __Pyx_INCREF(__pyx_n_u_exec);
  __Pyx_GIVEREF(__pyx_n_u_exec);
  PyList_SET_ITEM(__pyx_t_1, 12, __pyx_n_u_exec);
  __Pyx_INCREF(__pyx_n_u_try);
  __Pyx_GIVEREF(__pyx_n_u_try);
  PyList_SET_ITEM(__pyx_t_1, 13, __pyx_n_u_try);
  __Pyx_INCREF(__pyx_n_u_except);
  __Pyx_GIVEREF(__pyx_n_u_except);
  PyList_SET_ITEM(__pyx_t_1, 14, __pyx_n_u_except);
  __Pyx_INCREF(__pyx_n_u_finally);
  __Pyx_GIVEREF(__pyx_n_u_finally);
  PyList_SET_ITEM(__pyx_t_1, 15, __pyx_n_u_finally);
  __Pyx_INCREF(__pyx_n_u_while);
  __Pyx_GIVEREF(__pyx_n_u_while);
  PyList_SET_ITEM(__pyx_t_1, 16, __pyx_n_u_while);
  __Pyx_INCREF(__pyx_n_u_if);
  __Pyx_GIVEREF(__pyx_n_u_if);
  PyList_SET_ITEM(__pyx_t_1, 17, __pyx_n_u_if);
  __Pyx_INCREF(__pyx_n_u_elif);
  __Pyx_GIVEREF(__pyx_n_u_elif);
  PyList_SET_ITEM(__pyx_t_1, 18, __pyx_n_u_elif);
  __Pyx_INCREF(__pyx_n_u_else);
  __Pyx_GIVEREF(__pyx_n_u_else);
  PyList_SET_ITEM(__pyx_t_1, 19, __pyx_n_u_else);
  __Pyx_INCREF(__pyx_n_u_for);
  __Pyx_GIVEREF(__pyx_n_u_for);
  PyList_SET_ITEM(__pyx_t_1, 20, __pyx_n_u_for);
  __Pyx_INCREF(__pyx_n_u_in);
  __Pyx_GIVEREF(__pyx_n_u_in);
  PyList_SET_ITEM(__pyx_t_1, 21, __pyx_n_u_in);
  __Pyx_INCREF(__pyx_n_u_assert);
  __Pyx_GIVEREF(__pyx_n_u_assert);
  PyList_SET_ITEM(__pyx_t_1, 22, __pyx_n_u_assert);
  __Pyx_INCREF(__pyx_n_u_and);
  __Pyx_GIVEREF(__pyx_n_u_and);
  PyList_SET_ITEM(__pyx_t_1, 23, __pyx_n_u_and);
  __Pyx_INCREF(__pyx_n_u_or);
  __Pyx_GIVEREF(__pyx_n_u_or);
  PyList_SET_ITEM(__pyx_t_1, 24, __pyx_n_u_or);
  __Pyx_INCREF(__pyx_n_u_not);
  __Pyx_GIVEREF(__pyx_n_u_not);
  PyList_SET_ITEM(__pyx_t_1, 25, __pyx_n_u_not);
  __Pyx_INCREF(__pyx_n_u_is);
  __Pyx_GIVEREF(__pyx_n_u_is);
  PyList_SET_ITEM(__pyx_t_1, 26, __pyx_n_u_is);
  __Pyx_INCREF(__pyx_n_u_lambda);
  __Pyx_GIVEREF(__pyx_n_u_lambda);
  PyList_SET_ITEM(__pyx_t_1, 27, __pyx_n_u_lambda);
  __Pyx_INCREF(__pyx_n_u_from);
  __Pyx_GIVEREF(__pyx_n_u_from);
  PyList_SET_ITEM(__pyx_t_1, 28, __pyx_n_u_from);
  __Pyx_INCREF(__pyx_n_u_yield);
  __Pyx_GIVEREF(__pyx_n_u_yield);
  PyList_SET_ITEM(__pyx_t_1, 29, __pyx_n_u_yield);
  __Pyx_INCREF(__pyx_n_u_with);
  __Pyx_GIVEREF(__pyx_n_u_with);
  PyList_SET_ITEM(__pyx_t_1, 30, __pyx_n_u_with);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_py_reserved_words, __pyx_t_1) < 0) __PYX_ERR(0, 40, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":48
 * ]
 * 
 * pyx_reserved_words = py_reserved_words + [             # <<<<<<<<<<<<<<
 *     "include", "ctypedef", "cdef", "cpdef",
 *     "cimport", "DEF", "IF", "ELIF", "ELSE"
 */
  __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_py_reserved_words); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 48, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyList_New(9); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 48, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_n_u_include);
  __Pyx_GIVEREF(__pyx_n_u_include);
  PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_u_include);
  __Pyx_INCREF(__pyx_n_u_ctypedef);
  __Pyx_GIVEREF(__pyx_n_u_ctypedef);
  PyList_SET_ITEM(__pyx_t_2, 1, __pyx_n_u_ctypedef);
  __Pyx_INCREF(__pyx_n_u_cdef);
  __Pyx_GIVEREF(__pyx_n_u_cdef);
  PyList_SET_ITEM(__pyx_t_2, 2, __pyx_n_u_cdef);
  __Pyx_INCREF(__pyx_n_u_cpdef);
  __Pyx_GIVEREF(__pyx_n_u_cpdef);
  PyList_SET_ITEM(__pyx_t_2, 3, __pyx_n_u_cpdef);
  __Pyx_INCREF(__pyx_n_u_cimport);
  __Pyx_GIVEREF(__pyx_n_u_cimport);
  PyList_SET_ITEM(__pyx_t_2, 4, __pyx_n_u_cimport);
  __Pyx_INCREF(__pyx_n_u_DEF);
  __Pyx_GIVEREF(__pyx_n_u_DEF);
  PyList_SET_ITEM(__pyx_t_2, 5, __pyx_n_u_DEF);
  __Pyx_INCREF(__pyx_n_u_IF);
  __Pyx_GIVEREF(__pyx_n_u_IF);
  PyList_SET_ITEM(__pyx_t_2, 6, __pyx_n_u_IF);
  __Pyx_INCREF(__pyx_n_u_ELIF);
  __Pyx_GIVEREF(__pyx_n_u_ELIF);
  PyList_SET_ITEM(__pyx_t_2, 7, __pyx_n_u_ELIF);
  __Pyx_INCREF(__pyx_n_u_ELSE);
  __Pyx_GIVEREF(__pyx_n_u_ELSE);
  PyList_SET_ITEM(__pyx_t_2, 8, __pyx_n_u_ELSE);
  __pyx_t_3 = PyNumber_Add(__pyx_t_1, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 48, __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 (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_reserved_words, __pyx_t_3) < 0) __PYX_ERR(0, 48, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "Cython/Compiler/Scanning.py":66
 *         return method(text, **self.kwargs) if self.kwargs is not None else method(text)
 * 
 *     def __copy__(self):             # <<<<<<<<<<<<<<
 *         return self  # immutable, no need to copy
 * 
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_6Method_5__copy__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_Method___copy, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__20)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 66, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_Method->tp_dict, __pyx_n_s_copy, __pyx_t_3) < 0) __PYX_ERR(0, 66, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_Method);

  /* "Cython/Compiler/Scanning.py":69
 *         return self  # immutable, no need to copy
 * 
 *     def __deepcopy__(self, memo):             # <<<<<<<<<<<<<<
 *         return self  # immutable, no need to copy
 * 
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_6Method_7__deepcopy__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_Method___deepcopy, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__22)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 69, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_Method->tp_dict, __pyx_n_s_deepcopy, __pyx_t_3) < 0) __PYX_ERR(0, 69, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_Method);

  /* "Cython/Compiler/Scanning.py":81
 *         self.outer = outer
 * 
 *     def declare(self, name, value):             # <<<<<<<<<<<<<<
 *         self.entries[name] = value
 * 
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_16CompileTimeScope_3declare, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_CompileTimeScope_declare, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__24)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 81, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope->tp_dict, __pyx_n_s_declare, __pyx_t_3) < 0) __PYX_ERR(0, 81, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope);

  /* "Cython/Compiler/Scanning.py":84
 *         self.entries[name] = value
 * 
 *     def update(self, other):             # <<<<<<<<<<<<<<
 *         self.entries.update(other)
 * 
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_16CompileTimeScope_5update, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_CompileTimeScope_update, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__26)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 84, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope->tp_dict, __pyx_n_s_update, __pyx_t_3) < 0) __PYX_ERR(0, 84, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope);

  /* "Cython/Compiler/Scanning.py":87
 *         self.entries.update(other)
 * 
 *     def lookup_here(self, name):             # <<<<<<<<<<<<<<
 *         return self.entries[name]
 * 
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_16CompileTimeScope_7lookup_here, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_CompileTimeScope_lookup_here, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__28)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 87, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope->tp_dict, __pyx_n_s_lookup_here, __pyx_t_3) < 0) __PYX_ERR(0, 87, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope);

  /* "Cython/Compiler/Scanning.py":93
 *         return name in self.entries
 * 
 *     def lookup(self, name):             # <<<<<<<<<<<<<<
 *         try:
 *             return self.lookup_here(name)
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_16CompileTimeScope_11lookup, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_CompileTimeScope_lookup, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__30)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 93, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope->tp_dict, __pyx_n_s_lookup, __pyx_t_3) < 0) __PYX_ERR(0, 93, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_CompileTimeScope);

  /* "Cython/Compiler/Scanning.py":146
 * #------------------------------------------------------------------
 * 
 * class SourceDescriptor(object):             # <<<<<<<<<<<<<<
 *     """
 *     A SourceDescriptor should be considered immutable.
 */
  __pyx_t_3 = __Pyx_CalculateMetaclass(NULL, __pyx_tuple__31); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 146, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_2 = __Pyx_Py3MetaclassPrepare(__pyx_t_3, __pyx_tuple__31, __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_ERR(0, 146, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);

  /* "Cython/Compiler/Scanning.py":150
 *     A SourceDescriptor should be considered immutable.
 *     """
 *     filename = None             # <<<<<<<<<<<<<<
 * 
 *     _file_type = 'pyx'
 */
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_filename, Py_None) < 0) __PYX_ERR(0, 150, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":152
 *     filename = None
 * 
 *     _file_type = 'pyx'             # <<<<<<<<<<<<<<
 * 
 *     _escaped_description = None
 */
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_file_type, __pyx_n_u_pyx_2) < 0) __PYX_ERR(0, 152, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":154
 *     _file_type = 'pyx'
 * 
 *     _escaped_description = None             # <<<<<<<<<<<<<<
 *     _cmp_name = ''
 *     def __str__(self):
 */
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_escaped_description, Py_None) < 0) __PYX_ERR(0, 154, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":155
 * 
 *     _escaped_description = None
 *     _cmp_name = ''             # <<<<<<<<<<<<<<
 *     def __str__(self):
 *         assert False # To catch all places where a descriptor is used directly as a filename
 */
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_cmp_name, __pyx_kp_u__11) < 0) __PYX_ERR(0, 155, __pyx_L1_error)

  /* "Cython/Compiler/Scanning.py":156
 *     _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_1 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_1__str__, 0, __pyx_n_s_SourceDescriptor___str, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__33)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 156, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_str_2, __pyx_t_1) < 0) __PYX_ERR(0, 156, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":159
 *         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_1 = __Pyx_CyFunction_New(&__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, __pyx_d, ((PyObject *)__pyx_codeobj__35)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 159, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_set_file_type_from_name, __pyx_t_1) < 0) __PYX_ERR(0, 159, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":163
 *         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_1 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_5is_cython_file, 0, __pyx_n_s_SourceDescriptor_is_cython_file, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__37)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 163, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_is_cython_file, __pyx_t_1) < 0) __PYX_ERR(0, 163, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":166
 *         return self._file_type in ('pyx', 'pxd')
 * 
 *     def is_python_file(self):             # <<<<<<<<<<<<<<
 *         return self._file_type == 'py'
 * 
 */
  __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_7is_python_file, 0, __pyx_n_s_SourceDescriptor_is_python_file, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__39)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 166, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_is_python_file, __pyx_t_1) < 0) __PYX_ERR(0, 166, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":169
 *         return self._file_type == 'py'
 * 
 *     def get_escaped_description(self):             # <<<<<<<<<<<<<<
 *         if self._escaped_description is None:
 *             esc_desc = \
 */
  __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_9get_escaped_description, 0, __pyx_n_s_SourceDescriptor_get_escaped_des, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__41)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 169, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_get_escaped_description, __pyx_t_1) < 0) __PYX_ERR(0, 169, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":178
 *         return self._escaped_description
 * 
 *     def __gt__(self, other):             # <<<<<<<<<<<<<<
 *         # this is only used to provide some sort of order
 *         try:
 */
  __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_11__gt__, 0, __pyx_n_s_SourceDescriptor___gt, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__43)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 178, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_gt, __pyx_t_1) < 0) __PYX_ERR(0, 178, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":185
 *             return False
 * 
 *     def __lt__(self, other):             # <<<<<<<<<<<<<<
 *         # this is only used to provide some sort of order
 *         try:
 */
  __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_13__lt__, 0, __pyx_n_s_SourceDescriptor___lt, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__45)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 185, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_lt, __pyx_t_1) < 0) __PYX_ERR(0, 185, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":192
 *             return False
 * 
 *     def __le__(self, other):             # <<<<<<<<<<<<<<
 *         # this is only used to provide some sort of order
 *         try:
 */
  __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_15__le__, 0, __pyx_n_s_SourceDescriptor___le, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__47)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 192, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_le, __pyx_t_1) < 0) __PYX_ERR(0, 192, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":199
 *             return False
 * 
 *     def __copy__(self):             # <<<<<<<<<<<<<<
 *         return self  # immutable, no need to copy
 * 
 */
  __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_17__copy__, 0, __pyx_n_s_SourceDescriptor___copy, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__49)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 199, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_copy, __pyx_t_1) < 0) __PYX_ERR(0, 199, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":202
 *         return self  # immutable, no need to copy
 * 
 *     def __deepcopy__(self, memo):             # <<<<<<<<<<<<<<
 *         return self  # immutable, no need to copy
 * 
 */
  __pyx_t_1 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_16SourceDescriptor_19__deepcopy__, 0, __pyx_n_s_SourceDescriptor___deepcopy, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__51)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 202, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_n_s_deepcopy, __pyx_t_1) < 0) __PYX_ERR(0, 202, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "Cython/Compiler/Scanning.py":146
 * #------------------------------------------------------------------
 * 
 * class SourceDescriptor(object):             # <<<<<<<<<<<<<<
 *     """
 *     A SourceDescriptor should be considered immutable.
 */
  __pyx_t_1 = __Pyx_Py3ClassCreate(__pyx_t_3, __pyx_n_s_SourceDescriptor, __pyx_tuple__31, __pyx_t_2, NULL, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 146, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_SourceDescriptor, __pyx_t_1) < 0) __PYX_ERR(0, 146, __pyx_L1_error)
  __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":206
 * 
 * 
 * class FileSourceDescriptor(SourceDescriptor):             # <<<<<<<<<<<<<<
 *     """
 *     Represents a code source. A code source is a more generic abstraction
 */
  __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_SourceDescriptor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 206, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 206, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_3);
  PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_3);
  __pyx_t_3 = 0;
  __pyx_t_3 = __Pyx_CalculateMetaclass(NULL, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 206, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_1 = __Pyx_Py3MetaclassPrepare(__pyx_t_3, __pyx_t_2, __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_1)) __PYX_ERR(0, 206, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);

  /* "Cython/Compiler/Scanning.py":214
 *     the position()-tuple.
 *     """
 *     def __init__(self, filename, path_description=None):             # <<<<<<<<<<<<<<
 *         filename = Utils.decode_filename(filename)
 *         self.path_description = path_description or filename
 */
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_1__init__, 0, __pyx_n_s_FileSourceDescriptor___init, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__53)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 214, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_4, __pyx_tuple__54);
  if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_init, __pyx_t_4) < 0) __PYX_ERR(0, 214, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "Cython/Compiler/Scanning.py":225
 *         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_4 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_3get_lines, 0, __pyx_n_s_FileSourceDescriptor_get_lines, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__56)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 225, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_4, __pyx_tuple__57);
  if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_lines, __pyx_t_4) < 0) __PYX_ERR(0, 225, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "Cython/Compiler/Scanning.py":247
 *         return lines
 * 
 *     def get_description(self):             # <<<<<<<<<<<<<<
 *         try:
 *             return os.path.relpath(self.path_description)
 */
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_5get_description, 0, __pyx_n_s_FileSourceDescriptor_get_descrip, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__59)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 247, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_description, __pyx_t_4) < 0) __PYX_ERR(0, 247, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "Cython/Compiler/Scanning.py":254
 *             return self.path_description
 * 
 *     def get_error_description(self):             # <<<<<<<<<<<<<<
 *         path = self.filename
 *         cwd = Utils.decode_filename(os.getcwd() + os.path.sep)
 */
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_7get_error_description, 0, __pyx_n_s_FileSourceDescriptor_get_error_d, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__61)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 254, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_error_description, __pyx_t_4) < 0) __PYX_ERR(0, 254, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "Cython/Compiler/Scanning.py":261
 *         return path
 * 
 *     def get_filenametable_entry(self):             # <<<<<<<<<<<<<<
 *         return self.file_path
 * 
 */
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_9get_filenametable_entry, 0, __pyx_n_s_FileSourceDescriptor_get_filenam, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__63)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 261, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_filenametable_entry, __pyx_t_4) < 0) __PYX_ERR(0, 261, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "Cython/Compiler/Scanning.py":264
 *         return self.file_path
 * 
 *     def __eq__(self, other):             # <<<<<<<<<<<<<<
 *         return isinstance(other, FileSourceDescriptor) and self.filename == other.filename
 * 
 */
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_11__eq__, 0, __pyx_n_s_FileSourceDescriptor___eq, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__65)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 264, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_eq, __pyx_t_4) < 0) __PYX_ERR(0, 264, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "Cython/Compiler/Scanning.py":267
 *         return isinstance(other, FileSourceDescriptor) and self.filename == other.filename
 * 
 *     def __hash__(self):             # <<<<<<<<<<<<<<
 *         return hash(self.filename)
 * 
 */
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_13__hash__, 0, __pyx_n_s_FileSourceDescriptor___hash, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__67)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 267, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_hash_2, __pyx_t_4) < 0) __PYX_ERR(0, 267, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "Cython/Compiler/Scanning.py":270
 *         return hash(self.filename)
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return "<FileSourceDescriptor:%s>" % self.filename
 * 
 */
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_20FileSourceDescriptor_15__repr__, 0, __pyx_n_s_FileSourceDescriptor___repr, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__69)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 270, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_repr_2, __pyx_t_4) < 0) __PYX_ERR(0, 270, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "Cython/Compiler/Scanning.py":206
 * 
 * 
 * class FileSourceDescriptor(SourceDescriptor):             # <<<<<<<<<<<<<<
 *     """
 *     Represents a code source. A code source is a more generic abstraction
 */
  __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_3, __pyx_n_s_FileSourceDescriptor, __pyx_t_2, __pyx_t_1, NULL, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 206, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_FileSourceDescriptor, __pyx_t_4) < 0) __PYX_ERR(0, 206, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __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;

  /* "Cython/Compiler/Scanning.py":274
 * 
 * 
 * class StringSourceDescriptor(SourceDescriptor):             # <<<<<<<<<<<<<<
 *     """
 *     Instances of this class can be used instead of a filenames if the
 */
  __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_SourceDescriptor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 274, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 274, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_2);
  PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
  __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 274, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_1 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_3, __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_1)) __PYX_ERR(0, 274, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);

  /* "Cython/Compiler/Scanning.py":279
 *     code originates from a string object.
 *     """
 *     def __init__(self, name, code):             # <<<<<<<<<<<<<<
 *         self.name = name
 *         #self.set_file_type_from_name(name)
 */
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_1__init__, 0, __pyx_n_s_StringSourceDescriptor___init, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__71)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 279, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_init, __pyx_t_4) < 0) __PYX_ERR(0, 279, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "Cython/Compiler/Scanning.py":285
 *         self._cmp_name = name
 * 
 *     def get_lines(self, encoding=None, error_handling=None):             # <<<<<<<<<<<<<<
 *         if not encoding:
 *             return self.codelines
 */
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_3get_lines, 0, __pyx_n_s_StringSourceDescriptor_get_lines, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__73)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 285, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_4, __pyx_tuple__74);
  if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_lines, __pyx_t_4) < 0) __PYX_ERR(0, 285, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "Cython/Compiler/Scanning.py":292
 *                     for line in self.codelines]
 * 
 *     def get_description(self):             # <<<<<<<<<<<<<<
 *         return self.name
 * 
 */
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_5get_description, 0, __pyx_n_s_StringSourceDescriptor_get_descr, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__76)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 292, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_description, __pyx_t_4) < 0) __PYX_ERR(0, 292, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "Cython/Compiler/Scanning.py":295
 *         return self.name
 * 
 *     get_error_description = get_description             # <<<<<<<<<<<<<<
 * 
 *     def get_filenametable_entry(self):
 */
  __pyx_t_4 = PyObject_GetItem(__pyx_t_1, __pyx_n_s_get_description);
  if (unlikely(!__pyx_t_4)) {
    PyErr_Clear();
    __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_get_description);
  }
  if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 295, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_error_description, __pyx_t_4) < 0) __PYX_ERR(0, 295, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "Cython/Compiler/Scanning.py":297
 *     get_error_description = get_description
 * 
 *     def get_filenametable_entry(self):             # <<<<<<<<<<<<<<
 *         return "stringsource"
 * 
 */
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_7get_filenametable_entry, 0, __pyx_n_s_StringSourceDescriptor_get_filen, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__78)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 297, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_get_filenametable_entry, __pyx_t_4) < 0) __PYX_ERR(0, 297, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "Cython/Compiler/Scanning.py":300
 *         return "stringsource"
 * 
 *     def __hash__(self):             # <<<<<<<<<<<<<<
 *         return id(self)
 *         # Do not hash on the name, an identical string source should be the
 */
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_9__hash__, 0, __pyx_n_s_StringSourceDescriptor___hash, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__80)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 300, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_hash_2, __pyx_t_4) < 0) __PYX_ERR(0, 300, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "Cython/Compiler/Scanning.py":306
 *         # return hash(self.name)
 * 
 *     def __eq__(self, other):             # <<<<<<<<<<<<<<
 *         return isinstance(other, StringSourceDescriptor) and self.name == other.name
 * 
 */
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_11__eq__, 0, __pyx_n_s_StringSourceDescriptor___eq, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__82)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 306, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_eq, __pyx_t_4) < 0) __PYX_ERR(0, 306, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "Cython/Compiler/Scanning.py":309
 *         return isinstance(other, StringSourceDescriptor) and self.name == other.name
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return "<StringSourceDescriptor:%s>" % self.name
 * 
 */
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_22StringSourceDescriptor_13__repr__, 0, __pyx_n_s_StringSourceDescriptor___repr, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__84)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 309, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  if (__Pyx_SetNameInClass(__pyx_t_1, __pyx_n_s_repr_2, __pyx_t_4) < 0) __PYX_ERR(0, 309, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "Cython/Compiler/Scanning.py":274
 * 
 * 
 * class StringSourceDescriptor(SourceDescriptor):             # <<<<<<<<<<<<<<
 *     """
 *     Instances of this class can be used instead of a filenames if the
 */
  __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_n_s_StringSourceDescriptor, __pyx_t_3, __pyx_t_1, NULL, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 274, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_StringSourceDescriptor, __pyx_t_4) < 0) __PYX_ERR(0, 274, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 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;

  /* "Cython/Compiler/Scanning.py":363
 *         self.next()
 * 
 *     def commentline(self, text):             # <<<<<<<<<<<<<<
 *         if self.parse_comments:
 *             self.produce('commentline', text)
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_3commentline, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_commentline, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__86)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 363, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_commentline, __pyx_t_3) < 0) __PYX_ERR(0, 363, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":367
 *             self.produce('commentline', text)
 * 
 *     def strip_underscores(self, text, symbol):             # <<<<<<<<<<<<<<
 *         self.produce(symbol, text.replace('_', ''))
 * 
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_5strip_underscores, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_strip_underscores, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__88)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 367, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_strip_underscores, __pyx_t_3) < 0) __PYX_ERR(0, 367, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":373
 *         return self.indentation_stack[-1]
 * 
 *     def open_bracket_action(self, text):             # <<<<<<<<<<<<<<
 *         self.bracket_nesting_level += 1
 *         return text
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_7open_bracket_action, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_open_bracket_action, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__90)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 373, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_open_bracket_action, __pyx_t_3) < 0) __PYX_ERR(0, 373, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":377
 *         return text
 * 
 *     def close_bracket_action(self, text):             # <<<<<<<<<<<<<<
 *         self.bracket_nesting_level -= 1
 *         return text
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_9close_bracket_action, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_close_bracket_actio, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__92)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 377, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_close_bracket_action, __pyx_t_3) < 0) __PYX_ERR(0, 377, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":381
 *         return text
 * 
 *     def newline_action(self, text):             # <<<<<<<<<<<<<<
 *         if self.bracket_nesting_level == 0:
 *             self.begin('INDENT')
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_11newline_action, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_newline_action, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__94)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 381, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_newline_action, __pyx_t_3) < 0) __PYX_ERR(0, 381, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":387
 * 
 *     string_states = {
 *         "'":   'SQ_STRING',             # <<<<<<<<<<<<<<
 *         '"':   'DQ_STRING',
 *         "'''": 'TSQ_STRING',
 */
  __pyx_t_3 = __Pyx_PyDict_NewPresized(4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 387, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem(__pyx_t_3, __pyx_kp_u__15, __pyx_n_u_SQ_STRING) < 0) __PYX_ERR(0, 387, __pyx_L1_error)
  if (PyDict_SetItem(__pyx_t_3, __pyx_kp_u__95, __pyx_n_u_DQ_STRING) < 0) __PYX_ERR(0, 387, __pyx_L1_error)
  if (PyDict_SetItem(__pyx_t_3, __pyx_kp_u__96, __pyx_n_u_TSQ_STRING) < 0) __PYX_ERR(0, 387, __pyx_L1_error)
  if (PyDict_SetItem(__pyx_t_3, __pyx_kp_u__97, __pyx_n_u_TDQ_STRING) < 0) __PYX_ERR(0, 387, __pyx_L1_error)
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_string_states, __pyx_t_3) < 0) __PYX_ERR(0, 386, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":393
 *     }
 * 
 *     def begin_string_action(self, text):             # <<<<<<<<<<<<<<
 *         while text[:1] in any_string_prefix:
 *             text = text[1:]
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_13begin_string_action, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_begin_string_action, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__99)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 393, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_begin_string_action, __pyx_t_3) < 0) __PYX_ERR(0, 393, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":399
 *         self.produce('BEGIN_STRING')
 * 
 *     def end_string_action(self, text):             # <<<<<<<<<<<<<<
 *         self.begin('')
 *         self.produce('END_STRING')
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_15end_string_action, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_end_string_action, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__101)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 399, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_end_string_action, __pyx_t_3) < 0) __PYX_ERR(0, 399, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":403
 *         self.produce('END_STRING')
 * 
 *     def unclosed_string_action(self, text):             # <<<<<<<<<<<<<<
 *         self.end_string_action(text)
 *         self.error("Unclosed string literal")
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_17unclosed_string_action, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_unclosed_string_act, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__103)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 403, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_unclosed_string_action, __pyx_t_3) < 0) __PYX_ERR(0, 403, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":407
 *         self.error("Unclosed string literal")
 * 
 *     def indentation_action(self, text):             # <<<<<<<<<<<<<<
 *         self.begin('')
 *         # Indentation within brackets should be ignored.
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_19indentation_action, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_indentation_action, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__105)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 407, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_indentation_action, __pyx_t_3) < 0) __PYX_ERR(0, 407, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":443
 *                 self.error("Inconsistent indentation")
 * 
 *     def eof_action(self, text):             # <<<<<<<<<<<<<<
 *         while len(self.indentation_stack) > 1:
 *             self.produce('DEDENT', '')
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_21eof_action, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_eof_action, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__107)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 443, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_eof_action, __pyx_t_3) < 0) __PYX_ERR(0, 443, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":449
 *         self.produce('EOF', '')
 * 
 *     def next(self):             # <<<<<<<<<<<<<<
 *         try:
 *             sy, systring = self.read()
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_23next, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_next, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__109)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 449, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_next, __pyx_t_3) < 0) __PYX_ERR(0, 449, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":474
 *             print("--- %3d %2d %s" % (line, col, t))
 * 
 *     def peek(self):             # <<<<<<<<<<<<<<
 *         saved = self.sy, self.systring
 *         self.next()
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_25peek, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_peek, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__111)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 474, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_peek, __pyx_t_3) < 0) __PYX_ERR(0, 474, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":482
 *         return next
 * 
 *     def put_back(self, sy, systring):             # <<<<<<<<<<<<<<
 *         self.unread(self.sy, self.systring)
 *         self.sy = sy
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_27put_back, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_put_back, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__113)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 482, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_put_back, __pyx_t_3) < 0) __PYX_ERR(0, 482, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":487
 *         self.systring = systring
 * 
 *     def unread(self, token, value):             # <<<<<<<<<<<<<<
 *         # This method should be added to Plex
 *         self.queue.insert(0, (token, value))
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_29unread, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_unread, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__115)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 487, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_unread, __pyx_t_3) < 0) __PYX_ERR(0, 487, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":491
 *         self.queue.insert(0, (token, value))
 * 
 *     def error(self, message, pos=None, fatal=True):             # <<<<<<<<<<<<<<
 *         if pos is None:
 *             pos = self.position()
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_31error, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_error, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__117)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 491, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_error, __pyx_t_3) < 0) __PYX_ERR(0, 491, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":499
 *         if fatal: raise err
 * 
 *     def expect(self, what, message=None):             # <<<<<<<<<<<<<<
 *         if self.sy == what:
 *             self.next()
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_33expect, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_expect, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__119)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 499, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_expect, __pyx_t_3) < 0) __PYX_ERR(0, 499, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":505
 *             self.expected(what, message)
 * 
 *     def expect_keyword(self, what, message=None):             # <<<<<<<<<<<<<<
 *         if self.sy == IDENT and self.systring == what:
 *             self.next()
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_35expect_keyword, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_expect_keyword, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__121)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 505, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_expect_keyword, __pyx_t_3) < 0) __PYX_ERR(0, 505, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":511
 *             self.expected(what, message)
 * 
 *     def expected(self, what, message=None):             # <<<<<<<<<<<<<<
 *         if message:
 *             self.error(message)
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_37expected, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_expected, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__123)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 511, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_expected, __pyx_t_3) < 0) __PYX_ERR(0, 511, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":521
 *             self.error("Expected '%s', found '%s'" % (what, found))
 * 
 *     def expect_indent(self):             # <<<<<<<<<<<<<<
 *         self.expect('INDENT', "Expected an increase in indentation level")
 * 
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_39expect_indent, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_expect_indent, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__125)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 521, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_expect_indent, __pyx_t_3) < 0) __PYX_ERR(0, 521, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":524
 *         self.expect('INDENT', "Expected an increase in indentation level")
 * 
 *     def expect_dedent(self):             # <<<<<<<<<<<<<<
 *         self.expect('DEDENT', "Expected a decrease in indentation level")
 * 
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_41expect_dedent, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_expect_dedent, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__127)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 524, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_expect_dedent, __pyx_t_3) < 0) __PYX_ERR(0, 524, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":527
 *         self.expect('DEDENT', "Expected a decrease in indentation level")
 * 
 *     def expect_newline(self, message="Expected a newline", ignore_semicolon=False):             # <<<<<<<<<<<<<<
 *         # Expect either a newline or end of file
 *         useless_trailing_semicolon = None
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_43expect_newline, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_expect_newline, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__129)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 527, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_expect_newline, __pyx_t_3) < 0) __PYX_ERR(0, 527, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":538
 *             warning(useless_trailing_semicolon, "useless trailing semicolon")
 * 
 *     def enter_async(self):             # <<<<<<<<<<<<<<
 *         self.async_enabled += 1
 *         if self.async_enabled == 1:
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_45enter_async, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_enter_async, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__131)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 538, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_enter_async, __pyx_t_3) < 0) __PYX_ERR(0, 538, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":544
 *             self.keywords.add('await')
 * 
 *     def exit_async(self):             # <<<<<<<<<<<<<<
 *         assert self.async_enabled > 0
 *         self.async_enabled -= 1
 */
  __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6Cython_8Compiler_8Scanning_12PyrexScanner_47exit_async, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_PyrexScanner_exit_async, NULL, __pyx_n_s_Cython_Compiler_Scanning, __pyx_d, ((PyObject *)__pyx_codeobj__133)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 544, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem((PyObject *)__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner->tp_dict, __pyx_n_s_exit_async, __pyx_t_3) < 0) __PYX_ERR(0, 544, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  PyType_Modified(__pyx_ptype_6Cython_8Compiler_8Scanning_PyrexScanner);

  /* "Cython/Compiler/Scanning.py":1
 * # cython: infer_types=True, language_level=3, py2_import=True, auto_pickle=False             # <<<<<<<<<<<<<<
 * #
 * #   Cython Scanner
 */
  __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_test, __pyx_t_3) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /*--- Wrapped vars code ---*/

  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);
  if (__pyx_m) {
    if (__pyx_d) {
      __Pyx_AddTraceback("init Cython.Compiler.Scanning", __pyx_clineno, __pyx_lineno, __pyx_filename);
    }
    Py_CLEAR(__pyx_m);
  } else if (!PyErr_Occurred()) {
    PyErr_SetString(PyExc_ImportError, "init Cython.Compiler.Scanning");
  }
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  #if CYTHON_PEP489_MULTI_PHASE_INIT
  return (__pyx_m != NULL) ? 0 : -1;
  #elif PY_MAJOR_VERSION >= 3
  return __pyx_m;
  #else
  return;
  #endif
}

/* --- Runtime support code --- */
/* Refnanny */
#if CYTHON_REFNANNY
static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname) {
    PyObject *m = NULL, *p = NULL;
    void *r = NULL;
    m = PyImport_ImportModule(modname);
    if (!m) goto end;
    p = PyObject_GetAttrString(m, "RefNannyAPI");
    if (!p) goto end;
    r = PyLong_AsVoidPtr(p);
end:
    Py_XDECREF(p);
    Py_XDECREF(m);
    return (__Pyx_RefNannyAPIStruct *)r;
}
#endif

/* PyObjectGetAttrStr */
#if CYTHON_USE_TYPE_SLOTS
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);
}
#endif

/* GetBuiltinName */
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;
}

/* PyFunctionFastCall */
#if CYTHON_FAST_PYCALL
static PyObject* __Pyx_PyFunction_FastCallNoKw(PyCodeObject *co, PyObject **args, Py_ssize_t na,
                                               PyObject *globals) {
    PyFrameObject *f;
    PyThreadState *tstate = __Pyx_PyThreadState_Current;
    PyObject **fastlocals;
    Py_ssize_t i;
    PyObject *result;
    assert(globals != NULL);
    /* XXX Perhaps we should create a specialized
       PyFrame_New() that doesn't take locals, but does
       take builtins without sanity checking them.
       */
    assert(tstate != NULL);
    f = PyFrame_New(tstate, co, globals, NULL);
    if (f == NULL) {
        return NULL;
    }
    fastlocals = __Pyx_PyFrame_GetLocalsplus(f);
    for (i = 0; i < na; i++) {
        Py_INCREF(*args);
        fastlocals[i] = *args++;
    }
    result = PyEval_EvalFrameEx(f,0);
    ++tstate->recursion_depth;
    Py_DECREF(f);
    --tstate->recursion_depth;
    return result;
}
#if 1 || PY_VERSION_HEX < 0x030600B1
static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, Py_ssize_t nargs, PyObject *kwargs) {
    PyCodeObject *co = (PyCodeObject *)PyFunction_GET_CODE(func);
    PyObject *globals = PyFunction_GET_GLOBALS(func);
    PyObject *argdefs = PyFunction_GET_DEFAULTS(func);
    PyObject *closure;
#if PY_MAJOR_VERSION >= 3
    PyObject *kwdefs;
#endif
    PyObject *kwtuple, **k;
    PyObject **d;
    Py_ssize_t nd;
    Py_ssize_t nk;
    PyObject *result;
    assert(kwargs == NULL || PyDict_Check(kwargs));
    nk = kwargs ? PyDict_Size(kwargs) : 0;
    if (Py_EnterRecursiveCall((char*)" while calling a Python object")) {
        return NULL;
    }
    if (
#if PY_MAJOR_VERSION >= 3
            co->co_kwonlyargcount == 0 &&
#endif
            likely(kwargs == NULL || nk == 0) &&
            co->co_flags == (CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE)) {
        if (argdefs == NULL && co->co_argcount == nargs) {
            result = __Pyx_PyFunction_FastCallNoKw(co, args, nargs, globals);
            goto done;
        }
        else if (nargs == 0 && argdefs != NULL
                 && co->co_argcount == Py_SIZE(argdefs)) {
            /* function called with no arguments, but all parameters have
               a default value: use default values as arguments .*/
            args = &PyTuple_GET_ITEM(argdefs, 0);
            result =__Pyx_PyFunction_FastCallNoKw(co, args, Py_SIZE(argdefs), globals);
            goto done;
        }
    }
    if (kwargs != NULL) {
        Py_ssize_t pos, i;
        kwtuple = PyTuple_New(2 * nk);
        if (kwtuple == NULL) {
            result = NULL;
            goto done;
        }
        k = &PyTuple_GET_ITEM(kwtuple, 0);
        pos = i = 0;
        while (PyDict_Next(kwargs, &pos, &k[i], &k[i+1])) {
            Py_INCREF(k[i]);
            Py_INCREF(k[i+1]);
            i += 2;
        }
        nk = i / 2;
    }
    else {
        kwtuple = NULL;
        k = NULL;
    }
    closure = PyFunction_GET_CLOSURE(func);
#if PY_MAJOR_VERSION >= 3
    kwdefs = PyFunction_GET_KW_DEFAULTS(func);
#endif
    if (argdefs != NULL) {
        d = &PyTuple_GET_ITEM(argdefs, 0);
        nd = Py_SIZE(argdefs);
    }
    else {
        d = NULL;
        nd = 0;
    }
#if PY_MAJOR_VERSION >= 3
    result = PyEval_EvalCodeEx((PyObject*)co, globals, (PyObject *)NULL,
                               args, (int)nargs,
                               k, (int)nk,
                               d, (int)nd, kwdefs, closure);
#else
    result = PyEval_EvalCodeEx(co, globals, (PyObject *)NULL,
                               args, (int)nargs,
                               k, (int)nk,
                               d, (int)nd, closure);
#endif
    Py_XDECREF(kwtuple);
done:
    Py_LeaveRecursiveCall();
    return result;
}
#endif
#endif

/* PyObjectCall */
#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 (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
        return NULL;
    result = (*call)(func, arg, kw);
    Py_LeaveRecursiveCall();
    if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
        PyErr_SetString(
            PyExc_SystemError,
            "NULL result without error in PyObject_Call");
    }
    return result;
}
#endif

/* PyObjectCallMethO */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
    PyObject *self, *result;
    PyCFunction cfunc;
    cfunc = PyCFunction_GET_FUNCTION(func);
    self = PyCFunction_GET_SELF(func);
    if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
        return NULL;
    result = cfunc(self, arg);
    Py_LeaveRecursiveCall();
    if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
        PyErr_SetString(
            PyExc_SystemError,
            "NULL result without error in PyObject_Call");
    }
    return result;
}
#endif

/* PyObjectCallNoArg */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
#if CYTHON_FAST_PYCALL
    if (PyFunction_Check(func)) {
        return __Pyx_PyFunction_FastCall(func, NULL, 0);
    }
#endif
#ifdef __Pyx_CyFunction_USED
    if (likely(PyCFunction_Check(func) || __Pyx_CyFunction_Check(func)))
#else
    if (likely(PyCFunction_Check(func)))
#endif
    {
        if (likely(PyCFunction_GET_FLAGS(func) & METH_NOARGS)) {
            return __Pyx_PyObject_CallMethO(func, NULL);
        }
    }
    return __Pyx_PyObject_Call(func, __pyx_empty_tuple, NULL);
}
#endif

/* PyCFunctionFastCall */
#if CYTHON_FAST_PYCCALL
static CYTHON_INLINE PyObject * __Pyx_PyCFunction_FastCall(PyObject *func_obj, PyObject **args, Py_ssize_t nargs) {
    PyCFunctionObject *func = (PyCFunctionObject*)func_obj;
    PyCFunction meth = PyCFunction_GET_FUNCTION(func);
    PyObject *self = PyCFunction_GET_SELF(func);
    int flags = PyCFunction_GET_FLAGS(func);
    assert(PyCFunction_Check(func));
    assert(METH_FASTCALL == (flags & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_KEYWORDS | METH_STACKLESS)));
    assert(nargs >= 0);
    assert(nargs == 0 || args != NULL);
    /* _PyCFunction_FastCallDict() must not be called with an exception set,
       because it may clear it (directly or indirectly) and so the
       caller loses its exception */
    assert(!PyErr_Occurred());
    if ((PY_VERSION_HEX < 0x030700A0) || unlikely(flags & METH_KEYWORDS)) {
        return (*((__Pyx_PyCFunctionFastWithKeywords)(void*)meth)) (self, args, nargs, NULL);
    } else {
        return (*((__Pyx_PyCFunctionFast)(void*)meth)) (self, args, nargs);
    }
}
#endif

/* PyObjectCallOneArg */
#if CYTHON_COMPILING_IN_CPYTHON
static PyObject* __Pyx__PyObject_CallOneArg(PyObject *func, PyObject *arg) {
    PyObject *result;
    PyObject *args = PyTuple_New(1);
    if (unlikely(!args)) return NULL;
    Py_INCREF(arg);
    PyTuple_SET_ITEM(args, 0, arg);
    result = __Pyx_PyObject_Call(func, args, NULL);
    Py_DECREF(args);
    return result;
}
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
#if CYTHON_FAST_PYCALL
    if (PyFunction_Check(func)) {
        return __Pyx_PyFunction_FastCall(func, &arg, 1);
    }
#endif
    if (likely(PyCFunction_Check(func))) {
        if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
            return __Pyx_PyObject_CallMethO(func, arg);
#if CYTHON_FAST_PYCCALL
        } else if (__Pyx_PyFastCFunction_Check(func)) {
            return __Pyx_PyCFunction_FastCall(func, &arg, 1);
#endif
        }
    }
    return __Pyx__PyObject_CallOneArg(func, arg);
}
#else
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
    PyObject *result;
    PyObject *args = PyTuple_Pack(1, arg);
    if (unlikely(!args)) return NULL;
    result = __Pyx_PyObject_Call(func, args, NULL);
    Py_DECREF(args);
    return result;
}
#endif

/* RaiseDoubleKeywords */
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
}

/* ParseKeywords */
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_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
                    (__Pyx_PyUnicode_GET_LENGTH(**name) != __Pyx_PyUnicode_GET_LENGTH(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
                        (__Pyx_PyUnicode_GET_LENGTH(**argname) != __Pyx_PyUnicode_GET_LENGTH(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;
}

/* RaiseArgTupleInvalid */
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);
}

/* GetAttr */
static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *o, PyObject *n) {
#if CYTHON_USE_TYPE_SLOTS
#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);
}

/* PyObjectCall2Args */
static CYTHON_UNUSED PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyObject* arg1, PyObject* arg2) {
    PyObject *args, *result = NULL;
    #if CYTHON_FAST_PYCALL
    if (PyFunction_Check(function)) {
        PyObject *args[2] = {arg1, arg2};
        return __Pyx_PyFunction_FastCall(function, args, 2);
    }
    #endif
    #if CYTHON_FAST_PYCCALL
    if (__Pyx_PyFastCFunction_Check(function)) {
        PyObject *args[2] = {arg1, arg2};
        return __Pyx_PyCFunction_FastCall(function, args, 2);
    }
    #endif
    args = PyTuple_New(2);
    if (unlikely(!args)) goto done;
    Py_INCREF(arg1);
    PyTuple_SET_ITEM(args, 0, arg1);
    Py_INCREF(arg2);
    PyTuple_SET_ITEM(args, 1, arg2);
    Py_INCREF(function);
    result = __Pyx_PyObject_Call(function, args, NULL);
    Py_DECREF(args);
    Py_DECREF(function);
done:
    return result;
}

/* ExtTypeTest */
static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) {
    if (unlikely(!type)) {
        PyErr_SetString(PyExc_SystemError, "Missing type object");
        return 0;
    }
    if (likely(__Pyx_TypeCheck(obj, type)))
        return 1;
    PyErr_Format(PyExc_TypeError, "Cannot convert %.200s to %.200s",
                 Py_TYPE(obj)->tp_name, type->tp_name);
    return 0;
}

/* DictGetItem */
#if PY_MAJOR_VERSION >= 3 && !CYTHON_COMPILING_IN_PYPY
static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key) {
    PyObject *value;
    value = PyDict_GetItemWithError(d, key);
    if (unlikely(!value)) {
        if (!PyErr_Occurred()) {
            if (unlikely(PyTuple_Check(key))) {
                PyObject* args = PyTuple_Pack(1, key);
                if (likely(args)) {
                    PyErr_SetObject(PyExc_KeyError, args);
                    Py_DECREF(args);
                }
            } else {
                PyErr_SetObject(PyExc_KeyError, key);
            }
        }
        return NULL;
    }
    Py_INCREF(value);
    return value;
}
#endif

/* GetTopmostException */
#if CYTHON_USE_EXC_INFO_STACK
static _PyErr_StackItem *
__Pyx_PyErr_GetTopmostException(PyThreadState *tstate)
{
    _PyErr_StackItem *exc_info = tstate->exc_info;
    while ((exc_info->exc_type == NULL || exc_info->exc_type == Py_None) &&
           exc_info->previous_item != NULL)
    {
        exc_info = exc_info->previous_item;
    }
    return exc_info;
}
#endif

/* SaveResetException */
#if CYTHON_FAST_THREAD_STATE
static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
    #if CYTHON_USE_EXC_INFO_STACK
    _PyErr_StackItem *exc_info = __Pyx_PyErr_GetTopmostException(tstate);
    *type = exc_info->exc_type;
    *value = exc_info->exc_value;
    *tb = exc_info->exc_traceback;
    #else
    *type = tstate->exc_type;
    *value = tstate->exc_value;
    *tb = tstate->exc_traceback;
    #endif
    Py_XINCREF(*type);
    Py_XINCREF(*value);
    Py_XINCREF(*tb);
}
static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) {
    PyObject *tmp_type, *tmp_value, *tmp_tb;
    #if CYTHON_USE_EXC_INFO_STACK
    _PyErr_StackItem *exc_info = tstate->exc_info;
    tmp_type = exc_info->exc_type;
    tmp_value = exc_info->exc_value;
    tmp_tb = exc_info->exc_traceback;
    exc_info->exc_type = type;
    exc_info->exc_value = value;
    exc_info->exc_traceback = tb;
    #else
    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;
    #endif
    Py_XDECREF(tmp_type);
    Py_XDECREF(tmp_value);
    Py_XDECREF(tmp_tb);
}
#endif

/* PyErrExceptionMatches */
#if CYTHON_FAST_THREAD_STATE
static int __Pyx_PyErr_ExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) {
    Py_ssize_t i, n;
    n = PyTuple_GET_SIZE(tuple);
#if PY_MAJOR_VERSION >= 3
    for (i=0; i<n; i++) {
        if (exc_type == PyTuple_GET_ITEM(tuple, i)) return 1;
    }
#endif
    for (i=0; i<n; i++) {
        if (__Pyx_PyErr_GivenExceptionMatches(exc_type, PyTuple_GET_ITEM(tuple, i))) return 1;
    }
    return 0;
}
static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err) {
    PyObject *exc_type = tstate->curexc_type;
    if (exc_type == err) return 1;
    if (unlikely(!exc_type)) return 0;
    if (unlikely(PyTuple_Check(err)))
        return __Pyx_PyErr_ExceptionMatchesTuple(exc_type, err);
    return __Pyx_PyErr_GivenExceptionMatches(exc_type, err);
}
#endif

/* GetException */
#if CYTHON_FAST_THREAD_STATE
static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb)
#else
static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb)
#endif
{
    PyObject *local_type, *local_value, *local_tb;
#if CYTHON_FAST_THREAD_STATE
    PyObject *tmp_type, *tmp_value, *tmp_tb;
    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_FAST_THREAD_STATE
    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_FAST_THREAD_STATE
    #if CYTHON_USE_EXC_INFO_STACK
    {
        _PyErr_StackItem *exc_info = tstate->exc_info;
        tmp_type = exc_info->exc_type;
        tmp_value = exc_info->exc_value;
        tmp_tb = exc_info->exc_traceback;
        exc_info->exc_type = local_type;
        exc_info->exc_value = local_value;
        exc_info->exc_traceback = local_tb;
    }
    #else
    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;
    #endif
    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;
}

/* PyErrFetchRestore */
#if CYTHON_FAST_THREAD_STATE
static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) {
    PyObject *tmp_type, *tmp_value, *tmp_tb;
    tmp_type = tstate->curexc_type;
    tmp_value = tstate->curexc_value;
    tmp_tb = tstate->curexc_traceback;
    tstate->curexc_type = type;
    tstate->curexc_value = value;
    tstate->curexc_traceback = tb;
    Py_XDECREF(tmp_type);
    Py_XDECREF(tmp_value);
    Py_XDECREF(tmp_tb);
}
static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
    *type = tstate->curexc_type;
    *value = tstate->curexc_value;
    *tb = tstate->curexc_traceback;
    tstate->curexc_type = 0;
    tstate->curexc_value = 0;
    tstate->curexc_traceback = 0;
}
#endif

/* RaiseTooManyValuesToUnpack */
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);
}

/* RaiseNeedMoreValuesToUnpack */
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");
}

/* IterFinish */
static CYTHON_INLINE int __Pyx_IterFinish(void) {
#if CYTHON_FAST_THREAD_STATE
    PyThreadState *tstate = __Pyx_PyThreadState_Current;
    PyObject* exc_type = tstate->curexc_type;
    if (unlikely(exc_type)) {
        if (likely(__Pyx_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
}

/* UnpackItemEndCheck */
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;
}

/* Import */
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_MAJOR_VERSION < 3
    PyObject *py_import;
    py_import = __Pyx_PyObject_GetAttrStr(__pyx_b, __pyx_n_s_import);
    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_MAJOR_VERSION >= 3
        if (level == -1) {
            if ((1) && (strchr(__Pyx_MODULE_NAME, '.'))) {
                module = PyImport_ImportModuleLevelObject(
                    name, global_dict, empty_dict, list, 1);
                if (!module) {
                    if (!PyErr_ExceptionMatches(PyExc_ImportError))
                        goto bad;
                    PyErr_Clear();
                }
            }
            level = 0;
        }
        #endif
        if (!module) {
            #if PY_MAJOR_VERSION < 3
            PyObject *py_level = PyInt_FromLong(level);
            if (!py_level)
                goto bad;
            module = PyObject_CallFunctionObjArgs(py_import,
                name, global_dict, empty_dict, list, py_level, (PyObject *)NULL);
            Py_DECREF(py_level);
            #else
            module = PyImport_ImportModuleLevelObject(
                name, global_dict, empty_dict, list, level);
            #endif
        }
    }
bad:
    #if PY_MAJOR_VERSION < 3
    Py_XDECREF(py_import);
    #endif
    Py_XDECREF(empty_list);
    Py_XDECREF(empty_dict);
    return module;
}

/* ImportFrom */
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;
}

/* GetAttr3 */
static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
    __Pyx_PyThreadState_declare
    __Pyx_PyThreadState_assign
    if (unlikely(!__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError)))
        return NULL;
    __Pyx_PyErr_Clear();
    Py_INCREF(d);
    return d;
}
static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject *d) {
    PyObject *r = __Pyx_GetAttr(o, n);
    return (likely(r)) ? r : __Pyx_GetAttr3Default(d);
}

/* BytesEquals */
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;
#if CYTHON_USE_UNICODE_INTERNALS
            Py_hash_t hash1, hash2;
            hash1 = ((PyBytesObject*)s1)->ob_shash;
            hash2 = ((PyBytesObject*)s2)->ob_shash;
            if (hash1 != hash2 && hash1 != -1 && hash2 != -1) {
                return (equals == Py_NE);
            }
#endif
            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
}

/* UnicodeEquals */
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 (unlikely(__Pyx_PyUnicode_READY(s1) < 0) || unlikely(__Pyx_PyUnicode_READY(s2) < 0))
            return -1;
        length = __Pyx_PyUnicode_GET_LENGTH(s1);
        if (length != __Pyx_PyUnicode_GET_LENGTH(s2)) {
            goto return_ne;
        }
#if CYTHON_USE_UNICODE_INTERNALS
        {
            Py_hash_t hash1, hash2;
        #if CYTHON_PEP393_ENABLED
            hash1 = ((PyASCIIObject*)s1)->hash;
            hash2 = ((PyASCIIObject*)s2)->hash;
        #else
            hash1 = ((PyUnicodeObject*)s1)->hash;
            hash2 = ((PyUnicodeObject*)s2)->hash;
        #endif
            if (hash1 != hash2 && hash1 != -1 && hash2 != -1) {
                goto return_ne;
            }
        }
#endif
        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, (size_t)(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_MAJOR_VERSION < 3
        Py_XDECREF(owned_ref);
        #endif
        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
}

/* SliceObject */
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_USE_TYPE_SLOTS
    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))
                    goto bad;
                PyErr_Clear();
            }
        }
        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_USE_TYPE_SLOTS
        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;
}

/* PyObjectSetAttrStr */
#if CYTHON_USE_TYPE_SLOTS
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);
}
#endif

/* PyDictVersioning */
#if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_TYPE_SLOTS
static CYTHON_INLINE PY_UINT64_T __Pyx_get_tp_dict_version(PyObject *obj) {
    PyObject *dict = Py_TYPE(obj)->tp_dict;
    return likely(dict) ? __PYX_GET_DICT_VERSION(dict) : 0;
}
static CYTHON_INLINE PY_UINT64_T __Pyx_get_object_dict_version(PyObject *obj) {
    PyObject **dictptr = NULL;
    Py_ssize_t offset = Py_TYPE(obj)->tp_dictoffset;
    if (offset) {
#if CYTHON_COMPILING_IN_CPYTHON
        dictptr = (likely(offset > 0)) ? (PyObject **) ((char *)obj + offset) : _PyObject_GetDictPtr(obj);
#else
        dictptr = _PyObject_GetDictPtr(obj);
#endif
    }
    return (dictptr && *dictptr) ? __PYX_GET_DICT_VERSION(*dictptr) : 0;
}
static CYTHON_INLINE int __Pyx_object_dict_version_matches(PyObject* obj, PY_UINT64_T tp_dict_version, PY_UINT64_T obj_dict_version) {
    PyObject *dict = Py_TYPE(obj)->tp_dict;
    if (unlikely(!dict) || unlikely(tp_dict_version != __PYX_GET_DICT_VERSION(dict)))
        return 0;
    return obj_dict_version == __Pyx_get_object_dict_version(obj);
}
#endif

/* GetModuleGlobalName */
#if CYTHON_USE_DICT_VERSIONS
static PyObject *__Pyx__GetModuleGlobalName(PyObject *name, PY_UINT64_T *dict_version, PyObject **dict_cached_value)
#else
static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name)
#endif
{
    PyObject *result;
#if !CYTHON_AVOID_BORROWED_REFS
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1
    result = _PyDict_GetItem_KnownHash(__pyx_d, name, ((PyASCIIObject *) name)->hash);
    __PYX_UPDATE_DICT_CACHE(__pyx_d, result, *dict_cached_value, *dict_version)
    if (likely(result)) {
        return __Pyx_NewRef(result);
    } else if (unlikely(PyErr_Occurred())) {
        return NULL;
    }
#else
    result = PyDict_GetItem(__pyx_d, name);
    __PYX_UPDATE_DICT_CACHE(__pyx_d, result, *dict_cached_value, *dict_version)
    if (likely(result)) {
        return __Pyx_NewRef(result);
    }
#endif
#else
    result = PyObject_GetItem(__pyx_d, name);
    __PYX_UPDATE_DICT_CACHE(__pyx_d, result, *dict_cached_value, *dict_version)
    if (likely(result)) {
        return __Pyx_NewRef(result);
    }
    PyErr_Clear();
#endif
    return __Pyx_GetBuiltinName(name);
}

/* GetItemInt */
static 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,
                                                              CYTHON_NCP_UNUSED int wraparound,
                                                              CYTHON_NCP_UNUSED int boundscheck) {
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
    Py_ssize_t wrapped_i = i;
    if (wraparound & unlikely(i < 0)) {
        wrapped_i += PyList_GET_SIZE(o);
    }
    if ((!boundscheck) || likely(__Pyx_is_valid_index(wrapped_i, PyList_GET_SIZE(o)))) {
        PyObject *r = PyList_GET_ITEM(o, wrapped_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,
                                                              CYTHON_NCP_UNUSED int wraparound,
                                                              CYTHON_NCP_UNUSED int boundscheck) {
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
    Py_ssize_t wrapped_i = i;
    if (wraparound & unlikely(i < 0)) {
        wrapped_i += PyTuple_GET_SIZE(o);
    }
    if ((!boundscheck) || likely(__Pyx_is_valid_index(wrapped_i, PyTuple_GET_SIZE(o)))) {
        PyObject *r = PyTuple_GET_ITEM(o, wrapped_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,
                                                     CYTHON_NCP_UNUSED int wraparound,
                                                     CYTHON_NCP_UNUSED int boundscheck) {
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS && CYTHON_USE_TYPE_SLOTS
    if (is_list || PyList_CheckExact(o)) {
        Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyList_GET_SIZE(o);
        if ((!boundscheck) || (likely(__Pyx_is_valid_index(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(__Pyx_is_valid_index(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))
                        return NULL;
                    PyErr_Clear();
                }
            }
            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));
}

/* ObjectGetItem */
#if CYTHON_USE_TYPE_SLOTS
static PyObject *__Pyx_PyObject_GetIndex(PyObject *obj, PyObject* index) {
    PyObject *runerr;
    Py_ssize_t key_value;
    PySequenceMethods *m = Py_TYPE(obj)->tp_as_sequence;
    if (unlikely(!(m && m->sq_item))) {
        PyErr_Format(PyExc_TypeError, "'%.200s' object is not subscriptable", Py_TYPE(obj)->tp_name);
        return NULL;
    }
    key_value = __Pyx_PyIndex_AsSsize_t(index);
    if (likely(key_value != -1 || !(runerr = PyErr_Occurred()))) {
        return __Pyx_GetItemInt_Fast(obj, key_value, 0, 1, 1);
    }
    if (PyErr_GivenExceptionMatches(runerr, PyExc_OverflowError)) {
        PyErr_Clear();
        PyErr_Format(PyExc_IndexError, "cannot fit '%.200s' into an index-sized integer", Py_TYPE(index)->tp_name);
    }
    return NULL;
}
static PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject* key) {
    PyMappingMethods *m = Py_TYPE(obj)->tp_as_mapping;
    if (likely(m && m->mp_subscript)) {
        return m->mp_subscript(obj, key);
    }
    return __Pyx_PyObject_GetIndex(obj, key);
}
#endif

/* None */
static CYTHON_INLINE void __Pyx_RaiseUnboundLocalError(const char *varname) {
    PyErr_Format(PyExc_UnboundLocalError, "local variable '%s' referenced before assignment", varname);
}

/* WriteUnraisableException */
static void __Pyx_WriteUnraisable(const char *name, CYTHON_UNUSED int clineno,
                                  CYTHON_UNUSED int lineno, CYTHON_UNUSED const char *filename,
                                  int full_traceback, CYTHON_UNUSED int nogil) {
    PyObject *old_exc, *old_val, *old_tb;
    PyObject *ctx;
    __Pyx_PyThreadState_declare
#ifdef WITH_THREAD
    PyGILState_STATE state;
    if (nogil)
        state = PyGILState_Ensure();
#ifdef _MSC_VER
    else state = (PyGILState_STATE)-1;
#endif
#endif
    __Pyx_PyThreadState_assign
    __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);
    }
#ifdef WITH_THREAD
    if (nogil)
        PyGILState_Release(state);
#endif
}

/* PyObjectGetMethod */
static int __Pyx_PyObject_GetMethod(PyObject *obj, PyObject *name, PyObject **method) {
    PyObject *attr;
#if CYTHON_UNPACK_METHODS && CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_PYTYPE_LOOKUP
    PyTypeObject *tp = Py_TYPE(obj);
    PyObject *descr;
    descrgetfunc f = NULL;
    PyObject **dictptr, *dict;
    int meth_found = 0;
    assert (*method == NULL);
    if (unlikely(tp->tp_getattro != PyObject_GenericGetAttr)) {
        attr = __Pyx_PyObject_GetAttrStr(obj, name);
        goto try_unpack;
    }
    if (unlikely(tp->tp_dict == NULL) && unlikely(PyType_Ready(tp) < 0)) {
        return 0;
    }
    descr = _PyType_Lookup(tp, name);
    if (likely(descr != NULL)) {
        Py_INCREF(descr);
#if PY_MAJOR_VERSION >= 3
        #ifdef __Pyx_CyFunction_USED
        if (likely(PyFunction_Check(descr) || (Py_TYPE(descr) == &PyMethodDescr_Type) || __Pyx_CyFunction_Check(descr)))
        #else
        if (likely(PyFunction_Check(descr) || (Py_TYPE(descr) == &PyMethodDescr_Type)))
        #endif
#else
        #ifdef __Pyx_CyFunction_USED
        if (likely(PyFunction_Check(descr) || __Pyx_CyFunction_Check(descr)))
        #else
        if (likely(PyFunction_Check(descr)))
        #endif
#endif
        {
            meth_found = 1;
        } else {
            f = Py_TYPE(descr)->tp_descr_get;
            if (f != NULL && PyDescr_IsData(descr)) {
                attr = f(descr, obj, (PyObject *)Py_TYPE(obj));
                Py_DECREF(descr);
                goto try_unpack;
            }
        }
    }
    dictptr = _PyObject_GetDictPtr(obj);
    if (dictptr != NULL && (dict = *dictptr) != NULL) {
        Py_INCREF(dict);
        attr = __Pyx_PyDict_GetItemStr(dict, name);
        if (attr != NULL) {
            Py_INCREF(attr);
            Py_DECREF(dict);
            Py_XDECREF(descr);
            goto try_unpack;
        }
        Py_DECREF(dict);
    }
    if (meth_found) {
        *method = descr;
        return 1;
    }
    if (f != NULL) {
        attr = f(descr, obj, (PyObject *)Py_TYPE(obj));
        Py_DECREF(descr);
        goto try_unpack;
    }
    if (descr != NULL) {
        *method = descr;
        return 0;
    }
    PyErr_Format(PyExc_AttributeError,
#if PY_MAJOR_VERSION >= 3
                 "'%.50s' object has no attribute '%U'",
                 tp->tp_name, name);
#else
                 "'%.50s' object has no attribute '%.400s'",
                 tp->tp_name, PyString_AS_STRING(name));
#endif
    return 0;
#else
    attr = __Pyx_PyObject_GetAttrStr(obj, name);
    goto try_unpack;
#endif
try_unpack:
#if CYTHON_UNPACK_METHODS
    if (likely(attr) && PyMethod_Check(attr) && likely(PyMethod_GET_SELF(attr) == obj)) {
        PyObject *function = PyMethod_GET_FUNCTION(attr);
        Py_INCREF(function);
        Py_DECREF(attr);
        *method = function;
        return 1;
    }
#endif
    *method = attr;
    return 0;
}

/* PyObjectCallMethod0 */
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
    PyObject *method = NULL, *result = NULL;
    int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
    if (likely(is_method)) {
        result = __Pyx_PyObject_CallOneArg(method, obj);
        Py_DECREF(method);
        return result;
    }
    if (unlikely(!method)) goto bad;
    result = __Pyx_PyObject_CallNoArg(method);
    Py_DECREF(method);
bad:
    return result;
}

/* UnpackUnboundCMethod */
static int __Pyx_TryUnpackUnboundCMethod(__Pyx_CachedCFunction* target) {
    PyObject *method;
    method = __Pyx_PyObject_GetAttrStr(target->type, *target->method_name);
    if (unlikely(!method))
        return -1;
    target->method = method;
#if CYTHON_COMPILING_IN_CPYTHON
    #if PY_MAJOR_VERSION >= 3
    if (likely(__Pyx_TypeCheck(method, &PyMethodDescr_Type)))
    #endif
    {
        PyMethodDescrObject *descr = (PyMethodDescrObject*) method;
        target->func = descr->d_method->ml_meth;
        target->flag = descr->d_method->ml_flags & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_STACKLESS);
    }
#endif
    return 0;
}

/* CallUnboundCMethod0 */
static PyObject* __Pyx__CallUnboundCMethod0(__Pyx_CachedCFunction* cfunc, PyObject* self) {
    PyObject *args, *result = NULL;
    if (unlikely(!cfunc->method) && unlikely(__Pyx_TryUnpackUnboundCMethod(cfunc) < 0)) return NULL;
#if CYTHON_ASSUME_SAFE_MACROS
    args = PyTuple_New(1);
    if (unlikely(!args)) goto bad;
    Py_INCREF(self);
    PyTuple_SET_ITEM(args, 0, self);
#else
    args = PyTuple_Pack(1, self);
    if (unlikely(!args)) goto bad;
#endif
    result = __Pyx_PyObject_Call(cfunc->method, args, NULL);
    Py_DECREF(args);
bad:
    return result;
}

/* pop */
static CYTHON_INLINE PyObject* __Pyx__PyObject_Pop(PyObject* L) {
    if (Py_TYPE(L) == &PySet_Type) {
        return PySet_Pop(L);
    }
    return __Pyx_PyObject_CallMethod0(L, __pyx_n_s_pop);
}
#if CYTHON_USE_PYLIST_INTERNALS && CYTHON_ASSUME_SAFE_MACROS
static CYTHON_INLINE PyObject* __Pyx_PyList_Pop(PyObject* L) {
    if (likely(PyList_GET_SIZE(L) > (((PyListObject*)L)->allocated >> 1))) {
        __Pyx_SET_SIZE(L, Py_SIZE(L) - 1);
        return PyList_GET_ITEM(L, PyList_GET_SIZE(L));
    }
    return __Pyx_CallUnboundCMethod0(&__pyx_umethod_PyList_Type_pop, L);
}
#endif

/* RaiseNoneIterError */
static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
}

/* FastTypeChecks */
#if CYTHON_COMPILING_IN_CPYTHON
static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) {
    while (a) {
        a = a->tp_base;
        if (a == b)
            return 1;
    }
    return b == &PyBaseObject_Type;
}
static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b) {
    PyObject *mro;
    if (a == b) return 1;
    mro = a->tp_mro;
    if (likely(mro)) {
        Py_ssize_t i, n;
        n = PyTuple_GET_SIZE(mro);
        for (i = 0; i < n; i++) {
            if (PyTuple_GET_ITEM(mro, i) == (PyObject *)b)
                return 1;
        }
        return 0;
    }
    return __Pyx_InBases(a, b);
}
#if PY_MAJOR_VERSION == 2
static int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObject* exc_type1, PyObject* exc_type2) {
    PyObject *exception, *value, *tb;
    int res;
    __Pyx_PyThreadState_declare
    __Pyx_PyThreadState_assign
    __Pyx_ErrFetch(&exception, &value, &tb);
    res = exc_type1 ? PyObject_IsSubclass(err, exc_type1) : 0;
    if (unlikely(res == -1)) {
        PyErr_WriteUnraisable(err);
        res = 0;
    }
    if (!res) {
        res = PyObject_IsSubclass(err, exc_type2);
        if (unlikely(res == -1)) {
            PyErr_WriteUnraisable(err);
            res = 0;
        }
    }
    __Pyx_ErrRestore(exception, value, tb);
    return res;
}
#else
static CYTHON_INLINE int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObject* exc_type1, PyObject *exc_type2) {
    int res = exc_type1 ? __Pyx_IsSubtype((PyTypeObject*)err, (PyTypeObject*)exc_type1) : 0;
    if (!res) {
        res = __Pyx_IsSubtype((PyTypeObject*)err, (PyTypeObject*)exc_type2);
    }
    return res;
}
#endif
static int __Pyx_PyErr_GivenExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) {
    Py_ssize_t i, n;
    assert(PyExceptionClass_Check(exc_type));
    n = PyTuple_GET_SIZE(tuple);
#if PY_MAJOR_VERSION >= 3
    for (i=0; i<n; i++) {
        if (exc_type == PyTuple_GET_ITEM(tuple, i)) return 1;
    }
#endif
    for (i=0; i<n; i++) {
        PyObject *t = PyTuple_GET_ITEM(tuple, i);
        #if PY_MAJOR_VERSION < 3
        if (likely(exc_type == t)) return 1;
        #endif
        if (likely(PyExceptionClass_Check(t))) {
            if (__Pyx_inner_PyErr_GivenExceptionMatches2(exc_type, NULL, t)) return 1;
        } else {
        }
    }
    return 0;
}
static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject* exc_type) {
    if (likely(err == exc_type)) return 1;
    if (likely(PyExceptionClass_Check(err))) {
        if (likely(PyExceptionClass_Check(exc_type))) {
            return __Pyx_inner_PyErr_GivenExceptionMatches2(err, NULL, exc_type);
        } else if (likely(PyTuple_Check(exc_type))) {
            return __Pyx_PyErr_GivenExceptionMatchesTuple(err, exc_type);
        } else {
        }
    }
    return PyErr_GivenExceptionMatches(err, exc_type);
}
static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *exc_type1, PyObject *exc_type2) {
    assert(PyExceptionClass_Check(exc_type1));
    assert(PyExceptionClass_Check(exc_type2));
    if (likely(err == exc_type1 || err == exc_type2)) return 1;
    if (likely(PyExceptionClass_Check(err))) {
        return __Pyx_inner_PyErr_GivenExceptionMatches2(err, exc_type1, exc_type2);
    }
    return (PyErr_GivenExceptionMatches(err, exc_type1) || PyErr_GivenExceptionMatches(err, exc_type2));
}
#endif

/* pyfrozenset_new */
static CYTHON_INLINE PyObject* __Pyx_PyFrozenSet_New(PyObject* it) {
    if (it) {
        PyObject* result;
#if CYTHON_COMPILING_IN_PYPY
        PyObject* args;
        args = PyTuple_Pack(1, it);
        if (unlikely(!args))
            return NULL;
        result = PyObject_Call((PyObject*)&PyFrozenSet_Type, args, NULL);
        Py_DECREF(args);
        return result;
#else
        if (PyFrozenSet_CheckExact(it)) {
            Py_INCREF(it);
            return it;
        }
        result = PyFrozenSet_New(it);
        if (unlikely(!result))
            return NULL;
        if ((PY_VERSION_HEX >= 0x031000A1) || likely(PySet_GET_SIZE(result)))
            return result;
        Py_DECREF(result);
#endif
    }
#if CYTHON_USE_TYPE_SLOTS
    return PyFrozenSet_Type.tp_new(&PyFrozenSet_Type, __pyx_empty_tuple, NULL);
#else
    return PyObject_Call((PyObject*)&PyFrozenSet_Type, __pyx_empty_tuple, NULL);
#endif
}

/* PySetContains */
static int __Pyx_PySet_ContainsUnhashable(PyObject *set, PyObject *key) {
    int result = -1;
    if (PySet_Check(key) && PyErr_ExceptionMatches(PyExc_TypeError)) {
        PyObject *tmpkey;
        PyErr_Clear();
        tmpkey = __Pyx_PyFrozenSet_New(key);
        if (tmpkey != NULL) {
            result = PySet_Contains(set, tmpkey);
            Py_DECREF(tmpkey);
        }
    }
    return result;
}
static CYTHON_INLINE int __Pyx_PySet_ContainsTF(PyObject* key, PyObject* set, int eq) {
    int result = PySet_Contains(set, key);
    if (unlikely(result < 0)) {
        result = __Pyx_PySet_ContainsUnhashable(set, key);
    }
    return unlikely(result < 0) ? result : (result == (eq == Py_EQ));
}

/* py_set_discard_unhashable */
static int __Pyx_PySet_DiscardUnhashable(PyObject *set, PyObject *key) {
    PyObject *tmpkey;
    int rv;
    if (likely(!PySet_Check(key) || !PyErr_ExceptionMatches(PyExc_TypeError)))
        return -1;
    PyErr_Clear();
    tmpkey = __Pyx_PyFrozenSet_New(key);
    if (tmpkey == NULL)
        return -1;
    rv = PySet_Discard(set, tmpkey);
    Py_DECREF(tmpkey);
    return rv;
}

/* py_set_discard */
static CYTHON_INLINE int __Pyx_PySet_Discard(PyObject *set, PyObject *key) {
    int found = PySet_Discard(set, key);
    if (unlikely(found < 0)) {
        found = __Pyx_PySet_DiscardUnhashable(set, key);
    }
    return found;
}

/* RaiseException */
#if PY_MAJOR_VERSION < 3
static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb,
                        CYTHON_UNUSED PyObject *cause) {
    __Pyx_PyThreadState_declare
    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 (PyType_Check(type)) {
#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;
        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;
        }
    }
    __Pyx_PyThreadState_assign
    __Pyx_ErrRestore(type, value, tb);
    return;
raise_error:
    Py_XDECREF(value);
    Py_XDECREF(type);
    Py_XDECREF(tb);
    return;
}
#else
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) {
                int is_subclass = PyObject_IsSubclass(instance_class, type);
                if (!is_subclass) {
                    instance_class = NULL;
                } else if (unlikely(is_subclass == -1)) {
                    goto bad;
                } else {
                    type = instance_class;
                }
            }
        }
        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 (cause) {
        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) {
#if CYTHON_COMPILING_IN_PYPY
        PyObject *tmp_type, *tmp_value, *tmp_tb;
        PyErr_Fetch(&tmp_type, &tmp_value, &tmp_tb);
        Py_INCREF(tb);
        PyErr_Restore(tmp_type, tmp_value, tb);
        Py_XDECREF(tmp_tb);
#else
        PyThreadState *tstate = __Pyx_PyThreadState_Current;
        PyObject* tmp_tb = tstate->curexc_traceback;
        if (tb != tmp_tb) {
            Py_INCREF(tb);
            tstate->curexc_traceback = tb;
            Py_XDECREF(tmp_tb);
        }
#endif
    }
bad:
    Py_XDECREF(owned_instance);
    return;
}
#endif

/* PyObjectFormatAndDecref */
static CYTHON_INLINE PyObject* __Pyx_PyObject_FormatSimpleAndDecref(PyObject* s, PyObject* f) {
    if (unlikely(!s)) return NULL;
    if (likely(PyUnicode_CheckExact(s))) return s;
    #if PY_MAJOR_VERSION < 3
    if (likely(PyString_CheckExact(s))) {
        PyObject *result = PyUnicode_FromEncodedObject(s, NULL, "strict");
        Py_DECREF(s);
        return result;
    }
    #endif
    return __Pyx_PyObject_FormatAndDecref(s, f);
}
static CYTHON_INLINE PyObject* __Pyx_PyObject_FormatAndDecref(PyObject* s, PyObject* f) {
    PyObject *result = PyObject_Format(s, f);
    Py_DECREF(s);
    return result;
}

/* JoinPyUnicode */
static PyObject* __Pyx_PyUnicode_Join(PyObject* value_tuple, Py_ssize_t value_count, Py_ssize_t result_ulength,
                                      CYTHON_UNUSED Py_UCS4 max_char) {
#if CYTHON_USE_UNICODE_INTERNALS && CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
    PyObject *result_uval;
    int result_ukind;
    Py_ssize_t i, char_pos;
    void *result_udata;
#if CYTHON_PEP393_ENABLED
    result_uval = PyUnicode_New(result_ulength, max_char);
    if (unlikely(!result_uval)) return NULL;
    result_ukind = (max_char <= 255) ? PyUnicode_1BYTE_KIND : (max_char <= 65535) ? PyUnicode_2BYTE_KIND : PyUnicode_4BYTE_KIND;
    result_udata = PyUnicode_DATA(result_uval);
#else
    result_uval = PyUnicode_FromUnicode(NULL, result_ulength);
    if (unlikely(!result_uval)) return NULL;
    result_ukind = sizeof(Py_UNICODE);
    result_udata = PyUnicode_AS_UNICODE(result_uval);
#endif
    char_pos = 0;
    for (i=0; i < value_count; i++) {
        int ukind;
        Py_ssize_t ulength;
        void *udata;
        PyObject *uval = PyTuple_GET_ITEM(value_tuple, i);
        if (unlikely(__Pyx_PyUnicode_READY(uval)))
            goto bad;
        ulength = __Pyx_PyUnicode_GET_LENGTH(uval);
        if (unlikely(!ulength))
            continue;
        if (unlikely(char_pos + ulength < 0))
            goto overflow;
        ukind = __Pyx_PyUnicode_KIND(uval);
        udata = __Pyx_PyUnicode_DATA(uval);
        if (!CYTHON_PEP393_ENABLED || ukind == result_ukind) {
            memcpy((char *)result_udata + char_pos * result_ukind, udata, (size_t) (ulength * result_ukind));
        } else {
            #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030300F0 || defined(_PyUnicode_FastCopyCharacters)
            _PyUnicode_FastCopyCharacters(result_uval, char_pos, uval, 0, ulength);
            #else
            Py_ssize_t j;
            for (j=0; j < ulength; j++) {
                Py_UCS4 uchar = __Pyx_PyUnicode_READ(ukind, udata, j);
                __Pyx_PyUnicode_WRITE(result_ukind, result_udata, char_pos+j, uchar);
            }
            #endif
        }
        char_pos += ulength;
    }
    return result_uval;
overflow:
    PyErr_SetString(PyExc_OverflowError, "join() result is too long for a Python string");
bad:
    Py_DECREF(result_uval);
    return NULL;
#else
    result_ulength++;
    value_count++;
    return PyUnicode_Join(__pyx_empty_unicode, value_tuple);
#endif
}

/* CallNextTpDealloc */
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);
}

/* CallNextTpTraverse */
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;
}

/* CallNextTpClear */
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);
}

/* PyObject_GenericGetAttrNoDict */
#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
static PyObject *__Pyx_RaiseGenericGetAttributeError(PyTypeObject *tp, PyObject *attr_name) {
    PyErr_Format(PyExc_AttributeError,
#if PY_MAJOR_VERSION >= 3
                 "'%.50s' object has no attribute '%U'",
                 tp->tp_name, attr_name);
#else
                 "'%.50s' object has no attribute '%.400s'",
                 tp->tp_name, PyString_AS_STRING(attr_name));
#endif
    return NULL;
}
static CYTHON_INLINE PyObject* __Pyx_PyObject_GenericGetAttrNoDict(PyObject* obj, PyObject* attr_name) {
    PyObject *descr;
    PyTypeObject *tp = Py_TYPE(obj);
    if (unlikely(!PyString_Check(attr_name))) {
        return PyObject_GenericGetAttr(obj, attr_name);
    }
    assert(!tp->tp_dictoffset);
    descr = _PyType_Lookup(tp, attr_name);
    if (unlikely(!descr)) {
        return __Pyx_RaiseGenericGetAttributeError(tp, attr_name);
    }
    Py_INCREF(descr);
    #if PY_MAJOR_VERSION < 3
    if (likely(PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_HAVE_CLASS)))
    #endif
    {
        descrgetfunc f = Py_TYPE(descr)->tp_descr_get;
        if (unlikely(f)) {
            PyObject *res = f(descr, obj, (PyObject *)tp);
            Py_DECREF(descr);
            return res;
        }
    }
    return descr;
}
#endif

/* PyObject_GenericGetAttr */
#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
static PyObject* __Pyx_PyObject_GenericGetAttr(PyObject* obj, PyObject* attr_name) {
    if (unlikely(Py_TYPE(obj)->tp_dictoffset)) {
        return PyObject_GenericGetAttr(obj, attr_name);
    }
    return __Pyx_PyObject_GenericGetAttrNoDict(obj, attr_name);
}
#endif

/* TypeImport */
#ifndef __PYX_HAVE_RT_ImportType
#define __PYX_HAVE_RT_ImportType
static PyTypeObject *__Pyx_ImportType(PyObject *module, const char *module_name, const char *class_name,
    size_t size, enum __Pyx_ImportType_CheckSize check_size)
{
    PyObject *result = 0;
    char warning[200];
    Py_ssize_t basicsize;
#ifdef Py_LIMITED_API
    PyObject *py_basicsize;
#endif
    result = PyObject_GetAttrString(module, class_name);
    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 ((size_t)basicsize < size) {
        PyErr_Format(PyExc_ValueError,
            "%.200s.%.200s size changed, may indicate binary incompatibility. "
            "Expected %zd from C header, got %zd from PyObject",
            module_name, class_name, size, basicsize);
        goto bad;
    }
    if (check_size == __Pyx_ImportType_CheckSize_Error && (size_t)basicsize != size) {
        PyErr_Format(PyExc_ValueError,
            "%.200s.%.200s size changed, may indicate binary incompatibility. "
            "Expected %zd from C header, got %zd from PyObject",
            module_name, class_name, size, basicsize);
        goto bad;
    }
    else if (check_size == __Pyx_ImportType_CheckSize_Warn && (size_t)basicsize > size) {
        PyOS_snprintf(warning, sizeof(warning),
            "%s.%s size changed, may indicate binary incompatibility. "
            "Expected %zd from C header, got %zd from PyObject",
            module_name, class_name, size, basicsize);
        if (PyErr_WarnEx(NULL, warning, 0) < 0) goto bad;
    }
    return (PyTypeObject *)result;
bad:
    Py_XDECREF(result);
    return NULL;
}
#endif

/* GetVTable */
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
    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;
}

/* SetVTable */
static int __Pyx_SetVtable(PyObject *dict, void *vtable) {
#if PY_VERSION_HEX >= 0x02070000
    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;
}

/* FetchCommonType */
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;
}

/* CythonFunctionShared */
#include <structmember.h>
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, CYTHON_UNUSED void *context)
{
    PyObject *tmp = op->func_doc;
    if (value == NULL) {
        value = Py_None;
    }
    Py_INCREF(value);
    op->func_doc = value;
    Py_XDECREF(tmp);
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_name(__pyx_CyFunctionObject *op, CYTHON_UNUSED void *context)
{
    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, CYTHON_UNUSED void *context)
{
    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, CYTHON_UNUSED void *context)
{
    Py_INCREF(op->func_qualname);
    return op->func_qualname;
}
static int
__Pyx_CyFunction_set_qualname(__pyx_CyFunctionObject *op, PyObject *value, CYTHON_UNUSED void *context)
{
    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, CYTHON_UNUSED void *context)
{
    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, CYTHON_UNUSED void *context)
{
    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, CYTHON_UNUSED void *context)
{
    Py_INCREF(op->func_globals);
    return op->func_globals;
}
static PyObject *
__Pyx_CyFunction_get_closure(CYTHON_UNUSED __pyx_CyFunctionObject *op, CYTHON_UNUSED void *context)
{
    Py_INCREF(Py_None);
    return Py_None;
}
static PyObject *
__Pyx_CyFunction_get_code(__pyx_CyFunctionObject *op, CYTHON_UNUSED void *context)
{
    PyObject* result = (op->func_code) ? op->func_code : Py_None;
    Py_INCREF(result);
    return result;
}
static int
__Pyx_CyFunction_init_defaults(__pyx_CyFunctionObject *op) {
    int result = 0;
    PyObject *res = op->defaults_getter((PyObject *) op);
    if (unlikely(!res))
        return -1;
    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
    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);
    #else
    op->defaults_tuple = PySequence_ITEM(res, 0);
    if (unlikely(!op->defaults_tuple)) result = -1;
    else {
        op->defaults_kwdict = PySequence_ITEM(res, 1);
        if (unlikely(!op->defaults_kwdict)) result = -1;
    }
    #endif
    Py_DECREF(res);
    return result;
}
static int
__Pyx_CyFunction_set_defaults(__pyx_CyFunctionObject *op, PyObject* value, CYTHON_UNUSED void *context) {
    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, CYTHON_UNUSED void *context) {
    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, CYTHON_UNUSED void *context) {
    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, CYTHON_UNUSED void *context) {
    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, CYTHON_UNUSED void *context) {
    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, CYTHON_UNUSED void *context) {
    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}
};
static PyMemberDef __pyx_CyFunction_members[] = {
    {(char *) "__module__", T_OBJECT, offsetof(PyCFunctionObject, 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[] = {
    {"__reduce__", (PyCFunction)__Pyx_CyFunction_reduce, METH_VARARGS, 0},
    {0, 0, 0, 0}
};
#if PY_VERSION_HEX < 0x030500A0
#define __Pyx_CyFunction_weakreflist(cyfunc) ((cyfunc)->func_weakreflist)
#else
#define __Pyx_CyFunction_weakreflist(cyfunc) ((cyfunc)->func.m_weakreflist)
#endif
static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject *op, PyMethodDef *ml, int flags, PyObject* qualname,
                                       PyObject *closure, PyObject *module, PyObject* globals, PyObject* code) {
    if (unlikely(op == NULL))
        return NULL;
    op->flags = flags;
    __Pyx_CyFunction_weakreflist(op) = 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_size = 0;
    op->defaults = NULL;
    op->defaults_tuple = NULL;
    op->defaults_kwdict = NULL;
    op->defaults_getter = NULL;
    op->func_annotations = NULL;
    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]);
        PyObject_Free(m->defaults);
        m->defaults = NULL;
    }
    return 0;
}
static void __Pyx__CyFunction_dealloc(__pyx_CyFunctionObject *m)
{
    if (__Pyx_CyFunction_weakreflist(m) != NULL)
        PyObject_ClearWeakRefs((PyObject *) m);
    __Pyx_CyFunction_clear(m);
    PyObject_GC_Del(m);
}
static void __Pyx_CyFunction_dealloc(__pyx_CyFunctionObject *m)
{
    PyObject_GC_UnTrack(m);
    __Pyx__CyFunction_dealloc(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)
{
#if PY_MAJOR_VERSION < 3
    __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 __Pyx_PyMethod_New(func, type, (PyObject *)(Py_TYPE(type)));
    }
    if (obj == Py_None)
        obj = NULL;
#endif
    return __Pyx_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
}
static PyObject * __Pyx_CyFunction_CallMethod(PyObject *func, PyObject *self, PyObject *arg, PyObject *kw) {
    PyCFunctionObject* f = (PyCFunctionObject*)func;
    PyCFunction meth = f->m_ml->ml_meth;
    Py_ssize_t size;
    switch (f->m_ml->ml_flags & (METH_VARARGS | METH_KEYWORDS | METH_NOARGS | METH_O)) {
    case METH_VARARGS:
        if (likely(kw == NULL || PyDict_Size(kw) == 0))
            return (*meth)(self, arg);
        break;
    case METH_VARARGS | METH_KEYWORDS:
        return (*(PyCFunctionWithKeywords)(void*)meth)(self, arg, kw);
    case METH_NOARGS:
        if (likely(kw == NULL || PyDict_Size(kw) == 0)) {
            size = PyTuple_GET_SIZE(arg);
            if (likely(size == 0))
                return (*meth)(self, NULL);
            PyErr_Format(PyExc_TypeError,
                "%.200s() takes no arguments (%" CYTHON_FORMAT_SSIZE_T "d 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 (likely(size == 1)) {
                PyObject *result, *arg0;
                #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
                arg0 = PyTuple_GET_ITEM(arg, 0);
                #else
                arg0 = PySequence_ITEM(arg, 0); if (unlikely(!arg0)) return NULL;
                #endif
                result = (*meth)(self, arg0);
                #if !(CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS)
                Py_DECREF(arg0);
                #endif
                return result;
            }
            PyErr_Format(PyExc_TypeError,
                "%.200s() takes exactly one argument (%" CYTHON_FORMAT_SSIZE_T "d 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;
}
static CYTHON_INLINE PyObject *__Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) {
    return __Pyx_CyFunction_CallMethod(func, ((PyCFunctionObject*)func)->m_self, arg, kw);
}
static PyObject *__Pyx_CyFunction_CallAsMethod(PyObject *func, PyObject *args, PyObject *kw) {
    PyObject *result;
    __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *) func;
    if ((cyfunc->flags & __Pyx_CYFUNCTION_CCLASS) && !(cyfunc->flags & __Pyx_CYFUNCTION_STATICMETHOD)) {
        Py_ssize_t argc;
        PyObject *new_args;
        PyObject *self;
        argc = PyTuple_GET_SIZE(args);
        new_args = PyTuple_GetSlice(args, 1, argc);
        if (unlikely(!new_args))
            return NULL;
        self = PyTuple_GetItem(args, 0);
        if (unlikely(!self)) {
            Py_DECREF(new_args);
            return NULL;
        }
        result = __Pyx_CyFunction_CallMethod(func, self, new_args, kw);
        Py_DECREF(new_args);
    } else {
        result = __Pyx_CyFunction_Call(func, args, kw);
    }
    return result;
}
static PyTypeObject __pyx_CyFunctionType_type = {
    PyVarObject_HEAD_INIT(0, 0)
    "cython_function_or_method",
    sizeof(__pyx_CyFunctionObject),
    0,
    (destructor) __Pyx_CyFunction_dealloc,
    0,
    0,
    0,
#if PY_MAJOR_VERSION < 3
    0,
#else
    0,
#endif
    (reprfunc) __Pyx_CyFunction_repr,
    0,
    0,
    0,
    0,
    __Pyx_CyFunction_CallAsMethod,
    0,
    0,
    0,
    0,
    Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,
    0,
    (traverseproc) __Pyx_CyFunction_traverse,
    (inquiry) __Pyx_CyFunction_clear,
    0,
#if PY_VERSION_HEX < 0x030500A0
    offsetof(__pyx_CyFunctionObject, func_weakreflist),
#else
    offsetof(PyCFunctionObject, m_weakreflist),
#endif
    0,
    0,
    __pyx_CyFunction_methods,
    __pyx_CyFunction_members,
    __pyx_CyFunction_getsets,
    0,
    0,
    __Pyx_CyFunction_descr_get,
    0,
    offsetof(__pyx_CyFunctionObject, func_dict),
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
#if PY_VERSION_HEX >= 0x030400a1
    0,
#endif
#if PY_VERSION_HEX >= 0x030800b1
    0,
#endif
#if PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000
    0,
#endif
};
static int __pyx_CyFunction_init(void) {
    __pyx_CyFunctionType = __Pyx_FetchCommonType(&__pyx_CyFunctionType_type);
    if (unlikely(__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 = PyObject_Malloc(size);
    if (unlikely(!m->defaults))
        return PyErr_NoMemory();
    memset(m->defaults, 0, size);
    m->defaults_pyobjects = pyobjects;
    m->defaults_size = size;
    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);
}

/* CythonFunction */
static PyObject *__Pyx_CyFunction_New(PyMethodDef *ml, int flags, PyObject* qualname,
                                      PyObject *closure, PyObject *module, PyObject* globals, PyObject* code) {
    PyObject *op = __Pyx_CyFunction_Init(
        PyObject_GC_New(__pyx_CyFunctionObject, __pyx_CyFunctionType),
        ml, flags, qualname, closure, module, globals, code
    );
    if (likely(op)) {
        PyObject_GC_Track(op);
    }
    return op;
}

/* CalculateMetaclass */
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;
}

/* Py3ClassCreate */
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;
}

/* CLineInTraceback */
#ifndef CYTHON_CLINE_IN_TRACEBACK
static int __Pyx_CLineForTraceback(CYTHON_NCP_UNUSED PyThreadState *tstate, int c_line) {
    PyObject *use_cline;
    PyObject *ptype, *pvalue, *ptraceback;
#if CYTHON_COMPILING_IN_CPYTHON
    PyObject **cython_runtime_dict;
#endif
    if (unlikely(!__pyx_cython_runtime)) {
        return c_line;
    }
    __Pyx_ErrFetchInState(tstate, &ptype, &pvalue, &ptraceback);
#if CYTHON_COMPILING_IN_CPYTHON
    cython_runtime_dict = _PyObject_GetDictPtr(__pyx_cython_runtime);
    if (likely(cython_runtime_dict)) {
        __PYX_PY_DICT_LOOKUP_IF_MODIFIED(
            use_cline, *cython_runtime_dict,
            __Pyx_PyDict_GetItemStr(*cython_runtime_dict, __pyx_n_s_cline_in_traceback))
    } else
#endif
    {
      PyObject *use_cline_obj = __Pyx_PyObject_GetAttrStr(__pyx_cython_runtime, __pyx_n_s_cline_in_traceback);
      if (use_cline_obj) {
        use_cline = PyObject_Not(use_cline_obj) ? Py_False : Py_True;
        Py_DECREF(use_cline_obj);
      } else {
        PyErr_Clear();
        use_cline = NULL;
      }
    }
    if (!use_cline) {
        c_line = 0;
        PyObject_SetAttr(__pyx_cython_runtime, __pyx_n_s_cline_in_traceback, Py_False);
    }
    else if (use_cline == Py_False || (use_cline != Py_True && PyObject_Not(use_cline) != 0)) {
        c_line = 0;
    }
    __Pyx_ErrRestoreInState(tstate, ptype, pvalue, ptraceback);
    return c_line;
}
#endif

/* CodeObjectCache */
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 - start) / 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, ((size_t)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);
}

/* AddTraceback */
#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,
        0,
        0,
        0,
        0,
        __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,
        __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;
    PyFrameObject *py_frame = 0;
    PyThreadState *tstate = __Pyx_PyThreadState_Current;
    if (c_line) {
        c_line = __Pyx_CLineForTraceback(tstate, c_line);
    }
    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_frame = PyFrame_New(
        tstate,            /*PyThreadState *tstate,*/
        py_code,           /*PyCodeObject *code,*/
        __pyx_d,    /*PyObject *globals,*/
        0                  /*PyObject *locals*/
    );
    if (!py_frame) goto bad;
    __Pyx_PyFrame_SetLineNumber(py_frame, py_line);
    PyTraceBack_Here(py_frame);
bad:
    Py_XDECREF(py_code);
    Py_XDECREF(py_frame);
}

/* CIntFromPyVerify */
#define __PYX_VERIFY_RETURN_INT(target_type, func_type, func_value)\
    __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, 0)
#define __PYX_VERIFY_RETURN_INT_EXC(target_type, func_type, func_value)\
    __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, 1)
#define __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, exc)\
    {\
        func_type value = func_value;\
        if (sizeof(target_type) < sizeof(func_type)) {\
            if (unlikely(value != (func_type) (target_type) value)) {\
                func_type zero = 0;\
                if (exc && unlikely(value == (func_type)-1 && PyErr_Occurred()))\
                    return (target_type) -1;\
                if (is_unsigned && unlikely(value < zero))\
                    goto raise_neg_overflow;\
                else\
                    goto raise_overflow;\
            }\
        }\
        return (target_type) value;\
    }

/* CIntToPy */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
#ifdef __Pyx_HAS_GCC_DIAGNOSTIC
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wconversion"
#endif
    const long neg_one = (long) -1, const_zero = (long) 0;
#ifdef __Pyx_HAS_GCC_DIAGNOSTIC
#pragma GCC diagnostic pop
#endif
    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);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(long) <= sizeof(unsigned PY_LONG_LONG)) {
            return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
#endif
        }
    } else {
        if (sizeof(long) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(long) <= sizeof(PY_LONG_LONG)) {
            return PyLong_FromLongLong((PY_LONG_LONG) value);
#endif
        }
    }
    {
        int one = 1; int little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&value;
        return _PyLong_FromByteArray(bytes, sizeof(long),
                                     little, !is_unsigned);
    }
}

/* CIntFromPy */
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
#ifdef __Pyx_HAS_GCC_DIAGNOSTIC
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wconversion"
#endif
    const long neg_one = (long) -1, const_zero = (long) 0;
#ifdef __Pyx_HAS_GCC_DIAGNOSTIC
#pragma GCC diagnostic pop
#endif
    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(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (long) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (long) 0;
                case  1: __PYX_VERIFY_RETURN_INT(long, digit, digits[0])
                case 2:
                    if (8 * sizeof(long) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) >= 2 * PyLong_SHIFT) {
                            return (long) (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(long) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) >= 3 * PyLong_SHIFT) {
                            return (long) (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(long) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) >= 4 * PyLong_SHIFT) {
                            return (long) (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
                        }
                    }
                    break;
            }
#endif
#if CYTHON_COMPILING_IN_CPYTHON
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
#else
            {
                int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
                if (unlikely(result < 0))
                    return (long) -1;
                if (unlikely(result == 1))
                    goto raise_neg_overflow;
            }
#endif
            if (sizeof(long) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT_EXC(long, unsigned long, PyLong_AsUnsignedLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(long) <= sizeof(unsigned PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
#endif
            }
        } else {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (long) 0;
                case -1: __PYX_VERIFY_RETURN_INT(long, sdigit, (sdigit) (-(sdigit)digits[0]))
                case  1: __PYX_VERIFY_RETURN_INT(long,  digit, +digits[0])
                case -2:
                    if (8 * sizeof(long) - 1 > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
                            return (long) (((long)-1)*(((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
                        }
                    }
                    break;
                case 2:
                    if (8 * sizeof(long) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
                            return (long) ((((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
                        }
                    }
                    break;
                case -3:
                    if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
                            return (long) (((long)-1)*(((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(long) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
                            return (long) ((((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
                        }
                    }
                    break;
                case -4:
                    if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) {
                            return (long) (((long)-1)*(((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(long) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) {
                            return (long) ((((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
                        }
                    }
                    break;
            }
#endif
            if (sizeof(long) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT_EXC(long, long, PyLong_AsLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(long) <= sizeof(PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(long, PY_LONG_LONG, PyLong_AsLongLong(x))
#endif
            }
        }
        {
#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_IntOrLong(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_IntOrLong(x);
        if (!tmp) return (long) -1;
        val = __Pyx_PyInt_As_long(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to long");
    return (long) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to long");
    return (long) -1;
}

/* CIntToPy */
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value) {
#ifdef __Pyx_HAS_GCC_DIAGNOSTIC
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wconversion"
#endif
    const int neg_one = (int) -1, const_zero = (int) 0;
#ifdef __Pyx_HAS_GCC_DIAGNOSTIC
#pragma GCC diagnostic pop
#endif
    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);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(int) <= sizeof(unsigned PY_LONG_LONG)) {
            return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value);
#endif
        }
    } else {
        if (sizeof(int) <= sizeof(long)) {
            return PyInt_FromLong((long) value);
#ifdef HAVE_LONG_LONG
        } else if (sizeof(int) <= sizeof(PY_LONG_LONG)) {
            return PyLong_FromLongLong((PY_LONG_LONG) value);
#endif
        }
    }
    {
        int one = 1; int little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&value;
        return _PyLong_FromByteArray(bytes, sizeof(int),
                                     little, !is_unsigned);
    }
}

/* CIntFromPy */
static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
#ifdef __Pyx_HAS_GCC_DIAGNOSTIC
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wconversion"
#endif
    const int neg_one = (int) -1, const_zero = (int) 0;
#ifdef __Pyx_HAS_GCC_DIAGNOSTIC
#pragma GCC diagnostic pop
#endif
    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(x))
        } else {
            long val = PyInt_AS_LONG(x);
            if (is_unsigned && unlikely(val < 0)) {
                goto raise_neg_overflow;
            }
            return (int) val;
        }
    } else
#endif
    if (likely(PyLong_Check(x))) {
        if (is_unsigned) {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (int) 0;
                case  1: __PYX_VERIFY_RETURN_INT(int, digit, digits[0])
                case 2:
                    if (8 * sizeof(int) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) >= 2 * PyLong_SHIFT) {
                            return (int) (((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0]));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(int) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) >= 3 * PyLong_SHIFT) {
                            return (int) (((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(int) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) >= 4 * PyLong_SHIFT) {
                            return (int) (((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]));
                        }
                    }
                    break;
            }
#endif
#if CYTHON_COMPILING_IN_CPYTHON
            if (unlikely(Py_SIZE(x) < 0)) {
                goto raise_neg_overflow;
            }
#else
            {
                int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
                if (unlikely(result < 0))
                    return (int) -1;
                if (unlikely(result == 1))
                    goto raise_neg_overflow;
            }
#endif
            if (sizeof(int) <= sizeof(unsigned long)) {
                __PYX_VERIFY_RETURN_INT_EXC(int, unsigned long, PyLong_AsUnsignedLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(int) <= sizeof(unsigned PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(int, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
#endif
            }
        } else {
#if CYTHON_USE_PYLONG_INTERNALS
            const digit* digits = ((PyLongObject*)x)->ob_digit;
            switch (Py_SIZE(x)) {
                case  0: return (int) 0;
                case -1: __PYX_VERIFY_RETURN_INT(int, sdigit, (sdigit) (-(sdigit)digits[0]))
                case  1: __PYX_VERIFY_RETURN_INT(int,  digit, +digits[0])
                case -2:
                    if (8 * sizeof(int) - 1 > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) - 1 > 2 * PyLong_SHIFT) {
                            return (int) (((int)-1)*(((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
                        }
                    }
                    break;
                case 2:
                    if (8 * sizeof(int) > 1 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) - 1 > 2 * PyLong_SHIFT) {
                            return (int) ((((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
                        }
                    }
                    break;
                case -3:
                    if (8 * sizeof(int) - 1 > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) - 1 > 3 * PyLong_SHIFT) {
                            return (int) (((int)-1)*(((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
                        }
                    }
                    break;
                case 3:
                    if (8 * sizeof(int) > 2 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) - 1 > 3 * PyLong_SHIFT) {
                            return (int) ((((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
                        }
                    }
                    break;
                case -4:
                    if (8 * sizeof(int) - 1 > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) - 1 > 4 * PyLong_SHIFT) {
                            return (int) (((int)-1)*(((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
                        }
                    }
                    break;
                case 4:
                    if (8 * sizeof(int) > 3 * PyLong_SHIFT) {
                        if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT) {
                            __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
                        } else if (8 * sizeof(int) - 1 > 4 * PyLong_SHIFT) {
                            return (int) ((((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
                        }
                    }
                    break;
            }
#endif
            if (sizeof(int) <= sizeof(long)) {
                __PYX_VERIFY_RETURN_INT_EXC(int, long, PyLong_AsLong(x))
#ifdef HAVE_LONG_LONG
            } else if (sizeof(int) <= sizeof(PY_LONG_LONG)) {
                __PYX_VERIFY_RETURN_INT_EXC(int, PY_LONG_LONG, PyLong_AsLongLong(x))
#endif
            }
        }
        {
#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_IntOrLong(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_IntOrLong(x);
        if (!tmp) return (int) -1;
        val = __Pyx_PyInt_As_int(tmp);
        Py_DECREF(tmp);
        return val;
    }
raise_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "value too large to convert to int");
    return (int) -1;
raise_neg_overflow:
    PyErr_SetString(PyExc_OverflowError,
        "can't convert negative value to int");
    return (int) -1;
}

/* CheckBinaryVersion */
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);
        return PyErr_WarnEx(NULL, message, 1);
    }
    return 0;
}

/* VoidPtrExport */
static int __Pyx_ExportVoidPtr(PyObject *name, void *p, const char *sig) {
    PyObject *d;
    PyObject *cobj = 0;
    d = PyDict_GetItem(__pyx_d, __pyx_n_s_pyx_capi);
    Py_XINCREF(d);
    if (!d) {
        d = PyDict_New();
        if (!d)
            goto bad;
        if (__Pyx_PyObject_SetAttrStr(__pyx_m, __pyx_n_s_pyx_capi, d) < 0)
            goto bad;
    }
#if PY_VERSION_HEX >= 0x02070000
    cobj = PyCapsule_New(p, sig, 0);
#else
    cobj = PyCObject_FromVoidPtrAndDesc(p, (void *)sig, 0);
#endif
    if (!cobj)
        goto bad;
    if (PyDict_SetItem(d, name, cobj) < 0)
        goto bad;
    Py_DECREF(cobj);
    Py_DECREF(d);
    return 0;
bad:
    Py_XDECREF(cobj);
    Py_XDECREF(d);
    return -1;
}

/* FunctionExport */
static int __Pyx_ExportFunction(const char *name, void (*f)(void), const char *sig) {
    PyObject *d = 0;
    PyObject *cobj = 0;
    union {
        void (*fp)(void);
        void *p;
    } tmp;
    d = PyObject_GetAttrString(__pyx_m, (char *)"__pyx_capi__");
    if (!d) {
        PyErr_Clear();
        d = PyDict_New();
        if (!d)
            goto bad;
        Py_INCREF(d);
        if (PyModule_AddObject(__pyx_m, (char *)"__pyx_capi__", d) < 0)
            goto bad;
    }
    tmp.fp = f;
#if PY_VERSION_HEX >= 0x02070000
    cobj = PyCapsule_New(tmp.p, sig, 0);
#else
    cobj = PyCObject_FromVoidPtrAndDesc(tmp.p, (void *)sig, 0);
#endif
    if (!cobj)
        goto bad;
    if (PyDict_SetItemString(d, name, cobj) < 0)
        goto bad;
    Py_DECREF(cobj);
    Py_DECREF(d);
    return 0;
bad:
    Py_XDECREF(cobj);
    Py_XDECREF(d);
    return -1;
}

/* InitStrings */
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
        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;
        if (PyObject_Hash(*t->p) == -1)
            return -1;
        ++t;
    }
    return 0;
}

static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
    return __Pyx_PyUnicode_FromStringAndSize(c_str, (Py_ssize_t)strlen(c_str));
}
static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject* o) {
    Py_ssize_t ignore;
    return __Pyx_PyObject_AsStringAndSize(o, &ignore);
}
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
#if !CYTHON_PEP393_ENABLED
static const char* __Pyx_PyUnicode_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
    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
    *length = PyBytes_GET_SIZE(defenc);
    return defenc_c;
}
#else
static CYTHON_INLINE const char* __Pyx_PyUnicode_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
    if (unlikely(__Pyx_PyUnicode_READY(o) == -1)) return NULL;
#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
    if (likely(PyUnicode_IS_ASCII(o))) {
        *length = PyUnicode_GET_LENGTH(o);
        return PyUnicode_AsUTF8(o);
    } else {
        PyUnicode_AsASCIIString(o);
        return NULL;
    }
#else
    return PyUnicode_AsUTF8AndSize(o, length);
#endif
}
#endif
#endif
static CYTHON_INLINE const 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)) {
        return __Pyx_PyUnicode_AsStringAndSize(o, length);
    } else
#endif
#if (!CYTHON_COMPILING_IN_PYPY) || (defined(PyByteArray_AS_STRING) && defined(PyByteArray_GET_SIZE))
    if (PyByteArray_Check(o)) {
        *length = PyByteArray_GET_SIZE(o);
        return PyByteArray_AS_STRING(o);
    } else
#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 int __Pyx_PyObject_IsTrueAndDecref(PyObject* x) {
    int retval;
    if (unlikely(!x)) return -1;
    retval = __Pyx_PyObject_IsTrue(x);
    Py_DECREF(x);
    return retval;
}
static PyObject* __Pyx_PyNumber_IntOrLongWrongResultType(PyObject* result, const char* type_name) {
#if PY_MAJOR_VERSION >= 3
    if (PyLong_Check(result)) {
        if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
                "__int__ returned non-int (type %.200s).  "
                "The ability to return an instance of a strict subclass of int "
                "is deprecated, and may be removed in a future version of Python.",
                Py_TYPE(result)->tp_name)) {
            Py_DECREF(result);
            return NULL;
        }
        return result;
    }
#endif
    PyErr_Format(PyExc_TypeError,
                 "__%.4s__ returned non-%.4s (type %.200s)",
                 type_name, type_name, Py_TYPE(result)->tp_name);
    Py_DECREF(result);
    return NULL;
}
static CYTHON_INLINE PyObject* __Pyx_PyNumber_IntOrLong(PyObject* x) {
#if CYTHON_USE_TYPE_SLOTS
  PyNumberMethods *m;
#endif
  const char *name = NULL;
  PyObject *res = NULL;
#if PY_MAJOR_VERSION < 3
  if (likely(PyInt_Check(x) || PyLong_Check(x)))
#else
  if (likely(PyLong_Check(x)))
#endif
    return __Pyx_NewRef(x);
#if CYTHON_USE_TYPE_SLOTS
  m = Py_TYPE(x)->tp_as_number;
  #if PY_MAJOR_VERSION < 3
  if (m && m->nb_int) {
    name = "int";
    res = m->nb_int(x);
  }
  else if (m && m->nb_long) {
    name = "long";
    res = m->nb_long(x);
  }
  #else
  if (likely(m && m->nb_int)) {
    name = "int";
    res = m->nb_int(x);
  }
  #endif
#else
  if (!PyBytes_CheckExact(x) && !PyUnicode_CheckExact(x)) {
    res = PyNumber_Int(x);
  }
#endif
  if (likely(res)) {
#if PY_MAJOR_VERSION < 3
    if (unlikely(!PyInt_Check(res) && !PyLong_Check(res))) {
#else
    if (unlikely(!PyLong_CheckExact(res))) {
#endif
        return __Pyx_PyNumber_IntOrLongWrongResultType(res, name);
    }
  }
  else if (!PyErr_Occurred()) {
    PyErr_SetString(PyExc_TypeError,
                    "an integer is required");
  }
  return res;
}
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))) {
    if (sizeof(Py_ssize_t) >= sizeof(long))
        return PyInt_AS_LONG(b);
    else
        return PyInt_AsSsize_t(b);
  }
#endif
  if (likely(PyLong_CheckExact(b))) {
    #if CYTHON_USE_PYLONG_INTERNALS
    const digit* digits = ((PyLongObject*)b)->ob_digit;
    const Py_ssize_t size = Py_SIZE(b);
    if (likely(__Pyx_sst_abs(size) <= 1)) {
        ival = likely(size) ? digits[0] : 0;
        if (size == -1) ival = -ival;
        return ival;
    } else {
      switch (size) {
         case 2:
           if (8 * sizeof(Py_ssize_t) > 2 * PyLong_SHIFT) {
             return (Py_ssize_t) (((((size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0]));
           }
           break;
         case -2:
           if (8 * sizeof(Py_ssize_t) > 2 * PyLong_SHIFT) {
             return -(Py_ssize_t) (((((size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0]));
           }
           break;
         case 3:
           if (8 * sizeof(Py_ssize_t) > 3 * PyLong_SHIFT) {
             return (Py_ssize_t) (((((((size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0]));
           }
           break;
         case -3:
           if (8 * sizeof(Py_ssize_t) > 3 * PyLong_SHIFT) {
             return -(Py_ssize_t) (((((((size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0]));
           }
           break;
         case 4:
           if (8 * sizeof(Py_ssize_t) > 4 * PyLong_SHIFT) {
             return (Py_ssize_t) (((((((((size_t)digits[3]) << PyLong_SHIFT) | (size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0]));
           }
           break;
         case -4:
           if (8 * sizeof(Py_ssize_t) > 4 * PyLong_SHIFT) {
             return -(Py_ssize_t) (((((((((size_t)digits[3]) << PyLong_SHIFT) | (size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0]));
           }
           break;
      }
    }
    #endif
    return PyLong_AsSsize_t(b);
  }
  x = PyNumber_Index(b);
  if (!x) return -1;
  ival = PyInt_AsSsize_t(x);
  Py_DECREF(x);
  return ival;
}
static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b) {
  return b ? __Pyx_NewRef(Py_True) : __Pyx_NewRef(Py_False);
}
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
    return PyInt_FromSize_t(ival);
}


#endif /* Py_PYTHON_H */
