/* Generated by Cython 3.2.3 */

/* BEGIN: Cython Metadata
{
    "distutils": {
        "depends": [
            "/build/python-kivy/src/kivy/kivy/_event.pxd",
            "/build/python-kivy/src/kivy/kivy/_metrics.pxd"
        ],
        "extra_link_args": [
            "-lm"
        ],
        "include_dirs": [
            "/build/python-kivy/src/kivy/kivy/include"
        ],
        "name": "kivy.properties",
        "sources": [
            "/build/python-kivy/src/kivy/kivy/properties.pyx"
        ]
    },
    "module_name": "kivy.properties"
}
END: Cython Metadata */

#ifndef PY_SSIZE_T_CLEAN
#define PY_SSIZE_T_CLEAN
#endif /* PY_SSIZE_T_CLEAN */
/* InitLimitedAPI */
#if defined(Py_LIMITED_API)
  #if !defined(CYTHON_LIMITED_API)
  #define CYTHON_LIMITED_API 1
  #endif
#elif defined(CYTHON_LIMITED_API)
  #ifdef _MSC_VER
  #pragma message ("Limited API usage is enabled with 'CYTHON_LIMITED_API' but 'Py_LIMITED_API' does not define a Python target version. Consider setting 'Py_LIMITED_API' instead.")
  #else
  #warning Limited API usage is enabled with 'CYTHON_LIMITED_API' but 'Py_LIMITED_API' does not define a Python target version. Consider setting 'Py_LIMITED_API' instead.
  #endif
#endif

#include "Python.h"
#ifndef Py_PYTHON_H
    #error Python headers needed to compile C extensions, please install development version of Python.
#elif PY_VERSION_HEX < 0x03080000
    #error Cython requires Python 3.8+.
#else
#define __PYX_ABI_VERSION "3_2_3"
#define CYTHON_HEX_VERSION 0x030203F0
#define CYTHON_FUTURE_DIVISION 1
/* CModulePreamble */
#include <stddef.h>
#ifndef offsetof
  #define offsetof(type, member) ( (size_t) & ((type*)0) -> member )
#endif
#if !defined(_WIN32) && !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 PY_LONG_LONG
  #define PY_LONG_LONG LONG_LONG
#endif
#ifndef Py_HUGE_VAL
  #define Py_HUGE_VAL HUGE_VAL
#endif
#define __PYX_LIMITED_VERSION_HEX PY_VERSION_HEX
#if defined(GRAALVM_PYTHON)
  /* For very preliminary testing purposes. Most variables are set the same as PyPy.
     The existence of this section does not imply that anything works or is even tested */
  #define CYTHON_COMPILING_IN_PYPY 0
  #define CYTHON_COMPILING_IN_CPYTHON 0
  #define CYTHON_COMPILING_IN_LIMITED_API 0
  #define CYTHON_COMPILING_IN_GRAAL 1
  #define CYTHON_COMPILING_IN_CPYTHON_FREETHREADING 0
  #undef CYTHON_USE_TYPE_SLOTS
  #define CYTHON_USE_TYPE_SLOTS 0
  #undef CYTHON_USE_TYPE_SPECS
  #define CYTHON_USE_TYPE_SPECS 0
  #undef CYTHON_USE_PYTYPE_LOOKUP
  #define CYTHON_USE_PYTYPE_LOOKUP 0
  #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_AVOID_THREAD_UNSAFE_BORROWED_REFS
  #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 0
  #undef CYTHON_ASSUME_SAFE_MACROS
  #define CYTHON_ASSUME_SAFE_MACROS 0
  #undef CYTHON_ASSUME_SAFE_SIZE
  #define CYTHON_ASSUME_SAFE_SIZE 0
  #undef CYTHON_UNPACK_METHODS
  #define CYTHON_UNPACK_METHODS 0
  #undef CYTHON_FAST_THREAD_STATE
  #define CYTHON_FAST_THREAD_STATE 0
  #undef CYTHON_FAST_GIL
  #define CYTHON_FAST_GIL 0
  #undef CYTHON_METH_FASTCALL
  #define CYTHON_METH_FASTCALL 0
  #undef CYTHON_FAST_PYCALL
  #define CYTHON_FAST_PYCALL 0
  #ifndef CYTHON_PEP487_INIT_SUBCLASS
    #define CYTHON_PEP487_INIT_SUBCLASS 1
  #endif
  #undef CYTHON_PEP489_MULTI_PHASE_INIT
  #define CYTHON_PEP489_MULTI_PHASE_INIT 1
  #undef CYTHON_USE_MODULE_STATE
  #define CYTHON_USE_MODULE_STATE 0
  #undef CYTHON_USE_SYS_MONITORING
  #define CYTHON_USE_SYS_MONITORING 0
  #undef CYTHON_USE_TP_FINALIZE
  #define CYTHON_USE_TP_FINALIZE 0
  #undef CYTHON_USE_AM_SEND
  #define CYTHON_USE_AM_SEND 0
  #undef CYTHON_USE_DICT_VERSIONS
  #define CYTHON_USE_DICT_VERSIONS 0
  #undef CYTHON_USE_EXC_INFO_STACK
  #define CYTHON_USE_EXC_INFO_STACK 1
  #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
    #define CYTHON_UPDATE_DESCRIPTOR_DOC 0
  #endif
  #undef CYTHON_USE_FREELISTS
  #define CYTHON_USE_FREELISTS 0
  #undef CYTHON_IMMORTAL_CONSTANTS
  #define CYTHON_IMMORTAL_CONSTANTS 0
#elif defined(PYPY_VERSION)
  #define CYTHON_COMPILING_IN_PYPY 1
  #define CYTHON_COMPILING_IN_CPYTHON 0
  #define CYTHON_COMPILING_IN_LIMITED_API 0
  #define CYTHON_COMPILING_IN_GRAAL 0
  #define CYTHON_COMPILING_IN_CPYTHON_FREETHREADING 0
  #undef CYTHON_USE_TYPE_SLOTS
  #define CYTHON_USE_TYPE_SLOTS 1
  #ifndef CYTHON_USE_TYPE_SPECS
    #define CYTHON_USE_TYPE_SPECS 0
  #endif
  #undef CYTHON_USE_PYTYPE_LOOKUP
  #define CYTHON_USE_PYTYPE_LOOKUP 0
  #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_AVOID_THREAD_UNSAFE_BORROWED_REFS
  #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 1
  #undef CYTHON_ASSUME_SAFE_MACROS
  #define CYTHON_ASSUME_SAFE_MACROS 0
  #ifndef CYTHON_ASSUME_SAFE_SIZE
    #define CYTHON_ASSUME_SAFE_SIZE 1
  #endif
  #undef CYTHON_UNPACK_METHODS
  #define CYTHON_UNPACK_METHODS 0
  #undef CYTHON_FAST_THREAD_STATE
  #define CYTHON_FAST_THREAD_STATE 0
  #undef CYTHON_FAST_GIL
  #define CYTHON_FAST_GIL 0
  #undef CYTHON_METH_FASTCALL
  #define CYTHON_METH_FASTCALL 0
  #undef CYTHON_FAST_PYCALL
  #define CYTHON_FAST_PYCALL 0
  #ifndef CYTHON_PEP487_INIT_SUBCLASS
    #define CYTHON_PEP487_INIT_SUBCLASS 1
  #endif
  #if PY_VERSION_HEX < 0x03090000
    #undef CYTHON_PEP489_MULTI_PHASE_INIT
    #define CYTHON_PEP489_MULTI_PHASE_INIT 0
  #elif !defined(CYTHON_PEP489_MULTI_PHASE_INIT)
    #define CYTHON_PEP489_MULTI_PHASE_INIT 1
  #endif
  #undef CYTHON_USE_MODULE_STATE
  #define CYTHON_USE_MODULE_STATE 0
  #undef CYTHON_USE_SYS_MONITORING
  #define CYTHON_USE_SYS_MONITORING 0
  #ifndef CYTHON_USE_TP_FINALIZE
    #define CYTHON_USE_TP_FINALIZE (PYPY_VERSION_NUM >= 0x07030C00)
  #endif
  #undef CYTHON_USE_AM_SEND
  #define CYTHON_USE_AM_SEND 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
  #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
    #define CYTHON_UPDATE_DESCRIPTOR_DOC (PYPY_VERSION_NUM >= 0x07031100)
  #endif
  #undef CYTHON_USE_FREELISTS
  #define CYTHON_USE_FREELISTS 0
  #undef CYTHON_IMMORTAL_CONSTANTS
  #define CYTHON_IMMORTAL_CONSTANTS 0
#elif defined(CYTHON_LIMITED_API)
  #ifdef Py_LIMITED_API
    #undef __PYX_LIMITED_VERSION_HEX
    #define __PYX_LIMITED_VERSION_HEX Py_LIMITED_API
  #endif
  #define CYTHON_COMPILING_IN_PYPY 0
  #define CYTHON_COMPILING_IN_CPYTHON 0
  #define CYTHON_COMPILING_IN_LIMITED_API 1
  #define CYTHON_COMPILING_IN_GRAAL 0
  #define CYTHON_COMPILING_IN_CPYTHON_FREETHREADING 0
  #undef CYTHON_USE_TYPE_SLOTS
  #define CYTHON_USE_TYPE_SLOTS 0
  #undef CYTHON_USE_TYPE_SPECS
  #define CYTHON_USE_TYPE_SPECS 1
  #undef CYTHON_USE_PYTYPE_LOOKUP
  #define CYTHON_USE_PYTYPE_LOOKUP 0
  #undef CYTHON_USE_PYLIST_INTERNALS
  #define CYTHON_USE_PYLIST_INTERNALS 0
  #undef CYTHON_USE_UNICODE_INTERNALS
  #define CYTHON_USE_UNICODE_INTERNALS 0
  #ifndef CYTHON_USE_UNICODE_WRITER
    #define CYTHON_USE_UNICODE_WRITER 0
  #endif
  #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_AVOID_THREAD_UNSAFE_BORROWED_REFS
    #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 0
  #endif
  #undef CYTHON_ASSUME_SAFE_MACROS
  #define CYTHON_ASSUME_SAFE_MACROS 0
  #undef CYTHON_ASSUME_SAFE_SIZE
  #define CYTHON_ASSUME_SAFE_SIZE 0
  #undef CYTHON_UNPACK_METHODS
  #define CYTHON_UNPACK_METHODS 0
  #undef CYTHON_FAST_THREAD_STATE
  #define CYTHON_FAST_THREAD_STATE 0
  #undef CYTHON_FAST_GIL
  #define CYTHON_FAST_GIL 0
  #undef CYTHON_METH_FASTCALL
  #define CYTHON_METH_FASTCALL (__PYX_LIMITED_VERSION_HEX >= 0x030C0000)
  #undef CYTHON_FAST_PYCALL
  #define CYTHON_FAST_PYCALL 0
  #ifndef CYTHON_PEP487_INIT_SUBCLASS
    #define CYTHON_PEP487_INIT_SUBCLASS 1
  #endif
  #ifndef CYTHON_PEP489_MULTI_PHASE_INIT
    #define CYTHON_PEP489_MULTI_PHASE_INIT 1
  #endif
  #ifndef CYTHON_USE_MODULE_STATE
    #define CYTHON_USE_MODULE_STATE 0
  #endif
  #undef CYTHON_USE_SYS_MONITORING
  #define CYTHON_USE_SYS_MONITORING 0
  #ifndef CYTHON_USE_TP_FINALIZE
    #define CYTHON_USE_TP_FINALIZE 0
  #endif
  #ifndef CYTHON_USE_AM_SEND
    #define CYTHON_USE_AM_SEND (__PYX_LIMITED_VERSION_HEX >= 0x030A0000)
  #endif
  #undef CYTHON_USE_DICT_VERSIONS
  #define CYTHON_USE_DICT_VERSIONS 0
  #undef CYTHON_USE_EXC_INFO_STACK
  #define CYTHON_USE_EXC_INFO_STACK 0
  #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
    #define CYTHON_UPDATE_DESCRIPTOR_DOC 0
  #endif
  #ifndef CYTHON_USE_FREELISTS
  #define CYTHON_USE_FREELISTS 1
  #endif
  #undef CYTHON_IMMORTAL_CONSTANTS
  #define CYTHON_IMMORTAL_CONSTANTS 0
#else
  #define CYTHON_COMPILING_IN_PYPY 0
  #define CYTHON_COMPILING_IN_CPYTHON 1
  #define CYTHON_COMPILING_IN_LIMITED_API 0
  #define CYTHON_COMPILING_IN_GRAAL 0
  #ifdef Py_GIL_DISABLED
    #define CYTHON_COMPILING_IN_CPYTHON_FREETHREADING 1
  #else
    #define CYTHON_COMPILING_IN_CPYTHON_FREETHREADING 0
  #endif
  #if PY_VERSION_HEX < 0x030A0000
    #undef CYTHON_USE_TYPE_SLOTS
    #define CYTHON_USE_TYPE_SLOTS 1
  #elif !defined(CYTHON_USE_TYPE_SLOTS)
    #define CYTHON_USE_TYPE_SLOTS 1
  #endif
  #ifndef CYTHON_USE_TYPE_SPECS
    #define CYTHON_USE_TYPE_SPECS 0
  #endif
  #ifndef CYTHON_USE_PYTYPE_LOOKUP
    #define CYTHON_USE_PYTYPE_LOOKUP 1
  #endif
  #ifndef CYTHON_USE_PYLONG_INTERNALS
    #define CYTHON_USE_PYLONG_INTERNALS 1
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
    #undef CYTHON_USE_PYLIST_INTERNALS
    #define CYTHON_USE_PYLIST_INTERNALS 0
  #elif !defined(CYTHON_USE_PYLIST_INTERNALS)
    #define CYTHON_USE_PYLIST_INTERNALS 1
  #endif
  #ifndef CYTHON_USE_UNICODE_INTERNALS
    #define CYTHON_USE_UNICODE_INTERNALS 1
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING || PY_VERSION_HEX >= 0x030B00A2
    #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
  #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
    #undef CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS
    #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 1
  #elif !defined(CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS)
    #define CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS 0
  #endif
  #ifndef CYTHON_ASSUME_SAFE_MACROS
    #define CYTHON_ASSUME_SAFE_MACROS 1
  #endif
  #ifndef CYTHON_ASSUME_SAFE_SIZE
    #define CYTHON_ASSUME_SAFE_SIZE 1
  #endif
  #ifndef CYTHON_UNPACK_METHODS
    #define CYTHON_UNPACK_METHODS 1
  #endif
  #ifndef CYTHON_FAST_THREAD_STATE
    #define CYTHON_FAST_THREAD_STATE 1
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
    #undef CYTHON_FAST_GIL
    #define CYTHON_FAST_GIL 0
  #elif !defined(CYTHON_FAST_GIL)
    #define CYTHON_FAST_GIL (PY_VERSION_HEX < 0x030C00A6)
  #endif
  #ifndef CYTHON_METH_FASTCALL
    #define CYTHON_METH_FASTCALL 1
  #endif
  #ifndef CYTHON_FAST_PYCALL
    #define CYTHON_FAST_PYCALL 1
  #endif
  #ifndef CYTHON_PEP487_INIT_SUBCLASS
    #define CYTHON_PEP487_INIT_SUBCLASS 1
  #endif
  #ifndef CYTHON_PEP489_MULTI_PHASE_INIT
    #define CYTHON_PEP489_MULTI_PHASE_INIT 1
  #endif
  #ifndef CYTHON_USE_MODULE_STATE
    #define CYTHON_USE_MODULE_STATE 0
  #endif
  #ifndef CYTHON_USE_SYS_MONITORING
    #define CYTHON_USE_SYS_MONITORING (PY_VERSION_HEX >= 0x030d00B1)
  #endif
  #ifndef CYTHON_USE_TP_FINALIZE
    #define CYTHON_USE_TP_FINALIZE 1
  #endif
  #ifndef CYTHON_USE_AM_SEND
    #define CYTHON_USE_AM_SEND 1
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
    #undef CYTHON_USE_DICT_VERSIONS
    #define CYTHON_USE_DICT_VERSIONS 0
  #elif !defined(CYTHON_USE_DICT_VERSIONS)
    #define CYTHON_USE_DICT_VERSIONS  (PY_VERSION_HEX < 0x030C00A5 && !CYTHON_USE_MODULE_STATE)
  #endif
  #ifndef CYTHON_USE_EXC_INFO_STACK
    #define CYTHON_USE_EXC_INFO_STACK 1
  #endif
  #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
    #define CYTHON_UPDATE_DESCRIPTOR_DOC 1
  #endif
  #ifndef CYTHON_USE_FREELISTS
    #define CYTHON_USE_FREELISTS (!CYTHON_COMPILING_IN_CPYTHON_FREETHREADING)
  #endif
  #if defined(CYTHON_IMMORTAL_CONSTANTS) && PY_VERSION_HEX < 0x030C0000
    #undef CYTHON_IMMORTAL_CONSTANTS
    #define CYTHON_IMMORTAL_CONSTANTS 0  // definitely won't work
  #elif !defined(CYTHON_IMMORTAL_CONSTANTS)
    #define CYTHON_IMMORTAL_CONSTANTS (PY_VERSION_HEX >= 0x030C0000 && !CYTHON_USE_MODULE_STATE && CYTHON_COMPILING_IN_CPYTHON_FREETHREADING)
  #endif
#endif
#ifndef CYTHON_COMPRESS_STRINGS
  #define CYTHON_COMPRESS_STRINGS 1
#endif
#ifndef CYTHON_FAST_PYCCALL
#define CYTHON_FAST_PYCCALL  CYTHON_FAST_PYCALL
#endif
#ifndef CYTHON_VECTORCALL
#if CYTHON_COMPILING_IN_LIMITED_API
#define CYTHON_VECTORCALL  (__PYX_LIMITED_VERSION_HEX >= 0x030C0000)
#else
#define CYTHON_VECTORCALL  (CYTHON_FAST_PYCCALL)
#endif
#endif
#if CYTHON_USE_PYLONG_INTERNALS
  #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(__cplusplus)
    /* for clang __has_cpp_attribute(maybe_unused) is true even before C++17
     * but leads to warnings with -pedantic, since it is a C++17 feature */
    #if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus >= 201703L)
      #if __has_cpp_attribute(maybe_unused)
        #define CYTHON_UNUSED [[maybe_unused]]
      #endif
    #endif
  #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_UNUSED_VAR
#  if defined(__cplusplus)
     template<class T> void CYTHON_UNUSED_VAR( const T& ) { }
#  else
#    define CYTHON_UNUSED_VAR(x) (void)(x)
#  endif
#endif
#ifndef CYTHON_MAYBE_UNUSED_VAR
  #define CYTHON_MAYBE_UNUSED_VAR(x) CYTHON_UNUSED_VAR(x)
#endif
#ifndef CYTHON_NCP_UNUSED
# if CYTHON_COMPILING_IN_CPYTHON && !CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
#  define CYTHON_NCP_UNUSED
# else
#  define CYTHON_NCP_UNUSED CYTHON_UNUSED
# endif
#endif
#ifndef CYTHON_USE_CPP_STD_MOVE
  #if defined(__cplusplus) && (\
    __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1600))
    #define CYTHON_USE_CPP_STD_MOVE 1
  #else
    #define CYTHON_USE_CPP_STD_MOVE 0
  #endif
#endif
#define __Pyx_void_to_None(void_result) ((void)(void_result), Py_INCREF(Py_None), Py_None)
#include <stdint.h>
typedef uintptr_t  __pyx_uintptr_t;
#ifndef CYTHON_FALLTHROUGH
  #if defined(__cplusplus)
    /* for clang __has_cpp_attribute(fallthrough) is true even before C++17
     * but leads to warnings with -pedantic, since it is a C++17 feature */
    #if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus >= 201703L)
      #if __has_cpp_attribute(fallthrough)
        #define CYTHON_FALLTHROUGH [[fallthrough]]
      #endif
    #endif
    #ifndef CYTHON_FALLTHROUGH
      #if __has_cpp_attribute(clang::fallthrough)
        #define CYTHON_FALLTHROUGH [[clang::fallthrough]]
      #elif __has_cpp_attribute(gnu::fallthrough)
        #define CYTHON_FALLTHROUGH [[gnu::fallthrough]]
      #endif
    #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 Py_UNREACHABLE
  #define Py_UNREACHABLE()  assert(0); abort()
#endif
#ifdef __cplusplus
  template <typename T>
  struct __PYX_IS_UNSIGNED_IMPL {static const bool value = T(0) < T(-1);};
  #define __PYX_IS_UNSIGNED(type) (__PYX_IS_UNSIGNED_IMPL<type>::value)
#else
  #define __PYX_IS_UNSIGNED(type) (((type)-1) > 0)
#endif
#if CYTHON_COMPILING_IN_PYPY == 1
  #define __PYX_NEED_TP_PRINT_SLOT  (PY_VERSION_HEX < 0x030A0000)
#else
  #define __PYX_NEED_TP_PRINT_SLOT  (PY_VERSION_HEX < 0x03090000)
#endif
#define __PYX_REINTERPRET_FUNCION(func_pointer, other_pointer) ((func_pointer)(void(*)(void))(other_pointer))

/* CInitCode */
#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

/* PythonCompatibility */
#define __PYX_BUILD_PY_SSIZE_T "n"
#define CYTHON_FORMAT_SSIZE_T "z"
#define __Pyx_BUILTIN_MODULE_NAME "builtins"
#define __Pyx_DefaultClassType PyType_Type
#if CYTHON_COMPILING_IN_LIMITED_API
    #ifndef CO_OPTIMIZED
    static int CO_OPTIMIZED;
    #endif
    #ifndef CO_NEWLOCALS
    static int CO_NEWLOCALS;
    #endif
    #ifndef CO_VARARGS
    static int CO_VARARGS;
    #endif
    #ifndef CO_VARKEYWORDS
    static int CO_VARKEYWORDS;
    #endif
    #ifndef CO_ASYNC_GENERATOR
    static int CO_ASYNC_GENERATOR;
    #endif
    #ifndef CO_GENERATOR
    static int CO_GENERATOR;
    #endif
    #ifndef CO_COROUTINE
    static int CO_COROUTINE;
    #endif
#else
    #ifndef CO_COROUTINE
      #define CO_COROUTINE 0x80
    #endif
    #ifndef CO_ASYNC_GENERATOR
      #define CO_ASYNC_GENERATOR 0x200
    #endif
#endif
static int __Pyx_init_co_variables(void);
#if PY_VERSION_HEX >= 0x030900A4 || defined(Py_IS_TYPE)
  #define __Pyx_IS_TYPE(ob, type) Py_IS_TYPE(ob, type)
#else
  #define __Pyx_IS_TYPE(ob, type) (((const PyObject*)ob)->ob_type == (type))
#endif
#if PY_VERSION_HEX >= 0x030A00B1 || defined(Py_Is)
  #define __Pyx_Py_Is(x, y)  Py_Is(x, y)
#else
  #define __Pyx_Py_Is(x, y) ((x) == (y))
#endif
#if PY_VERSION_HEX >= 0x030A00B1 || defined(Py_IsNone)
  #define __Pyx_Py_IsNone(ob) Py_IsNone(ob)
#else
  #define __Pyx_Py_IsNone(ob) __Pyx_Py_Is((ob), Py_None)
#endif
#if PY_VERSION_HEX >= 0x030A00B1 || defined(Py_IsTrue)
  #define __Pyx_Py_IsTrue(ob) Py_IsTrue(ob)
#else
  #define __Pyx_Py_IsTrue(ob) __Pyx_Py_Is((ob), Py_True)
#endif
#if PY_VERSION_HEX >= 0x030A00B1 || defined(Py_IsFalse)
  #define __Pyx_Py_IsFalse(ob) Py_IsFalse(ob)
#else
  #define __Pyx_Py_IsFalse(ob) __Pyx_Py_Is((ob), Py_False)
#endif
#define __Pyx_NoneAsNull(obj)  (__Pyx_Py_IsNone(obj) ? NULL : (obj))
#if PY_VERSION_HEX >= 0x030900F0 && !CYTHON_COMPILING_IN_PYPY
  #define __Pyx_PyObject_GC_IsFinalized(o) PyObject_GC_IsFinalized(o)
#else
  #define __Pyx_PyObject_GC_IsFinalized(o) _PyGC_FINALIZED(o)
#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 Py_TPFLAGS_SEQUENCE
  #define Py_TPFLAGS_SEQUENCE 0
#endif
#ifndef Py_TPFLAGS_MAPPING
  #define Py_TPFLAGS_MAPPING 0
#endif
#ifndef Py_TPFLAGS_IMMUTABLETYPE
  #define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
#endif
#ifndef Py_TPFLAGS_DISALLOW_INSTANTIATION
  #define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
#endif
#ifndef METH_STACKLESS
  #define METH_STACKLESS 0
#endif
#ifndef 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
  #if PY_VERSION_HEX >= 0x030d00A4
  #  define __Pyx_PyCFunctionFast PyCFunctionFast
  #  define __Pyx_PyCFunctionFastWithKeywords PyCFunctionFastWithKeywords
  #else
  #  define __Pyx_PyCFunctionFast _PyCFunctionFast
  #  define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords
  #endif
#endif
#if CYTHON_METH_FASTCALL
  #define __Pyx_METH_FASTCALL METH_FASTCALL
  #define __Pyx_PyCFunction_FastCall __Pyx_PyCFunctionFast
  #define __Pyx_PyCFunction_FastCallWithKeywords __Pyx_PyCFunctionFastWithKeywords
#else
  #define __Pyx_METH_FASTCALL METH_VARARGS
  #define __Pyx_PyCFunction_FastCall PyCFunction
  #define __Pyx_PyCFunction_FastCallWithKeywords PyCFunctionWithKeywords
#endif
#if CYTHON_VECTORCALL
  #define __pyx_vectorcallfunc vectorcallfunc
  #define __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET  PY_VECTORCALL_ARGUMENTS_OFFSET
  #define __Pyx_PyVectorcall_NARGS(n)  PyVectorcall_NARGS((size_t)(n))
#else
  #define __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET  0
  #define __Pyx_PyVectorcall_NARGS(n)  ((Py_ssize_t)(n))
#endif
#if PY_VERSION_HEX >= 0x030900B1
#define __Pyx_PyCFunction_CheckExact(func)  PyCFunction_CheckExact(func)
#else
#define __Pyx_PyCFunction_CheckExact(func)  PyCFunction_Check(func)
#endif
#define __Pyx_CyOrPyCFunction_Check(func)  PyCFunction_Check(func)
#if CYTHON_COMPILING_IN_CPYTHON
#define __Pyx_CyOrPyCFunction_GET_FUNCTION(func)  (((PyCFunctionObject*)(func))->m_ml->ml_meth)
#elif !CYTHON_COMPILING_IN_LIMITED_API
#define __Pyx_CyOrPyCFunction_GET_FUNCTION(func)  PyCFunction_GET_FUNCTION(func)
#endif
#if CYTHON_COMPILING_IN_CPYTHON
#define __Pyx_CyOrPyCFunction_GET_FLAGS(func)  (((PyCFunctionObject*)(func))->m_ml->ml_flags)
static CYTHON_INLINE PyObject* __Pyx_CyOrPyCFunction_GET_SELF(PyObject *func) {
    return (__Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_STATIC) ? NULL : ((PyCFunctionObject*)func)->m_self;
}
#endif
static CYTHON_INLINE int __Pyx__IsSameCFunction(PyObject *func, void (*cfunc)(void)) {
#if CYTHON_COMPILING_IN_LIMITED_API
    return PyCFunction_Check(func) && PyCFunction_GetFunction(func) == (PyCFunction) cfunc;
#else
    return PyCFunction_Check(func) && PyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc;
#endif
}
#define __Pyx_IsSameCFunction(func, cfunc)   __Pyx__IsSameCFunction(func, cfunc)
#if PY_VERSION_HEX < 0x03090000 || (CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000)
  #define __Pyx_PyType_FromModuleAndSpec(m, s, b)  ((void)m, PyType_FromSpecWithBases(s, b))
  typedef PyObject *(*__Pyx_PyCMethod)(PyObject *, PyTypeObject *, PyObject *const *, size_t, PyObject *);
#else
  #define __Pyx_PyType_FromModuleAndSpec(m, s, b)  PyType_FromModuleAndSpec(m, s, b)
  #define __Pyx_PyCMethod  PyCMethod
#endif
#ifndef METH_METHOD
  #define METH_METHOD 0x200
#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_LIMITED_API
  #define __Pyx_PyFrame_SetLineNumber(frame, lineno)
#elif CYTHON_COMPILING_IN_GRAAL && defined(GRAALPY_VERSION_NUM) && GRAALPY_VERSION_NUM > 0x19000000
  #define __Pyx_PyCode_HasFreeVars(co)  (PyCode_GetNumFree(co) > 0)
  #define __Pyx_PyFrame_SetLineNumber(frame, lineno) GraalPyFrame_SetLineNumber((frame), (lineno))
#elif CYTHON_COMPILING_IN_GRAAL
  #define __Pyx_PyCode_HasFreeVars(co)  (PyCode_GetNumFree(co) > 0)
  #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_COMPILING_IN_LIMITED_API
  #define __Pyx_PyThreadState_Current PyThreadState_Get()
#elif !CYTHON_FAST_THREAD_STATE
  #define __Pyx_PyThreadState_Current PyThreadState_GET()
#elif PY_VERSION_HEX >= 0x030d00A1
  #define __Pyx_PyThreadState_Current PyThreadState_GetUnchecked()
#else
  #define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet()
#endif
#if CYTHON_USE_MODULE_STATE
static CYTHON_INLINE void *__Pyx__PyModule_GetState(PyObject *op)
{
    void *result;
    result = PyModule_GetState(op);
    if (!result)
        Py_FatalError("Couldn't find the module state");
    return result;
}
#define __Pyx_PyModule_GetState(o) (__pyx_mstatetype *)__Pyx__PyModule_GetState(o)
#else
#define __Pyx_PyModule_GetState(op) ((void)op,__pyx_mstate_global)
#endif
#define __Pyx_PyObject_GetSlot(obj, name, func_ctype)  __Pyx_PyType_GetSlot(Py_TYPE((PyObject *) obj), name, func_ctype)
#define __Pyx_PyObject_TryGetSlot(obj, name, func_ctype) __Pyx_PyType_TryGetSlot(Py_TYPE(obj), name, func_ctype)
#define __Pyx_PyObject_GetSubSlot(obj, sub, name, func_ctype) __Pyx_PyType_GetSubSlot(Py_TYPE(obj), sub, name, func_ctype)
#define __Pyx_PyObject_TryGetSubSlot(obj, sub, name, func_ctype) __Pyx_PyType_TryGetSubSlot(Py_TYPE(obj), sub, name, func_ctype)
#if CYTHON_USE_TYPE_SLOTS
  #define __Pyx_PyType_GetSlot(type, name, func_ctype)  ((type)->name)
  #define __Pyx_PyType_TryGetSlot(type, name, func_ctype) __Pyx_PyType_GetSlot(type, name, func_ctype)
  #define __Pyx_PyType_GetSubSlot(type, sub, name, func_ctype) (((type)->sub) ? ((type)->sub->name) : NULL)
  #define __Pyx_PyType_TryGetSubSlot(type, sub, name, func_ctype) __Pyx_PyType_GetSubSlot(type, sub, name, func_ctype)
#else
  #define __Pyx_PyType_GetSlot(type, name, func_ctype)  ((func_ctype) PyType_GetSlot((type), Py_##name))
  #define __Pyx_PyType_TryGetSlot(type, name, func_ctype)\
    ((__PYX_LIMITED_VERSION_HEX >= 0x030A0000 ||\
     (PyType_GetFlags(type) & Py_TPFLAGS_HEAPTYPE) || __Pyx_get_runtime_version() >= 0x030A0000) ?\
     __Pyx_PyType_GetSlot(type, name, func_ctype) : NULL)
  #define __Pyx_PyType_GetSubSlot(obj, sub, name, func_ctype) __Pyx_PyType_GetSlot(obj, name, func_ctype)
  #define __Pyx_PyType_TryGetSubSlot(obj, sub, name, func_ctype) __Pyx_PyType_TryGetSlot(obj, name, func_ctype)
#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
#define __Pyx_PyNumber_Divide(x,y)         PyNumber_TrueDivide(x,y)
#define __Pyx_PyNumber_InPlaceDivide(x,y)  PyNumber_InPlaceTrueDivide(x,y)
#if CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_UNICODE_INTERNALS
#define __Pyx_PyDict_GetItemStrWithError(dict, name)  _PyDict_GetItem_KnownHash(dict, name, ((PyASCIIObject *) name)->hash)
static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStr(PyObject *dict, PyObject *name) {
    PyObject *res = __Pyx_PyDict_GetItemStrWithError(dict, name);
    if (res == NULL) PyErr_Clear();
    return res;
}
#elif !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07020000
#define __Pyx_PyDict_GetItemStrWithError  PyDict_GetItemWithError
#define __Pyx_PyDict_GetItemStr           PyDict_GetItem
#else
static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict, PyObject *name) {
#if CYTHON_COMPILING_IN_PYPY
    return PyDict_GetItem(dict, name);
#else
    PyDictEntry *ep;
    PyDictObject *mp = (PyDictObject*) dict;
    long hash = ((PyStringObject *) name)->ob_shash;
    assert(hash != -1);
    ep = (mp->ma_lookup)(mp, name, hash);
    if (ep == NULL) {
        return NULL;
    }
    return ep->me_value;
#endif
}
#define __Pyx_PyDict_GetItemStr           PyDict_GetItem
#endif
#if CYTHON_USE_TYPE_SLOTS
  #define __Pyx_PyType_GetFlags(tp)   (((PyTypeObject *)tp)->tp_flags)
  #define __Pyx_PyType_HasFeature(type, feature)  ((__Pyx_PyType_GetFlags(type) & (feature)) != 0)
#else
  #define __Pyx_PyType_GetFlags(tp)   (PyType_GetFlags((PyTypeObject *)tp))
  #define __Pyx_PyType_HasFeature(type, feature)  PyType_HasFeature(type, feature)
#endif
#define __Pyx_PyObject_GetIterNextFunc(iterator)  __Pyx_PyObject_GetSlot(iterator, tp_iternext, iternextfunc)
#if CYTHON_USE_TYPE_SPECS
#define __Pyx_PyHeapTypeObject_GC_Del(obj)  {\
    PyTypeObject *type = Py_TYPE((PyObject*)obj);\
    assert(__Pyx_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE));\
    PyObject_GC_Del(obj);\
    Py_DECREF(type);\
}
#else
#define __Pyx_PyHeapTypeObject_GC_Del(obj)  PyObject_GC_Del(obj)
#endif
#if CYTHON_COMPILING_IN_LIMITED_API
  #define __Pyx_PyUnicode_READY(op)       (0)
  #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_ReadChar(u, i)
  #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u)   ((void)u, 1114111U)
  #define __Pyx_PyUnicode_KIND(u)         ((void)u, (0))
  #define __Pyx_PyUnicode_DATA(u)         ((void*)u)
  #define __Pyx_PyUnicode_READ(k, d, i)   ((void)k, PyUnicode_ReadChar((PyObject*)(d), i))
  #define __Pyx_PyUnicode_IS_TRUE(u)      (0 != PyUnicode_GetLength(u))
#else
  #if PY_VERSION_HEX >= 0x030C0000
    #define __Pyx_PyUnicode_READY(op)       (0)
  #else
    #define __Pyx_PyUnicode_READY(op)       (likely(PyUnicode_IS_READY(op)) ?\
                                                0 : _PyUnicode_Ready((PyObject *)(op)))
  #endif
  #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)         ((int)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, (Py_UCS4) ch)
  #if PY_VERSION_HEX >= 0x030C0000
    #define __Pyx_PyUnicode_IS_TRUE(u)      (0 != PyUnicode_GET_LENGTH(u))
  #else
    #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x03090000
    #define __Pyx_PyUnicode_IS_TRUE(u)      (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : ((PyCompactUnicodeObject *)(u))->wstr_length))
    #else
    #define __Pyx_PyUnicode_IS_TRUE(u)      (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : PyUnicode_GET_SIZE(u)))
    #endif
  #endif
#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
  #if !defined(PyUnicode_DecodeUnicodeEscape)
    #define PyUnicode_DecodeUnicodeEscape(s, size, errors)  PyUnicode_Decode(s, size, "unicode_escape", errors)
  #endif
  #if !defined(PyUnicode_Contains)
    #define PyUnicode_Contains(u, s)  PySequence_Contains(u, s)
  #endif
  #if !defined(PyByteArray_Check)
    #define PyByteArray_Check(obj)  PyObject_TypeCheck(obj, &PyByteArray_Type)
  #endif
  #if !defined(PyObject_Format)
    #define PyObject_Format(obj, fmt)  PyObject_CallMethod(obj, "__format__", "O", fmt)
  #endif
#endif
#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 CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  #define __Pyx_PySequence_ListKeepNew(obj)\
    (likely(PyList_CheckExact(obj) && PyUnstable_Object_IsUniquelyReferenced(obj)) ? __Pyx_NewRef(obj) : PySequence_List(obj))
#elif CYTHON_COMPILING_IN_CPYTHON
  #define __Pyx_PySequence_ListKeepNew(obj)\
    (likely(PyList_CheckExact(obj) && Py_REFCNT(obj) == 1) ? __Pyx_NewRef(obj) : PySequence_List(obj))
#else
  #define __Pyx_PySequence_ListKeepNew(obj)  PySequence_List(obj)
#endif
#ifndef PySet_CheckExact
  #define PySet_CheckExact(obj)        __Pyx_IS_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
enum __Pyx_ReferenceSharing {
  __Pyx_ReferenceSharing_DefinitelyUnique, // We created it so we know it's unshared - no need to check
  __Pyx_ReferenceSharing_OwnStrongReference,
  __Pyx_ReferenceSharing_FunctionArgument,
  __Pyx_ReferenceSharing_SharedReference, // Never trust it to be unshared because it's a global or similar
};
#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && PY_VERSION_HEX >= 0x030E0000
#define __Pyx_IS_UNIQUELY_REFERENCED(o, sharing)\
    (sharing == __Pyx_ReferenceSharing_DefinitelyUnique ? 1 :\
      (sharing == __Pyx_ReferenceSharing_FunctionArgument ? PyUnstable_Object_IsUniqueReferencedTemporary(o) :\
      (sharing == __Pyx_ReferenceSharing_OwnStrongReference ? PyUnstable_Object_IsUniquelyReferenced(o) : 0)))
#elif (CYTHON_COMPILING_IN_CPYTHON && !CYTHON_COMPILING_IN_CPYTHON_FREETHREADING) || CYTHON_COMPILING_IN_LIMITED_API
#define __Pyx_IS_UNIQUELY_REFERENCED(o, sharing) (((void)sharing), Py_REFCNT(o) == 1)
#else
#define __Pyx_IS_UNIQUELY_REFERENCED(o, sharing) (((void)o), ((void)sharing), 0)
#endif
#if CYTHON_AVOID_BORROWED_REFS || CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS
  #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000
    #define __Pyx_PyList_GetItemRef(o, i) PyList_GetItemRef(o, i)
  #elif CYTHON_COMPILING_IN_LIMITED_API || !CYTHON_ASSUME_SAFE_MACROS
    #define __Pyx_PyList_GetItemRef(o, i) (likely((i) >= 0) ? PySequence_GetItem(o, i) : (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL))
  #else
    #define __Pyx_PyList_GetItemRef(o, i) PySequence_ITEM(o, i)
  #endif
#elif CYTHON_COMPILING_IN_LIMITED_API || !CYTHON_ASSUME_SAFE_MACROS
  #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000
    #define __Pyx_PyList_GetItemRef(o, i) PyList_GetItemRef(o, i)
  #else
    #define __Pyx_PyList_GetItemRef(o, i) __Pyx_XNewRef(PyList_GetItem(o, i))
  #endif
#else
  #define __Pyx_PyList_GetItemRef(o, i) __Pyx_NewRef(PyList_GET_ITEM(o, i))
#endif
#if CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS && !CYTHON_COMPILING_IN_LIMITED_API && CYTHON_ASSUME_SAFE_MACROS
  #define __Pyx_PyList_GetItemRefFast(o, i, unsafe_shared) (__Pyx_IS_UNIQUELY_REFERENCED(o, unsafe_shared) ?\
    __Pyx_NewRef(PyList_GET_ITEM(o, i)) : __Pyx_PyList_GetItemRef(o, i))
#else
  #define __Pyx_PyList_GetItemRefFast(o, i, unsafe_shared) __Pyx_PyList_GetItemRef(o, i)
#endif
#if __PYX_LIMITED_VERSION_HEX >= 0x030d0000
#define __Pyx_PyDict_GetItemRef(dict, key, result) PyDict_GetItemRef(dict, key, result)
#elif CYTHON_AVOID_BORROWED_REFS || CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS
static CYTHON_INLINE int __Pyx_PyDict_GetItemRef(PyObject *dict, PyObject *key, PyObject **result) {
  *result = PyObject_GetItem(dict, key);
  if (*result == NULL) {
    if (PyErr_ExceptionMatches(PyExc_KeyError)) {
      PyErr_Clear();
      return 0;
    }
    return -1;
  }
  return 1;
}
#else
static CYTHON_INLINE int __Pyx_PyDict_GetItemRef(PyObject *dict, PyObject *key, PyObject **result) {
  *result = PyDict_GetItemWithError(dict, key);
  if (*result == NULL) {
    return PyErr_Occurred() ? -1 : 0;
  }
  Py_INCREF(*result);
  return 1;
}
#endif
#if defined(CYTHON_DEBUG_VISIT_CONST) && CYTHON_DEBUG_VISIT_CONST
  #define __Pyx_VISIT_CONST(obj)  Py_VISIT(obj)
#else
  #define __Pyx_VISIT_CONST(obj)
#endif
#if CYTHON_ASSUME_SAFE_MACROS
  #define __Pyx_PySequence_ITEM(o, i) PySequence_ITEM(o, i)
  #define __Pyx_PySequence_SIZE(seq)  Py_SIZE(seq)
  #define __Pyx_PyTuple_SET_ITEM(o, i, v) (PyTuple_SET_ITEM(o, i, v), (0))
  #define __Pyx_PyTuple_GET_ITEM(o, i) PyTuple_GET_ITEM(o, i)
  #define __Pyx_PyList_SET_ITEM(o, i, v) (PyList_SET_ITEM(o, i, v), (0))
  #define __Pyx_PyList_GET_ITEM(o, i) PyList_GET_ITEM(o, i)
#else
  #define __Pyx_PySequence_ITEM(o, i) PySequence_GetItem(o, i)
  #define __Pyx_PySequence_SIZE(seq)  PySequence_Size(seq)
  #define __Pyx_PyTuple_SET_ITEM(o, i, v) PyTuple_SetItem(o, i, v)
  #define __Pyx_PyTuple_GET_ITEM(o, i) PyTuple_GetItem(o, i)
  #define __Pyx_PyList_SET_ITEM(o, i, v) PyList_SetItem(o, i, v)
  #define __Pyx_PyList_GET_ITEM(o, i) PyList_GetItem(o, i)
#endif
#if CYTHON_ASSUME_SAFE_SIZE
  #define __Pyx_PyTuple_GET_SIZE(o) PyTuple_GET_SIZE(o)
  #define __Pyx_PyList_GET_SIZE(o) PyList_GET_SIZE(o)
  #define __Pyx_PySet_GET_SIZE(o) PySet_GET_SIZE(o)
  #define __Pyx_PyBytes_GET_SIZE(o) PyBytes_GET_SIZE(o)
  #define __Pyx_PyByteArray_GET_SIZE(o) PyByteArray_GET_SIZE(o)
  #define __Pyx_PyUnicode_GET_LENGTH(o) PyUnicode_GET_LENGTH(o)
#else
  #define __Pyx_PyTuple_GET_SIZE(o) PyTuple_Size(o)
  #define __Pyx_PyList_GET_SIZE(o) PyList_Size(o)
  #define __Pyx_PySet_GET_SIZE(o) PySet_Size(o)
  #define __Pyx_PyBytes_GET_SIZE(o) PyBytes_Size(o)
  #define __Pyx_PyByteArray_GET_SIZE(o) PyByteArray_Size(o)
  #define __Pyx_PyUnicode_GET_LENGTH(o) PyUnicode_GetLength(o)
#endif
#if CYTHON_COMPILING_IN_PYPY && !defined(PyUnicode_InternFromString)
  #define PyUnicode_InternFromString(s) PyUnicode_FromString(s)
#endif
#define __Pyx_PyLong_FromHash_t PyLong_FromSsize_t
#define __Pyx_PyLong_AsHash_t   __Pyx_PyIndex_AsSsize_t
#if __PYX_LIMITED_VERSION_HEX >= 0x030A0000
    #define __Pyx_PySendResult PySendResult
#else
    typedef enum {
        PYGEN_RETURN = 0,
        PYGEN_ERROR = -1,
        PYGEN_NEXT = 1,
    } __Pyx_PySendResult;
#endif
#if CYTHON_COMPILING_IN_LIMITED_API || PY_VERSION_HEX < 0x030A00A3
  typedef __Pyx_PySendResult (*__Pyx_pyiter_sendfunc)(PyObject *iter, PyObject *value, PyObject **result);
#else
  #define __Pyx_pyiter_sendfunc sendfunc
#endif
#if !CYTHON_USE_AM_SEND
#define __PYX_HAS_PY_AM_SEND 0
#elif __PYX_LIMITED_VERSION_HEX >= 0x030A0000
#define __PYX_HAS_PY_AM_SEND 1
#else
#define __PYX_HAS_PY_AM_SEND 2  // our own backported implementation
#endif
#if __PYX_HAS_PY_AM_SEND < 2
    #define __Pyx_PyAsyncMethodsStruct PyAsyncMethods
#else
    typedef struct {
        unaryfunc am_await;
        unaryfunc am_aiter;
        unaryfunc am_anext;
        __Pyx_pyiter_sendfunc am_send;
    } __Pyx_PyAsyncMethodsStruct;
    #define __Pyx_SlotTpAsAsync(s) ((PyAsyncMethods*)(s))
#endif
#if CYTHON_USE_AM_SEND && PY_VERSION_HEX < 0x030A00F0
    #define __Pyx_TPFLAGS_HAVE_AM_SEND (1UL << 21)
#else
    #define __Pyx_TPFLAGS_HAVE_AM_SEND (0)
#endif
#if PY_VERSION_HEX >= 0x03090000
#define __Pyx_PyInterpreterState_Get() PyInterpreterState_Get()
#else
#define __Pyx_PyInterpreterState_Get() PyThreadState_Get()->interp
#endif
#if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030A0000
#ifdef __cplusplus
extern "C"
#endif
PyAPI_FUNC(void *) PyMem_Calloc(size_t nelem, size_t elsize);
#endif
#if CYTHON_COMPILING_IN_LIMITED_API
static int __Pyx_init_co_variable(PyObject *inspect, const char* name, int *write_to) {
    int value;
    PyObject *py_value = PyObject_GetAttrString(inspect, name);
    if (!py_value) return 0;
    value = (int) PyLong_AsLong(py_value);
    Py_DECREF(py_value);
    *write_to = value;
    return value != -1 || !PyErr_Occurred();
}
static int __Pyx_init_co_variables(void) {
    PyObject *inspect;
    int result;
    inspect = PyImport_ImportModule("inspect");
    result =
#if !defined(CO_OPTIMIZED)
        __Pyx_init_co_variable(inspect, "CO_OPTIMIZED", &CO_OPTIMIZED) &&
#endif
#if !defined(CO_NEWLOCALS)
        __Pyx_init_co_variable(inspect, "CO_NEWLOCALS", &CO_NEWLOCALS) &&
#endif
#if !defined(CO_VARARGS)
        __Pyx_init_co_variable(inspect, "CO_VARARGS", &CO_VARARGS) &&
#endif
#if !defined(CO_VARKEYWORDS)
        __Pyx_init_co_variable(inspect, "CO_VARKEYWORDS", &CO_VARKEYWORDS) &&
#endif
#if !defined(CO_ASYNC_GENERATOR)
        __Pyx_init_co_variable(inspect, "CO_ASYNC_GENERATOR", &CO_ASYNC_GENERATOR) &&
#endif
#if !defined(CO_GENERATOR)
        __Pyx_init_co_variable(inspect, "CO_GENERATOR", &CO_GENERATOR) &&
#endif
#if !defined(CO_COROUTINE)
        __Pyx_init_co_variable(inspect, "CO_COROUTINE", &CO_COROUTINE) &&
#endif
        1;
    Py_DECREF(inspect);
    return result ? 0 : -1;
}
#else
static int __Pyx_init_co_variables(void) {
    return 0;  // It's a limited API-only feature
}
#endif

/* MathInitCode */
#if defined(_WIN32) || defined(WIN32) || defined(MS_WINDOWS)
  #ifndef _USE_MATH_DEFINES
    #define _USE_MATH_DEFINES
  #endif
#endif
#include <math.h>
#if defined(__CYGWIN__) && defined(_LDBL_EQ_DBL)
#define __Pyx_truncl trunc
#else
#define __Pyx_truncl truncl
#endif

#ifndef CYTHON_CLINE_IN_TRACEBACK_RUNTIME
#define CYTHON_CLINE_IN_TRACEBACK_RUNTIME 0
#endif
#ifndef CYTHON_CLINE_IN_TRACEBACK
#define CYTHON_CLINE_IN_TRACEBACK CYTHON_CLINE_IN_TRACEBACK_RUNTIME
#endif
#if CYTHON_CLINE_IN_TRACEBACK
#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; }
#else
#define __PYX_MARK_ERR_POS(f_index, lineno)  { __pyx_filename = __pyx_f[f_index]; (void) __pyx_filename; __pyx_lineno = lineno; (void) __pyx_lineno; (void) __pyx_clineno; }
#endif
#define __PYX_ERR(f_index, lineno, Ln_error) \
    { __PYX_MARK_ERR_POS(f_index, lineno) goto Ln_error; }

#ifdef CYTHON_EXTERN_C
    #undef __PYX_EXTERN_C
    #define __PYX_EXTERN_C CYTHON_EXTERN_C
#elif defined(__PYX_EXTERN_C)
    #ifdef _MSC_VER
    #pragma message ("Please do not define the '__PYX_EXTERN_C' macro externally. Use 'CYTHON_EXTERN_C' instead.")
    #else
    #warning Please do not define the '__PYX_EXTERN_C' macro externally. Use 'CYTHON_EXTERN_C' instead.
    #endif
#else
  #ifdef __cplusplus
    #define __PYX_EXTERN_C extern "C"
  #else
    #define __PYX_EXTERN_C extern
  #endif
#endif

#define __PYX_HAVE__kivy__properties
#define __PYX_HAVE_API__kivy__properties
/* Early includes */
#include <string.h>
#include <stdio.h>
#ifdef _OPENMP
#include <omp.h>
#endif /* _OPENMP */

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

#ifdef CYTHON_FREETHREADING_COMPATIBLE
#if CYTHON_FREETHREADING_COMPATIBLE
#define __Pyx_FREETHREADING_COMPATIBLE Py_MOD_GIL_NOT_USED
#else
#define __Pyx_FREETHREADING_COMPATIBLE Py_MOD_GIL_USED
#endif
#else
#define __Pyx_FREETHREADING_COMPATIBLE Py_MOD_GIL_USED
#endif
#define __PYX_DEFAULT_STRING_ENCODING_IS_ASCII 0
#define __PYX_DEFAULT_STRING_ENCODING_IS_UTF8 0
#define __PYX_DEFAULT_STRING_ENCODING "utf-8"
#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 Py_ssize_t __Pyx_ssize_strlen(const char *s);
static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject*);
static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char*);
#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 CYTHON_ASSUME_SAFE_MACROS
    #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_PyByteArray_AsString(s) PyByteArray_AS_STRING(s)
#else
    #define __Pyx_PyBytes_AsWritableString(s)     ((char*) PyBytes_AsString(s))
    #define __Pyx_PyBytes_AsWritableSString(s)    ((signed char*) PyBytes_AsString(s))
    #define __Pyx_PyBytes_AsWritableUString(s)    ((unsigned char*) PyBytes_AsString(s))
    #define __Pyx_PyBytes_AsString(s)     ((const char*) PyBytes_AsString(s))
    #define __Pyx_PyBytes_AsSString(s)    ((const signed char*) PyBytes_AsString(s))
    #define __Pyx_PyBytes_AsUString(s)    ((const unsigned char*) PyBytes_AsString(s))
    #define __Pyx_PyByteArray_AsString(s) PyByteArray_AsString(s)
#endif
#define __Pyx_PyObject_AsWritableString(s)    ((char*)(__pyx_uintptr_t) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_AsWritableSString(s)    ((signed char*)(__pyx_uintptr_t) __Pyx_PyObject_AsString(s))
#define __Pyx_PyObject_AsWritableUString(s)    ((unsigned char*)(__pyx_uintptr_t) __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_PyUnicode_FromCString(s) __Pyx_PyUnicode_FromString((const char*)s)
#define __Pyx_PyUnicode_FromOrdinal(o)       PyUnicode_FromOrdinal((int)o)
#define __Pyx_PyUnicode_AsUnicode            PyUnicode_AsUnicode
static CYTHON_INLINE PyObject *__Pyx_NewRef(PyObject *obj) {
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030a0000 || defined(Py_NewRef)
    return Py_NewRef(obj);
#else
    Py_INCREF(obj);
    return obj;
#endif
}
static CYTHON_INLINE PyObject *__Pyx_XNewRef(PyObject *obj) {
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030a0000 || defined(Py_XNewRef)
    return Py_XNewRef(obj);
#else
    Py_XINCREF(obj);
    return obj;
#endif
}
static CYTHON_INLINE PyObject *__Pyx_Owned_Py_None(int b);
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_Long(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_PyLong_FromSize_t(size_t);
static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*);
#if CYTHON_ASSUME_SAFE_MACROS
#define __Pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
#define __Pyx_PyFloat_AS_DOUBLE(x) PyFloat_AS_DOUBLE(x)
#else
#define __Pyx_PyFloat_AsDouble(x) PyFloat_AsDouble(x)
#define __Pyx_PyFloat_AS_DOUBLE(x) PyFloat_AsDouble(x)
#endif
#define __Pyx_PyFloat_AsFloat(x) ((float) __Pyx_PyFloat_AsDouble(x))
#define __Pyx_PyNumber_Int(x) (PyLong_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Long(x))
#if CYTHON_USE_PYLONG_INTERNALS
  #if PY_VERSION_HEX >= 0x030C00A7
  #ifndef _PyLong_SIGN_MASK
    #define _PyLong_SIGN_MASK 3
  #endif
  #ifndef _PyLong_NON_SIZE_BITS
    #define _PyLong_NON_SIZE_BITS 3
  #endif
  #define __Pyx_PyLong_Sign(x)  (((PyLongObject*)x)->long_value.lv_tag & _PyLong_SIGN_MASK)
  #define __Pyx_PyLong_IsNeg(x)  ((__Pyx_PyLong_Sign(x) & 2) != 0)
  #define __Pyx_PyLong_IsNonNeg(x)  (!__Pyx_PyLong_IsNeg(x))
  #define __Pyx_PyLong_IsZero(x)  (__Pyx_PyLong_Sign(x) & 1)
  #define __Pyx_PyLong_IsPos(x)  (__Pyx_PyLong_Sign(x) == 0)
  #define __Pyx_PyLong_CompactValueUnsigned(x)  (__Pyx_PyLong_Digits(x)[0])
  #define __Pyx_PyLong_DigitCount(x)  ((Py_ssize_t) (((PyLongObject*)x)->long_value.lv_tag >> _PyLong_NON_SIZE_BITS))
  #define __Pyx_PyLong_SignedDigitCount(x)\
        ((1 - (Py_ssize_t) __Pyx_PyLong_Sign(x)) * __Pyx_PyLong_DigitCount(x))
  #if defined(PyUnstable_Long_IsCompact) && defined(PyUnstable_Long_CompactValue)
    #define __Pyx_PyLong_IsCompact(x)     PyUnstable_Long_IsCompact((PyLongObject*) x)
    #define __Pyx_PyLong_CompactValue(x)  PyUnstable_Long_CompactValue((PyLongObject*) x)
  #else
    #define __Pyx_PyLong_IsCompact(x)     (((PyLongObject*)x)->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS))
    #define __Pyx_PyLong_CompactValue(x)  ((1 - (Py_ssize_t) __Pyx_PyLong_Sign(x)) * (Py_ssize_t) __Pyx_PyLong_Digits(x)[0])
  #endif
  typedef Py_ssize_t  __Pyx_compact_pylong;
  typedef size_t  __Pyx_compact_upylong;
  #else
  #define __Pyx_PyLong_IsNeg(x)  (Py_SIZE(x) < 0)
  #define __Pyx_PyLong_IsNonNeg(x)  (Py_SIZE(x) >= 0)
  #define __Pyx_PyLong_IsZero(x)  (Py_SIZE(x) == 0)
  #define __Pyx_PyLong_IsPos(x)  (Py_SIZE(x) > 0)
  #define __Pyx_PyLong_CompactValueUnsigned(x)  ((Py_SIZE(x) == 0) ? 0 : __Pyx_PyLong_Digits(x)[0])
  #define __Pyx_PyLong_DigitCount(x)  __Pyx_sst_abs(Py_SIZE(x))
  #define __Pyx_PyLong_SignedDigitCount(x)  Py_SIZE(x)
  #define __Pyx_PyLong_IsCompact(x)  (Py_SIZE(x) == 0 || Py_SIZE(x) == 1 || Py_SIZE(x) == -1)
  #define __Pyx_PyLong_CompactValue(x)\
        ((Py_SIZE(x) == 0) ? (sdigit) 0 : ((Py_SIZE(x) < 0) ? -(sdigit)__Pyx_PyLong_Digits(x)[0] : (sdigit)__Pyx_PyLong_Digits(x)[0]))
  typedef sdigit  __Pyx_compact_pylong;
  typedef digit  __Pyx_compact_upylong;
  #endif
  #if PY_VERSION_HEX >= 0x030C00A5
  #define __Pyx_PyLong_Digits(x)  (((PyLongObject*)x)->long_value.ob_digit)
  #else
  #define __Pyx_PyLong_Digits(x)  (((PyLongObject*)x)->ob_digit)
  #endif
#endif
#if __PYX_DEFAULT_STRING_ENCODING_IS_UTF8
  #define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_DecodeUTF8(c_str, size, NULL)
#elif __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
  #define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_DecodeASCII(c_str, size, NULL)
#else
  #define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_Decode(c_str, size, __PYX_DEFAULT_STRING_ENCODING, NULL)
#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__ */
/* PretendToInitialize */
#ifdef __cplusplus
#if __cplusplus > 201103L
#include <type_traits>
#endif
template <typename T>
static void __Pyx_pretend_to_initialize(T* ptr) {
#if __cplusplus > 201103L
    if ((std::is_trivially_default_constructible<T>::value))
#endif
        *ptr = T();
    (void)ptr;
}
#else
static CYTHON_INLINE void __Pyx_pretend_to_initialize(void* ptr) { (void)ptr; }
#endif


#if !CYTHON_USE_MODULE_STATE
static PyObject *__pyx_m = NULL;
#endif
static int __pyx_lineno;
static int __pyx_clineno = 0;
static const char * const __pyx_cfilenm = __FILE__;
static const char *__pyx_filename;

/* #### Code section: filename_table ### */

static const char* const __pyx_f[] = {
  "kivy/properties.pyx",
  "<stringsource>",
  "kivy/properties.pxd",
  "cpython/type.pxd",
  "kivy/_event.pxd",
};
/* #### Code section: utility_code_proto_before_types ### */
/* Atomics.proto (used by UnpackUnboundCMethod) */
#include <pythread.h>
#ifndef CYTHON_ATOMICS
    #define CYTHON_ATOMICS 1
#endif
#define __PYX_CYTHON_ATOMICS_ENABLED() CYTHON_ATOMICS
#define __PYX_GET_CYTHON_COMPILING_IN_CPYTHON_FREETHREADING() CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
#define __pyx_atomic_int_type int
#define __pyx_nonatomic_int_type int
#if CYTHON_ATOMICS && (defined(__STDC_VERSION__) &&\
                        (__STDC_VERSION__ >= 201112L) &&\
                        !defined(__STDC_NO_ATOMICS__))
    #include <stdatomic.h>
#elif CYTHON_ATOMICS && (defined(__cplusplus) && (\
                    (__cplusplus >= 201103L) ||\
                    (defined(_MSC_VER) && _MSC_VER >= 1700)))
    #include <atomic>
#endif
#if CYTHON_ATOMICS && (defined(__STDC_VERSION__) &&\
                        (__STDC_VERSION__ >= 201112L) &&\
                        !defined(__STDC_NO_ATOMICS__) &&\
                       ATOMIC_INT_LOCK_FREE == 2)
    #undef __pyx_atomic_int_type
    #define __pyx_atomic_int_type atomic_int
    #define __pyx_atomic_ptr_type atomic_uintptr_t
    #define __pyx_nonatomic_ptr_type uintptr_t
    #define __pyx_atomic_incr_relaxed(value) atomic_fetch_add_explicit(value, 1, memory_order_relaxed)
    #define __pyx_atomic_incr_acq_rel(value) atomic_fetch_add_explicit(value, 1, memory_order_acq_rel)
    #define __pyx_atomic_decr_acq_rel(value) atomic_fetch_sub_explicit(value, 1, memory_order_acq_rel)
    #define __pyx_atomic_sub(value, arg) atomic_fetch_sub(value, arg)
    #define __pyx_atomic_int_cmp_exchange(value, expected, desired) atomic_compare_exchange_strong(value, expected, desired)
    #define __pyx_atomic_load(value) atomic_load(value)
    #define __pyx_atomic_store(value, new_value) atomic_store(value, new_value)
    #define __pyx_atomic_pointer_load_relaxed(value) atomic_load_explicit(value, memory_order_relaxed)
    #define __pyx_atomic_pointer_load_acquire(value) atomic_load_explicit(value, memory_order_acquire)
    #define __pyx_atomic_pointer_exchange(value, new_value) atomic_exchange(value, (__pyx_nonatomic_ptr_type)new_value)
    #define __pyx_atomic_pointer_cmp_exchange(value, expected, desired) atomic_compare_exchange_strong(value, expected, desired)
    #if defined(__PYX_DEBUG_ATOMICS) && defined(_MSC_VER)
        #pragma message ("Using standard C atomics")
    #elif defined(__PYX_DEBUG_ATOMICS)
        #warning "Using standard C atomics"
    #endif
#elif CYTHON_ATOMICS && (defined(__cplusplus) && (\
                    (__cplusplus >= 201103L) ||\
\
                    (defined(_MSC_VER) && _MSC_VER >= 1700)) &&\
                    ATOMIC_INT_LOCK_FREE == 2)
    #undef __pyx_atomic_int_type
    #define __pyx_atomic_int_type std::atomic_int
    #define __pyx_atomic_ptr_type std::atomic_uintptr_t
    #define __pyx_nonatomic_ptr_type uintptr_t
    #define __pyx_atomic_incr_relaxed(value) std::atomic_fetch_add_explicit(value, 1, std::memory_order_relaxed)
    #define __pyx_atomic_incr_acq_rel(value) std::atomic_fetch_add_explicit(value, 1, std::memory_order_acq_rel)
    #define __pyx_atomic_decr_acq_rel(value) std::atomic_fetch_sub_explicit(value, 1, std::memory_order_acq_rel)
    #define __pyx_atomic_sub(value, arg) std::atomic_fetch_sub(value, arg)
    #define __pyx_atomic_int_cmp_exchange(value, expected, desired) std::atomic_compare_exchange_strong(value, expected, desired)
    #define __pyx_atomic_load(value) std::atomic_load(value)
    #define __pyx_atomic_store(value, new_value) std::atomic_store(value, new_value)
    #define __pyx_atomic_pointer_load_relaxed(value) std::atomic_load_explicit(value, std::memory_order_relaxed)
    #define __pyx_atomic_pointer_load_acquire(value) std::atomic_load_explicit(value, std::memory_order_acquire)
    #define __pyx_atomic_pointer_exchange(value, new_value) std::atomic_exchange(value, (__pyx_nonatomic_ptr_type)new_value)
    #define __pyx_atomic_pointer_cmp_exchange(value, expected, desired) std::atomic_compare_exchange_strong(value, expected, desired)
    #if defined(__PYX_DEBUG_ATOMICS) && defined(_MSC_VER)
        #pragma message ("Using standard C++ atomics")
    #elif defined(__PYX_DEBUG_ATOMICS)
        #warning "Using standard C++ atomics"
    #endif
#elif CYTHON_ATOMICS && (__GNUC__ >= 5 || (__GNUC__ == 4 &&\
                    (__GNUC_MINOR__ > 1 ||\
                    (__GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ >= 2))))
    #define __pyx_atomic_ptr_type void*
    #define __pyx_nonatomic_ptr_type void*
    #define __pyx_atomic_incr_relaxed(value) __sync_fetch_and_add(value, 1)
    #define __pyx_atomic_incr_acq_rel(value) __sync_fetch_and_add(value, 1)
    #define __pyx_atomic_decr_acq_rel(value) __sync_fetch_and_sub(value, 1)
    #define __pyx_atomic_sub(value, arg) __sync_fetch_and_sub(value, arg)
    static CYTHON_INLINE int __pyx_atomic_int_cmp_exchange(__pyx_atomic_int_type* value, __pyx_nonatomic_int_type* expected, __pyx_nonatomic_int_type desired) {
        __pyx_nonatomic_int_type old = __sync_val_compare_and_swap(value, *expected, desired);
        int result = old == *expected;
        *expected = old;
        return result;
    }
    #define __pyx_atomic_load(value) __sync_fetch_and_add(value, 0)
    #define __pyx_atomic_store(value, new_value) __sync_lock_test_and_set(value, new_value)
    #define __pyx_atomic_pointer_load_relaxed(value) __sync_fetch_and_add(value, 0)
    #define __pyx_atomic_pointer_load_acquire(value) __sync_fetch_and_add(value, 0)
    #define __pyx_atomic_pointer_exchange(value, new_value) __sync_lock_test_and_set(value, (__pyx_atomic_ptr_type)new_value)
    static CYTHON_INLINE int __pyx_atomic_pointer_cmp_exchange(__pyx_atomic_ptr_type* value, __pyx_nonatomic_ptr_type* expected, __pyx_nonatomic_ptr_type desired) {
        __pyx_nonatomic_ptr_type old = __sync_val_compare_and_swap(value, *expected, desired);
        int result = old == *expected;
        *expected = old;
        return result;
    }
    #ifdef __PYX_DEBUG_ATOMICS
        #warning "Using GNU atomics"
    #endif
#elif CYTHON_ATOMICS && defined(_MSC_VER)
    #include <intrin.h>
    #undef __pyx_atomic_int_type
    #define __pyx_atomic_int_type long
    #define __pyx_atomic_ptr_type void*
    #undef __pyx_nonatomic_int_type
    #define __pyx_nonatomic_int_type long
    #define __pyx_nonatomic_ptr_type void*
    #pragma intrinsic (_InterlockedExchangeAdd, _InterlockedExchange, _InterlockedCompareExchange, _InterlockedCompareExchangePointer, _InterlockedExchangePointer)
    #define __pyx_atomic_incr_relaxed(value) _InterlockedExchangeAdd(value, 1)
    #define __pyx_atomic_incr_acq_rel(value) _InterlockedExchangeAdd(value, 1)
    #define __pyx_atomic_decr_acq_rel(value) _InterlockedExchangeAdd(value, -1)
    #define __pyx_atomic_sub(value, arg) _InterlockedExchangeAdd(value, -arg)
    static CYTHON_INLINE int __pyx_atomic_int_cmp_exchange(__pyx_atomic_int_type* value, __pyx_nonatomic_int_type* expected, __pyx_nonatomic_int_type desired) {
        __pyx_nonatomic_int_type old = _InterlockedCompareExchange(value, desired, *expected);
        int result = old == *expected;
        *expected = old;
        return result;
    }
    #define __pyx_atomic_load(value) _InterlockedExchangeAdd(value, 0)
    #define __pyx_atomic_store(value, new_value) _InterlockedExchange(value, new_value)
    #define __pyx_atomic_pointer_load_relaxed(value) *(void * volatile *)value
    #define __pyx_atomic_pointer_load_acquire(value) _InterlockedCompareExchangePointer(value, 0, 0)
    #define __pyx_atomic_pointer_exchange(value, new_value) _InterlockedExchangePointer(value, (__pyx_atomic_ptr_type)new_value)
    static CYTHON_INLINE int __pyx_atomic_pointer_cmp_exchange(__pyx_atomic_ptr_type* value, __pyx_nonatomic_ptr_type* expected, __pyx_nonatomic_ptr_type desired) {
        __pyx_atomic_ptr_type old = _InterlockedCompareExchangePointer(value, desired, *expected);
        int result = old == *expected;
        *expected = old;
        return result;
    }
    #ifdef __PYX_DEBUG_ATOMICS
        #pragma message ("Using MSVC atomics")
    #endif
#else
    #undef CYTHON_ATOMICS
    #define CYTHON_ATOMICS 0
    #ifdef __PYX_DEBUG_ATOMICS
        #warning "Not using atomics"
    #endif
#endif

/* CriticalSectionsDefinition.proto (used by CriticalSections) */
#if !CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
#define __Pyx_PyCriticalSection void*
#define __Pyx_PyCriticalSection2 void*
#define __Pyx_PyCriticalSection_End(cs)
#define __Pyx_PyCriticalSection2_End(cs)
#else
#define __Pyx_PyCriticalSection PyCriticalSection
#define __Pyx_PyCriticalSection2 PyCriticalSection2
#define __Pyx_PyCriticalSection_End PyCriticalSection_End
#define __Pyx_PyCriticalSection2_End PyCriticalSection2_End
#endif

/* CriticalSections.proto (used by ParseKeywordsImpl) */
#if !CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
#define __Pyx_PyCriticalSection_Begin(cs, arg) (void)(cs)
#define __Pyx_PyCriticalSection2_Begin(cs, arg1, arg2) (void)(cs)
#else
#define __Pyx_PyCriticalSection_Begin PyCriticalSection_Begin
#define __Pyx_PyCriticalSection2_Begin PyCriticalSection2_Begin
#endif
#if PY_VERSION_HEX < 0x030d0000 || CYTHON_COMPILING_IN_LIMITED_API
#define __Pyx_BEGIN_CRITICAL_SECTION(o) {
#define __Pyx_END_CRITICAL_SECTION() }
#else
#define __Pyx_BEGIN_CRITICAL_SECTION Py_BEGIN_CRITICAL_SECTION
#define __Pyx_END_CRITICAL_SECTION Py_END_CRITICAL_SECTION
#endif

/* IncludeStructmemberH.proto (used by FixUpExtensionType) */
#include <structmember.h>

/* #### Code section: numeric_typedefs ### */
/* #### Code section: complex_type_declarations ### */
/* #### Code section: type_declarations ### */

/*--- Type declarations ---*/
struct __pyx_obj_4kivy_6_event_ObjectWithUid;
struct __pyx_obj_4kivy_6_event_Observable;
struct __pyx_obj_4kivy_6_event_EventDispatcher;
struct __pyx_obj_4kivy_6_event_BoundCallback;
struct __pyx_obj_4kivy_6_event_EventObservers;
struct __pyx_obj_4kivy_10properties_PropertyStorage;
struct __pyx_obj_4kivy_10properties_Property;
struct __pyx_obj_4kivy_10properties_NumericPropertyStorage;
struct __pyx_obj_4kivy_10properties_NumericProperty;
struct __pyx_obj_4kivy_10properties_StringProperty;
struct __pyx_obj_4kivy_10properties_ListProperty;
struct __pyx_obj_4kivy_10properties_DictProperty;
struct __pyx_obj_4kivy_10properties_ObjectProperty;
struct __pyx_obj_4kivy_10properties_BooleanProperty;
struct __pyx_obj_4kivy_10properties_BoundedNumericPropertyStorage;
struct __pyx_obj_4kivy_10properties_BoundedNumericProperty;
struct __pyx_obj_4kivy_10properties_OptionPropertyStorage;
struct __pyx_obj_4kivy_10properties_OptionProperty;
struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage;
struct __pyx_obj_4kivy_10properties_ReferenceListProperty;
struct __pyx_obj_4kivy_10properties_AliasPropertyStorage;
struct __pyx_obj_4kivy_10properties_AliasProperty;
struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage;
struct __pyx_obj_4kivy_10properties_VariableListProperty;
struct __pyx_obj_4kivy_10properties_ConfigParserProperty;
struct __pyx_obj_4kivy_10properties_ColorProperty;
struct __pyx_opt_args_4kivy_6_event_14EventObservers_make_callback;
struct __pyx_opt_args_4kivy_6_event_14EventObservers_remove_callback;

/* "kivy/_event.pxd":24
 * 
 * 
 * cdef enum BoundLock:             # <<<<<<<<<<<<<<
 *     # the state of the BoundCallback, i.e. whether it can be deleted
 *     unlocked  # whether the BoundCallback is unlocked and can be deleted
*/
enum __pyx_t_4kivy_6_event_BoundLock {
  __pyx_e_4kivy_6_event_unlocked,
  __pyx_e_4kivy_6_event_locked,
  __pyx_e_4kivy_6_event_deleted
};

/* "kivy/_event.pxd":56
 *     cdef object uid
 * 
 *     cdef inline BoundCallback make_callback(self, object observer, tuple largs, dict kwargs, int is_ref, uid=*)             # <<<<<<<<<<<<<<
 *     cdef inline void bind(self, object observer, object src_observer, int is_ref) except *
 *     cdef inline object fbind(self, object observer, tuple largs, dict kwargs, int is_ref)
*/
struct __pyx_opt_args_4kivy_6_event_14EventObservers_make_callback {
  int __pyx_n;
  PyObject *uid;
};

/* "kivy/_event.pxd":65
 *     cdef inline object unbind_uid(self, object uid)
 *     cdef inline object unbind_callback(self, BoundCallback callback)
 *     cdef inline void remove_callback(self, BoundCallback callback, int force=*) except *             # <<<<<<<<<<<<<<
 *     cdef inline object _dispatch(
 *         self, object f, tuple slargs, dict skwargs, object obj, object value, tuple largs, dict kwargs)
*/
struct __pyx_opt_args_4kivy_6_event_14EventObservers_remove_callback {
  int __pyx_n;
  int force;
};
struct __pyx_opt_args_4kivy_10properties_8Property_fbind;
struct __pyx_opt_args_4kivy_10properties_8Property_unbind;
struct __pyx_opt_args_4kivy_10properties_8Property_funbind;

/* "kivy/properties.pxd":29
 *     cpdef link_deps(self, EventDispatcher obj, str name)
 *     cpdef bind(self, EventDispatcher obj, observer)
 *     cpdef fbind(self, EventDispatcher obj, observer, int ref, tuple largs=*, dict kwargs=*)             # <<<<<<<<<<<<<<
 *     cpdef unbind(self, EventDispatcher obj, observer, int stop_on_first=*)
 *     cpdef funbind(self, EventDispatcher obj, observer, tuple largs=*, dict kwargs=*)
*/
struct __pyx_opt_args_4kivy_10properties_8Property_fbind {
  int __pyx_n;
  PyObject *largs;
  PyObject *kwargs;
};

/* "kivy/properties.pxd":30
 *     cpdef bind(self, EventDispatcher obj, observer)
 *     cpdef fbind(self, EventDispatcher obj, observer, int ref, tuple largs=*, dict kwargs=*)
 *     cpdef unbind(self, EventDispatcher obj, observer, int stop_on_first=*)             # <<<<<<<<<<<<<<
 *     cpdef funbind(self, EventDispatcher obj, observer, tuple largs=*, dict kwargs=*)
 *     cpdef unbind_uid(self, EventDispatcher obj, object uid)
*/
struct __pyx_opt_args_4kivy_10properties_8Property_unbind {
  int __pyx_n;
  int stop_on_first;
};

/* "kivy/properties.pxd":31
 *     cpdef fbind(self, EventDispatcher obj, observer, int ref, tuple largs=*, dict kwargs=*)
 *     cpdef unbind(self, EventDispatcher obj, observer, int stop_on_first=*)
 *     cpdef funbind(self, EventDispatcher obj, observer, tuple largs=*, dict kwargs=*)             # <<<<<<<<<<<<<<
 *     cpdef unbind_uid(self, EventDispatcher obj, object uid)
 *     cdef compare_value(self, a, b)
*/
struct __pyx_opt_args_4kivy_10properties_8Property_funbind {
  int __pyx_n;
  PyObject *largs;
  PyObject *kwargs;
};

/* "kivy/_event.pxd":5
 * cdef dict cache_properties_per_cls
 * 
 * cdef class ObjectWithUid(object):             # <<<<<<<<<<<<<<
 *     cdef readonly int uid
 * 
*/
struct __pyx_obj_4kivy_6_event_ObjectWithUid {
  PyObject_HEAD
  int uid;
};


/* "kivy/_event.pxd":9
 * 
 * 
 * cdef class Observable(ObjectWithUid):             # <<<<<<<<<<<<<<
 *     cdef object __fbind_mapping
 *     cdef object bound_uid
*/
struct __pyx_obj_4kivy_6_event_Observable {
  struct __pyx_obj_4kivy_6_event_ObjectWithUid __pyx_base;
  PyObject *_Observable__fbind_mapping;
  PyObject *bound_uid;
};


/* "kivy/_event.pxd":14
 * 
 * 
 * cdef class EventDispatcher(ObjectWithUid):             # <<<<<<<<<<<<<<
 *     cdef dict __event_stack
 *     cdef dict __properties
*/
struct __pyx_obj_4kivy_6_event_EventDispatcher {
  struct __pyx_obj_4kivy_6_event_ObjectWithUid __pyx_base;
  struct __pyx_vtabstruct_4kivy_6_event_EventDispatcher *__pyx_vtab;
  PyObject *_EventDispatcher__event_stack;
  PyObject *_EventDispatcher__properties;
  PyObject *_EventDispatcher__storage;
  PyObject *__weakref__;
  PyObject *_kwargs_applied_init;
  PyObject *_proxy_ref;
};


/* "kivy/_event.pxd":30
 *     deleted  # whether the locked BoundCallback was marked for deletion
 * 
 * cdef class BoundCallback:             # <<<<<<<<<<<<<<
 *     cdef object func
 *     cdef tuple largs
*/
struct __pyx_obj_4kivy_6_event_BoundCallback {
  PyObject_HEAD
  struct __pyx_vtabstruct_4kivy_6_event_BoundCallback *__pyx_vtab;
  PyObject *func;
  PyObject *largs;
  PyObject *kwargs;
  int is_ref;
  enum __pyx_t_4kivy_6_event_BoundLock lock;
  struct __pyx_obj_4kivy_6_event_BoundCallback *next;
  struct __pyx_obj_4kivy_6_event_BoundCallback *prev;
  PyObject *uid;
  struct __pyx_obj_4kivy_6_event_EventObservers *observers;
};


/* "kivy/_event.pxd":44
 * 
 * 
 * cdef class EventObservers:             # <<<<<<<<<<<<<<
 *     # If dispatching should occur in normal or reverse order of binding.
 *     cdef int dispatch_reverse
*/
struct __pyx_obj_4kivy_6_event_EventObservers {
  PyObject_HEAD
  struct __pyx_vtabstruct_4kivy_6_event_EventObservers *__pyx_vtab;
  int dispatch_reverse;
  int dispatch_value;
  struct __pyx_obj_4kivy_6_event_BoundCallback *first_callback;
  struct __pyx_obj_4kivy_6_event_BoundCallback *last_callback;
  PyObject *uid;
};


/* "kivy/properties.pxd":5
 * from kivy._metrics cimport dpi2px, pixel_scale_observers
 * 
 * cdef class PropertyStorage:             # <<<<<<<<<<<<<<
 *     cdef object value
 *     cdef EventObservers observers
*/
struct __pyx_obj_4kivy_10properties_PropertyStorage {
  PyObject_HEAD
  PyObject *value;
  struct __pyx_obj_4kivy_6_event_EventObservers *observers;
  struct __pyx_obj_4kivy_10properties_Property *property_obj;
};


/* "kivy/properties.pxd":11
 * 
 * 
 * cdef class Property:             # <<<<<<<<<<<<<<
 *     cdef str _name
 *     cdef int allownone
*/
struct __pyx_obj_4kivy_10properties_Property {
  PyObject_HEAD
  struct __pyx_vtabstruct_4kivy_10properties_Property *__pyx_vtab;
  PyObject *_name;
  int allownone;
  int force_dispatch;
  PyObject *comparator;
  PyObject *errorvalue;
  PyObject *errorhandler;
  int errorvalue_set;
  PyObject *defaultvalue;
  int deprecated;
};


/* "kivy/properties.pxd":42
 * 
 * 
 * cdef class NumericPropertyStorage(PropertyStorage):             # <<<<<<<<<<<<<<
 *     cdef object numeric_fmt
 *     cdef object original_num
*/
struct __pyx_obj_4kivy_10properties_NumericPropertyStorage {
  struct __pyx_obj_4kivy_10properties_PropertyStorage __pyx_base;
  PyObject *numeric_fmt;
  PyObject *original_num;
};


/* "kivy/properties.pxd":47
 * 
 * 
 * cdef class NumericProperty(Property):             # <<<<<<<<<<<<<<
 *     cdef float parse_str(
 *             self, EventDispatcher obj, value, NumericPropertyStorage ps) except *
*/
struct __pyx_obj_4kivy_10properties_NumericProperty {
  struct __pyx_obj_4kivy_10properties_Property __pyx_base;
};


/* "kivy/properties.pxd":53
 *             self, EventDispatcher obj, value, ext, NumericPropertyStorage ps) except *
 * 
 * cdef class StringProperty(Property):             # <<<<<<<<<<<<<<
 *     pass
 * 
*/
struct __pyx_obj_4kivy_10properties_StringProperty {
  struct __pyx_obj_4kivy_10properties_Property __pyx_base;
};


/* "kivy/properties.pxd":56
 *     pass
 * 
 * cdef class ListProperty(Property):             # <<<<<<<<<<<<<<
 *     pass
 * 
*/
struct __pyx_obj_4kivy_10properties_ListProperty {
  struct __pyx_obj_4kivy_10properties_Property __pyx_base;
};


/* "kivy/properties.pxd":59
 *     pass
 * 
 * cdef class DictProperty(Property):             # <<<<<<<<<<<<<<
 *     cdef public int rebind
 * 
*/
struct __pyx_obj_4kivy_10properties_DictProperty {
  struct __pyx_obj_4kivy_10properties_Property __pyx_base;
  int rebind;
};


/* "kivy/properties.pxd":62
 *     cdef public int rebind
 * 
 * cdef class ObjectProperty(Property):             # <<<<<<<<<<<<<<
 *     cdef object baseclass
 *     cdef public int rebind
*/
struct __pyx_obj_4kivy_10properties_ObjectProperty {
  struct __pyx_obj_4kivy_10properties_Property __pyx_base;
  PyObject *baseclass;
  int rebind;
};


/* "kivy/properties.pxd":66
 *     cdef public int rebind
 * 
 * cdef class BooleanProperty(Property):             # <<<<<<<<<<<<<<
 *     pass
 * 
*/
struct __pyx_obj_4kivy_10properties_BooleanProperty {
  struct __pyx_obj_4kivy_10properties_Property __pyx_base;
};


/* "kivy/properties.pxd":70
 * 
 * 
 * cdef class BoundedNumericPropertyStorage(PropertyStorage):             # <<<<<<<<<<<<<<
 *     cdef long bnum_min
 *     cdef long bnum_max
*/
struct __pyx_obj_4kivy_10properties_BoundedNumericPropertyStorage {
  struct __pyx_obj_4kivy_10properties_PropertyStorage __pyx_base;
  long bnum_min;
  long bnum_max;
  float bnum_f_min;
  float bnum_f_max;
  int bnum_use_min;
  int bnum_use_max;
};


/* "kivy/properties.pxd":79
 * 
 * 
 * cdef class BoundedNumericProperty(Property):             # <<<<<<<<<<<<<<
 *     cdef int use_min
 *     cdef int use_max
*/
struct __pyx_obj_4kivy_10properties_BoundedNumericProperty {
  struct __pyx_obj_4kivy_10properties_Property __pyx_base;
  int use_min;
  int use_max;
  long min;
  long max;
  float f_min;
  float f_max;
};


/* "kivy/properties.pxd":88
 * 
 * 
 * cdef class OptionPropertyStorage(PropertyStorage):             # <<<<<<<<<<<<<<
 *     cdef list options
 * 
*/
struct __pyx_obj_4kivy_10properties_OptionPropertyStorage {
  struct __pyx_obj_4kivy_10properties_PropertyStorage __pyx_base;
  PyObject *options;
};


/* "kivy/properties.pxd":92
 * 
 * 
 * cdef class OptionProperty(Property):             # <<<<<<<<<<<<<<
 *     cdef list options
 * 
*/
struct __pyx_obj_4kivy_10properties_OptionProperty {
  struct __pyx_obj_4kivy_10properties_Property __pyx_base;
  PyObject *options;
};


/* "kivy/properties.pxd":96
 * 
 * 
 * cdef class ReferenceListPropertyStorage(PropertyStorage):             # <<<<<<<<<<<<<<
 *     cdef tuple properties
 *     cdef int stop_event
*/
struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage {
  struct __pyx_obj_4kivy_10properties_PropertyStorage __pyx_base;
  PyObject *properties;
  int stop_event;
};


/* "kivy/properties.pxd":101
 * 
 * 
 * cdef class ReferenceListProperty(Property):             # <<<<<<<<<<<<<<
 *     cdef list properties
 *     cpdef trigger_change(self, EventDispatcher obj, value)
*/
struct __pyx_obj_4kivy_10properties_ReferenceListProperty {
  struct __pyx_obj_4kivy_10properties_Property __pyx_base;
  PyObject *properties;
};


/* "kivy/properties.pxd":107
 * 
 * 
 * cdef class AliasPropertyStorage(PropertyStorage):             # <<<<<<<<<<<<<<
 *     cdef object getter
 *     cdef object setter
*/
struct __pyx_obj_4kivy_10properties_AliasPropertyStorage {
  struct __pyx_obj_4kivy_10properties_PropertyStorage __pyx_base;
  PyObject *getter;
  PyObject *setter;
  int alias_initial;
};


/* "kivy/properties.pxd":113
 * 
 * 
 * cdef class AliasProperty(Property):             # <<<<<<<<<<<<<<
 *     cdef object getter
 *     cdef object setter
*/
struct __pyx_obj_4kivy_10properties_AliasProperty {
  struct __pyx_obj_4kivy_10properties_Property __pyx_base;
  PyObject *getter;
  PyObject *setter;
  int watch_before_use;
  PyObject *bind_objects;
  int use_cache;
  int rebind;
};


/* "kivy/properties.pxd":123
 * 
 * 
 * cdef class VariableListPropertyStorage(PropertyStorage):             # <<<<<<<<<<<<<<
 *     cdef object original_num
 *     cdef int uses_scaling
*/
struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage {
  struct __pyx_obj_4kivy_10properties_PropertyStorage __pyx_base;
  PyObject *original_num;
  int uses_scaling;
};


/* "kivy/properties.pxd":128
 * 
 * 
 * cdef class VariableListProperty(Property):             # <<<<<<<<<<<<<<
 *     cdef public int length
 *     cdef _convert_numeric(self, EventDispatcher obj, x, VariableListPropertyStorage ps)
*/
struct __pyx_obj_4kivy_10properties_VariableListProperty {
  struct __pyx_obj_4kivy_10properties_Property __pyx_base;
  int length;
};


/* "kivy/properties.pxd":139
 * 
 * 
 * cdef class ConfigParserProperty(Property):             # <<<<<<<<<<<<<<
 *     cdef object config
 *     cdef object section
*/
struct __pyx_obj_4kivy_10properties_ConfigParserProperty {
  struct __pyx_obj_4kivy_10properties_Property __pyx_base;
  PyObject *config;
  PyObject *section;
  PyObject *key;
  PyObject *val_type;
  PyObject *verify;
  PyObject *obj;
  PyObject *last_value;
  PyObject *config_name;
};


/* "kivy/properties.pxd":151
 *     cdef inline object _parse_str(self, object value)
 * 
 * cdef class ColorProperty(Property):             # <<<<<<<<<<<<<<
 *     cdef list parse_str(self, EventDispatcher obj, value)
 *     cdef object parse_list(self, EventDispatcher obj, value)
*/
struct __pyx_obj_4kivy_10properties_ColorProperty {
  struct __pyx_obj_4kivy_10properties_Property __pyx_base;
};



/* "kivy/_event.pxd":14
 * 
 * 
 * cdef class EventDispatcher(ObjectWithUid):             # <<<<<<<<<<<<<<
 *     cdef dict __event_stack
 *     cdef dict __properties
*/

struct __pyx_vtabstruct_4kivy_6_event_EventDispatcher {
  PyObject *(*properties)(struct __pyx_obj_4kivy_6_event_EventDispatcher *, int __pyx_skip_dispatch);
};
static struct __pyx_vtabstruct_4kivy_6_event_EventDispatcher *__pyx_vtabptr_4kivy_6_event_EventDispatcher;


/* "kivy/_event.pxd":30
 *     deleted  # whether the locked BoundCallback was marked for deletion
 * 
 * cdef class BoundCallback:             # <<<<<<<<<<<<<<
 *     cdef object func
 *     cdef tuple largs
*/

struct __pyx_vtabstruct_4kivy_6_event_BoundCallback {
  void (*set_largs)(struct __pyx_obj_4kivy_6_event_BoundCallback *, PyObject *);
};
static struct __pyx_vtabstruct_4kivy_6_event_BoundCallback *__pyx_vtabptr_4kivy_6_event_BoundCallback;


/* "kivy/_event.pxd":44
 * 
 * 
 * cdef class EventObservers:             # <<<<<<<<<<<<<<
 *     # If dispatching should occur in normal or reverse order of binding.
 *     cdef int dispatch_reverse
*/

struct __pyx_vtabstruct_4kivy_6_event_EventObservers {
  struct __pyx_obj_4kivy_6_event_BoundCallback *(*make_callback)(struct __pyx_obj_4kivy_6_event_EventObservers *, PyObject *, PyObject *, PyObject *, int, struct __pyx_opt_args_4kivy_6_event_14EventObservers_make_callback *__pyx_optional_args);
  void (*bind)(struct __pyx_obj_4kivy_6_event_EventObservers *, PyObject *, PyObject *, int);
  PyObject *(*fbind)(struct __pyx_obj_4kivy_6_event_EventObservers *, PyObject *, PyObject *, PyObject *, int);
  struct __pyx_obj_4kivy_6_event_BoundCallback *(*fbind_callback)(struct __pyx_obj_4kivy_6_event_EventObservers *, PyObject *, PyObject *, PyObject *, int);
  void (*fbind_existing_callback)(struct __pyx_obj_4kivy_6_event_EventObservers *, struct __pyx_obj_4kivy_6_event_BoundCallback *);
  void (*unbind)(struct __pyx_obj_4kivy_6_event_EventObservers *, PyObject *, int);
  void (*funbind)(struct __pyx_obj_4kivy_6_event_EventObservers *, PyObject *, PyObject *, PyObject *);
  PyObject *(*unbind_uid)(struct __pyx_obj_4kivy_6_event_EventObservers *, PyObject *);
  PyObject *(*unbind_callback)(struct __pyx_obj_4kivy_6_event_EventObservers *, struct __pyx_obj_4kivy_6_event_BoundCallback *);
  void (*remove_callback)(struct __pyx_obj_4kivy_6_event_EventObservers *, struct __pyx_obj_4kivy_6_event_BoundCallback *, struct __pyx_opt_args_4kivy_6_event_14EventObservers_remove_callback *__pyx_optional_args);
  PyObject *(*_dispatch)(struct __pyx_obj_4kivy_6_event_EventObservers *, PyObject *, PyObject *, PyObject *, PyObject *, PyObject *, PyObject *, PyObject *);
  int (*dispatch)(struct __pyx_obj_4kivy_6_event_EventObservers *, PyObject *, PyObject *, PyObject *, PyObject *, int);
};
static struct __pyx_vtabstruct_4kivy_6_event_EventObservers *__pyx_vtabptr_4kivy_6_event_EventObservers;


/* "kivy/properties.pyx":287
 * 
 * 
 * cdef class Property:             # <<<<<<<<<<<<<<
 *     '''Base class for building more complex properties.
 * 
*/

struct __pyx_vtabstruct_4kivy_10properties_Property {
  PyObject *(*init_storage)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, struct __pyx_obj_4kivy_10properties_PropertyStorage *);
  struct __pyx_obj_4kivy_10properties_PropertyStorage *(*create_property_storage)(struct __pyx_obj_4kivy_10properties_Property *);
  struct __pyx_obj_4kivy_10properties_PropertyStorage *(*get_property_storage)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *);
  PyObject *(*set_name)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch);
  struct __pyx_obj_4kivy_10properties_PropertyStorage *(*link_eagerly)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, int __pyx_skip_dispatch);
  struct __pyx_obj_4kivy_10properties_PropertyStorage *(*link)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch);
  PyObject *(*link_deps)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch);
  PyObject *(*bind)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch);
  PyObject *(*fbind)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int, int __pyx_skip_dispatch, struct __pyx_opt_args_4kivy_10properties_8Property_fbind *__pyx_optional_args);
  PyObject *(*unbind)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch, struct __pyx_opt_args_4kivy_10properties_8Property_unbind *__pyx_optional_args);
  PyObject *(*funbind)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch, struct __pyx_opt_args_4kivy_10properties_8Property_funbind *__pyx_optional_args);
  PyObject *(*unbind_uid)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch);
  PyObject *(*compare_value)(struct __pyx_obj_4kivy_10properties_Property *, PyObject *, PyObject *);
  PyObject *(*set)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch);
  PyObject *(*get)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, int __pyx_skip_dispatch);
  PyObject *(*check)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_PropertyStorage *);
  PyObject *(*convert)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_PropertyStorage *);
  PyObject *(*dispatch)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, int __pyx_skip_dispatch);
  PyObject *(*_dispatch)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, struct __pyx_obj_4kivy_10properties_PropertyStorage *);
};
static struct __pyx_vtabstruct_4kivy_10properties_Property *__pyx_vtabptr_4kivy_10properties_Property;
static CYTHON_INLINE struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_8Property_get_property_storage(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *);


/* "kivy/properties.pyx":628
 * 
 * 
 * cdef class NumericProperty(Property):             # <<<<<<<<<<<<<<
 *     '''Property that represents a numeric value.
 * 
*/

struct __pyx_vtabstruct_4kivy_10properties_NumericProperty {
  struct __pyx_vtabstruct_4kivy_10properties_Property __pyx_base;
  float (*parse_str)(struct __pyx_obj_4kivy_10properties_NumericProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *);
  float (*parse_list)(struct __pyx_obj_4kivy_10properties_NumericProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, PyObject *, struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *);
};
static struct __pyx_vtabstruct_4kivy_10properties_NumericProperty *__pyx_vtabptr_4kivy_10properties_NumericProperty;


/* "kivy/properties.pyx":781
 * 
 * 
 * cdef class StringProperty(Property):             # <<<<<<<<<<<<<<
 *     '''Property that represents a string value.
 * 
*/

struct __pyx_vtabstruct_4kivy_10properties_StringProperty {
  struct __pyx_vtabstruct_4kivy_10properties_Property __pyx_base;
};
static struct __pyx_vtabstruct_4kivy_10properties_StringProperty *__pyx_vtabptr_4kivy_10properties_StringProperty;


/* "kivy/properties.pyx":884
 * 
 * 
 * cdef class ListProperty(Property):             # <<<<<<<<<<<<<<
 *     '''Property that represents a list.
 * 
*/

struct __pyx_vtabstruct_4kivy_10properties_ListProperty {
  struct __pyx_vtabstruct_4kivy_10properties_Property __pyx_base;
};
static struct __pyx_vtabstruct_4kivy_10properties_ListProperty *__pyx_vtabptr_4kivy_10properties_ListProperty;


/* "kivy/properties.pyx":1008
 * 
 * 
 * cdef class DictProperty(Property):             # <<<<<<<<<<<<<<
 *     '''Property that represents a dict.
 * 
*/

struct __pyx_vtabstruct_4kivy_10properties_DictProperty {
  struct __pyx_vtabstruct_4kivy_10properties_Property __pyx_base;
};
static struct __pyx_vtabstruct_4kivy_10properties_DictProperty *__pyx_vtabptr_4kivy_10properties_DictProperty;


/* "kivy/properties.pyx":1052
 * 
 * 
 * cdef class ObjectProperty(Property):             # <<<<<<<<<<<<<<
 *     '''Property that represents a Python object.
 * 
*/

struct __pyx_vtabstruct_4kivy_10properties_ObjectProperty {
  struct __pyx_vtabstruct_4kivy_10properties_Property __pyx_base;
};
static struct __pyx_vtabstruct_4kivy_10properties_ObjectProperty *__pyx_vtabptr_4kivy_10properties_ObjectProperty;


/* "kivy/properties.pyx":1111
 * 
 * 
 * cdef class BooleanProperty(Property):             # <<<<<<<<<<<<<<
 *     '''Property that represents only a boolean value.
 * 
*/

struct __pyx_vtabstruct_4kivy_10properties_BooleanProperty {
  struct __pyx_vtabstruct_4kivy_10properties_Property __pyx_base;
};
static struct __pyx_vtabstruct_4kivy_10properties_BooleanProperty *__pyx_vtabptr_4kivy_10properties_BooleanProperty;


/* "kivy/properties.pyx":1122
 *         super(BooleanProperty, self).__init__(defaultvalue, **kw)
 * 
 * cdef class BoundedNumericProperty(Property):             # <<<<<<<<<<<<<<
 *     '''Property that represents a numeric value within a minimum bound and/or
 *     maximum bound -- within a numeric range.
*/

struct __pyx_vtabstruct_4kivy_10properties_BoundedNumericProperty {
  struct __pyx_vtabstruct_4kivy_10properties_Property __pyx_base;
};
static struct __pyx_vtabstruct_4kivy_10properties_BoundedNumericProperty *__pyx_vtabptr_4kivy_10properties_BoundedNumericProperty;


/* "kivy/properties.pyx":1314
 * 
 * 
 * cdef class OptionProperty(Property):             # <<<<<<<<<<<<<<
 *     '''Property that represents a string from a predefined list of valid
 *     options.
*/

struct __pyx_vtabstruct_4kivy_10properties_OptionProperty {
  struct __pyx_vtabstruct_4kivy_10properties_Property __pyx_base;
};
static struct __pyx_vtabstruct_4kivy_10properties_OptionProperty *__pyx_vtabptr_4kivy_10properties_OptionProperty;


/* "kivy/properties.pyx":1379
 *             self.prop.setitem(self.obj(), slice(start, stop), value)
 * 
 * cdef class ReferenceListProperty(Property):             # <<<<<<<<<<<<<<
 *     '''Property that allows the creation of a tuple of other properties.
 * 
*/

struct __pyx_vtabstruct_4kivy_10properties_ReferenceListProperty {
  struct __pyx_vtabstruct_4kivy_10properties_Property __pyx_base;
  PyObject *(*trigger_change)(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch);
  PyObject *(*setitem)(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, PyObject *, int __pyx_skip_dispatch);
};
static struct __pyx_vtabstruct_4kivy_10properties_ReferenceListProperty *__pyx_vtabptr_4kivy_10properties_ReferenceListProperty;


/* "kivy/properties.pyx":1512
 *         return ps.value
 * 
 * cdef class AliasProperty(Property):             # <<<<<<<<<<<<<<
 *     '''Create a property with a custom getter and setter.
 * 
*/

struct __pyx_vtabstruct_4kivy_10properties_AliasProperty {
  struct __pyx_vtabstruct_4kivy_10properties_Property __pyx_base;
  PyObject *(*trigger_change)(struct __pyx_obj_4kivy_10properties_AliasProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch);
};
static struct __pyx_vtabstruct_4kivy_10properties_AliasProperty *__pyx_vtabptr_4kivy_10properties_AliasProperty;


/* "kivy/properties.pyx":1675
 * 
 * 
 * cdef class VariableListProperty(Property):             # <<<<<<<<<<<<<<
 *     '''A ListProperty that allows you to work with a variable amount of
 *     list items and to expand them to the desired list size.
*/

struct __pyx_vtabstruct_4kivy_10properties_VariableListProperty {
  struct __pyx_vtabstruct_4kivy_10properties_Property __pyx_base;
  PyObject *(*_convert_numeric)(struct __pyx_obj_4kivy_10properties_VariableListProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *);
  float (*parse_str)(struct __pyx_obj_4kivy_10properties_VariableListProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *);
  float (*parse_list)(struct __pyx_obj_4kivy_10properties_VariableListProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, PyObject *, struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *);
};
static struct __pyx_vtabstruct_4kivy_10properties_VariableListProperty *__pyx_vtabptr_4kivy_10properties_VariableListProperty;


/* "kivy/properties.pyx":1879
 * 
 * 
 * cdef class ConfigParserProperty(Property):             # <<<<<<<<<<<<<<
 *     ''' Property that allows one to bind to changes in the configuration values
 *     of a :class:`~kivy.config.ConfigParser` as well as to bind the ConfigParser
*/

struct __pyx_vtabstruct_4kivy_10properties_ConfigParserProperty {
  struct __pyx_vtabstruct_4kivy_10properties_Property __pyx_base;
  PyObject *(*_edit_setting)(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *, PyObject *, PyObject *, PyObject *, int __pyx_skip_dispatch);
  PyObject *(*_parse_str)(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *, PyObject *);
};
static struct __pyx_vtabstruct_4kivy_10properties_ConfigParserProperty *__pyx_vtabptr_4kivy_10properties_ConfigParserProperty;
static CYTHON_INLINE PyObject *__pyx_f_4kivy_10properties_20ConfigParserProperty__parse_str(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *, PyObject *);


/* "kivy/properties.pyx":2190
 * 
 * 
 * cdef class ColorProperty(Property):             # <<<<<<<<<<<<<<
 *     '''Property that represents a color. The assignment can take either:
 * 
*/

struct __pyx_vtabstruct_4kivy_10properties_ColorProperty {
  struct __pyx_vtabstruct_4kivy_10properties_Property __pyx_base;
  PyObject *(*parse_str)(struct __pyx_obj_4kivy_10properties_ColorProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *);
  PyObject *(*parse_list)(struct __pyx_obj_4kivy_10properties_ColorProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *);
};
static struct __pyx_vtabstruct_4kivy_10properties_ColorProperty *__pyx_vtabptr_4kivy_10properties_ColorProperty;
/* #### Code section: utility_code_proto ### */

/* --- Runtime support code (head) --- */
/* Refnanny.proto */
#ifndef CYTHON_REFNANNY
  #define CYTHON_REFNANNY 0
#endif
#if CYTHON_REFNANNY
  typedef struct {
    void (*INCREF)(void*, PyObject*, Py_ssize_t);
    void (*DECREF)(void*, PyObject*, Py_ssize_t);
    void (*GOTREF)(void*, PyObject*, Py_ssize_t);
    void (*GIVEREF)(void*, PyObject*, Py_ssize_t);
    void* (*SetupContext)(const char*, Py_ssize_t, 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;
  #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__));\
          }
  #define __Pyx_RefNannyFinishContextNogil() {\
              PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();\
              __Pyx_RefNannyFinishContext();\
              PyGILState_Release(__pyx_gilstate_save);\
          }
  #define __Pyx_RefNannyFinishContextNogil() {\
              PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();\
              __Pyx_RefNannyFinishContext();\
              PyGILState_Release(__pyx_gilstate_save);\
          }
  #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); else {__Pyx_INCREF(r); }} while(0)
  #define __Pyx_XDECREF(r)  do { if((r) == NULL); else {__Pyx_DECREF(r); }} while(0)
  #define __Pyx_XGOTREF(r)  do { if((r) == NULL); else {__Pyx_GOTREF(r); }} while(0)
  #define __Pyx_XGIVEREF(r) do { if((r) == NULL); else {__Pyx_GIVEREF(r);}} while(0)
#else
  #define __Pyx_RefNannyDeclarations
  #define __Pyx_RefNannySetupContext(name, acquire_gil)
  #define __Pyx_RefNannyFinishContextNogil()
  #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_Py_XDECREF_SET(r, v) do {\
        PyObject *tmp = (PyObject *) r;\
        r = v; Py_XDECREF(tmp);\
    } while (0)
#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)

/* PyErrExceptionMatches.proto (used by PyObjectGetAttrStrNoError) */
#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

/* PyThreadStateGet.proto (used by PyErrFetchRestore) */
#if CYTHON_FAST_THREAD_STATE
#define __Pyx_PyThreadState_declare  PyThreadState *__pyx_tstate;
#define __Pyx_PyThreadState_assign  __pyx_tstate = __Pyx_PyThreadState_Current;
#if PY_VERSION_HEX >= 0x030C00A6
#define __Pyx_PyErr_Occurred()  (__pyx_tstate->current_exception != NULL)
#define __Pyx_PyErr_CurrentExceptionType()  (__pyx_tstate->current_exception ? (PyObject*) Py_TYPE(__pyx_tstate->current_exception) : (PyObject*) NULL)
#else
#define __Pyx_PyErr_Occurred()  (__pyx_tstate->curexc_type != NULL)
#define __Pyx_PyErr_CurrentExceptionType()  (__pyx_tstate->curexc_type)
#endif
#else
#define __Pyx_PyThreadState_declare
#define __Pyx_PyThreadState_assign
#define __Pyx_PyErr_Occurred()  (PyErr_Occurred() != NULL)
#define __Pyx_PyErr_CurrentExceptionType()  PyErr_Occurred()
#endif

/* PyErrFetchRestore.proto (used by PyObjectGetAttrStrNoError) */
#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 && PY_VERSION_HEX < 0x030C00A6
#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

/* PyObjectGetAttrStr.proto (used by PyObjectGetAttrStrNoError) */
#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

/* PyObjectGetAttrStrNoError.proto (used by GetBuiltinName) */
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, PyObject* attr_name);

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

/* TupleAndListFromArray.proto (used by fastcall) */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyList_FromArray(PyObject *const *src, Py_ssize_t n);
#endif
#if CYTHON_COMPILING_IN_CPYTHON || CYTHON_METH_FASTCALL
static CYTHON_INLINE PyObject* __Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n);
#endif

/* IncludeStringH.proto (used by BytesEquals) */
#include <string.h>

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

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

/* fastcall.proto */
#if CYTHON_AVOID_BORROWED_REFS
    #define __Pyx_ArgRef_VARARGS(args, i) __Pyx_PySequence_ITEM(args, i)
#elif CYTHON_ASSUME_SAFE_MACROS
    #define __Pyx_ArgRef_VARARGS(args, i) __Pyx_NewRef(__Pyx_PyTuple_GET_ITEM(args, i))
#else
    #define __Pyx_ArgRef_VARARGS(args, i) __Pyx_XNewRef(PyTuple_GetItem(args, i))
#endif
#define __Pyx_NumKwargs_VARARGS(kwds) PyDict_Size(kwds)
#define __Pyx_KwValues_VARARGS(args, nargs) NULL
#define __Pyx_GetKwValue_VARARGS(kw, kwvalues, s) __Pyx_PyDict_GetItemStrWithError(kw, s)
#define __Pyx_KwargsAsDict_VARARGS(kw, kwvalues) PyDict_Copy(kw)
#if CYTHON_METH_FASTCALL
    #define __Pyx_ArgRef_FASTCALL(args, i) __Pyx_NewRef(args[i])
    #define __Pyx_NumKwargs_FASTCALL(kwds) __Pyx_PyTuple_GET_SIZE(kwds)
    #define __Pyx_KwValues_FASTCALL(args, nargs) ((args) + (nargs))
    static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 || CYTHON_COMPILING_IN_LIMITED_API
    CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues);
  #else
    #define __Pyx_KwargsAsDict_FASTCALL(kw, kwvalues) _PyStack_AsDict(kwvalues, kw)
  #endif
#else
    #define __Pyx_ArgRef_FASTCALL __Pyx_ArgRef_VARARGS
    #define __Pyx_NumKwargs_FASTCALL __Pyx_NumKwargs_VARARGS
    #define __Pyx_KwValues_FASTCALL __Pyx_KwValues_VARARGS
    #define __Pyx_GetKwValue_FASTCALL __Pyx_GetKwValue_VARARGS
    #define __Pyx_KwargsAsDict_FASTCALL __Pyx_KwargsAsDict_VARARGS
#endif
#define __Pyx_ArgsSlice_VARARGS(args, start, stop) PyTuple_GetSlice(args, start, stop)
#if CYTHON_METH_FASTCALL || (CYTHON_COMPILING_IN_CPYTHON && CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS)
#define __Pyx_ArgsSlice_FASTCALL(args, start, stop) __Pyx_PyTuple_FromArray(args + start, stop - start)
#else
#define __Pyx_ArgsSlice_FASTCALL(args, start, stop) PyTuple_GetSlice(args, start, stop)
#endif

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

/* py_dict_items.proto (used by OwnedDictNext) */
static CYTHON_INLINE PyObject* __Pyx_PyDict_Items(PyObject* d);

/* CallCFunction.proto (used by CallUnboundCMethod0) */
#define __Pyx_CallCFunction(cfunc, self, args)\
    ((PyCFunction)(void(*)(void))(cfunc)->func)(self, args)
#define __Pyx_CallCFunctionWithKeywords(cfunc, self, args, kwargs)\
    ((PyCFunctionWithKeywords)(void(*)(void))(cfunc)->func)(self, args, kwargs)
#define __Pyx_CallCFunctionFast(cfunc, self, args, nargs)\
    ((__Pyx_PyCFunctionFast)(void(*)(void))(PyCFunction)(cfunc)->func)(self, args, nargs)
#define __Pyx_CallCFunctionFastWithKeywords(cfunc, self, args, nargs, kwnames)\
    ((__Pyx_PyCFunctionFastWithKeywords)(void(*)(void))(PyCFunction)(cfunc)->func)(self, args, nargs, kwnames)

/* PyObjectCall.proto (used by PyObjectFastCall) */
#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 (used by PyObjectFastCall) */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg);
#endif

/* PyObjectFastCall.proto (used by PyObjectCallOneArg) */
#define __Pyx_PyObject_FastCall(func, args, nargs)  __Pyx_PyObject_FastCallDict(func, args, (size_t)(nargs), NULL)
static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject * const*args, size_t nargs, PyObject *kwargs);

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

/* UnpackUnboundCMethod.proto (used by CallUnboundCMethod0) */
typedef struct {
    PyObject *type;
    PyObject **method_name;
#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && CYTHON_ATOMICS
    __pyx_atomic_int_type initialized;
#endif
    PyCFunction func;
    PyObject *method;
    int flag;
} __Pyx_CachedCFunction;
#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
static CYTHON_INLINE int __Pyx_CachedCFunction_GetAndSetInitializing(__Pyx_CachedCFunction *cfunc) {
#if !CYTHON_ATOMICS
    return 1;
#else
    __pyx_nonatomic_int_type expected = 0;
    if (__pyx_atomic_int_cmp_exchange(&cfunc->initialized, &expected, 1)) {
        return 0;
    }
    return expected;
#endif
}
static CYTHON_INLINE void __Pyx_CachedCFunction_SetFinishedInitializing(__Pyx_CachedCFunction *cfunc) {
#if CYTHON_ATOMICS
    __pyx_atomic_store(&cfunc->initialized, 2);
#endif
}
#else
#define __Pyx_CachedCFunction_GetAndSetInitializing(cfunc) 2
#define __Pyx_CachedCFunction_SetFinishedInitializing(cfunc)
#endif

/* CallUnboundCMethod0.proto */
CYTHON_UNUSED
static PyObject* __Pyx__CallUnboundCMethod0(__Pyx_CachedCFunction* cfunc, PyObject* self);
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_CallUnboundCMethod0(__Pyx_CachedCFunction* cfunc, PyObject* self);
#else
#define __Pyx_CallUnboundCMethod0(cfunc, self)  __Pyx__CallUnboundCMethod0(cfunc, self)
#endif

/* py_dict_values.proto (used by OwnedDictNext) */
static CYTHON_INLINE PyObject* __Pyx_PyDict_Values(PyObject* d);

/* OwnedDictNext.proto (used by RejectKeywords) */
#if CYTHON_AVOID_BORROWED_REFS
static int __Pyx_PyDict_NextRef(PyObject *p, PyObject **ppos, PyObject **pkey, PyObject **pvalue);
#else
CYTHON_INLINE
static int __Pyx_PyDict_NextRef(PyObject *p, Py_ssize_t *ppos, PyObject **pkey, PyObject **pvalue);
#endif

/* RejectKeywords.export */
static void __Pyx_RejectKeywords(const char* function_name, PyObject *kwds);

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

/* ParseKeywordsImpl.export */
static int __Pyx_ParseKeywordsTuple(
    PyObject *kwds,
    PyObject * const *kwvalues,
    PyObject ** const argnames[],
    PyObject *kwds2,
    PyObject *values[],
    Py_ssize_t num_pos_args,
    Py_ssize_t num_kwargs,
    const char* function_name,
    int ignore_unknown_kwargs
);
static int __Pyx_ParseKeywordDictToDict(
    PyObject *kwds,
    PyObject ** const argnames[],
    PyObject *kwds2,
    PyObject *values[],
    Py_ssize_t num_pos_args,
    const char* function_name
);
static int __Pyx_ParseKeywordDict(
    PyObject *kwds,
    PyObject ** const argnames[],
    PyObject *values[],
    Py_ssize_t num_pos_args,
    Py_ssize_t num_kwargs,
    const char* function_name,
    int ignore_unknown_kwargs
);

/* CallUnboundCMethod2.proto */
CYTHON_UNUSED
static PyObject* __Pyx__CallUnboundCMethod2(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg1, PyObject* arg2);
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject *__Pyx_CallUnboundCMethod2(__Pyx_CachedCFunction *cfunc, PyObject *self, PyObject *arg1, PyObject *arg2);
#else
#define __Pyx_CallUnboundCMethod2(cfunc, self, arg1, arg2)  __Pyx__CallUnboundCMethod2(cfunc, self, arg1, arg2)
#endif

/* ParseKeywords.proto */
static CYTHON_INLINE int __Pyx_ParseKeywords(
    PyObject *kwds, PyObject *const *kwvalues, PyObject ** const argnames[],
    PyObject *kwds2, PyObject *values[],
    Py_ssize_t num_pos_args, Py_ssize_t num_kwargs,
    const char* function_name,
    int ignore_unknown_kwargs
);

/* dict_getitem_default.proto */
static PyObject* __Pyx_PyDict_GetItemDefault(PyObject* d, PyObject* key, PyObject* default_value);

/* PyObjectCall2Args.proto (used by CallUnboundCMethod1) */
static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyObject* arg1, PyObject* arg2);

/* CallUnboundCMethod1.proto */
CYTHON_UNUSED
static PyObject* __Pyx__CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg);
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg);
#else
#define __Pyx_CallUnboundCMethod1(cfunc, self, arg)  __Pyx__CallUnboundCMethod1(cfunc, self, arg)
#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));
}

/* CallableCheck.proto */
#if CYTHON_USE_TYPE_SLOTS && !CYTHON_COMPILING_IN_PYPY
#define __Pyx_PyCallable_Check(obj)   (Py_TYPE(obj)->tp_call != NULL)
#else
#define __Pyx_PyCallable_Check(obj)   PyCallable_Check(obj)
#endif

/* PyValueError_Check.proto */
#define __Pyx_PyExc_ValueError_Check(obj)  __Pyx_TypeCheck(obj, PyExc_ValueError)

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

/* PyObjectFastCallMethod.proto */
#if CYTHON_VECTORCALL && PY_VERSION_HEX >= 0x03090000
#define __Pyx_PyObject_FastCallMethod(name, args, nargsf) PyObject_VectorcallMethod(name, args, nargsf, NULL)
#else
static PyObject *__Pyx_PyObject_FastCallMethod(PyObject *name, PyObject *const *args, size_t nargsf);
#endif

/* tp_new.proto */
#define __Pyx_tp_new(type_obj, args) __Pyx_tp_new_kwargs(type_obj, args, NULL)
static CYTHON_INLINE PyObject* __Pyx_tp_new_kwargs(PyObject* type_obj, PyObject* args, PyObject* kwargs);

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

/* DictGetItem.proto */
#if !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

/* RaiseUnexpectedTypeError.proto */
static int __Pyx_RaiseUnexpectedTypeError(const char *expected, PyObject *obj);

/* 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_XNewRef(__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

/* ArgTypeTestFunc.export */
static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *name, int exact);

/* ArgTypeTest.proto */
#define __Pyx_ArgTypeTest(obj, type, none_allowed, name, exact)\
    ((likely(__Pyx_IS_TYPE(obj, type) | (none_allowed && (obj == Py_None)))) ? 1 :\
        __Pyx__ArgTypeTest(obj, type, name, exact))

/* GetModuleGlobalName.proto */
#if CYTHON_USE_DICT_VERSIONS
#define __Pyx_GetModuleGlobalName(var, name)  do {\
    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_mstate_global->__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);\
} while(0)
#define __Pyx_GetModuleGlobalNameUncached(var, name)  do {\
    PY_UINT64_T __pyx_dict_version;\
    PyObject *__pyx_dict_cached_value;\
    (var) = __Pyx__GetModuleGlobalName(name, &__pyx_dict_version, &__pyx_dict_cached_value);\
} while(0)
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

/* GetTopmostException.proto (used by SaveResetException) */
#if CYTHON_USE_EXC_INFO_STACK && CYTHON_FAST_THREAD_STATE
static _PyErr_StackItem * __Pyx_PyErr_GetTopmostException(PyThreadState *tstate);
#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

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

/* SwapException.proto */
#if CYTHON_FAST_THREAD_STATE
#define __Pyx_ExceptionSwap(type, value, tb)  __Pyx__ExceptionSwap(__pyx_tstate, type, value, tb)
static CYTHON_INLINE void __Pyx__ExceptionSwap(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
#else
static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value, PyObject **tb);
#endif

/* PyKeyError_Check.proto */
#define __Pyx_PyExc_KeyError_Check(obj)  __Pyx_TypeCheck(obj, PyExc_KeyError)

/* PyAttributeError_Check.proto */
#define __Pyx_PyExc_AttributeError_Check(obj)  __Pyx_TypeCheck(obj, PyExc_AttributeError)

/* 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.export */
static PyObject* __Pyx_PyUnicode_Join(PyObject** values, Py_ssize_t value_count, Py_ssize_t result_ulength,
                                      Py_UCS4 max_char);

/* PyTypeError_Check.proto */
#define __Pyx_PyExc_TypeError_Check(obj)  __Pyx_TypeCheck(obj, PyExc_TypeError)

/* GetItemInt.proto */
#define __Pyx_GetItemInt(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck, has_gil, unsafe_shared)\
    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
    __Pyx_GetItemInt_Fast(o, (Py_ssize_t)i, is_list, wraparound, boundscheck, unsafe_shared) :\
    (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, has_gil, unsafe_shared)\
    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
    __Pyx_GetItemInt_List_Fast(o, (Py_ssize_t)i, wraparound, boundscheck, unsafe_shared) :\
    (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, int unsafe_shared);
#define __Pyx_GetItemInt_Tuple(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck, has_gil, unsafe_shared)\
    (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
    __Pyx_GetItemInt_Tuple_Fast(o, (Py_ssize_t)i, wraparound, boundscheck, unsafe_shared) :\
    (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, int unsafe_shared);
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, int unsafe_shared);

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

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

/* pybytes_as_double.proto (used by pynumber_float) */
static double __Pyx_SlowPyString_AsDouble(PyObject *obj);
static double __Pyx__PyBytes_AsDouble(PyObject *obj, const char* start, Py_ssize_t length);
static CYTHON_INLINE double __Pyx_PyBytes_AsDouble(PyObject *obj) {
    char* as_c_string;
    Py_ssize_t size;
#if CYTHON_ASSUME_SAFE_MACROS && CYTHON_ASSUME_SAFE_SIZE
    as_c_string = PyBytes_AS_STRING(obj);
    size = PyBytes_GET_SIZE(obj);
#else
    if (PyBytes_AsStringAndSize(obj, &as_c_string, &size) < 0) {
        return (double)-1;
    }
#endif
    return __Pyx__PyBytes_AsDouble(obj, as_c_string, size);
}
static CYTHON_INLINE double __Pyx_PyByteArray_AsDouble(PyObject *obj) {
    char* as_c_string;
    Py_ssize_t size;
#if CYTHON_ASSUME_SAFE_MACROS && CYTHON_ASSUME_SAFE_SIZE
    as_c_string = PyByteArray_AS_STRING(obj);
    size = PyByteArray_GET_SIZE(obj);
#else
    as_c_string = PyByteArray_AsString(obj);
    if (as_c_string == NULL) {
        return (double)-1;
    }
    size = PyByteArray_Size(obj);
#endif
    return __Pyx__PyBytes_AsDouble(obj, as_c_string, size);
}

/* pyunicode_as_double.proto (used by pynumber_float) */
#if !CYTHON_COMPILING_IN_PYPY && CYTHON_ASSUME_SAFE_MACROS
static const char* __Pyx__PyUnicode_AsDouble_Copy(const void* data, const int kind, char* buffer, Py_ssize_t start, Py_ssize_t end) {
    int last_was_punctuation;
    Py_ssize_t i;
    last_was_punctuation = 1;
    for (i=start; i <= end; i++) {
        Py_UCS4 chr = PyUnicode_READ(kind, data, i);
        int is_punctuation = (chr == '_') | (chr == '.');
        *buffer = (char)chr;
        buffer += (chr != '_');
        if (unlikely(chr > 127)) goto parse_failure;
        if (unlikely(last_was_punctuation & is_punctuation)) goto parse_failure;
        last_was_punctuation = is_punctuation;
    }
    if (unlikely(last_was_punctuation)) goto parse_failure;
    *buffer = '\0';
    return buffer;
parse_failure:
    return NULL;
}
static double __Pyx__PyUnicode_AsDouble_inf_nan(const void* data, int kind, Py_ssize_t start, Py_ssize_t length) {
    int matches = 1;
    Py_UCS4 chr;
    Py_UCS4 sign = PyUnicode_READ(kind, data, start);
    int is_signed = (sign == '-') | (sign == '+');
    start += is_signed;
    length -= is_signed;
    switch (PyUnicode_READ(kind, data, start)) {
        #ifdef Py_NAN
        case 'n':
        case 'N':
            if (unlikely(length != 3)) goto parse_failure;
            chr = PyUnicode_READ(kind, data, start+1);
            matches &= (chr == 'a') | (chr == 'A');
            chr = PyUnicode_READ(kind, data, start+2);
            matches &= (chr == 'n') | (chr == 'N');
            if (unlikely(!matches)) goto parse_failure;
            return (sign == '-') ? -Py_NAN : Py_NAN;
        #endif
        case 'i':
        case 'I':
            if (unlikely(length < 3)) goto parse_failure;
            chr = PyUnicode_READ(kind, data, start+1);
            matches &= (chr == 'n') | (chr == 'N');
            chr = PyUnicode_READ(kind, data, start+2);
            matches &= (chr == 'f') | (chr == 'F');
            if (likely(length == 3 && matches))
                return (sign == '-') ? -Py_HUGE_VAL : Py_HUGE_VAL;
            if (unlikely(length != 8)) goto parse_failure;
            chr = PyUnicode_READ(kind, data, start+3);
            matches &= (chr == 'i') | (chr == 'I');
            chr = PyUnicode_READ(kind, data, start+4);
            matches &= (chr == 'n') | (chr == 'N');
            chr = PyUnicode_READ(kind, data, start+5);
            matches &= (chr == 'i') | (chr == 'I');
            chr = PyUnicode_READ(kind, data, start+6);
            matches &= (chr == 't') | (chr == 'T');
            chr = PyUnicode_READ(kind, data, start+7);
            matches &= (chr == 'y') | (chr == 'Y');
            if (unlikely(!matches)) goto parse_failure;
            return (sign == '-') ? -Py_HUGE_VAL : Py_HUGE_VAL;
        case '.': case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9':
            break;
        default:
            goto parse_failure;
    }
    return 0.0;
parse_failure:
    return -1.0;
}
static double __Pyx_PyUnicode_AsDouble_WithSpaces(PyObject *obj) {
    double value;
    const char *last;
    char *end;
    Py_ssize_t start, length = PyUnicode_GET_LENGTH(obj);
    const int kind = PyUnicode_KIND(obj);
    const void* data = PyUnicode_DATA(obj);
    start = 0;
    while (Py_UNICODE_ISSPACE(PyUnicode_READ(kind, data, start)))
        start++;
    while (start < length - 1 && Py_UNICODE_ISSPACE(PyUnicode_READ(kind, data, length - 1)))
        length--;
    length -= start;
    if (unlikely(length <= 0)) goto fallback;
    value = __Pyx__PyUnicode_AsDouble_inf_nan(data, kind, start, length);
    if (unlikely(value == -1.0)) goto fallback;
    if (value != 0.0) return value;
    if (length < 40) {
        char number[40];
        last = __Pyx__PyUnicode_AsDouble_Copy(data, kind, number, start, start + length);
        if (unlikely(!last)) goto fallback;
        value = PyOS_string_to_double(number, &end, NULL);
    } else {
        char *number = (char*) PyMem_Malloc((length + 1) * sizeof(char));
        if (unlikely(!number)) goto fallback;
        last = __Pyx__PyUnicode_AsDouble_Copy(data, kind, number, start, start + length);
        if (unlikely(!last)) {
            PyMem_Free(number);
            goto fallback;
        }
        value = PyOS_string_to_double(number, &end, NULL);
        PyMem_Free(number);
    }
    if (likely(end == last) || (value == (double)-1 && PyErr_Occurred())) {
        return value;
    }
fallback:
    return __Pyx_SlowPyString_AsDouble(obj);
}
#endif
static CYTHON_INLINE double __Pyx_PyUnicode_AsDouble(PyObject *obj) {
#if !CYTHON_COMPILING_IN_PYPY && CYTHON_ASSUME_SAFE_MACROS
    if (unlikely(__Pyx_PyUnicode_READY(obj) == -1))
        return (double)-1;
    if (likely(PyUnicode_IS_ASCII(obj))) {
        const char *s;
        Py_ssize_t length;
        s = PyUnicode_AsUTF8AndSize(obj, &length);
        return __Pyx__PyBytes_AsDouble(obj, s, length);
    }
    return __Pyx_PyUnicode_AsDouble_WithSpaces(obj);
#else
    return __Pyx_SlowPyString_AsDouble(obj);
#endif
}

/* pynumber_float.proto */
static CYTHON_INLINE PyObject* __Pyx__PyNumber_Float(PyObject* obj);
#define __Pyx_PyNumber_Float(x) (PyFloat_CheckExact(x) ? __Pyx_NewRef(x) : __Pyx__PyNumber_Float(x))

/* PyObjectDelAttr.proto (used by PyObjectSetAttrStr) */
#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000
#define __Pyx_PyObject_DelAttr(o, n) PyObject_SetAttr(o, n, NULL)
#else
#define __Pyx_PyObject_DelAttr(o, n) PyObject_DelAttr(o, n)
#endif

/* 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)   __Pyx_PyObject_DelAttr(o,n)
#define __Pyx_PyObject_SetAttrStr(o,n,v) PyObject_SetAttr(o,n,v)
#endif

/* SliceTupleAndList.proto */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyList_GetSlice(PyObject* src, Py_ssize_t start, Py_ssize_t stop);
static CYTHON_INLINE PyObject* __Pyx_PyTuple_GetSlice(PyObject* src, Py_ssize_t start, Py_ssize_t stop);
#else
#define __Pyx_PyList_GetSlice(seq, start, stop)   PySequence_GetSlice(seq, start, stop)
#define __Pyx_PyTuple_GetSlice(seq, start, stop)  PySequence_GetSlice(seq, start, stop)
#endif

/* PyLongCompare.proto */
static CYTHON_INLINE int __Pyx_PyLong_BoolEqObjC(PyObject *op1, PyObject *op2, long intval, long inplace);

/* KeywordStringCheck.proto */
static CYTHON_INLINE int __Pyx_CheckKeywordStrings(const char* function_name, PyObject *kw);

/* BuildPyUnicode.proto (used by COrdinalToPyUnicode) */
static PyObject* __Pyx_PyUnicode_BuildFromAscii(Py_ssize_t ulength, const char* chars, int clength,
                                                int prepend_sign, char padding_char);

/* COrdinalToPyUnicode.proto (used by CIntToPyUnicode) */
static CYTHON_INLINE int __Pyx_CheckUnicodeValue(int value);
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromOrdinal_Padded(int value, Py_ssize_t width, char padding_char);

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

/* IncludeStdlibH.proto (used by CIntToPyUnicode) */
#include <stdlib.h>

/* CIntToPyUnicode.proto */
#define __Pyx_PyUnicode_From_long(value, width, padding_char, format_char) (\
    ((format_char) == ('c')) ?\
        __Pyx_uchar___Pyx_PyUnicode_From_long(value, width, padding_char) :\
        __Pyx____Pyx_PyUnicode_From_long(value, width, padding_char, format_char)\
    )
static CYTHON_INLINE PyObject* __Pyx_uchar___Pyx_PyUnicode_From_long(long value, Py_ssize_t width, char padding_char);
static CYTHON_INLINE PyObject* __Pyx____Pyx_PyUnicode_From_long(long value, Py_ssize_t width, char padding_char, char format_char);

/* PyObjectFormat.proto */
#if CYTHON_USE_UNICODE_WRITER
static PyObject* __Pyx_PyObject_Format(PyObject* s, PyObject* f);
#else
#define __Pyx_PyObject_Format(s, f) PyObject_Format(s, f)
#endif

/* 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);
        #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
        L->ob_item[len] = x;
        #else
        PyList_SET_ITEM(list, len, x);
        #endif
        __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

/* 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);
        #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000
        L->ob_item[len] = x;
        #else
        PyList_SET_ITEM(list, len, x);
        #endif
        __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

/* PyObjectVectorCallKwBuilder.proto (used by PyObjectVectorCallMethodKwBuilder) */
CYTHON_UNUSED static int __Pyx_VectorcallBuilder_AddArg_Check(PyObject *key, PyObject *value, PyObject *builder, PyObject **args, int n);
#if CYTHON_VECTORCALL
#if PY_VERSION_HEX >= 0x03090000
#define __Pyx_Object_Vectorcall_CallFromBuilder PyObject_Vectorcall
#else
#define __Pyx_Object_Vectorcall_CallFromBuilder _PyObject_Vectorcall
#endif
#define __Pyx_MakeVectorcallBuilderKwds(n) PyTuple_New(n)
static int __Pyx_VectorcallBuilder_AddArg(PyObject *key, PyObject *value, PyObject *builder, PyObject **args, int n);
static int __Pyx_VectorcallBuilder_AddArgStr(const char *key, PyObject *value, PyObject *builder, PyObject **args, int n);
#else
#define __Pyx_Object_Vectorcall_CallFromBuilder __Pyx_PyObject_FastCallDict
#define __Pyx_MakeVectorcallBuilderKwds(n) __Pyx_PyDict_NewPresized(n)
#define __Pyx_VectorcallBuilder_AddArg(key, value, builder, args, n) PyDict_SetItem(builder, key, value)
#define __Pyx_VectorcallBuilder_AddArgStr(key, value, builder, args, n) PyDict_SetItemString(builder, key, value)
#endif

/* PyObjectVectorCallMethodKwBuilder.proto */
#if CYTHON_VECTORCALL && PY_VERSION_HEX >= 0x03090000
#define __Pyx_Object_VectorcallMethod_CallFromBuilder PyObject_VectorcallMethod
#else
static PyObject *__Pyx_Object_VectorcallMethod_CallFromBuilder(PyObject *name, PyObject *const *args, size_t nargsf, PyObject *kwnames);
#endif

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

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

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

/* py_dict_pop.proto */
static CYTHON_INLINE PyObject *__Pyx_PyDict_Pop(PyObject *d, PyObject *key, PyObject *default_value);

/* FastTypeChecks.proto */
#if CYTHON_COMPILING_IN_CPYTHON
#define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type)
#define __Pyx_TypeCheck2(obj, type1, type2) __Pyx_IsAnySubtype2(Py_TYPE(obj), (PyTypeObject *)type1, (PyTypeObject *)type2)
static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b);
static CYTHON_INLINE int __Pyx_IsAnySubtype2(PyTypeObject *cls, 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_TypeCheck2(obj, type1, type2) (PyObject_TypeCheck(obj, (PyTypeObject *)type1) || PyObject_TypeCheck(obj, (PyTypeObject *)type2))
#define __Pyx_PyErr_GivenExceptionMatches(err, type) PyErr_GivenExceptionMatches(err, type)
static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2) {
    return PyErr_GivenExceptionMatches(err, type1) || PyErr_GivenExceptionMatches(err, type2);
}
#endif
#define __Pyx_PyErr_ExceptionMatches2(err1, err2)  __Pyx_PyErr_GivenExceptionMatches2(__Pyx_PyErr_CurrentExceptionType(), err1, err2)
#define __Pyx_PyException_Check(obj) __Pyx_TypeCheck(obj, PyExc_Exception)
#ifdef PyExceptionInstance_Check
  #define __Pyx_PyBaseException_Check(obj) PyExceptionInstance_Check(obj)
#else
  #define __Pyx_PyBaseException_Check(obj) __Pyx_TypeCheck(obj, PyExc_BaseException)
#endif

/* AllocateExtensionType.proto */
static PyObject *__Pyx_AllocateExtensionType(PyTypeObject *t, int is_final);

/* CallTypeTraverse.proto */
#if !CYTHON_USE_TYPE_SPECS || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x03090000)
#define __Pyx_call_type_traverse(o, always_call, visit, arg) 0
#else
static int __Pyx_call_type_traverse(PyObject *o, int always_call, visitproc visit, void *arg);
#endif

/* LimitedApiGetTypeDict.proto (used by SetItemOnTypeDict) */
#if CYTHON_COMPILING_IN_LIMITED_API
static PyObject *__Pyx_GetTypeDict(PyTypeObject *tp);
#endif

/* SetItemOnTypeDict.proto (used by FixUpExtensionType) */
static int __Pyx__SetItemOnTypeDict(PyTypeObject *tp, PyObject *k, PyObject *v);
#define __Pyx_SetItemOnTypeDict(tp, k, v) __Pyx__SetItemOnTypeDict((PyTypeObject*)tp, k, v)

/* FixUpExtensionType.proto */
static CYTHON_INLINE int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject *type);

/* PyObjectCallNoArg.proto (used by PyObjectCallMethod0) */
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func);

/* PyObjectGetMethod.proto (used by PyObjectCallMethod0) */
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
static int __Pyx_PyObject_GetMethod(PyObject *obj, PyObject *name, PyObject **method);
#endif

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

/* ValidateBasesTuple.proto (used by PyType_Ready) */
#if CYTHON_COMPILING_IN_CPYTHON || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_USE_TYPE_SPECS
static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffset, PyObject *bases);
#endif

/* PyType_Ready.proto */
CYTHON_UNUSED static int __Pyx_PyType_Ready(PyTypeObject *t);

/* SetVTable.proto */
static int __Pyx_SetVtable(PyTypeObject* typeptr , void* vtable);

/* GetVTable.proto (used by MergeVTables) */
static void* __Pyx_GetVtable(PyTypeObject *type);

/* MergeVTables.proto */
static int __Pyx_MergeVtables(PyTypeObject *type);

/* DelItemOnTypeDict.proto (used by SetupReduce) */
static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k);
#define __Pyx_DelItemOnTypeDict(tp, k) __Pyx__DelItemOnTypeDict((PyTypeObject*)tp, k)

/* SetupReduce.proto */
static int __Pyx_setup_reduce(PyObject* type_obj);

/* TypeImport.proto */
#ifndef __PYX_HAVE_RT_ImportType_proto_3_2_3
#define __PYX_HAVE_RT_ImportType_proto_3_2_3
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
#include <stdalign.h>
#endif
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
#define __PYX_GET_STRUCT_ALIGNMENT_3_2_3(s) alignof(s)
#else
#define __PYX_GET_STRUCT_ALIGNMENT_3_2_3(s) sizeof(void*)
#endif
enum __Pyx_ImportType_CheckSize_3_2_3 {
   __Pyx_ImportType_CheckSize_Error_3_2_3 = 0,
   __Pyx_ImportType_CheckSize_Warn_3_2_3 = 1,
   __Pyx_ImportType_CheckSize_Ignore_3_2_3 = 2
};
static PyTypeObject *__Pyx_ImportType_3_2_3(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_2_3 check_size);
#endif

/* VoidPtrImport.proto */
static int __Pyx_ImportVoidPtr_3_2_3(PyObject *module, const char *name, void **p, const char *sig);

/* FunctionImport.proto */
static int __Pyx_ImportFunction_3_2_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig);

/* HasAttr.proto (used by ImportImpl) */
#if __PYX_LIMITED_VERSION_HEX >= 0x030d0000
#define __Pyx_HasAttr(o, n)  PyObject_HasAttrWithError(o, n)
#else
static CYTHON_INLINE int __Pyx_HasAttr(PyObject *, PyObject *);
#endif

/* ImportImpl.export */
static PyObject *__Pyx__Import(PyObject *name, PyObject *const *imported_names, Py_ssize_t len_imported_names, PyObject *qualname, PyObject *moddict, int level);

/* Import.proto */
static CYTHON_INLINE PyObject *__Pyx_Import(PyObject *name, PyObject *const *imported_names, Py_ssize_t len_imported_names, PyObject *qualname, int level);

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

/* dict_setdefault.proto (used by FetchCommonType) */
static CYTHON_INLINE PyObject *__Pyx_PyDict_SetDefault(PyObject *d, PyObject *key, PyObject *default_value);

/* AddModuleRef.proto (used by FetchSharedCythonModule) */
#if ((CYTHON_COMPILING_IN_CPYTHON_FREETHREADING ) ||\
     __PYX_LIMITED_VERSION_HEX < 0x030d0000)
  static PyObject *__Pyx_PyImport_AddModuleRef(const char *name);
#else
  #define __Pyx_PyImport_AddModuleRef(name) PyImport_AddModuleRef(name)
#endif

/* FetchSharedCythonModule.proto (used by FetchCommonType) */
static PyObject *__Pyx_FetchSharedCythonABIModule(void);

/* FetchCommonType.proto (used by CommonTypesMetaclass) */
static PyTypeObject* __Pyx_FetchCommonTypeFromSpec(PyTypeObject *metaclass, PyObject *module, PyType_Spec *spec, PyObject *bases);

/* CommonTypesMetaclass.proto (used by CythonFunctionShared) */
static int __pyx_CommonTypesMetaclass_init(PyObject *module);
#define __Pyx_CommonTypesMetaclass_USED

/* PyMethodNew.proto (used by CythonFunctionShared) */
static PyObject *__Pyx_PyMethod_New(PyObject *func, PyObject *self, PyObject *typ);

/* PyVectorcallFastCallDict.proto (used by CythonFunctionShared) */
#if CYTHON_METH_FASTCALL && CYTHON_VECTORCALL
static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw);
#endif

/* CythonFunctionShared.proto (used by CythonFunction) */
#define __Pyx_CyFunction_USED
#define __Pyx_CYFUNCTION_STATICMETHOD  0x01
#define __Pyx_CYFUNCTION_CLASSMETHOD   0x02
#define __Pyx_CYFUNCTION_CCLASS        0x04
#define __Pyx_CYFUNCTION_COROUTINE     0x08
#define __Pyx_CyFunction_GetClosure(f)\
    (((__pyx_CyFunctionObject *) (f))->func_closure)
#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API
  #define __Pyx_CyFunction_GetClassObj(f)\
      (((__pyx_CyFunctionObject *) (f))->func_classobj)
#else
  #define __Pyx_CyFunction_GetClassObj(f)\
      ((PyObject*) ((PyCMethodObject *) (f))->mm_class)
#endif
#define __Pyx_CyFunction_SetClassObj(f, classobj)\
    __Pyx__CyFunction_SetClassObj((__pyx_CyFunctionObject *) (f), (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 {
#if CYTHON_COMPILING_IN_LIMITED_API
    PyObject_HEAD
    PyObject *func;
#elif PY_VERSION_HEX < 0x030900B1
    PyCFunctionObject func;
#else
    PyCMethodObject func;
#endif
#if CYTHON_COMPILING_IN_LIMITED_API && CYTHON_METH_FASTCALL
    __pyx_vectorcallfunc func_vectorcall;
#endif
#if CYTHON_COMPILING_IN_LIMITED_API
    PyObject *func_weakreflist;
#endif
#if PY_VERSION_HEX < 0x030C0000 || CYTHON_COMPILING_IN_LIMITED_API
    PyObject *func_dict;
#endif
    PyObject *func_name;
    PyObject *func_qualname;
    PyObject *func_doc;
    PyObject *func_globals;
    PyObject *func_code;
    PyObject *func_closure;
#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API
    PyObject *func_classobj;
#endif
    PyObject *defaults;
    int flags;
    PyObject *defaults_tuple;
    PyObject *defaults_kwdict;
    PyObject *(*defaults_getter)(PyObject *);
    PyObject *func_annotations;
    PyObject *func_is_coroutine;
} __pyx_CyFunctionObject;
#undef __Pyx_CyOrPyCFunction_Check
#define __Pyx_CyFunction_Check(obj)  __Pyx_TypeCheck(obj, __pyx_mstate_global->__pyx_CyFunctionType)
#define __Pyx_CyOrPyCFunction_Check(obj)  __Pyx_TypeCheck2(obj, __pyx_mstate_global->__pyx_CyFunctionType, &PyCFunction_Type)
#define __Pyx_CyFunction_CheckExact(obj)  __Pyx_IS_TYPE(obj, __pyx_mstate_global->__pyx_CyFunctionType)
static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void (*cfunc)(void));
#undef __Pyx_IsSameCFunction
#define __Pyx_IsSameCFunction(func, cfunc)   __Pyx__IsSameCyOrCFunction(func, cfunc)
static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject* op, PyMethodDef *ml,
                                      int flags, PyObject* qualname,
                                      PyObject *closure,
                                      PyObject *module, PyObject *globals,
                                      PyObject* code);
static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj);
static CYTHON_INLINE PyObject *__Pyx_CyFunction_InitDefaults(PyObject *func,
                                                         PyTypeObject *defaults_type);
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(PyObject *module);
#if CYTHON_METH_FASTCALL
static PyObject * __Pyx_CyFunction_Vectorcall_NOARGS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames);
static PyObject * __Pyx_CyFunction_Vectorcall_O(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames);
static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames);
static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames);
#if CYTHON_COMPILING_IN_LIMITED_API
#define __Pyx_CyFunction_func_vectorcall(f) (((__pyx_CyFunctionObject*)f)->func_vectorcall)
#else
#define __Pyx_CyFunction_func_vectorcall(f) (((PyCFunctionObject*)f)->vectorcall)
#endif
#endif

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

/* Py3UpdateBases.proto */
static PyObject* __Pyx_PEP560_update_bases(PyObject *bases);

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

/* SetNameInClass.proto */
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030d0000
#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

/* PyObjectLookupSpecial.proto (used by Py3ClassCreate) */
#if CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
#define __Pyx_PyObject_LookupSpecialNoError(obj, attr_name)  __Pyx__PyObject_LookupSpecial(obj, attr_name, 0)
#define __Pyx_PyObject_LookupSpecial(obj, attr_name)  __Pyx__PyObject_LookupSpecial(obj, attr_name, 1)
static CYTHON_INLINE PyObject* __Pyx__PyObject_LookupSpecial(PyObject* obj, PyObject* attr_name, int with_error);
#else
#define __Pyx_PyObject_LookupSpecialNoError(o,n) __Pyx_PyObject_GetAttrStrNoError(o,n)
#define __Pyx_PyObject_LookupSpecial(o,n) __Pyx_PyObject_GetAttrStr(o,n)
#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 (used by AddTraceback) */
#if CYTHON_CLINE_IN_TRACEBACK && CYTHON_CLINE_IN_TRACEBACK_RUNTIME
static int __Pyx_CLineForTraceback(PyThreadState *tstate, int c_line);
#else
#define __Pyx_CLineForTraceback(tstate, c_line)  (((CYTHON_CLINE_IN_TRACEBACK)) ? c_line : 0)
#endif

/* CodeObjectCache.proto (used by AddTraceback) */
#if CYTHON_COMPILING_IN_LIMITED_API
typedef PyObject __Pyx_CachedCodeObjectType;
#else
typedef PyCodeObject __Pyx_CachedCodeObjectType;
#endif
typedef struct {
    __Pyx_CachedCodeObjectType* code_object;
    int code_line;
} __Pyx_CodeObjectCacheEntry;
struct __Pyx_CodeObjectCache {
    int count;
    int max_count;
    __Pyx_CodeObjectCacheEntry* entries;
  #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
    __pyx_atomic_int_type accessor_count;
  #endif
};
static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line);
static __Pyx_CachedCodeObjectType *__pyx_find_code_object(int code_line);
static void __pyx_insert_code_object(int code_line, __Pyx_CachedCodeObjectType* code_object);

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

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

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

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

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

/* FormatTypeName.proto */
#if CYTHON_COMPILING_IN_LIMITED_API
typedef PyObject *__Pyx_TypeName;
#define __Pyx_FMT_TYPENAME "%U"
#define __Pyx_DECREF_TypeName(obj) Py_XDECREF(obj)
#if __PYX_LIMITED_VERSION_HEX >= 0x030d0000
#define __Pyx_PyType_GetFullyQualifiedName PyType_GetFullyQualifiedName
#else
static __Pyx_TypeName __Pyx_PyType_GetFullyQualifiedName(PyTypeObject* tp);
#endif
#else  // !LIMITED_API
typedef const char *__Pyx_TypeName;
#define __Pyx_FMT_TYPENAME "%.200s"
#define __Pyx_PyType_GetFullyQualifiedName(tp) ((tp)->tp_name)
#define __Pyx_DECREF_TypeName(obj)
#endif

/* GetRuntimeVersion.proto */
#if __PYX_LIMITED_VERSION_HEX < 0x030b0000
static unsigned long __Pyx_cached_runtime_version = 0;
static void __Pyx_init_runtime_version(void);
#else
#define __Pyx_init_runtime_version()
#endif
static unsigned long __Pyx_get_runtime_version(void);

/* CheckBinaryVersion.proto */
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer);

/* DecompressString.proto */
static PyObject *__Pyx_DecompressString(const char *s, Py_ssize_t length, int algo);

/* MultiPhaseInitModuleState.proto */
#if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
static PyObject *__Pyx_State_FindModule(void*);
static int __Pyx_State_AddModule(PyObject* module, void*);
static int __Pyx_State_RemoveModule(void*);
#elif CYTHON_USE_MODULE_STATE
#define __Pyx_State_FindModule PyState_FindModule
#define __Pyx_State_AddModule PyState_AddModule
#define __Pyx_State_RemoveModule PyState_RemoveModule
#endif

/* #### Code section: module_declarations ### */
/* CythonABIVersion.proto */
#if CYTHON_COMPILING_IN_LIMITED_API
    #if CYTHON_METH_FASTCALL
        #define __PYX_FASTCALL_ABI_SUFFIX  "_fastcall"
    #else
        #define __PYX_FASTCALL_ABI_SUFFIX
    #endif
    #define __PYX_LIMITED_ABI_SUFFIX "limited" __PYX_FASTCALL_ABI_SUFFIX __PYX_AM_SEND_ABI_SUFFIX
#else
    #define __PYX_LIMITED_ABI_SUFFIX
#endif
#if __PYX_HAS_PY_AM_SEND == 1
    #define __PYX_AM_SEND_ABI_SUFFIX
#elif __PYX_HAS_PY_AM_SEND == 2
    #define __PYX_AM_SEND_ABI_SUFFIX "amsendbackport"
#else
    #define __PYX_AM_SEND_ABI_SUFFIX "noamsend"
#endif
#ifndef __PYX_MONITORING_ABI_SUFFIX
    #define __PYX_MONITORING_ABI_SUFFIX
#endif
#if CYTHON_USE_TP_FINALIZE
    #define __PYX_TP_FINALIZE_ABI_SUFFIX
#else
    #define __PYX_TP_FINALIZE_ABI_SUFFIX "nofinalize"
#endif
#if CYTHON_USE_FREELISTS || !defined(__Pyx_AsyncGen_USED)
    #define __PYX_FREELISTS_ABI_SUFFIX
#else
    #define __PYX_FREELISTS_ABI_SUFFIX "nofreelists"
#endif
#define CYTHON_ABI  __PYX_ABI_VERSION __PYX_LIMITED_ABI_SUFFIX __PYX_MONITORING_ABI_SUFFIX __PYX_TP_FINALIZE_ABI_SUFFIX __PYX_FREELISTS_ABI_SUFFIX __PYX_AM_SEND_ABI_SUFFIX
#define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
#define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."

static PyObject *__pyx_f_4kivy_10properties_8Property_init_storage(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_storage); /* proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_8Property_create_property_storage(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self); /* proto*/
static CYTHON_INLINE struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_8Property_get_property_storage(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_set_name(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name, int __pyx_skip_dispatch); /* proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_8Property_link_eagerly(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, int __pyx_skip_dispatch); /* proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_8Property_link(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_link_deps(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_name, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_bind(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_observer, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_fbind(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_observer, int __pyx_v_ref, int __pyx_skip_dispatch, struct __pyx_opt_args_4kivy_10properties_8Property_fbind *__pyx_optional_args); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_unbind(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_observer, int __pyx_skip_dispatch, struct __pyx_opt_args_4kivy_10properties_8Property_unbind *__pyx_optional_args); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_funbind(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_observer, int __pyx_skip_dispatch, struct __pyx_opt_args_4kivy_10properties_8Property_funbind *__pyx_optional_args); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_unbind_uid(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_uid, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_compare_value(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, PyObject *__pyx_v_a, PyObject *__pyx_v_b); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_set(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_get(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_check(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_x, CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_convert(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_x, CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property__dispatch(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_dispatch(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_15NumericProperty_init_storage(struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_storage); /* proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_15NumericProperty_create_property_storage(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_15NumericProperty_check(struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_15NumericProperty_convert(struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_x, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage); /* proto*/
static float __pyx_f_4kivy_10properties_15NumericProperty_parse_str(struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *__pyx_v_ps); /* proto*/
static float __pyx_f_4kivy_10properties_15NumericProperty_parse_list(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, PyObject *__pyx_v_ext, struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *__pyx_v_ps); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_14StringProperty_check(struct __pyx_obj_4kivy_10properties_StringProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage); /* proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_12ListProperty_link(struct __pyx_obj_4kivy_10properties_ListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_12ListProperty_check(struct __pyx_obj_4kivy_10properties_ListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_12ListProperty_set(struct __pyx_obj_4kivy_10properties_ListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, int __pyx_skip_dispatch); /* proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_12DictProperty_link(struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_12DictProperty_check(struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_12DictProperty_set(struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_14ObjectProperty_check(struct __pyx_obj_4kivy_10properties_ObjectProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_22BoundedNumericProperty_init_storage(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_storage); /* proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_22BoundedNumericProperty_create_property_storage(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_22BoundedNumericProperty_check(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_14OptionProperty_init_storage(struct __pyx_obj_4kivy_10properties_OptionProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_storage); /* proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_14OptionProperty_create_property_storage(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_OptionProperty *__pyx_v_self); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_14OptionProperty_check(struct __pyx_obj_4kivy_10properties_OptionProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_21ReferenceListProperty_init_storage(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_storage); /* proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_21ReferenceListProperty_create_property_storage(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self); /* proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_21ReferenceListProperty_link(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_21ReferenceListProperty_link_deps(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_21ReferenceListProperty_trigger_change(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_value, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_21ReferenceListProperty_convert(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_21ReferenceListProperty_check(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_21ReferenceListProperty_set(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v__value, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_21ReferenceListProperty_setitem(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_key, PyObject *__pyx_v_value, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_21ReferenceListProperty_get(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_13AliasProperty_init_storage(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_storage); /* proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_13AliasProperty_create_property_storage(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self); /* proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_13AliasProperty_link_eagerly(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_13AliasProperty_link_deps(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_name, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_13AliasProperty_trigger_change(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_value, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_13AliasProperty_check(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_value, CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_13AliasProperty_get(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_13AliasProperty_set(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_13AliasProperty__dispatch(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps); /* proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_20VariableListProperty_create_property_storage(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self); /* proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_20VariableListProperty_link(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_20VariableListProperty_check(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_20VariableListProperty_convert(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_x, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_20VariableListProperty__convert_numeric(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_x, struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *__pyx_v_ps); /* proto*/
static float __pyx_f_4kivy_10properties_20VariableListProperty_parse_str(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *__pyx_v_ps); /* proto*/
static float __pyx_f_4kivy_10properties_20VariableListProperty_parse_list(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, PyObject *__pyx_v_ext, struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *__pyx_v_ps); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_20ConfigParserProperty_link_deps(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_20ConfigParserProperty__edit_setting(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_section, CYTHON_UNUSED PyObject *__pyx_v_key, PyObject *__pyx_v_value, int __pyx_skip_dispatch); /* proto*/
static CYTHON_INLINE PyObject *__pyx_f_4kivy_10properties_20ConfigParserProperty__parse_str(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, PyObject *__pyx_v_value); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_20ConfigParserProperty_set(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, int __pyx_skip_dispatch); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_13ColorProperty_convert(struct __pyx_obj_4kivy_10properties_ColorProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_x, CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_13ColorProperty_parse_str(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ColorProperty *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value); /* proto*/
static PyObject *__pyx_f_4kivy_10properties_13ColorProperty_parse_list(struct __pyx_obj_4kivy_10properties_ColorProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value); /* proto*/

/* Module declarations from "libc.string" */

/* Module declarations from "libc.stdio" */

/* Module declarations from "__builtin__" */

/* Module declarations from "cpython.type" */

/* Module declarations from "cpython" */

/* Module declarations from "cpython.object" */

/* Module declarations from "cpython.ref" */

/* Module declarations from "kivy._event" */
static PyObject **__pyx_vp_4kivy_6_event_cache_properties_per_cls = 0;
#define __pyx_v_4kivy_6_event_cache_properties_per_cls (*__pyx_vp_4kivy_6_event_cache_properties_per_cls)

/* Module declarations from "kivy._metrics" */
static struct __pyx_obj_4kivy_6_event_EventObservers **__pyx_vp_4kivy_8_metrics_pixel_scale_observers = 0;
#define __pyx_v_4kivy_8_metrics_pixel_scale_observers (*__pyx_vp_4kivy_8_metrics_pixel_scale_observers)
static float (*__pyx_f_4kivy_8_metrics_dpi2px)(PyObject *, PyObject *, int __pyx_skip_dispatch); /*proto*/

/* Module declarations from "kivy.properties" */
static CYTHON_INLINE void __pyx_f_4kivy_10properties_observable_list_dispatch(PyObject *); /*proto*/
static CYTHON_INLINE void __pyx_f_4kivy_10properties_observable_dict_dispatch(PyObject *); /*proto*/
/* #### Code section: typeinfo ### */
/* #### Code section: before_global_var ### */
#define __Pyx_MODULE_NAME "kivy.properties"
extern int __pyx_module_is_main_kivy__properties;
int __pyx_module_is_main_kivy__properties = 0;

/* Implementation of "kivy.properties" */
/* #### Code section: global_var ### */
static PyObject *__pyx_builtin_super;
/* #### Code section: string_decls ### */
static const char __pyx_k_Properties_The_Properties_class[] = "\nProperties\n==========\n\nThe *Properties* classes are used when you create an\n:class:`~kivy.event.EventDispatcher`.\n\n.. warning::\n        Kivy's Properties are **not to be confused** with Python's\n        properties (i.e. the ``@property`` decorator and the <property> type).\n\nKivy's property classes support:\n\n    Value Checking / Validation\n        When you assign a new value to a property, the value is checked against\n        validation constraints. For\n        example, validation for an :class:`OptionProperty` will make sure that\n        the value is in a predefined list of possibilities. Validation for a\n        :class:`NumericProperty` will check that your value is a numeric type.\n        This prevents many errors early on.\n\n    Observer Pattern\n        You can specify what should happen when a property's value changes.\n        You can bind your own function as a callback to changes of a\n        :class:`Property`. If, for example, you want a piece of code to be\n        called when a widget's :class:`~kivy.uix.widget.Widget.pos` property\n        changes, you can :class:`~kivy.event.EventDispatcher.bind` a function\n        to it.\n\n    Better Memory Management\n        The same instance of a property is shared across multiple widget\n        instances.\n\nComparison Python vs. Kivy\n--------------------------\n\nBasic example\n~~~~~~~~~~~~~\n\nLet's compare Python and Kivy properties by creating a Python class with 'a'\nas a float property::\n\n    class MyClass(object):\n        def __init__(self, a=1.0):\n            super(MyClass, self).__init__()\n            self.a = a\n\nWith Kivy, you can do::\n\n    class MyClass(EventDispatcher):\n        a = NumericProperty(1.0)\n\n\nDepth being tracked\n~~~~~~~~~~~~~~~~~~~\n\nOnly the \"top level\" of a nested object is being tracked. For example::\n\n    my_list_prop = ListProperty([1, {'hi': 0}])\n    # Changing a top level element will trigger all `on_my_list_prop` callbacks\n    my_list_pr""op[0] = 4\n    # Changing a deeper element will be ignored by all `on_my_list_prop` callbacks\n    my_list_prop[1]['hi'] = 4\n\nThe same holds true for all container-type kivy properties.\n\nValue checking\n~~~~~~~~~~~~~~\n\nIf you wanted to add a check for a minimum / maximum value allowed for a\nproperty, here is a possible implementation in Python::\n\n    class MyClass(object):\n        def __init__(self, a=1):\n            super(MyClass, self).__init__()\n            self.a_min = 0\n            self.a_max = 100\n            self.a = a\n\n        def _get_a(self):\n            return self._a\n        def _set_a(self, value):\n            if value < self.a_min or value > self.a_max:\n                raise ValueError('a out of bounds')\n            self._a = value\n        a = property(_get_a, _set_a)\n\nThe disadvantage is you have to do that work yourself. And it becomes\nlaborious and complex if you have many properties.\nWith Kivy, you can simplify the process::\n\n    class MyClass(EventDispatcher):\n        a = BoundedNumericProperty(1, min=0, max=100)\n\nThat's all!\n\n\nError Handling\n~~~~~~~~~~~~~~\n\nIf setting a value would otherwise raise a ValueError, you have two options to\nhandle the error gracefully within the property. The first option is to use an\nerrorvalue parameter. An errorvalue is a substitute for the invalid value::\n\n    # simply returns 0 if the value exceeds the bounds\n    bnp = BoundedNumericProperty(0, min=-500, max=500, errorvalue=0)\n\nThe second option in to use an errorhandler parameter. An errorhandler is a\ncallable (single argument function or lambda) which can return a valid\nsubstitute::\n\n    # returns the boundary value when exceeded\n    bnp = BoundedNumericProperty(0, min=-500, max=500,\n        errorhandler=lambda x: 500 if x > 500 else -500)\n\nKeyword arguments and __init__()\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nWhen working with inheritance, namely with the `__init__()` of an object that\ninherits from :class:`~k""ivy.event.EventDispatcher` e.g. a\n:class:`~kivy.uix.widget.Widget`, the properties protect\nyou from a Python 3 object error. This error occurs when passing kwargs to the\n`object` instance through a `super()` call::\n\n    class MyClass(EventDispatcher):\n        def __init__(self, **kwargs):\n            super(MyClass, self).__init__(**kwargs)\n            self.my_string = kwargs.get('my_string')\n\n    print(MyClass(my_string='value').my_string)\n\nWhile this error is silenced in Python 2, it will stop the application\nin Python 3 with::\n\n    TypeError: object.__init__() takes no parameters\n\nLogically, to fix that you'd either put `my_string` directly in the\n`__init__()` definition as a required argument or as an optional keyword\nargument with a default value i.e.::\n\n    class MyClass(EventDispatcher):\n        def __init__(self, my_string, **kwargs):\n            super(MyClass, self).__init__(**kwargs)\n            self.my_string = my_string\n\nor::\n\n    class MyClass(EventDispatcher):\n        def __init__(self, my_string='default', **kwargs):\n            super(MyClass, self).__init__(**kwargs)\n            self.my_string = my_string\n\nAlternatively, you could pop the key-value pair from the `kwargs` dictionary\nbefore calling `super()`::\n\n    class MyClass(EventDispatcher):\n        def __init__(self, **kwargs):\n            self.my_string = kwargs.pop('my_string')\n            super(MyClass, self).__init__(**kwargs)\n\nKivy properties are more flexible and do the required `kwargs.pop()`\nin the background automatically (within the `super()` call\nto :class:`~kivy.event.EventDispatcher`) to prevent this distraction::\n\n    class MyClass(EventDispatcher):\n        my_string = StringProperty('default')\n        def __init__(self, **kwargs):\n            super(MyClass, self).__init__(**kwargs)\n\n    print(MyClass(my_string='value').my_string)\n\nConclusion\n~~~~~~~~~~\n\nKivy properties are easier to use than the standard ones. See the next chapt""er\nfor examples of how to use them :)\n\n\nObserve Property changes\n------------------------\n\nAs we said in the beginning, Kivy's Properties implement the `Observer pattern\n<http://en.wikipedia.org/wiki/Observer_pattern>`_. That means you can\n:meth:`~kivy.event.EventDispatcher.bind` to a property and have your own\nfunction called when the value changes.\n\nThere are multiple ways to observe the changes.\n\nObserve using bind()\n~~~~~~~~~~~~~~~~~~~~\n\nYou can observe a property change by using the bind() method outside of the\nclass::\n\n    class MyClass(EventDispatcher):\n        a = NumericProperty(1)\n\n    def callback(instance, value):\n        print('My callback is call from', instance)\n        print('and the a value changed to', value)\n\n    ins = MyClass()\n    ins.bind(a=callback)\n\n    # At this point, any change to the a property will call your callback.\n    ins.a = 5    # callback called\n    ins.a = 5    # callback not called, because the value did not change\n    ins.a = -1   # callback called\n\n.. note::\n\n    Property objects live at the class level and manage the values attached\n    to instances. Re-assigning at class level will remove the Property. For\n    example, continuing with the code above, `MyClass.a = 5` replaces\n    the property object with a simple int.\n\n\nObserve using 'on_<propname>'\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nIf you defined the class yourself, you can use the 'on_<propname>' callback::\n\n    class MyClass(EventDispatcher):\n        a = NumericProperty(1)\n\n        def on_a(self, instance, value):\n            print('My property a changed to', value)\n\n.. warning::\n\n    Be careful with 'on_<propname>'. If you are creating such a callback on a\n    property you are inheriting, you must not forget to call the superclass\n    function too.\n\nBinding to properties of properties.\n------------------------------------\n\nWhen binding to a property of a property, for example binding to a numeric\nproperty of an ""object saved in a object property, updating the object property\nto point to a new object will not re-bind the numeric property to the\nnew object. For example:\n\n.. code-block:: kv\n\n    <MyWidget>:\n        Label:\n            id: first\n            text: 'First label'\n        Label:\n            id: second\n            text: 'Second label'\n        Button:\n            label: first\n            text: self.label.text\n            on_press: self.label = second\n\nWhen clicking on the button, although the label object property has changed\nto the second widget, the button text will not change because it is bound to\nthe text property of the first label directly.\n\nIn `1.9.0`, the ``rebind`` option has been introduced that will allow the\nautomatic updating of the ``text`` when ``label`` is changed, provided it\nwas enabled. See :class:`ObjectProperty`.\n";
/* #### Code section: decls ### */
static int __pyx_pf_4kivy_10properties_8Property___cinit__(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self); /* proto */
static int __pyx_pf_4kivy_10properties_8Property_2__init__(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_kw); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_4name___get__(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_4__repr__(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_6__str__(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_8__set_name__(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, PyObject *__pyx_v_owner, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_10set_name(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_12link_eagerly(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_14link(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_16link_deps(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_18bind(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_observer); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_20fbind(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_observer, int __pyx_v_ref, PyObject *__pyx_v_largs, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_22unbind(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_observer, int __pyx_v_stop_on_first); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_24funbind(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_observer, PyObject *__pyx_v_largs, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_26unbind_uid(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_uid); /* proto */
static int __pyx_pf_4kivy_10properties_8Property_28__set__(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_val); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_30__get__(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_objtype); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_32set(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_34get(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_36dispatch(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_12defaultvalue___get__(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self); /* proto */
static int __pyx_pf_4kivy_10properties_8Property_12defaultvalue_2__set__(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static int __pyx_pf_4kivy_10properties_8Property_12defaultvalue_4__del__(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_38__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_8Property_40__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static int __pyx_pf_4kivy_10properties_15NumericProperty___init__(struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_kw); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_15NumericProperty_2_dpi_callback(struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self, PyObject *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v__obj, CYTHON_UNUSED PyObject *__pyx_v__value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_15NumericProperty_4get_format(struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_15NumericProperty_6__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_15NumericProperty_8__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static int __pyx_pf_4kivy_10properties_14StringProperty___init__(struct __pyx_obj_4kivy_10properties_StringProperty *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_kw); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14StringProperty_2__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_StringProperty *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14StringProperty_4__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_StringProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableList___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_2__setitem__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_key, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_4__delitem__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_key); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_6__setslice__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_v); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_8__delslice__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_b, PyObject *__pyx_v_c); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_10__iadd__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_12__imul__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_b); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_14append(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_16remove(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_18insert(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_i, PyObject *__pyx_v_x); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_20pop(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_22extend(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_24sort(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_26reverse(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs); /* proto */
static int __pyx_pf_4kivy_10properties_12ListProperty___init__(struct __pyx_obj_4kivy_10properties_ListProperty *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_kw); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_12ListProperty_2link(struct __pyx_obj_4kivy_10properties_ListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_12ListProperty_4set(struct __pyx_obj_4kivy_10properties_ListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_12ListProperty_6__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ListProperty *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_12ListProperty_8__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ListProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_2_weak_return(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self, PyObject *__pyx_v_item); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_4__getattr__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_attr); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_6__setattr__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_attr, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_8__setitem__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_key, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_10__delitem__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_key); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_12clear(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_14remove(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_16pop(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_18popitem(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_20setdefault(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_22update(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs); /* proto */
static int __pyx_pf_4kivy_10properties_12DictProperty___init__(struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_rebind, PyObject *__pyx_v_kw); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_12DictProperty_2link(struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_12DictProperty_4set(struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_12DictProperty_6rebind___get__(struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self); /* proto */
static int __pyx_pf_4kivy_10properties_12DictProperty_6rebind_2__set__(struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_12DictProperty_6__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_12DictProperty_8__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static int __pyx_pf_4kivy_10properties_14ObjectProperty___init__(struct __pyx_obj_4kivy_10properties_ObjectProperty *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_rebind, PyObject *__pyx_v_kw); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObjectProperty_6rebind___get__(struct __pyx_obj_4kivy_10properties_ObjectProperty *__pyx_v_self); /* proto */
static int __pyx_pf_4kivy_10properties_14ObjectProperty_6rebind_2__set__(struct __pyx_obj_4kivy_10properties_ObjectProperty *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObjectProperty_2__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ObjectProperty *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14ObjectProperty_4__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ObjectProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static int __pyx_pf_4kivy_10properties_15BooleanProperty___init__(struct __pyx_obj_4kivy_10properties_BooleanProperty *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_kw); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_15BooleanProperty_2__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_BooleanProperty *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_15BooleanProperty_4__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_BooleanProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static int __pyx_pf_4kivy_10properties_22BoundedNumericProperty___cinit__(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self); /* proto */
static int __pyx_pf_4kivy_10properties_22BoundedNumericProperty_2__init__(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self, PyObject *__pyx_v_largs, PyObject *__pyx_v_kw); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_22BoundedNumericProperty_4set_min(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_22BoundedNumericProperty_6get_min(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_22BoundedNumericProperty_8set_max(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_22BoundedNumericProperty_10get_max(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_22BoundedNumericProperty_6bounds___get__(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_22BoundedNumericProperty_12__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_22BoundedNumericProperty_14__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static int __pyx_pf_4kivy_10properties_14OptionProperty___cinit__(struct __pyx_obj_4kivy_10properties_OptionProperty *__pyx_v_self); /* proto */
static int __pyx_pf_4kivy_10properties_14OptionProperty_2__init__(struct __pyx_obj_4kivy_10properties_OptionProperty *__pyx_v_self, PyObject *__pyx_v_largs, PyObject *__pyx_v_kw); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14OptionProperty_7options___get__(struct __pyx_obj_4kivy_10properties_OptionProperty *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14OptionProperty_4__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_OptionProperty *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_14OptionProperty_6__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_OptionProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_23ObservableReferenceList___setitem__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_key, PyObject *__pyx_v_value, PyObject *__pyx_v_update_properties); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_23ObservableReferenceList_2__setslice__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_start, PyObject *__pyx_v_stop, PyObject *__pyx_v_value, PyObject *__pyx_v_update_properties); /* proto */
static int __pyx_pf_4kivy_10properties_21ReferenceListProperty___cinit__(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self); /* proto */
static int __pyx_pf_4kivy_10properties_21ReferenceListProperty_2__init__(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, PyObject *__pyx_v_largs, PyObject *__pyx_v_kw); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_21ReferenceListProperty_4link(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_21ReferenceListProperty_6link_deps(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_21ReferenceListProperty_8trigger_change(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_21ReferenceListProperty_10set(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v__value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_21ReferenceListProperty_12setitem(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_key, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_21ReferenceListProperty_14get(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_21ReferenceListProperty_16__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_21ReferenceListProperty_18__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static int __pyx_pf_4kivy_10properties_13AliasProperty___cinit__(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self); /* proto */
static int __pyx_pf_4kivy_10properties_13AliasProperty_2__init__(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, PyObject *__pyx_v_getter, PyObject *__pyx_v_setter, PyObject *__pyx_v_rebind, PyObject *__pyx_v_watch_before_use, PyObject *__pyx_v_kwargs); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_13AliasProperty_4__read_only(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, PyObject *__pyx_v__obj, CYTHON_UNUSED PyObject *__pyx_v__value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_13AliasProperty_6link_eagerly(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_13AliasProperty_8link_deps(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_13AliasProperty_10trigger_change(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_13AliasProperty_12get(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_13AliasProperty_14set(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_13AliasProperty_6rebind___get__(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self); /* proto */
static int __pyx_pf_4kivy_10properties_13AliasProperty_6rebind_2__set__(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_13AliasProperty_16__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_13AliasProperty_18__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static int __pyx_pf_4kivy_10properties_20VariableListProperty___init__(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_length, PyObject *__pyx_v_kw); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_20VariableListProperty_2_dpi_callback(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, PyObject *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v__obj, CYTHON_UNUSED PyObject *__pyx_v__value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_20VariableListProperty_4link(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_20VariableListProperty_6length___get__(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self); /* proto */
static int __pyx_pf_4kivy_10properties_20VariableListProperty_6length_2__set__(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_20VariableListProperty_6__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_20VariableListProperty_8__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static int __pyx_pf_4kivy_10properties_20ConfigParserProperty___cinit__(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self); /* proto */
static int __pyx_pf_4kivy_10properties_20ConfigParserProperty_2__init__(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_section, PyObject *__pyx_v_key, PyObject *__pyx_v_config, PyObject *__pyx_v_kw); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_20ConfigParserProperty_4link_deps(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_20ConfigParserProperty_6_edit_setting(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, PyObject *__pyx_v_section, PyObject *__pyx_v_key, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_20ConfigParserProperty_8set(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_20ConfigParserProperty_10set_config(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, PyObject *__pyx_v_config); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_20ConfigParserProperty_12__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_20ConfigParserProperty_14__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static int __pyx_pf_4kivy_10properties_13ColorProperty___init__(struct __pyx_obj_4kivy_10properties_ColorProperty *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_kw); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_13ColorProperty_2__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ColorProperty *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_4kivy_10properties_13ColorProperty_4__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ColorProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
static PyObject *__pyx_tp_new_4kivy_10properties_PropertyStorage(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_Property(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_NumericPropertyStorage(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_NumericProperty(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_StringProperty(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_ListProperty(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_DictProperty(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_ObjectProperty(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_BooleanProperty(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_BoundedNumericProperty(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_OptionPropertyStorage(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_OptionProperty(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_ReferenceListPropertyStorage(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_ReferenceListProperty(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_AliasPropertyStorage(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_AliasProperty(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_VariableListPropertyStorage(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_VariableListProperty(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_ConfigParserProperty(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new_4kivy_10properties_ColorProperty(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
/* #### Code section: late_includes ### */
/* #### Code section: module_state ### */
/* SmallCodeConfig */
#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

typedef struct {
  PyObject *__pyx_d;
  PyObject *__pyx_b;
  PyObject *__pyx_cython_runtime;
  PyObject *__pyx_empty_tuple;
  PyObject *__pyx_empty_bytes;
  PyObject *__pyx_empty_unicode;
  PyTypeObject *__pyx_ptype_7cpython_4type_type;
  PyTypeObject *__pyx_ptype_4kivy_6_event_ObjectWithUid;
  PyTypeObject *__pyx_ptype_4kivy_6_event_Observable;
  PyTypeObject *__pyx_ptype_4kivy_6_event_EventDispatcher;
  PyTypeObject *__pyx_ptype_4kivy_6_event_BoundCallback;
  PyTypeObject *__pyx_ptype_4kivy_6_event_EventObservers;
  PyObject *__pyx_type_4kivy_10properties_PropertyStorage;
  PyObject *__pyx_type_4kivy_10properties_Property;
  PyObject *__pyx_type_4kivy_10properties_NumericPropertyStorage;
  PyObject *__pyx_type_4kivy_10properties_NumericProperty;
  PyObject *__pyx_type_4kivy_10properties_StringProperty;
  PyObject *__pyx_type_4kivy_10properties_ListProperty;
  PyObject *__pyx_type_4kivy_10properties_DictProperty;
  PyObject *__pyx_type_4kivy_10properties_ObjectProperty;
  PyObject *__pyx_type_4kivy_10properties_BooleanProperty;
  PyObject *__pyx_type_4kivy_10properties_BoundedNumericPropertyStorage;
  PyObject *__pyx_type_4kivy_10properties_BoundedNumericProperty;
  PyObject *__pyx_type_4kivy_10properties_OptionPropertyStorage;
  PyObject *__pyx_type_4kivy_10properties_OptionProperty;
  PyObject *__pyx_type_4kivy_10properties_ReferenceListPropertyStorage;
  PyObject *__pyx_type_4kivy_10properties_ReferenceListProperty;
  PyObject *__pyx_type_4kivy_10properties_AliasPropertyStorage;
  PyObject *__pyx_type_4kivy_10properties_AliasProperty;
  PyObject *__pyx_type_4kivy_10properties_VariableListPropertyStorage;
  PyObject *__pyx_type_4kivy_10properties_VariableListProperty;
  PyObject *__pyx_type_4kivy_10properties_ConfigParserProperty;
  PyObject *__pyx_type_4kivy_10properties_ColorProperty;
  PyTypeObject *__pyx_ptype_4kivy_10properties_PropertyStorage;
  PyTypeObject *__pyx_ptype_4kivy_10properties_Property;
  PyTypeObject *__pyx_ptype_4kivy_10properties_NumericPropertyStorage;
  PyTypeObject *__pyx_ptype_4kivy_10properties_NumericProperty;
  PyTypeObject *__pyx_ptype_4kivy_10properties_StringProperty;
  PyTypeObject *__pyx_ptype_4kivy_10properties_ListProperty;
  PyTypeObject *__pyx_ptype_4kivy_10properties_DictProperty;
  PyTypeObject *__pyx_ptype_4kivy_10properties_ObjectProperty;
  PyTypeObject *__pyx_ptype_4kivy_10properties_BooleanProperty;
  PyTypeObject *__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage;
  PyTypeObject *__pyx_ptype_4kivy_10properties_BoundedNumericProperty;
  PyTypeObject *__pyx_ptype_4kivy_10properties_OptionPropertyStorage;
  PyTypeObject *__pyx_ptype_4kivy_10properties_OptionProperty;
  PyTypeObject *__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage;
  PyTypeObject *__pyx_ptype_4kivy_10properties_ReferenceListProperty;
  PyTypeObject *__pyx_ptype_4kivy_10properties_AliasPropertyStorage;
  PyTypeObject *__pyx_ptype_4kivy_10properties_AliasProperty;
  PyTypeObject *__pyx_ptype_4kivy_10properties_VariableListPropertyStorage;
  PyTypeObject *__pyx_ptype_4kivy_10properties_VariableListProperty;
  PyTypeObject *__pyx_ptype_4kivy_10properties_ConfigParserProperty;
  PyTypeObject *__pyx_ptype_4kivy_10properties_ColorProperty;
  __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_get;
  __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_items;
  __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_pop;
  __Pyx_CachedCFunction __pyx_umethod_PyDict_Type_values;
  PyObject *__pyx_k__2;
  PyObject *__pyx_k__3;
  PyObject *__pyx_slice[2];
  PyObject *__pyx_tuple[10];
  PyObject *__pyx_codeobj_tab[97];
  PyObject *__pyx_string_tab[397];
  PyObject *__pyx_number_tab[5];
/* #### Code section: module_state_contents ### */
/* CommonTypesMetaclass.module_state_decls */
PyTypeObject *__pyx_CommonTypesMetaclassType;

/* CachedMethodType.module_state_decls */
#if CYTHON_COMPILING_IN_LIMITED_API
PyObject *__Pyx_CachedMethodType;
#endif

/* CythonFunctionShared.module_state_decls */
PyTypeObject *__pyx_CyFunctionType;

/* CodeObjectCache.module_state_decls */
struct __Pyx_CodeObjectCache __pyx_code_cache;

/* #### Code section: module_state_end ### */
} __pyx_mstatetype;

#if CYTHON_USE_MODULE_STATE
#ifdef __cplusplus
namespace {
extern struct PyModuleDef __pyx_moduledef;
} /* anonymous namespace */
#else
static struct PyModuleDef __pyx_moduledef;
#endif

#define __pyx_mstate_global (__Pyx_PyModule_GetState(__Pyx_State_FindModule(&__pyx_moduledef)))

#define __pyx_m (__Pyx_State_FindModule(&__pyx_moduledef))
#else
static __pyx_mstatetype __pyx_mstate_global_static =
#ifdef __cplusplus
    {};
#else
    {0};
#endif
static __pyx_mstatetype * const __pyx_mstate_global = &__pyx_mstate_global_static;
#endif
/* #### Code section: constant_name_defines ### */
#define __pyx_kp_u_ __pyx_string_tab[0]
#define __pyx_kp_u_Consider_using_ObjectProperty_o __pyx_string_tab[1]
#define __pyx_kp_u_Deprecated_property_of_object_ha __pyx_string_tab[2]
#define __pyx_kp_u_Deprecated_property_of_object_wa __pyx_string_tab[3]
#define __pyx_kp_u_Invalid_value_for_color_got_r __pyx_string_tab[4]
#define __pyx_kp_u_Must_be_one_of __pyx_string_tab[5]
#define __pyx_kp_u_None_is_not_allowed_for __pyx_string_tab[6]
#define __pyx_kp_u_Note_that_Cython_is_deliberately __pyx_string_tab[7]
#define __pyx_kp_u_Property_Value_comparison_failed __pyx_string_tab[8]
#define __pyx_kp_u_The_property_s_has_a_forbidden_n __pyx_string_tab[9]
#define __pyx_kp_u_VariableListProperty_requires_a __pyx_string_tab[10]
#define __pyx_kp_u__4 __pyx_string_tab[11]
#define __pyx_kp_u__5 __pyx_string_tab[12]
#define __pyx_kp_u__6 __pyx_string_tab[13]
#define __pyx_kp_u_accept_only_ObservableDict __pyx_string_tab[14]
#define __pyx_kp_u_accept_only_ObservableList __pyx_string_tab[15]
#define __pyx_kp_u_accept_only_int_float_got __pyx_string_tab[16]
#define __pyx_kp_u_accept_only_object_based_on __pyx_string_tab[17]
#define __pyx_kp_u_accept_only_str __pyx_string_tab[18]
#define __pyx_kp_u_add_note __pyx_string_tab[19]
#define __pyx_kp_u_config_is_not_a_ConfigParser_ins __pyx_string_tab[20]
#define __pyx_kp_u_disable __pyx_string_tab[21]
#define __pyx_kp_u_enable __pyx_string_tab[22]
#define __pyx_kp_u_errorhandler_s_not_callable __pyx_string_tab[23]
#define __pyx_kp_u_gc __pyx_string_tab[24]
#define __pyx_kp_u_has_an_invalid_format_got __pyx_string_tab[25]
#define __pyx_kp_u_has_an_invalid_format_got_r __pyx_string_tab[26]
#define __pyx_kp_u_is_above_the_maximum_bound __pyx_string_tab[27]
#define __pyx_kp_u_is_below_the_minimum_bound __pyx_string_tab[28]
#define __pyx_kp_u_is_not_allowed_for __pyx_string_tab[29]
#define __pyx_kp_u_is_set_to_an_invalid_option __pyx_string_tab[30]
#define __pyx_kp_u_isenabled __pyx_string_tab[31]
#define __pyx_kp_u_key_is_not_a_non_empty_string __pyx_string_tab[32]
#define __pyx_kp_u_kivy_properties_pyx __pyx_string_tab[33]
#define __pyx_kp_u_must_be_a_list_or_a_tuple_type __pyx_string_tab[34]
#define __pyx_kp_u_must_have_2_components_got __pyx_string_tab[35]
#define __pyx_kp_u_name __pyx_string_tab[36]
#define __pyx_kp_u_no_default___reduce___due_to_non __pyx_string_tab[37]
#define __pyx_kp_u_property_is_readonly __pyx_string_tab[38]
#define __pyx_kp_u_s_s_accepts_only_int_float_list __pyx_string_tab[39]
#define __pyx_kp_u_s_s_must_have_1_2_or_4_componen __pyx_string_tab[40]
#define __pyx_kp_u_s_s_must_have_1_or_2_components __pyx_string_tab[41]
#define __pyx_kp_u_section_is_not_a_non_empty_strin __pyx_string_tab[42]
#define __pyx_kp_u_stringsource __pyx_string_tab[43]
#define __pyx_kp_u_val_type_is_not_callable __pyx_string_tab[44]
#define __pyx_kp_u_value_length_is_immutable __pyx_string_tab[45]
#define __pyx_kp_u_verify_is_not_callable __pyx_string_tab[46]
#define __pyx_n_u_AliasProperty __pyx_string_tab[47]
#define __pyx_n_u_AliasPropertyStorage __pyx_string_tab[48]
#define __pyx_n_u_AliasProperty___read_only __pyx_string_tab[49]
#define __pyx_n_u_AliasProperty___reduce_cython __pyx_string_tab[50]
#define __pyx_n_u_AliasProperty___setstate_cython __pyx_string_tab[51]
#define __pyx_n_u_AliasProperty__read_only __pyx_string_tab[52]
#define __pyx_n_u_AliasProperty_get __pyx_string_tab[53]
#define __pyx_n_u_AliasProperty_link_deps __pyx_string_tab[54]
#define __pyx_n_u_AliasProperty_link_eagerly __pyx_string_tab[55]
#define __pyx_n_u_AliasProperty_set __pyx_string_tab[56]
#define __pyx_n_u_AliasProperty_trigger_change __pyx_string_tab[57]
#define __pyx_n_u_BooleanProperty __pyx_string_tab[58]
#define __pyx_n_u_BooleanProperty___reduce_cython __pyx_string_tab[59]
#define __pyx_n_u_BooleanProperty___setstate_cytho __pyx_string_tab[60]
#define __pyx_n_u_BoundedNumericProperty __pyx_string_tab[61]
#define __pyx_n_u_BoundedNumericPropertyStorage __pyx_string_tab[62]
#define __pyx_n_u_BoundedNumericProperty___reduce __pyx_string_tab[63]
#define __pyx_n_u_BoundedNumericProperty___setstat __pyx_string_tab[64]
#define __pyx_n_u_BoundedNumericProperty_get_max __pyx_string_tab[65]
#define __pyx_n_u_BoundedNumericProperty_get_min __pyx_string_tab[66]
#define __pyx_n_u_BoundedNumericProperty_set_max __pyx_string_tab[67]
#define __pyx_n_u_BoundedNumericProperty_set_min __pyx_string_tab[68]
#define __pyx_n_u_Clock __pyx_string_tab[69]
#define __pyx_n_u_ColorProperty __pyx_string_tab[70]
#define __pyx_n_u_ColorProperty___reduce_cython __pyx_string_tab[71]
#define __pyx_n_u_ColorProperty___setstate_cython __pyx_string_tab[72]
#define __pyx_n_u_ConfigParser __pyx_string_tab[73]
#define __pyx_n_u_ConfigParserProperty __pyx_string_tab[74]
#define __pyx_n_u_ConfigParserProperty___reduce_cy __pyx_string_tab[75]
#define __pyx_n_u_ConfigParserProperty___setstate __pyx_string_tab[76]
#define __pyx_n_u_ConfigParserProperty__edit_setti __pyx_string_tab[77]
#define __pyx_n_u_ConfigParserProperty_link_deps __pyx_string_tab[78]
#define __pyx_n_u_ConfigParserProperty_set __pyx_string_tab[79]
#define __pyx_n_u_ConfigParserProperty_set_config __pyx_string_tab[80]
#define __pyx_n_u_DictProperty __pyx_string_tab[81]
#define __pyx_n_u_DictProperty___reduce_cython __pyx_string_tab[82]
#define __pyx_n_u_DictProperty___setstate_cython __pyx_string_tab[83]
#define __pyx_n_u_DictProperty_link __pyx_string_tab[84]
#define __pyx_n_u_DictProperty_set __pyx_string_tab[85]
#define __pyx_n_u_ListProperty __pyx_string_tab[86]
#define __pyx_n_u_ListProperty___reduce_cython __pyx_string_tab[87]
#define __pyx_n_u_ListProperty___setstate_cython __pyx_string_tab[88]
#define __pyx_n_u_ListProperty_link __pyx_string_tab[89]
#define __pyx_n_u_ListProperty_set __pyx_string_tab[90]
#define __pyx_n_u_Logger __pyx_string_tab[91]
#define __pyx_n_u_NUMERIC_FORMATS __pyx_string_tab[92]
#define __pyx_n_u_NumericProperty __pyx_string_tab[93]
#define __pyx_n_u_NumericPropertyStorage __pyx_string_tab[94]
#define __pyx_n_u_NumericProperty___reduce_cython __pyx_string_tab[95]
#define __pyx_n_u_NumericProperty___setstate_cytho __pyx_string_tab[96]
#define __pyx_n_u_NumericProperty__dpi_callback __pyx_string_tab[97]
#define __pyx_n_u_NumericProperty_get_format __pyx_string_tab[98]
#define __pyx_n_u_ObjectProperty __pyx_string_tab[99]
#define __pyx_n_u_ObjectProperty___reduce_cython __pyx_string_tab[100]
#define __pyx_n_u_ObjectProperty___setstate_cython __pyx_string_tab[101]
#define __pyx_n_u_ObservableDict __pyx_string_tab[102]
#define __pyx_n_u_ObservableDict___delitem __pyx_string_tab[103]
#define __pyx_n_u_ObservableDict___getattr __pyx_string_tab[104]
#define __pyx_n_u_ObservableDict___init __pyx_string_tab[105]
#define __pyx_n_u_ObservableDict___setattr __pyx_string_tab[106]
#define __pyx_n_u_ObservableDict___setitem __pyx_string_tab[107]
#define __pyx_n_u_ObservableDict__weak_return __pyx_string_tab[108]
#define __pyx_n_u_ObservableDict_clear __pyx_string_tab[109]
#define __pyx_n_u_ObservableDict_pop __pyx_string_tab[110]
#define __pyx_n_u_ObservableDict_popitem __pyx_string_tab[111]
#define __pyx_n_u_ObservableDict_remove __pyx_string_tab[112]
#define __pyx_n_u_ObservableDict_setdefault __pyx_string_tab[113]
#define __pyx_n_u_ObservableDict_update __pyx_string_tab[114]
#define __pyx_n_u_ObservableList __pyx_string_tab[115]
#define __pyx_n_u_ObservableList___delitem __pyx_string_tab[116]
#define __pyx_n_u_ObservableList___delslice __pyx_string_tab[117]
#define __pyx_n_u_ObservableList___iadd __pyx_string_tab[118]
#define __pyx_n_u_ObservableList___imul __pyx_string_tab[119]
#define __pyx_n_u_ObservableList___init __pyx_string_tab[120]
#define __pyx_n_u_ObservableList___setitem __pyx_string_tab[121]
#define __pyx_n_u_ObservableList___setslice __pyx_string_tab[122]
#define __pyx_n_u_ObservableList_append __pyx_string_tab[123]
#define __pyx_n_u_ObservableList_extend __pyx_string_tab[124]
#define __pyx_n_u_ObservableList_insert __pyx_string_tab[125]
#define __pyx_n_u_ObservableList_pop __pyx_string_tab[126]
#define __pyx_n_u_ObservableList_remove __pyx_string_tab[127]
#define __pyx_n_u_ObservableList_reverse __pyx_string_tab[128]
#define __pyx_n_u_ObservableList_sort __pyx_string_tab[129]
#define __pyx_n_u_ObservableReferenceList __pyx_string_tab[130]
#define __pyx_n_u_ObservableReferenceList___setite __pyx_string_tab[131]
#define __pyx_n_u_ObservableReferenceList___setsli __pyx_string_tab[132]
#define __pyx_n_u_OptionProperty __pyx_string_tab[133]
#define __pyx_n_u_OptionPropertyStorage __pyx_string_tab[134]
#define __pyx_n_u_OptionProperty___reduce_cython __pyx_string_tab[135]
#define __pyx_n_u_OptionProperty___setstate_cython __pyx_string_tab[136]
#define __pyx_n_u_Property __pyx_string_tab[137]
#define __pyx_n_u_PropertyStorage __pyx_string_tab[138]
#define __pyx_n_u_Property___reduce_cython __pyx_string_tab[139]
#define __pyx_n_u_Property___set_name __pyx_string_tab[140]
#define __pyx_n_u_Property___setstate_cython __pyx_string_tab[141]
#define __pyx_n_u_Property_bind __pyx_string_tab[142]
#define __pyx_n_u_Property_dispatch __pyx_string_tab[143]
#define __pyx_n_u_Property_fbind __pyx_string_tab[144]
#define __pyx_n_u_Property_funbind __pyx_string_tab[145]
#define __pyx_n_u_Property_get __pyx_string_tab[146]
#define __pyx_n_u_Property_link __pyx_string_tab[147]
#define __pyx_n_u_Property_link_deps __pyx_string_tab[148]
#define __pyx_n_u_Property_link_eagerly __pyx_string_tab[149]
#define __pyx_n_u_Property_set __pyx_string_tab[150]
#define __pyx_n_u_Property_set_name __pyx_string_tab[151]
#define __pyx_n_u_Property_unbind __pyx_string_tab[152]
#define __pyx_n_u_Property_unbind_uid __pyx_string_tab[153]
#define __pyx_n_u_Pyx_PyDict_NextRef __pyx_string_tab[154]
#define __pyx_n_u_ReferenceListProperty __pyx_string_tab[155]
#define __pyx_n_u_ReferenceListPropertyStorage __pyx_string_tab[156]
#define __pyx_n_u_ReferenceListProperty___reduce_c __pyx_string_tab[157]
#define __pyx_n_u_ReferenceListProperty___setstate __pyx_string_tab[158]
#define __pyx_n_u_ReferenceListProperty_get __pyx_string_tab[159]
#define __pyx_n_u_ReferenceListProperty_link __pyx_string_tab[160]
#define __pyx_n_u_ReferenceListProperty_link_deps __pyx_string_tab[161]
#define __pyx_n_u_ReferenceListProperty_set __pyx_string_tab[162]
#define __pyx_n_u_ReferenceListProperty_setitem __pyx_string_tab[163]
#define __pyx_n_u_ReferenceListProperty_trigger_ch __pyx_string_tab[164]
#define __pyx_n_u_StringProperty __pyx_string_tab[165]
#define __pyx_n_u_StringProperty___reduce_cython __pyx_string_tab[166]
#define __pyx_n_u_StringProperty___setstate_cython __pyx_string_tab[167]
#define __pyx_n_u_VariableListProperty __pyx_string_tab[168]
#define __pyx_n_u_VariableListPropertyStorage __pyx_string_tab[169]
#define __pyx_n_u_VariableListProperty___reduce_cy __pyx_string_tab[170]
#define __pyx_n_u_VariableListProperty___setstate __pyx_string_tab[171]
#define __pyx_n_u_VariableListProperty__dpi_callba __pyx_string_tab[172]
#define __pyx_n_u_VariableListProperty_link __pyx_string_tab[173]
#define __pyx_n_u_WeakMethod __pyx_string_tab[174]
#define __pyx_n_u_add_callback __pyx_string_tab[175]
#define __pyx_n_u_adddefaultsection __pyx_string_tab[176]
#define __pyx_n_u_all __pyx_string_tab[177]
#define __pyx_n_u_allownone __pyx_string_tab[178]
#define __pyx_n_u_append __pyx_string_tab[179]
#define __pyx_n_u_asyncio_coroutines __pyx_string_tab[180]
#define __pyx_n_u_attr __pyx_string_tab[181]
#define __pyx_n_u_b __pyx_string_tab[182]
#define __pyx_n_u_baseclass __pyx_string_tab[183]
#define __pyx_n_u_bind __pyx_string_tab[184]
#define __pyx_n_u_c __pyx_string_tab[185]
#define __pyx_n_u_cache __pyx_string_tab[186]
#define __pyx_n_u_class __pyx_string_tab[187]
#define __pyx_n_u_class_getitem __pyx_string_tab[188]
#define __pyx_n_u_clear __pyx_string_tab[189]
#define __pyx_n_u_cline_in_traceback __pyx_string_tab[190]
#define __pyx_n_u_colormap __pyx_string_tab[191]
#define __pyx_n_u_comparator __pyx_string_tab[192]
#define __pyx_n_u_config __pyx_string_tab[193]
#define __pyx_n_u_d __pyx_string_tab[194]
#define __pyx_n_u_defaultvalue __pyx_string_tab[195]
#define __pyx_n_u_delitem __pyx_string_tab[196]
#define __pyx_n_u_delslice __pyx_string_tab[197]
#define __pyx_n_u_deprecated __pyx_string_tab[198]
#define __pyx_n_u_dispatch __pyx_string_tab[199]
#define __pyx_n_u_doc __pyx_string_tab[200]
#define __pyx_n_u_dpi2px __pyx_string_tab[201]
#define __pyx_n_u_dpi_callback __pyx_string_tab[202]
#define __pyx_n_u_edit_setting __pyx_string_tab[203]
#define __pyx_n_u_errorhandler __pyx_string_tab[204]
#define __pyx_n_u_errorvalue __pyx_string_tab[205]
#define __pyx_n_u_event_dispatcher __pyx_string_tab[206]
#define __pyx_n_u_extend __pyx_string_tab[207]
#define __pyx_n_u_f __pyx_string_tab[208]
#define __pyx_n_u_fbind __pyx_string_tab[209]
#define __pyx_n_u_force_dispatch __pyx_string_tab[210]
#define __pyx_n_u_format __pyx_string_tab[211]
#define __pyx_n_u_funbind __pyx_string_tab[212]
#define __pyx_n_u_func __pyx_string_tab[213]
#define __pyx_n_u_functools __pyx_string_tab[214]
#define __pyx_n_u_get __pyx_string_tab[215]
#define __pyx_n_u_get_color_from_hex __pyx_string_tab[216]
#define __pyx_n_u_get_configparser __pyx_string_tab[217]
#define __pyx_n_u_get_format __pyx_string_tab[218]
#define __pyx_n_u_get_max __pyx_string_tab[219]
#define __pyx_n_u_get_min __pyx_string_tab[220]
#define __pyx_n_u_getattr __pyx_string_tab[221]
#define __pyx_n_u_getitem __pyx_string_tab[222]
#define __pyx_n_u_getstate __pyx_string_tab[223]
#define __pyx_n_u_getter __pyx_string_tab[224]
#define __pyx_n_u_i __pyx_string_tab[225]
#define __pyx_n_u_iadd __pyx_string_tab[226]
#define __pyx_n_u_imul __pyx_string_tab[227]
#define __pyx_n_u_init __pyx_string_tab[228]
#define __pyx_n_u_insert __pyx_string_tab[229]
#define __pyx_n_u_is_coroutine __pyx_string_tab[230]
#define __pyx_n_u_item __pyx_string_tab[231]
#define __pyx_n_u_items __pyx_string_tab[232]
#define __pyx_n_u_key __pyx_string_tab[233]
#define __pyx_n_u_kivy__metrics __pyx_string_tab[234]
#define __pyx_n_u_kivy_clock __pyx_string_tab[235]
#define __pyx_n_u_kivy_config __pyx_string_tab[236]
#define __pyx_n_u_kivy_logger __pyx_string_tab[237]
#define __pyx_n_u_kivy_properties __pyx_string_tab[238]
#define __pyx_n_u_kivy_utils __pyx_string_tab[239]
#define __pyx_n_u_kivy_weakmethod __pyx_string_tab[240]
#define __pyx_n_u_kwargs __pyx_string_tab[241]
#define __pyx_n_u_largs __pyx_string_tab[242]
#define __pyx_n_u_last_op __pyx_string_tab[243]
#define __pyx_n_u_length __pyx_string_tab[244]
#define __pyx_n_u_link __pyx_string_tab[245]
#define __pyx_n_u_link_deps __pyx_string_tab[246]
#define __pyx_n_u_link_eagerly __pyx_string_tab[247]
#define __pyx_n_u_main __pyx_string_tab[248]
#define __pyx_n_u_max __pyx_string_tab[249]
#define __pyx_n_u_metaclass __pyx_string_tab[250]
#define __pyx_n_u_min __pyx_string_tab[251]
#define __pyx_n_u_module __pyx_string_tab[252]
#define __pyx_n_u_mro_entries __pyx_string_tab[253]
#define __pyx_n_u_name_2 __pyx_string_tab[254]
#define __pyx_n_u_name_3 __pyx_string_tab[255]
#define __pyx_n_u_obj __pyx_string_tab[256]
#define __pyx_n_u_obj_2 __pyx_string_tab[257]
#define __pyx_n_u_observer __pyx_string_tab[258]
#define __pyx_n_u_options __pyx_string_tab[259]
#define __pyx_n_u_owner __pyx_string_tab[260]
#define __pyx_n_u_partial __pyx_string_tab[261]
#define __pyx_n_u_pop __pyx_string_tab[262]
#define __pyx_n_u_popitem __pyx_string_tab[263]
#define __pyx_n_u_prepare __pyx_string_tab[264]
#define __pyx_n_u_prop __pyx_string_tab[265]
#define __pyx_n_u_ps __pyx_string_tab[266]
#define __pyx_n_u_ps_2 __pyx_string_tab[267]
#define __pyx_n_u_px __pyx_string_tab[268]
#define __pyx_n_u_pyx_state __pyx_string_tab[269]
#define __pyx_n_u_pyx_vtable __pyx_string_tab[270]
#define __pyx_n_u_qualname __pyx_string_tab[271]
#define __pyx_n_u_read_only __pyx_string_tab[272]
#define __pyx_n_u_rebind __pyx_string_tab[273]
#define __pyx_n_u_reduce __pyx_string_tab[274]
#define __pyx_n_u_reduce_cython __pyx_string_tab[275]
#define __pyx_n_u_reduce_ex __pyx_string_tab[276]
#define __pyx_n_u_ref __pyx_string_tab[277]
#define __pyx_n_u_register_named_property __pyx_string_tab[278]
#define __pyx_n_u_remove __pyx_string_tab[279]
#define __pyx_n_u_remove_callback __pyx_string_tab[280]
#define __pyx_n_u_result __pyx_string_tab[281]
#define __pyx_n_u_reverse __pyx_string_tab[282]
#define __pyx_n_u_schedule_once __pyx_string_tab[283]
#define __pyx_n_u_section __pyx_string_tab[284]
#define __pyx_n_u_self __pyx_string_tab[285]
#define __pyx_n_u_set __pyx_string_tab[286]
#define __pyx_n_u_set_config __pyx_string_tab[287]
#define __pyx_n_u_set_max __pyx_string_tab[288]
#define __pyx_n_u_set_min __pyx_string_tab[289]
#define __pyx_n_u_set_name __pyx_string_tab[290]
#define __pyx_n_u_set_name_2 __pyx_string_tab[291]
#define __pyx_n_u_setattr __pyx_string_tab[292]
#define __pyx_n_u_setdefault __pyx_string_tab[293]
#define __pyx_n_u_setitem __pyx_string_tab[294]
#define __pyx_n_u_setitem_2 __pyx_string_tab[295]
#define __pyx_n_u_setslice __pyx_string_tab[296]
#define __pyx_n_u_setstate __pyx_string_tab[297]
#define __pyx_n_u_setstate_cython __pyx_string_tab[298]
#define __pyx_n_u_setter __pyx_string_tab[299]
#define __pyx_n_u_sort __pyx_string_tab[300]
#define __pyx_n_u_start __pyx_string_tab[301]
#define __pyx_n_u_stop __pyx_string_tab[302]
#define __pyx_n_u_stop_on_first __pyx_string_tab[303]
#define __pyx_n_u_super __pyx_string_tab[304]
#define __pyx_n_u_test __pyx_string_tab[305]
#define __pyx_n_u_touch_down __pyx_string_tab[306]
#define __pyx_n_u_touch_move __pyx_string_tab[307]
#define __pyx_n_u_touch_up __pyx_string_tab[308]
#define __pyx_n_u_trigger_change __pyx_string_tab[309]
#define __pyx_n_u_uid __pyx_string_tab[310]
#define __pyx_n_u_unbind __pyx_string_tab[311]
#define __pyx_n_u_unbind_callback __pyx_string_tab[312]
#define __pyx_n_u_unbind_uid __pyx_string_tab[313]
#define __pyx_n_u_update __pyx_string_tab[314]
#define __pyx_n_u_update_properties __pyx_string_tab[315]
#define __pyx_n_u_v __pyx_string_tab[316]
#define __pyx_n_u_val_type __pyx_string_tab[317]
#define __pyx_n_u_value __pyx_string_tab[318]
#define __pyx_n_u_value_2 __pyx_string_tab[319]
#define __pyx_n_u_values __pyx_string_tab[320]
#define __pyx_n_u_verify __pyx_string_tab[321]
#define __pyx_n_u_warn __pyx_string_tab[322]
#define __pyx_n_u_warning __pyx_string_tab[323]
#define __pyx_n_u_watch_before_use __pyx_string_tab[324]
#define __pyx_n_u_weak_return __pyx_string_tab[325]
#define __pyx_n_u_weakref __pyx_string_tab[326]
#define __pyx_n_u_write __pyx_string_tab[327]
#define __pyx_n_u_x __pyx_string_tab[328]
#define __pyx_kp_b_PyObject_cache_properties_per_cl __pyx_string_tab[329]
#define __pyx_kp_b_float_PyObject_PyObject_int___py __pyx_string_tab[330]
#define __pyx_kp_b_iso88591_A __pyx_string_tab[331]
#define __pyx_kp_b_iso88591_A_0_1_Cq_4_AQ_3nG1_2_Q_D_BoRq __pyx_string_tab[332]
#define __pyx_kp_b_iso88591_A_0_1_Cq_4_AQ_3nG1_a_4r_D_2Q __pyx_string_tab[333]
#define __pyx_kp_b_iso88591_A_0t3H_HAU_4t_4t_HA_1_F_5_q_G6_Q __pyx_string_tab[334]
#define __pyx_kp_b_iso88591_A_1A_E_A __pyx_string_tab[335]
#define __pyx_kp_b_iso88591_A_1A_HAU_Ba_4t_4t_Q_1_auG1_Q_t_3 __pyx_string_tab[336]
#define __pyx_kp_b_iso88591_A_1A_JauA __pyx_string_tab[337]
#define __pyx_kp_b_iso88591_A_1A_Kq __pyx_string_tab[338]
#define __pyx_kp_b_iso88591_A_1A_Kq_Ba_4_Qk_Q_t3d_nA_q_4q_t1 __pyx_string_tab[339]
#define __pyx_kp_b_iso88591_A_1F_Q_Kz __pyx_string_tab[340]
#define __pyx_kp_b_iso88591_A_1_4I_2_3a_2Q_2_3a_2Q __pyx_string_tab[341]
#define __pyx_kp_b_iso88591_A_1_4I_2_3a_2Q_S_2Q __pyx_string_tab[342]
#define __pyx_kp_b_iso88591_A_1_4I_6_A_a_A_nA_a_l_a __pyx_string_tab[343]
#define __pyx_kp_b_iso88591_A_1_4I_6_A_a_A_nA_a_l_a_2 __pyx_string_tab[344]
#define __pyx_kp_b_iso88591_A_1_Q_r __pyx_string_tab[345]
#define __pyx_kp_b_iso88591_A_4_AT_Qa_4_A_2_1A __pyx_string_tab[346]
#define __pyx_kp_b_iso88591_A_4_T_4_AQ_q __pyx_string_tab[347]
#define __pyx_kp_b_iso88591_A_4t1_1A_4xs_4xwa_q_D_A_Ja_4xwa __pyx_string_tab[348]
#define __pyx_kp_b_iso88591_A_4t1_q_Cz_Qa_2WA_1_D_Qha_M_q_q __pyx_string_tab[349]
#define __pyx_kp_b_iso88591_A_4wd_s_a_T_ha_r_T_1_Qha_Qha_Q_z __pyx_string_tab[350]
#define __pyx_kp_b_iso88591_A_5_5_5_1_1_ERq_6_AYa_q_IQ __pyx_string_tab[351]
#define __pyx_kp_b_iso88591_A_5_HA_1F_L_q __pyx_string_tab[352]
#define __pyx_kp_b_iso88591_A_6_N_6_a_AV5 __pyx_string_tab[353]
#define __pyx_kp_b_iso88591_A_6_a_G3aq_4xs_7q_A_4xwa_a_4z_V4 __pyx_string_tab[354]
#define __pyx_kp_b_iso88591_A_6_a_HD_auD_1 __pyx_string_tab[355]
#define __pyx_kp_b_iso88591_A_6e1F_q_Rq_fA_Cq_XQ_5Qa_q __pyx_string_tab[356]
#define __pyx_kp_b_iso88591_A_7uAV5_6_b_q __pyx_string_tab[357]
#define __pyx_kp_b_iso88591_A_B_1_r __pyx_string_tab[358]
#define __pyx_kp_b_iso88591_A_E_Kxq __pyx_string_tab[359]
#define __pyx_kp_b_iso88591_A_F_7 __pyx_string_tab[360]
#define __pyx_kp_b_iso88591_A_G1G1 __pyx_string_tab[361]
#define __pyx_kp_b_iso88591_A_G1G1_Kz __pyx_string_tab[362]
#define __pyx_kp_b_iso88591_A_HAWA_K __pyx_string_tab[363]
#define __pyx_kp_b_iso88591_A_HD_G1C_1_q_T_2 __pyx_string_tab[364]
#define __pyx_kp_b_iso88591_A_HE_G3auAQ_Kt1_Q_e9Be1A __pyx_string_tab[365]
#define __pyx_kp_b_iso88591_A_HE_G5_Q_e9Be1A __pyx_string_tab[366]
#define __pyx_kp_b_iso88591_A_IQfA_Kz __pyx_string_tab[367]
#define __pyx_kp_b_iso88591_A_IQgQ_K_1 __pyx_string_tab[368]
#define __pyx_kp_b_iso88591_A_L_q __pyx_string_tab[369]
#define __pyx_kp_b_iso88591_A_L_q_K_a __pyx_string_tab[370]
#define __pyx_kp_b_iso88591_A_L_uA __pyx_string_tab[371]
#define __pyx_kp_b_iso88591_A_L_uA_K_a __pyx_string_tab[372]
#define __pyx_kp_b_iso88591_A_M_1_K_1 __pyx_string_tab[373]
#define __pyx_kp_b_iso88591_A_M_3a_K_1 __pyx_string_tab[374]
#define __pyx_kp_b_iso88591_A_QfA_4q_q __pyx_string_tab[375]
#define __pyx_kp_b_iso88591_A_T_AWA_q __pyx_string_tab[376]
#define __pyx_kp_b_iso88591_A_T_QgQ_Kwa_q __pyx_string_tab[377]
#define __pyx_kp_b_iso88591_A_T_QgQ_q __pyx_string_tab[378]
#define __pyx_kp_b_iso88591_A_T_q __pyx_string_tab[379]
#define __pyx_kp_b_iso88591_A_d_4s_s_l_Q_N_D_a __pyx_string_tab[380]
#define __pyx_kp_b_iso88591_A_nA_AU_A __pyx_string_tab[381]
#define __pyx_kp_b_iso88591_A_q __pyx_string_tab[382]
#define __pyx_kp_b_iso88591_A_q_e1_2WG1_i_QfE_1_q __pyx_string_tab[383]
#define __pyx_kp_b_iso88591_A_t3H_2Q_Ba_fM_S_T_Qe4xq_a_fL_as __pyx_string_tab[384]
#define __pyx_kp_b_iso88591_A_t3H_Qe1_Bk_q_1A_uAQ_E_d_auCs_2 __pyx_string_tab[385]
#define __pyx_kp_b_iso88591_A_t3H_r_fM_S_T_Qe4xq_a_fL_as_1_T __pyx_string_tab[386]
#define __pyx_kp_b_iso88591_A_t_2WAU_t1_2Q_q_2WAQ_5_5 __pyx_string_tab[387]
#define __pyx_kp_b_iso88591_A_t_4q_r_1_2WAQ_2Q_r __pyx_string_tab[388]
#define __pyx_kp_b_iso88591_A_t_7_1_2WCq_t1_1_1_5 __pyx_string_tab[389]
#define __pyx_kp_b_iso88591_CCSST_1A_HAZwa __pyx_string_tab[390]
#define __pyx_kp_b_iso88591_H_1A_G1Ja __pyx_string_tab[391]
#define __pyx_kp_b_iso88591_JJZZ_1A_1_2ZvQj_G81_2ZvQj_xq __pyx_string_tab[392]
#define __pyx_kp_b_iso88591_Q __pyx_string_tab[393]
#define __pyx_kp_b_iso88591_a_L_uA_1_XQd_d_q __pyx_string_tab[394]
#define __pyx_kp_b_iso88591_q_M_vQ_1_XQd_iq_wa __pyx_string_tab[395]
#define __pyx_kp_b_struct___pyx_obj_4kivy_6_event_E __pyx_string_tab[396]
#define __pyx_float_1_0 __pyx_number_tab[0]
#define __pyx_int_0 __pyx_number_tab[1]
#define __pyx_int_neg_2 __pyx_number_tab[2]
#define __pyx_int_2 __pyx_number_tab[3]
#define __pyx_int_4 __pyx_number_tab[4]
/* #### Code section: module_state_clear ### */
#if CYTHON_USE_MODULE_STATE
static CYTHON_SMALL_CODE int __pyx_m_clear(PyObject *m) {
  __pyx_mstatetype *clear_module_state = __Pyx_PyModule_GetState(m);
  if (!clear_module_state) return 0;
  Py_CLEAR(clear_module_state->__pyx_d);
  Py_CLEAR(clear_module_state->__pyx_b);
  Py_CLEAR(clear_module_state->__pyx_cython_runtime);
  Py_CLEAR(clear_module_state->__pyx_empty_tuple);
  Py_CLEAR(clear_module_state->__pyx_empty_bytes);
  Py_CLEAR(clear_module_state->__pyx_empty_unicode);
  #if CYTHON_PEP489_MULTI_PHASE_INIT
  __Pyx_State_RemoveModule(NULL);
  #endif
  Py_CLEAR(clear_module_state->__pyx_ptype_7cpython_4type_type);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_6_event_ObjectWithUid);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_6_event_Observable);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_6_event_EventDispatcher);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_6_event_BoundCallback);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_6_event_EventObservers);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_PropertyStorage);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_PropertyStorage);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_Property);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_Property);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_NumericPropertyStorage);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_NumericPropertyStorage);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_NumericProperty);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_NumericProperty);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_StringProperty);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_StringProperty);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_ListProperty);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_ListProperty);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_DictProperty);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_DictProperty);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_ObjectProperty);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_ObjectProperty);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_BooleanProperty);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_BooleanProperty);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_BoundedNumericPropertyStorage);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_BoundedNumericProperty);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_BoundedNumericProperty);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_OptionPropertyStorage);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_OptionPropertyStorage);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_OptionProperty);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_OptionProperty);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_ReferenceListPropertyStorage);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_ReferenceListProperty);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_ReferenceListProperty);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_AliasPropertyStorage);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_AliasPropertyStorage);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_AliasProperty);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_AliasProperty);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_VariableListPropertyStorage);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_VariableListPropertyStorage);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_VariableListProperty);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_VariableListProperty);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_ConfigParserProperty);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_ConfigParserProperty);
  Py_CLEAR(clear_module_state->__pyx_ptype_4kivy_10properties_ColorProperty);
  Py_CLEAR(clear_module_state->__pyx_type_4kivy_10properties_ColorProperty);
  Py_CLEAR(clear_module_state->__pyx_k__2);
  Py_CLEAR(clear_module_state->__pyx_k__3);
  for (int i=0; i<2; ++i) { Py_CLEAR(clear_module_state->__pyx_slice[i]); }
  for (int i=0; i<10; ++i) { Py_CLEAR(clear_module_state->__pyx_tuple[i]); }
  for (int i=0; i<97; ++i) { Py_CLEAR(clear_module_state->__pyx_codeobj_tab[i]); }
  for (int i=0; i<397; ++i) { Py_CLEAR(clear_module_state->__pyx_string_tab[i]); }
  for (int i=0; i<5; ++i) { Py_CLEAR(clear_module_state->__pyx_number_tab[i]); }
/* #### Code section: module_state_clear_contents ### */
/* CommonTypesMetaclass.module_state_clear */
Py_CLEAR(clear_module_state->__pyx_CommonTypesMetaclassType);

/* CythonFunctionShared.module_state_clear */
Py_CLEAR(clear_module_state->__pyx_CyFunctionType);

/* #### Code section: module_state_clear_end ### */
return 0;
}
#endif
/* #### Code section: module_state_traverse ### */
#if CYTHON_USE_MODULE_STATE
static CYTHON_SMALL_CODE int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
  __pyx_mstatetype *traverse_module_state = __Pyx_PyModule_GetState(m);
  if (!traverse_module_state) return 0;
  Py_VISIT(traverse_module_state->__pyx_d);
  Py_VISIT(traverse_module_state->__pyx_b);
  Py_VISIT(traverse_module_state->__pyx_cython_runtime);
  __Pyx_VISIT_CONST(traverse_module_state->__pyx_empty_tuple);
  __Pyx_VISIT_CONST(traverse_module_state->__pyx_empty_bytes);
  __Pyx_VISIT_CONST(traverse_module_state->__pyx_empty_unicode);
  Py_VISIT(traverse_module_state->__pyx_ptype_7cpython_4type_type);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_6_event_ObjectWithUid);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_6_event_Observable);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_6_event_EventDispatcher);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_6_event_BoundCallback);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_6_event_EventObservers);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_PropertyStorage);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_PropertyStorage);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_Property);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_Property);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_NumericPropertyStorage);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_NumericPropertyStorage);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_NumericProperty);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_NumericProperty);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_StringProperty);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_StringProperty);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_ListProperty);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_ListProperty);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_DictProperty);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_DictProperty);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_ObjectProperty);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_ObjectProperty);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_BooleanProperty);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_BooleanProperty);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_BoundedNumericPropertyStorage);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_BoundedNumericProperty);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_BoundedNumericProperty);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_OptionPropertyStorage);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_OptionPropertyStorage);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_OptionProperty);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_OptionProperty);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_ReferenceListPropertyStorage);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_ReferenceListProperty);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_ReferenceListProperty);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_AliasPropertyStorage);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_AliasPropertyStorage);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_AliasProperty);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_AliasProperty);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_VariableListPropertyStorage);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_VariableListPropertyStorage);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_VariableListProperty);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_VariableListProperty);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_ConfigParserProperty);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_ConfigParserProperty);
  Py_VISIT(traverse_module_state->__pyx_ptype_4kivy_10properties_ColorProperty);
  Py_VISIT(traverse_module_state->__pyx_type_4kivy_10properties_ColorProperty);
  Py_VISIT(traverse_module_state->__pyx_k__2);
  Py_VISIT(traverse_module_state->__pyx_k__3);
  for (int i=0; i<2; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_slice[i]); }
  for (int i=0; i<10; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_tuple[i]); }
  for (int i=0; i<97; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_codeobj_tab[i]); }
  for (int i=0; i<397; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_string_tab[i]); }
  for (int i=0; i<5; ++i) { __Pyx_VISIT_CONST(traverse_module_state->__pyx_number_tab[i]); }
/* #### Code section: module_state_traverse_contents ### */
/* CommonTypesMetaclass.module_state_traverse */
Py_VISIT(traverse_module_state->__pyx_CommonTypesMetaclassType);

/* CythonFunctionShared.module_state_traverse */
Py_VISIT(traverse_module_state->__pyx_CyFunctionType);

/* #### Code section: module_state_traverse_end ### */
return 0;
}
#endif
/* #### Code section: module_code ### */

/* "kivy/properties.pyx":353
 *     '''
 * 
 *     def __cinit__(self):             # <<<<<<<<<<<<<<
 *         self._name = ''
 *         self.allownone = 0
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_8Property_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_8Property_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__cinit__", 1, 0, 0, __pyx_nargs); return -1; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return -1;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__cinit__", __pyx_kwds); return -1;}
  __pyx_r = __pyx_pf_4kivy_10properties_8Property___cinit__(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self));

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

static int __pyx_pf_4kivy_10properties_8Property___cinit__(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__cinit__", 0);

  /* "kivy/properties.pyx":354
 * 
 *     def __cinit__(self):
 *         self._name = ''             # <<<<<<<<<<<<<<
 *         self.allownone = 0
 *         self.force_dispatch = 0
*/
  __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u_);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_kp_u_);
  __Pyx_GOTREF(__pyx_v_self->_name);
  __Pyx_DECREF(__pyx_v_self->_name);
  __pyx_v_self->_name = __pyx_mstate_global->__pyx_kp_u_;

  /* "kivy/properties.pyx":355
 *     def __cinit__(self):
 *         self._name = ''
 *         self.allownone = 0             # <<<<<<<<<<<<<<
 *         self.force_dispatch = 0
 *         self.defaultvalue = None
*/
  __pyx_v_self->allownone = 0;

  /* "kivy/properties.pyx":356
 *         self._name = ''
 *         self.allownone = 0
 *         self.force_dispatch = 0             # <<<<<<<<<<<<<<
 *         self.defaultvalue = None
 *         self.errorvalue = None
*/
  __pyx_v_self->force_dispatch = 0;

  /* "kivy/properties.pyx":357
 *         self.allownone = 0
 *         self.force_dispatch = 0
 *         self.defaultvalue = None             # <<<<<<<<<<<<<<
 *         self.errorvalue = None
 *         self.errorhandler = None
*/
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->defaultvalue);
  __Pyx_DECREF(__pyx_v_self->defaultvalue);
  __pyx_v_self->defaultvalue = Py_None;

  /* "kivy/properties.pyx":358
 *         self.force_dispatch = 0
 *         self.defaultvalue = None
 *         self.errorvalue = None             # <<<<<<<<<<<<<<
 *         self.errorhandler = None
 *         self.errorvalue_set = 0
*/
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->errorvalue);
  __Pyx_DECREF(__pyx_v_self->errorvalue);
  __pyx_v_self->errorvalue = Py_None;

  /* "kivy/properties.pyx":359
 *         self.defaultvalue = None
 *         self.errorvalue = None
 *         self.errorhandler = None             # <<<<<<<<<<<<<<
 *         self.errorvalue_set = 0
 *         self.comparator = None
*/
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->errorhandler);
  __Pyx_DECREF(__pyx_v_self->errorhandler);
  __pyx_v_self->errorhandler = Py_None;

  /* "kivy/properties.pyx":360
 *         self.errorvalue = None
 *         self.errorhandler = None
 *         self.errorvalue_set = 0             # <<<<<<<<<<<<<<
 *         self.comparator = None
 *         self.deprecated = 0
*/
  __pyx_v_self->errorvalue_set = 0;

  /* "kivy/properties.pyx":361
 *         self.errorhandler = None
 *         self.errorvalue_set = 0
 *         self.comparator = None             # <<<<<<<<<<<<<<
 *         self.deprecated = 0
 * 
*/
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->comparator);
  __Pyx_DECREF(__pyx_v_self->comparator);
  __pyx_v_self->comparator = Py_None;

  /* "kivy/properties.pyx":362
 *         self.errorvalue_set = 0
 *         self.comparator = None
 *         self.deprecated = 0             # <<<<<<<<<<<<<<
 * 
 *     def __init__(self, defaultvalue, **kw):
*/
  __pyx_v_self->deprecated = 0;

  /* "kivy/properties.pyx":353
 *     '''
 * 
 *     def __cinit__(self):             # <<<<<<<<<<<<<<
 *         self._name = ''
 *         self.allownone = 0
*/

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

/* "kivy/properties.pyx":364
 *         self.deprecated = 0
 * 
 *     def __init__(self, defaultvalue, **kw):             # <<<<<<<<<<<<<<
 *         self.defaultvalue = defaultvalue
 *         self.allownone = <int>kw.get('allownone', 0)
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_8Property_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_8Property_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_defaultvalue = 0;
  PyObject *__pyx_v_kw = 0;
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_v_kw = PyDict_New(); if (unlikely(!__pyx_v_kw)) return -1;
  __Pyx_GOTREF(__pyx_v_kw);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_defaultvalue,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 364, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 364, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, __pyx_v_kw, values, kwd_pos_args, __pyx_kwds_len, "__init__", 1) < (0)) __PYX_ERR(0, 364, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, i); __PYX_ERR(0, 364, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 364, __pyx_L3_error)
    }
    __pyx_v_defaultvalue = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 364, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw); __pyx_v_kw = 0;
  __Pyx_AddTraceback("kivy.properties.Property.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_2__init__(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_defaultvalue, __pyx_v_kw);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_4kivy_10properties_8Property_2__init__(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_kw) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_t_3;
  int __pyx_t_4;
  int __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  size_t __pyx_t_8;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "kivy/properties.pyx":365
 * 
 *     def __init__(self, defaultvalue, **kw):
 *         self.defaultvalue = defaultvalue             # <<<<<<<<<<<<<<
 *         self.allownone = <int>kw.get('allownone', 0)
 *         self.force_dispatch = <int>kw.get('force_dispatch', 0)
*/
  __Pyx_INCREF(__pyx_v_defaultvalue);
  __Pyx_GIVEREF(__pyx_v_defaultvalue);
  __Pyx_GOTREF(__pyx_v_self->defaultvalue);
  __Pyx_DECREF(__pyx_v_self->defaultvalue);
  __pyx_v_self->defaultvalue = __pyx_v_defaultvalue;

  /* "kivy/properties.pyx":366
 *     def __init__(self, defaultvalue, **kw):
 *         self.defaultvalue = defaultvalue
 *         self.allownone = <int>kw.get('allownone', 0)             # <<<<<<<<<<<<<<
 *         self.force_dispatch = <int>kw.get('force_dispatch', 0)
 *         self.errorvalue = kw.get('errorvalue', None)
*/
  __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_kw, __pyx_mstate_global->__pyx_n_u_allownone, __pyx_mstate_global->__pyx_int_0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 366, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyLong_As_int(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 366, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_v_self->allownone = ((int)__pyx_t_2);

  /* "kivy/properties.pyx":367
 *         self.defaultvalue = defaultvalue
 *         self.allownone = <int>kw.get('allownone', 0)
 *         self.force_dispatch = <int>kw.get('force_dispatch', 0)             # <<<<<<<<<<<<<<
 *         self.errorvalue = kw.get('errorvalue', None)
 *         self.errorhandler = kw.get('errorhandler', None)
*/
  __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_kw, __pyx_mstate_global->__pyx_n_u_force_dispatch, __pyx_mstate_global->__pyx_int_0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 367, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyLong_As_int(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 367, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_v_self->force_dispatch = ((int)__pyx_t_2);

  /* "kivy/properties.pyx":368
 *         self.allownone = <int>kw.get('allownone', 0)
 *         self.force_dispatch = <int>kw.get('force_dispatch', 0)
 *         self.errorvalue = kw.get('errorvalue', None)             # <<<<<<<<<<<<<<
 *         self.errorhandler = kw.get('errorhandler', None)
 *         self.comparator = kw.get('comparator', None)
*/
  __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_kw, __pyx_mstate_global->__pyx_n_u_errorvalue, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 368, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->errorvalue);
  __Pyx_DECREF(__pyx_v_self->errorvalue);
  __pyx_v_self->errorvalue = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":369
 *         self.force_dispatch = <int>kw.get('force_dispatch', 0)
 *         self.errorvalue = kw.get('errorvalue', None)
 *         self.errorhandler = kw.get('errorhandler', None)             # <<<<<<<<<<<<<<
 *         self.comparator = kw.get('comparator', None)
 *         self.deprecated = <int>kw.get('deprecated', 0)
*/
  __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_kw, __pyx_mstate_global->__pyx_n_u_errorhandler, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 369, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->errorhandler);
  __Pyx_DECREF(__pyx_v_self->errorhandler);
  __pyx_v_self->errorhandler = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":370
 *         self.errorvalue = kw.get('errorvalue', None)
 *         self.errorhandler = kw.get('errorhandler', None)
 *         self.comparator = kw.get('comparator', None)             # <<<<<<<<<<<<<<
 *         self.deprecated = <int>kw.get('deprecated', 0)
 * 
*/
  __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_kw, __pyx_mstate_global->__pyx_n_u_comparator, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 370, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->comparator);
  __Pyx_DECREF(__pyx_v_self->comparator);
  __pyx_v_self->comparator = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":371
 *         self.errorhandler = kw.get('errorhandler', None)
 *         self.comparator = kw.get('comparator', None)
 *         self.deprecated = <int>kw.get('deprecated', 0)             # <<<<<<<<<<<<<<
 * 
 *         if 'errorvalue' in kw:
*/
  __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_kw, __pyx_mstate_global->__pyx_n_u_deprecated, __pyx_mstate_global->__pyx_int_0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 371, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyLong_As_int(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 371, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_v_self->deprecated = ((int)__pyx_t_2);

  /* "kivy/properties.pyx":373
 *         self.deprecated = <int>kw.get('deprecated', 0)
 * 
 *         if 'errorvalue' in kw:             # <<<<<<<<<<<<<<
 *             self.errorvalue_set = 1
 * 
*/
  __pyx_t_3 = (__Pyx_PyDict_ContainsTF(__pyx_mstate_global->__pyx_n_u_errorvalue, __pyx_v_kw, Py_EQ)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 373, __pyx_L1_error)
  if (__pyx_t_3) {

    /* "kivy/properties.pyx":374
 * 
 *         if 'errorvalue' in kw:
 *             self.errorvalue_set = 1             # <<<<<<<<<<<<<<
 * 
 *         if 'errorhandler' in kw and not callable(self.errorhandler):
*/
    __pyx_v_self->errorvalue_set = 1;

    /* "kivy/properties.pyx":373
 *         self.deprecated = <int>kw.get('deprecated', 0)
 * 
 *         if 'errorvalue' in kw:             # <<<<<<<<<<<<<<
 *             self.errorvalue_set = 1
 * 
*/
  }

  /* "kivy/properties.pyx":376
 *             self.errorvalue_set = 1
 * 
 *         if 'errorhandler' in kw and not callable(self.errorhandler):             # <<<<<<<<<<<<<<
 *             raise ValueError('errorhandler %s not callable' % self.errorhandler)
 * 
*/
  __pyx_t_4 = (__Pyx_PyDict_ContainsTF(__pyx_mstate_global->__pyx_n_u_errorhandler, __pyx_v_kw, Py_EQ)); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 376, __pyx_L1_error)
  if (__pyx_t_4) {
  } else {
    __pyx_t_3 = __pyx_t_4;
    goto __pyx_L5_bool_binop_done;
  }
  __pyx_t_1 = __pyx_v_self->errorhandler;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_t_4 = __Pyx_PyCallable_Check(__pyx_t_1); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(0, 376, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_5 = (!__pyx_t_4);
  __pyx_t_3 = __pyx_t_5;
  __pyx_L5_bool_binop_done:;
  if (unlikely(__pyx_t_3)) {

    /* "kivy/properties.pyx":377
 * 
 *         if 'errorhandler' in kw and not callable(self.errorhandler):
 *             raise ValueError('errorhandler %s not callable' % self.errorhandler)             # <<<<<<<<<<<<<<
 * 
 *     @property
*/
    __pyx_t_6 = NULL;
    __pyx_t_7 = __Pyx_PyUnicode_FormatSafe(__pyx_mstate_global->__pyx_kp_u_errorhandler_s_not_callable, __pyx_v_self->errorhandler); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 377, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_7);
    __pyx_t_8 = 1;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_6, __pyx_t_7};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (__pyx_t_8*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 377, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_Raise(__pyx_t_1, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __PYX_ERR(0, 377, __pyx_L1_error)

    /* "kivy/properties.pyx":376
 *             self.errorvalue_set = 1
 * 
 *         if 'errorhandler' in kw and not callable(self.errorhandler):             # <<<<<<<<<<<<<<
 *             raise ValueError('errorhandler %s not callable' % self.errorhandler)
 * 
*/
  }

  /* "kivy/properties.pyx":364
 *         self.deprecated = 0
 * 
 *     def __init__(self, defaultvalue, **kw):             # <<<<<<<<<<<<<<
 *         self.defaultvalue = defaultvalue
 *         self.allownone = <int>kw.get('allownone', 0)
*/

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_AddTraceback("kivy.properties.Property.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":379
 *             raise ValueError('errorhandler %s not callable' % self.errorhandler)
 * 
 *     @property             # <<<<<<<<<<<<<<
 *     def name(self):
 *         return self._name
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_4name_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_4kivy_10properties_8Property_4name_1__get__(PyObject *__pyx_v_self) {
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_4name___get__(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_8Property_4name___get__(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__", 0);

  /* "kivy/properties.pyx":381
 *     @property
 *     def name(self):
 *         return self._name             # <<<<<<<<<<<<<<
 * 
 *     def __repr__(self):
*/
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_self->_name);
  __pyx_r = __pyx_v_self->_name;
  goto __pyx_L0;

  /* "kivy/properties.pyx":379
 *             raise ValueError('errorhandler %s not callable' % self.errorhandler)
 * 
 *     @property             # <<<<<<<<<<<<<<
 *     def name(self):
 *         return self._name
*/

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

/* "kivy/properties.pyx":383
 *         return self._name
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return '<{} name={}>'.format(self.__class__.__name__, self._name)
 * 
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_5__repr__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_4kivy_10properties_8Property_5__repr__(PyObject *__pyx_v_self) {
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__repr__ (wrapper)", 0);
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_4__repr__(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_8Property_4__repr__(struct __pyx_obj_4kivy_10properties_Property *__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;
  size_t __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__repr__", 0);

  /* "kivy/properties.pyx":384
 * 
 *     def __repr__(self):
 *         return '<{} name={}>'.format(self.__class__.__name__, self._name)             # <<<<<<<<<<<<<<
 * 
 *     def __str__(self):
*/
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_2 = __pyx_mstate_global->__pyx_kp_u_name;
  __Pyx_INCREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 384, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 384, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_5 = 0;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_t_4, __pyx_v_self->_name};
    __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_format, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 384, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "kivy/properties.pyx":383
 *         return self._name
 * 
 *     def __repr__(self):             # <<<<<<<<<<<<<<
 *         return '<{} name={}>'.format(self.__class__.__name__, self._name)
 * 
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("kivy.properties.Property.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":386
 *         return '<{} name={}>'.format(self.__class__.__name__, self._name)
 * 
 *     def __str__(self):             # <<<<<<<<<<<<<<
 *         return '<{} name={}>'.format(self.__class__.__name__, self._name)
 * 
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_7__str__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_4kivy_10properties_8Property_7__str__(PyObject *__pyx_v_self) {
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__str__ (wrapper)", 0);
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_6__str__(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_8Property_6__str__(struct __pyx_obj_4kivy_10properties_Property *__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;
  size_t __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__str__", 0);

  /* "kivy/properties.pyx":387
 * 
 *     def __str__(self):
 *         return '<{} name={}>'.format(self.__class__.__name__, self._name)             # <<<<<<<<<<<<<<
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):
*/
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_2 = __pyx_mstate_global->__pyx_kp_u_name;
  __Pyx_INCREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 387, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 387, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_5 = 0;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_t_4, __pyx_v_self->_name};
    __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_format, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 387, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "kivy/properties.pyx":386
 *         return '<{} name={}>'.format(self.__class__.__name__, self._name)
 * 
 *     def __str__(self):             # <<<<<<<<<<<<<<
 *         return '<{} name={}>'.format(self.__class__.__name__, self._name)
 * 
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("kivy.properties.Property.__str__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":389
 *         return '<{} name={}>'.format(self.__class__.__name__, self._name)
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):             # <<<<<<<<<<<<<<
 *         storage.value = self.convert(obj, self.defaultvalue, storage)
 *         storage.observers = EventObservers.__new__(EventObservers)
*/

static PyObject *__pyx_f_4kivy_10properties_8Property_init_storage(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_storage) {
  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("init_storage", 0);

  /* "kivy/properties.pyx":390
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):
 *         storage.value = self.convert(obj, self.defaultvalue, storage)             # <<<<<<<<<<<<<<
 *         storage.observers = EventObservers.__new__(EventObservers)
 *         storage.property_obj = self
*/
  __pyx_t_1 = __pyx_v_self->defaultvalue;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_t_2 = ((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_self->__pyx_vtab)->convert(__pyx_v_self, __pyx_v_obj, __pyx_t_1, __pyx_v_storage); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 390, __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_storage->value);
  __Pyx_DECREF(__pyx_v_storage->value);
  __pyx_v_storage->value = __pyx_t_2;
  __pyx_t_2 = 0;

  /* "kivy/properties.pyx":391
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):
 *         storage.value = self.convert(obj, self.defaultvalue, storage)
 *         storage.observers = EventObservers.__new__(EventObservers)             # <<<<<<<<<<<<<<
 *         storage.property_obj = self
 * 
*/
  __pyx_t_2 = __Pyx_tp_new(((PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventObservers), __pyx_mstate_global->__pyx_empty_tuple); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 391, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  if (!(likely(__Pyx_TypeTest(__pyx_t_2, __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventObservers)))) __PYX_ERR(0, 391, __pyx_L1_error)
  __Pyx_GIVEREF(__pyx_t_2);
  __Pyx_GOTREF((PyObject *)__pyx_v_storage->observers);
  __Pyx_DECREF((PyObject *)__pyx_v_storage->observers);
  __pyx_v_storage->observers = ((struct __pyx_obj_4kivy_6_event_EventObservers *)__pyx_t_2);
  __pyx_t_2 = 0;

  /* "kivy/properties.pyx":392
 *         storage.value = self.convert(obj, self.defaultvalue, storage)
 *         storage.observers = EventObservers.__new__(EventObservers)
 *         storage.property_obj = self             # <<<<<<<<<<<<<<
 * 
 *     cdef PropertyStorage create_property_storage(self):
*/
  __Pyx_INCREF((PyObject *)__pyx_v_self);
  __Pyx_GIVEREF((PyObject *)__pyx_v_self);
  __Pyx_GOTREF((PyObject *)__pyx_v_storage->property_obj);
  __Pyx_DECREF((PyObject *)__pyx_v_storage->property_obj);
  __pyx_v_storage->property_obj = __pyx_v_self;

  /* "kivy/properties.pyx":389
 *         return '<{} name={}>'.format(self.__class__.__name__, self._name)
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):             # <<<<<<<<<<<<<<
 *         storage.value = self.convert(obj, self.defaultvalue, storage)
 *         storage.observers = EventObservers.__new__(EventObservers)
*/

  /* 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("kivy.properties.Property.init_storage", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":394
 *         storage.property_obj = self
 * 
 *     cdef PropertyStorage create_property_storage(self):             # <<<<<<<<<<<<<<
 *         """Returns a new property storage used by this property."""
 *         return PropertyStorage.__new__(PropertyStorage)
*/

static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_8Property_create_property_storage(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__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("create_property_storage", 0);

  /* "kivy/properties.pyx":396
 *     cdef PropertyStorage create_property_storage(self):
 *         """Returns a new property storage used by this property."""
 *         return PropertyStorage.__new__(PropertyStorage)             # <<<<<<<<<<<<<<
 * 
 *     cdef PropertyStorage get_property_storage(self, EventDispatcher obj):
*/
  __Pyx_XDECREF((PyObject *)__pyx_r);
  __pyx_t_1 = ((PyObject *)__pyx_tp_new_4kivy_10properties_PropertyStorage(((PyTypeObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage), __pyx_mstate_global->__pyx_empty_tuple, NULL)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 396, __pyx_L1_error)
  __Pyx_GOTREF((PyObject *)__pyx_t_1);
  __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "kivy/properties.pyx":394
 *         storage.property_obj = self
 * 
 *     cdef PropertyStorage create_property_storage(self):             # <<<<<<<<<<<<<<
 *         """Returns a new property storage used by this property."""
 *         return PropertyStorage.__new__(PropertyStorage)
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.Property.create_property_storage", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":398
 *         return PropertyStorage.__new__(PropertyStorage)
 * 
 *     cdef PropertyStorage get_property_storage(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         cdef PropertyStorage ps = obj.__storage.get(self._name)
 *         if ps is None:
*/

static CYTHON_INLINE struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_8Property_get_property_storage(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps = 0;
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get_property_storage", 0);

  /* "kivy/properties.pyx":399
 * 
 *     cdef PropertyStorage get_property_storage(self, EventDispatcher obj):
 *         cdef PropertyStorage ps = obj.__storage.get(self._name)             # <<<<<<<<<<<<<<
 *         if ps is None:
 *             self.link(obj, self._name)
*/
  if (unlikely(__pyx_v_obj->_EventDispatcher__storage == Py_None)) {
    PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "get");
    __PYX_ERR(0, 399, __pyx_L1_error)
  }
  __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_obj->_EventDispatcher__storage, __pyx_v_self->_name, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 399, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage))))) __PYX_ERR(0, 399, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":400
 *     cdef PropertyStorage get_property_storage(self, EventDispatcher obj):
 *         cdef PropertyStorage ps = obj.__storage.get(self._name)
 *         if ps is None:             # <<<<<<<<<<<<<<
 *             self.link(obj, self._name)
 *             self.link_deps(obj, self._name)
*/
  __pyx_t_2 = (((PyObject *)__pyx_v_ps) == Py_None);
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":401
 *         cdef PropertyStorage ps = obj.__storage.get(self._name)
 *         if ps is None:
 *             self.link(obj, self._name)             # <<<<<<<<<<<<<<
 *             self.link_deps(obj, self._name)
 *             ps = obj.__storage[self._name]
*/
    __pyx_t_1 = __pyx_v_self->_name;
    __Pyx_INCREF(__pyx_t_1);
    __pyx_t_3 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_self->__pyx_vtab)->link(__pyx_v_self, __pyx_v_obj, ((PyObject*)__pyx_t_1), 0)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 401, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

    /* "kivy/properties.pyx":402
 *         if ps is None:
 *             self.link(obj, self._name)
 *             self.link_deps(obj, self._name)             # <<<<<<<<<<<<<<
 *             ps = obj.__storage[self._name]
 *         return ps
*/
    __pyx_t_3 = __pyx_v_self->_name;
    __Pyx_INCREF(__pyx_t_3);
    __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_self->__pyx_vtab)->link_deps(__pyx_v_self, __pyx_v_obj, ((PyObject*)__pyx_t_3), 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 402, __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;

    /* "kivy/properties.pyx":403
 *             self.link(obj, self._name)
 *             self.link_deps(obj, self._name)
 *             ps = obj.__storage[self._name]             # <<<<<<<<<<<<<<
 *         return ps
 * 
*/
    if (unlikely(__pyx_v_obj->_EventDispatcher__storage == Py_None)) {
      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
      __PYX_ERR(0, 403, __pyx_L1_error)
    }
    __pyx_t_1 = __Pyx_PyDict_GetItem(__pyx_v_obj->_EventDispatcher__storage, __pyx_v_self->_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 403, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage))))) __PYX_ERR(0, 403, __pyx_L1_error)
    __Pyx_DECREF_SET(__pyx_v_ps, ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1));
    __pyx_t_1 = 0;

    /* "kivy/properties.pyx":400
 *     cdef PropertyStorage get_property_storage(self, EventDispatcher obj):
 *         cdef PropertyStorage ps = obj.__storage.get(self._name)
 *         if ps is None:             # <<<<<<<<<<<<<<
 *             self.link(obj, self._name)
 *             self.link_deps(obj, self._name)
*/
  }

  /* "kivy/properties.pyx":404
 *             self.link_deps(obj, self._name)
 *             ps = obj.__storage[self._name]
 *         return ps             # <<<<<<<<<<<<<<
 * 
 *     def __set_name__(self, owner, name):
*/
  __Pyx_XDECREF((PyObject *)__pyx_r);
  __Pyx_INCREF((PyObject *)__pyx_v_ps);
  __pyx_r = __pyx_v_ps;
  goto __pyx_L0;

  /* "kivy/properties.pyx":398
 *         return PropertyStorage.__new__(PropertyStorage)
 * 
 *     cdef PropertyStorage get_property_storage(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         cdef PropertyStorage ps = obj.__storage.get(self._name)
 *         if ps is None:
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("kivy.properties.Property.get_property_storage", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":406
 *         return ps
 * 
 *     def __set_name__(self, owner, name):             # <<<<<<<<<<<<<<
 *         if name == 'touch_down' or name == 'touch_move' or name == 'touch_up':
 *             raise Exception('The property <%s> has a forbidden name' % name)
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_9__set_name__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_8Property_8__set_name__, "Property.__set_name__(self, owner, name)");
static PyMethodDef __pyx_mdef_4kivy_10properties_8Property_9__set_name__ = {"__set_name__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_8Property_9__set_name__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_8Property_8__set_name__};
static PyObject *__pyx_pw_4kivy_10properties_8Property_9__set_name__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_owner = 0;
  PyObject *__pyx_v_name = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set_name__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_owner,&__pyx_mstate_global->__pyx_n_u_name_3,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 406, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 406, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 406, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__set_name__", 0) < (0)) __PYX_ERR(0, 406, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__set_name__", 1, 2, 2, i); __PYX_ERR(0, 406, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 406, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 406, __pyx_L3_error)
    }
    __pyx_v_owner = values[0];
    __pyx_v_name = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__set_name__", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 406, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.Property.__set_name__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_8__set_name__(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_owner, __pyx_v_name);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_8Property_8__set_name__(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, PyObject *__pyx_v_owner, PyObject *__pyx_v_name) {
  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;
  size_t __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set_name__", 0);

  /* "kivy/properties.pyx":407
 * 
 *     def __set_name__(self, owner, name):
 *         if name == 'touch_down' or name == 'touch_move' or name == 'touch_up':             # <<<<<<<<<<<<<<
 *             raise Exception('The property <%s> has a forbidden name' % name)
 * 
*/
  __pyx_t_2 = (__Pyx_PyUnicode_Equals(__pyx_v_name, __pyx_mstate_global->__pyx_n_u_touch_down, Py_EQ)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 407, __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_name, __pyx_mstate_global->__pyx_n_u_touch_move, Py_EQ)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 407, __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_name, __pyx_mstate_global->__pyx_n_u_touch_up, Py_EQ)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 407, __pyx_L1_error)
  __pyx_t_1 = __pyx_t_2;
  __pyx_L4_bool_binop_done:;
  if (unlikely(__pyx_t_1)) {

    /* "kivy/properties.pyx":408
 *     def __set_name__(self, owner, name):
 *         if name == 'touch_down' or name == 'touch_move' or name == 'touch_up':
 *             raise Exception('The property <%s> has a forbidden name' % name)             # <<<<<<<<<<<<<<
 * 
 *         if owner not in cache_properties_per_cls:
*/
    __pyx_t_4 = NULL;
    __pyx_t_5 = __Pyx_PyUnicode_FormatSafe(__pyx_mstate_global->__pyx_kp_u_The_property_s_has_a_forbidden_n, __pyx_v_name); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 408, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __pyx_t_6 = 1;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_5};
      __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_Exception)), __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 408, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_3);
    }
    __Pyx_Raise(__pyx_t_3, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __PYX_ERR(0, 408, __pyx_L1_error)

    /* "kivy/properties.pyx":407
 * 
 *     def __set_name__(self, owner, name):
 *         if name == 'touch_down' or name == 'touch_move' or name == 'touch_up':             # <<<<<<<<<<<<<<
 *             raise Exception('The property <%s> has a forbidden name' % name)
 * 
*/
  }

  /* "kivy/properties.pyx":410
 *             raise Exception('The property <%s> has a forbidden name' % name)
 * 
 *         if owner not in cache_properties_per_cls:             # <<<<<<<<<<<<<<
 *             cache_properties_per_cls[owner] = {}
 *         cache_properties_per_cls[owner][name] = self
*/
  if (unlikely(__pyx_v_4kivy_6_event_cache_properties_per_cls == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
    __PYX_ERR(0, 410, __pyx_L1_error)
  }
  __pyx_t_1 = (__Pyx_PyDict_ContainsTF(__pyx_v_owner, __pyx_v_4kivy_6_event_cache_properties_per_cls, Py_NE)); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 410, __pyx_L1_error)
  if (__pyx_t_1) {

    /* "kivy/properties.pyx":411
 * 
 *         if owner not in cache_properties_per_cls:
 *             cache_properties_per_cls[owner] = {}             # <<<<<<<<<<<<<<
 *         cache_properties_per_cls[owner][name] = self
 *         self._name = name
*/
    __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 411, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    if (unlikely(__pyx_v_4kivy_6_event_cache_properties_per_cls == Py_None)) {
      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
      __PYX_ERR(0, 411, __pyx_L1_error)
    }
    if (unlikely((PyDict_SetItem(__pyx_v_4kivy_6_event_cache_properties_per_cls, __pyx_v_owner, __pyx_t_3) < 0))) __PYX_ERR(0, 411, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

    /* "kivy/properties.pyx":410
 *             raise Exception('The property <%s> has a forbidden name' % name)
 * 
 *         if owner not in cache_properties_per_cls:             # <<<<<<<<<<<<<<
 *             cache_properties_per_cls[owner] = {}
 *         cache_properties_per_cls[owner][name] = self
*/
  }

  /* "kivy/properties.pyx":412
 *         if owner not in cache_properties_per_cls:
 *             cache_properties_per_cls[owner] = {}
 *         cache_properties_per_cls[owner][name] = self             # <<<<<<<<<<<<<<
 *         self._name = name
 * 
*/
  if (unlikely(__pyx_v_4kivy_6_event_cache_properties_per_cls == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
    __PYX_ERR(0, 412, __pyx_L1_error)
  }
  __pyx_t_3 = __Pyx_PyDict_GetItem(__pyx_v_4kivy_6_event_cache_properties_per_cls, __pyx_v_owner); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 412, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  if (unlikely((PyObject_SetItem(__pyx_t_3, __pyx_v_name, ((PyObject *)__pyx_v_self)) < 0))) __PYX_ERR(0, 412, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "kivy/properties.pyx":413
 *             cache_properties_per_cls[owner] = {}
 *         cache_properties_per_cls[owner][name] = self
 *         self._name = name             # <<<<<<<<<<<<<<
 * 
 *     cpdef set_name(self, EventDispatcher obj, str name):
*/
  __pyx_t_3 = __pyx_v_name;
  __Pyx_INCREF(__pyx_t_3);
  if (!(likely(PyUnicode_CheckExact(__pyx_t_3))||((__pyx_t_3) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_3))) __PYX_ERR(0, 413, __pyx_L1_error)
  __Pyx_GIVEREF(__pyx_t_3);
  __Pyx_GOTREF(__pyx_v_self->_name);
  __Pyx_DECREF(__pyx_v_self->_name);
  __pyx_v_self->_name = ((PyObject*)__pyx_t_3);
  __pyx_t_3 = 0;

  /* "kivy/properties.pyx":406
 *         return ps
 * 
 *     def __set_name__(self, owner, name):             # <<<<<<<<<<<<<<
 *         if name == 'touch_down' or name == 'touch_move' or name == 'touch_up':
 *             raise Exception('The property <%s> has a forbidden name' % name)
*/

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_AddTraceback("kivy.properties.Property.__set_name__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":415
 *         self._name = name
 * 
 *     cpdef set_name(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         cdef PropertyStorage d
 *         # if for some reason we previously associated this prop with this
*/

static PyObject *__pyx_pw_4kivy_10properties_8Property_11set_name(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_set_name(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_d = 0;
  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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  int __pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("set_name", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_set_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 415, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_8Property_11set_name)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_name};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 415, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":420
 *         # object, but now we are renaming the prop (why?), re-use the old storage
 *         # and leave it for both old and new name
 *         if self._name and name != self._name:             # <<<<<<<<<<<<<<
 *             d = obj.__storage.get(self._name, None)
 *             if d is not None and d.property_obj is self:
*/
  if (__pyx_v_self->_name == Py_None) __pyx_t_7 = 0;
  else
  {
    Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_self->_name);
    if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 420, __pyx_L1_error)
    __pyx_t_7 = (__pyx_temp != 0);
  }

  if (__pyx_t_7) {
  } else {
    __pyx_t_6 = __pyx_t_7;
    goto __pyx_L4_bool_binop_done;
  }
  __pyx_t_7 = (__Pyx_PyUnicode_Equals(__pyx_v_name, __pyx_v_self->_name, Py_NE)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 420, __pyx_L1_error)
  __pyx_t_6 = __pyx_t_7;
  __pyx_L4_bool_binop_done:;
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":421
 *         # and leave it for both old and new name
 *         if self._name and name != self._name:
 *             d = obj.__storage.get(self._name, None)             # <<<<<<<<<<<<<<
 *             if d is not None and d.property_obj is self:
 *                 obj.__storage[name] = d
*/
    if (unlikely(__pyx_v_obj->_EventDispatcher__storage == Py_None)) {
      PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "get");
      __PYX_ERR(0, 421, __pyx_L1_error)
    }
    __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_obj->_EventDispatcher__storage, __pyx_v_self->_name, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 421, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage))))) __PYX_ERR(0, 421, __pyx_L1_error)
    __pyx_v_d = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
    __pyx_t_1 = 0;

    /* "kivy/properties.pyx":422
 *         if self._name and name != self._name:
 *             d = obj.__storage.get(self._name, None)
 *             if d is not None and d.property_obj is self:             # <<<<<<<<<<<<<<
 *                 obj.__storage[name] = d
 *             else:
*/
    __pyx_t_7 = (((PyObject *)__pyx_v_d) != Py_None);
    if (__pyx_t_7) {
    } else {
      __pyx_t_6 = __pyx_t_7;
      goto __pyx_L7_bool_binop_done;
    }
    __pyx_t_7 = (__pyx_v_d->property_obj == __pyx_v_self);
    __pyx_t_6 = __pyx_t_7;
    __pyx_L7_bool_binop_done:;
    if (__pyx_t_6) {

      /* "kivy/properties.pyx":423
 *             d = obj.__storage.get(self._name, None)
 *             if d is not None and d.property_obj is self:
 *                 obj.__storage[name] = d             # <<<<<<<<<<<<<<
 *             else:
 *                 obj.__storage[name] = None
*/
      if (unlikely(__pyx_v_obj->_EventDispatcher__storage == Py_None)) {
        PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
        __PYX_ERR(0, 423, __pyx_L1_error)
      }
      if (unlikely((PyDict_SetItem(__pyx_v_obj->_EventDispatcher__storage, __pyx_v_name, ((PyObject *)__pyx_v_d)) < 0))) __PYX_ERR(0, 423, __pyx_L1_error)

      /* "kivy/properties.pyx":422
 *         if self._name and name != self._name:
 *             d = obj.__storage.get(self._name, None)
 *             if d is not None and d.property_obj is self:             # <<<<<<<<<<<<<<
 *                 obj.__storage[name] = d
 *             else:
*/
      goto __pyx_L6;
    }

    /* "kivy/properties.pyx":425
 *                 obj.__storage[name] = d
 *             else:
 *                 obj.__storage[name] = None             # <<<<<<<<<<<<<<
 *         elif not self._name:
 *             # there was another prop using the storage
*/
    /*else*/ {
      if (unlikely(__pyx_v_obj->_EventDispatcher__storage == Py_None)) {
        PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
        __PYX_ERR(0, 425, __pyx_L1_error)
      }
      if (unlikely((PyDict_SetItem(__pyx_v_obj->_EventDispatcher__storage, __pyx_v_name, Py_None) < 0))) __PYX_ERR(0, 425, __pyx_L1_error)
    }
    __pyx_L6:;

    /* "kivy/properties.pyx":420
 *         # object, but now we are renaming the prop (why?), re-use the old storage
 *         # and leave it for both old and new name
 *         if self._name and name != self._name:             # <<<<<<<<<<<<<<
 *             d = obj.__storage.get(self._name, None)
 *             if d is not None and d.property_obj is self:
*/
    goto __pyx_L3;
  }

  /* "kivy/properties.pyx":426
 *             else:
 *                 obj.__storage[name] = None
 *         elif not self._name:             # <<<<<<<<<<<<<<
 *             # there was another prop using the storage
 *             obj.__storage[name] = None
*/
  if (__pyx_v_self->_name == Py_None) __pyx_t_6 = 0;
  else
  {
    Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_self->_name);
    if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 426, __pyx_L1_error)
    __pyx_t_6 = (__pyx_temp != 0);
  }

  __pyx_t_7 = (!__pyx_t_6);
  if (__pyx_t_7) {

    /* "kivy/properties.pyx":428
 *         elif not self._name:
 *             # there was another prop using the storage
 *             obj.__storage[name] = None             # <<<<<<<<<<<<<<
 *         elif name not in obj.__storage:
 *             # if it was already there, leave it
*/
    if (unlikely(__pyx_v_obj->_EventDispatcher__storage == Py_None)) {
      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
      __PYX_ERR(0, 428, __pyx_L1_error)
    }
    if (unlikely((PyDict_SetItem(__pyx_v_obj->_EventDispatcher__storage, __pyx_v_name, Py_None) < 0))) __PYX_ERR(0, 428, __pyx_L1_error)

    /* "kivy/properties.pyx":426
 *             else:
 *                 obj.__storage[name] = None
 *         elif not self._name:             # <<<<<<<<<<<<<<
 *             # there was another prop using the storage
 *             obj.__storage[name] = None
*/
    goto __pyx_L3;
  }

  /* "kivy/properties.pyx":429
 *             # there was another prop using the storage
 *             obj.__storage[name] = None
 *         elif name not in obj.__storage:             # <<<<<<<<<<<<<<
 *             # if it was already there, leave it
 *             obj.__storage[name] = None
*/
  if (unlikely(__pyx_v_obj->_EventDispatcher__storage == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
    __PYX_ERR(0, 429, __pyx_L1_error)
  }
  __pyx_t_7 = (__Pyx_PyDict_ContainsTF(__pyx_v_name, __pyx_v_obj->_EventDispatcher__storage, Py_NE)); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 429, __pyx_L1_error)
  if (__pyx_t_7) {

    /* "kivy/properties.pyx":431
 *         elif name not in obj.__storage:
 *             # if it was already there, leave it
 *             obj.__storage[name] = None             # <<<<<<<<<<<<<<
 * 
 *         self.__set_name__(obj.__class__, name)
*/
    if (unlikely(__pyx_v_obj->_EventDispatcher__storage == Py_None)) {
      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
      __PYX_ERR(0, 431, __pyx_L1_error)
    }
    if (unlikely((PyDict_SetItem(__pyx_v_obj->_EventDispatcher__storage, __pyx_v_name, Py_None) < 0))) __PYX_ERR(0, 431, __pyx_L1_error)

    /* "kivy/properties.pyx":429
 *             # there was another prop using the storage
 *             obj.__storage[name] = None
 *         elif name not in obj.__storage:             # <<<<<<<<<<<<<<
 *             # if it was already there, leave it
 *             obj.__storage[name] = None
*/
  }
  __pyx_L3:;

  /* "kivy/properties.pyx":433
 *             obj.__storage[name] = None
 * 
 *         self.__set_name__(obj.__class__, name)             # <<<<<<<<<<<<<<
 * 
 *     cpdef PropertyStorage link_eagerly(self, EventDispatcher obj):
*/
  __pyx_t_2 = ((PyObject *)__pyx_v_self);
  __Pyx_INCREF(__pyx_t_2);
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 433, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_5 = 0;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_t_4, __pyx_v_name};
    __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_set_name_2, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    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;

  /* "kivy/properties.pyx":415
 *         self._name = name
 * 
 *     cpdef set_name(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         cdef PropertyStorage d
 *         # if for some reason we previously associated this prop with this
*/

  /* 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("kivy.properties.Property.set_name", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_d);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_11set_name(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_8Property_10set_name, "Property.set_name(self, EventDispatcher obj, str name)");
static PyMethodDef __pyx_mdef_4kivy_10properties_8Property_11set_name = {"set_name", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_8Property_11set_name, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_8Property_10set_name};
static PyObject *__pyx_pw_4kivy_10properties_8Property_11set_name(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_name = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("set_name (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_name_3,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 415, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 415, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 415, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "set_name", 0) < (0)) __PYX_ERR(0, 415, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("set_name", 1, 2, 2, i); __PYX_ERR(0, 415, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 415, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 415, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_name = ((PyObject*)values[1]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("set_name", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 415, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.Property.set_name", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 415, __pyx_L1_error)
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_name), (&PyUnicode_Type), 1, "name", 1))) __PYX_ERR(0, 415, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_10set_name(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_name);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_8Property_10set_name(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, 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("set_name", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_set_name(__pyx_v_self, __pyx_v_obj, __pyx_v_name, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 415, __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("kivy.properties.Property.set_name", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":435
 *         self.__set_name__(obj.__class__, name)
 * 
 *     cpdef PropertyStorage link_eagerly(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         return None
 * 
*/

static PyObject *__pyx_pw_4kivy_10properties_8Property_13link_eagerly(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_8Property_link_eagerly(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__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;
  size_t __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("link_eagerly", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_link_eagerly); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 435, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_8Property_13link_eagerly)) {
        __Pyx_XDECREF((PyObject *)__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[2] = {__pyx_t_3, ((PyObject *)__pyx_v_obj)};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 435, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage))))) __PYX_ERR(0, 435, __pyx_L1_error)
        __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_2);
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":436
 * 
 *     cpdef PropertyStorage link_eagerly(self, EventDispatcher obj):
 *         return None             # <<<<<<<<<<<<<<
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):
*/
  __Pyx_XDECREF((PyObject *)__pyx_r);
  __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)Py_None); __Pyx_INCREF(Py_None);
  goto __pyx_L0;

  /* "kivy/properties.pyx":435
 *         self.__set_name__(obj.__class__, name)
 * 
 *     cpdef PropertyStorage link_eagerly(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         return None
 * 
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("kivy.properties.Property.link_eagerly", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_13link_eagerly(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_8Property_12link_eagerly, "Property.link_eagerly(self, EventDispatcher obj) -> PropertyStorage");
static PyMethodDef __pyx_mdef_4kivy_10properties_8Property_13link_eagerly = {"link_eagerly", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_8Property_13link_eagerly, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_8Property_12link_eagerly};
static PyObject *__pyx_pw_4kivy_10properties_8Property_13link_eagerly(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("link_eagerly (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 435, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 435, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "link_eagerly", 0) < (0)) __PYX_ERR(0, 435, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("link_eagerly", 1, 1, 1, i); __PYX_ERR(0, 435, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 435, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("link_eagerly", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 435, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.Property.link_eagerly", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 435, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_12link_eagerly(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_8Property_12link_eagerly(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj) {
  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("link_eagerly", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_8Property_link_eagerly(__pyx_v_self, __pyx_v_obj, 1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 435, __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("kivy.properties.Property.link_eagerly", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":438
 *         return None
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         '''Link the instance with its real name.
 * 
*/

static PyObject *__pyx_pw_4kivy_10properties_8Property_15link(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_8Property_link(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_d = 0;
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  int __pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("link", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_link); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 438, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_8Property_15link)) {
        __Pyx_XDECREF((PyObject *)__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_name};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 438, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage))))) __PYX_ERR(0, 438, __pyx_L1_error)
        __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_2);
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":458
 *         '''
 *         cdef PropertyStorage d
 *         if not self._name:             # <<<<<<<<<<<<<<
 *             # support old API that didn't have set_name
 *             self.set_name(obj, name)
*/
  if (__pyx_v_self->_name == Py_None) __pyx_t_6 = 0;
  else
  {
    Py_ssize_t __pyx_temp = __Pyx_PyUnicode_IS_TRUE(__pyx_v_self->_name);
    if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 458, __pyx_L1_error)
    __pyx_t_6 = (__pyx_temp != 0);
  }

  __pyx_t_7 = (!__pyx_t_6);
  if (__pyx_t_7) {

    /* "kivy/properties.pyx":460
 *         if not self._name:
 *             # support old API that didn't have set_name
 *             self.set_name(obj, name)             # <<<<<<<<<<<<<<
 * 
 *         d = obj.__storage.get(name)
*/
    __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_self->__pyx_vtab)->set_name(__pyx_v_self, __pyx_v_obj, __pyx_v_name, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 460, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "kivy/properties.pyx":458
 *         '''
 *         cdef PropertyStorage d
 *         if not self._name:             # <<<<<<<<<<<<<<
 *             # support old API that didn't have set_name
 *             self.set_name(obj, name)
*/
  }

  /* "kivy/properties.pyx":462
 *             self.set_name(obj, name)
 * 
 *         d = obj.__storage.get(name)             # <<<<<<<<<<<<<<
 *         # if we already have an object for this prop, don't create it again
 *         if d is not None:
*/
  if (unlikely(__pyx_v_obj->_EventDispatcher__storage == Py_None)) {
    PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "get");
    __PYX_ERR(0, 462, __pyx_L1_error)
  }
  __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_obj->_EventDispatcher__storage, __pyx_v_name, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 462, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage))))) __PYX_ERR(0, 462, __pyx_L1_error)
  __pyx_v_d = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":464
 *         d = obj.__storage.get(name)
 *         # if we already have an object for this prop, don't create it again
 *         if d is not None:             # <<<<<<<<<<<<<<
 *             return d
 * 
*/
  __pyx_t_7 = (((PyObject *)__pyx_v_d) != Py_None);
  if (__pyx_t_7) {

    /* "kivy/properties.pyx":465
 *         # if we already have an object for this prop, don't create it again
 *         if d is not None:
 *             return d             # <<<<<<<<<<<<<<
 * 
 *         d = self.create_property_storage()
*/
    __Pyx_XDECREF((PyObject *)__pyx_r);
    __Pyx_INCREF((PyObject *)__pyx_v_d);
    __pyx_r = __pyx_v_d;
    goto __pyx_L0;

    /* "kivy/properties.pyx":464
 *         d = obj.__storage.get(name)
 *         # if we already have an object for this prop, don't create it again
 *         if d is not None:             # <<<<<<<<<<<<<<
 *             return d
 * 
*/
  }

  /* "kivy/properties.pyx":467
 *             return d
 * 
 *         d = self.create_property_storage()             # <<<<<<<<<<<<<<
 *         obj.__storage[name] = d
 *         self.init_storage(obj, d)
*/
  __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_self->__pyx_vtab)->create_property_storage(__pyx_v_self)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 467, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF_SET(__pyx_v_d, ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1));
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":468
 * 
 *         d = self.create_property_storage()
 *         obj.__storage[name] = d             # <<<<<<<<<<<<<<
 *         self.init_storage(obj, d)
 *         return d
*/
  if (unlikely(__pyx_v_obj->_EventDispatcher__storage == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
    __PYX_ERR(0, 468, __pyx_L1_error)
  }
  if (unlikely((PyDict_SetItem(__pyx_v_obj->_EventDispatcher__storage, __pyx_v_name, ((PyObject *)__pyx_v_d)) < 0))) __PYX_ERR(0, 468, __pyx_L1_error)

  /* "kivy/properties.pyx":469
 *         d = self.create_property_storage()
 *         obj.__storage[name] = d
 *         self.init_storage(obj, d)             # <<<<<<<<<<<<<<
 *         return d
 * 
*/
  __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_self->__pyx_vtab)->init_storage(__pyx_v_self, __pyx_v_obj, __pyx_v_d); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 469, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":470
 *         obj.__storage[name] = d
 *         self.init_storage(obj, d)
 *         return d             # <<<<<<<<<<<<<<
 * 
 *     cpdef link_deps(self, EventDispatcher obj, str name):
*/
  __Pyx_XDECREF((PyObject *)__pyx_r);
  __Pyx_INCREF((PyObject *)__pyx_v_d);
  __pyx_r = __pyx_v_d;
  goto __pyx_L0;

  /* "kivy/properties.pyx":438
 *         return None
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         '''Link the instance with its real name.
 * 
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("kivy.properties.Property.link", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_d);
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_15link(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_8Property_14link, "Property.link(self, EventDispatcher obj, str name) -> PropertyStorage\n\nLink the instance with its real name.\n\n.. warning::\n\n    Internal usage only.\n\nWhen a widget is defined and uses a :class:`Property` class, the\ncreation of the property object happens, but the instance doesn't know\nanything about its name in the widget class::\n\n    class MyWidget(Widget):\n        uid = NumericProperty(0)\n\nIn this example, the uid will be a NumericProperty() instance, but the\nproperty instance doesn't know its name. That's why :meth:`link` is\nused in `Widget.__new__`. The link function is also used to create the\nstorage space of the property for this specific widget instance.");
static PyMethodDef __pyx_mdef_4kivy_10properties_8Property_15link = {"link", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_8Property_15link, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_8Property_14link};
static PyObject *__pyx_pw_4kivy_10properties_8Property_15link(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_name = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("link (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_name_3,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 438, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 438, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 438, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "link", 0) < (0)) __PYX_ERR(0, 438, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("link", 1, 2, 2, i); __PYX_ERR(0, 438, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 438, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 438, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_name = ((PyObject*)values[1]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("link", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 438, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.Property.link", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 438, __pyx_L1_error)
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_name), (&PyUnicode_Type), 1, "name", 1))) __PYX_ERR(0, 438, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_14link(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_name);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_8Property_14link(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, 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("link", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_8Property_link(__pyx_v_self, __pyx_v_obj, __pyx_v_name, 1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 438, __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("kivy.properties.Property.link", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":472
 *         return d
 * 
 *     cpdef link_deps(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         pass
 * 
*/

static PyObject *__pyx_pw_4kivy_10properties_8Property_17link_deps(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_link_deps(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_name, int __pyx_skip_dispatch) {
  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;
  size_t __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("link_deps", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_link_deps); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 472, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_8Property_17link_deps)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_name};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 472, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":473
 * 
 *     cpdef link_deps(self, EventDispatcher obj, str name):
 *         pass             # <<<<<<<<<<<<<<
 * 
 *     cpdef bind(self, EventDispatcher obj, observer):
*/

  /* 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("kivy.properties.Property.link_deps", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":472
 *         return d
 * 
 *     cpdef link_deps(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         pass
 * 
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_17link_deps(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_8Property_16link_deps, "Property.link_deps(self, EventDispatcher obj, str name)");
static PyMethodDef __pyx_mdef_4kivy_10properties_8Property_17link_deps = {"link_deps", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_8Property_17link_deps, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_8Property_16link_deps};
static PyObject *__pyx_pw_4kivy_10properties_8Property_17link_deps(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_name = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("link_deps (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_name_3,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 472, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 472, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 472, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "link_deps", 0) < (0)) __PYX_ERR(0, 472, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("link_deps", 1, 2, 2, i); __PYX_ERR(0, 472, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 472, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 472, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_name = ((PyObject*)values[1]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("link_deps", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 472, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.Property.link_deps", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 472, __pyx_L1_error)
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_name), (&PyUnicode_Type), 1, "name", 1))) __PYX_ERR(0, 472, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_16link_deps(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_name);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_8Property_16link_deps(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, 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("link_deps", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_link_deps(__pyx_v_self, __pyx_v_obj, __pyx_v_name, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 472, __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("kivy.properties.Property.link_deps", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":475
 *         pass
 * 
 *     cpdef bind(self, EventDispatcher obj, observer):             # <<<<<<<<<<<<<<
 *         '''Add a new observer to be called only when the value is changed.
 *         '''
*/

static PyObject *__pyx_pw_4kivy_10properties_8Property_19bind(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_bind(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_observer, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps = 0;
  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;
  size_t __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("bind", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_bind); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 475, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_8Property_19bind)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_observer};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 475, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":478
 *         '''Add a new observer to be called only when the value is changed.
 *         '''
 *         cdef PropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         ps.observers.bind(WeakMethod(observer), observer, 1)
 * 
*/
  __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_8Property_get_property_storage(__pyx_v_self, __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 478, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":479
 *         '''
 *         cdef PropertyStorage ps = self.get_property_storage(obj)
 *         ps.observers.bind(WeakMethod(observer), observer, 1)             # <<<<<<<<<<<<<<
 * 
 *     cpdef fbind(self, EventDispatcher obj, observer, int ref, tuple largs=(), dict kwargs={}):
*/
  __pyx_t_2 = NULL;
  __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_WeakMethod); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 479, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (unlikely(PyMethod_Check(__pyx_t_4))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_observer};
    __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 479, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  ((struct __pyx_vtabstruct_4kivy_6_event_EventObservers *)__pyx_v_ps->observers->__pyx_vtab)->bind(__pyx_v_ps->observers, __pyx_t_1, __pyx_v_observer, 1); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 479, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":475
 *         pass
 * 
 *     cpdef bind(self, EventDispatcher obj, observer):             # <<<<<<<<<<<<<<
 *         '''Add a new observer to be called only when the value is changed.
 *         '''
*/

  /* 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("kivy.properties.Property.bind", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_19bind(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_8Property_18bind, "Property.bind(self, EventDispatcher obj, observer)\n\nAdd a new observer to be called only when the value is changed.\n        ");
static PyMethodDef __pyx_mdef_4kivy_10properties_8Property_19bind = {"bind", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_8Property_19bind, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_8Property_18bind};
static PyObject *__pyx_pw_4kivy_10properties_8Property_19bind(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_observer = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("bind (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_observer,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 475, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 475, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 475, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "bind", 0) < (0)) __PYX_ERR(0, 475, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("bind", 1, 2, 2, i); __PYX_ERR(0, 475, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 475, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 475, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_observer = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("bind", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 475, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.Property.bind", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 475, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_18bind(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_observer);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_8Property_18bind(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_observer) {
  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("bind", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_bind(__pyx_v_self, __pyx_v_obj, __pyx_v_observer, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 475, __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("kivy.properties.Property.bind", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":481
 *         ps.observers.bind(WeakMethod(observer), observer, 1)
 * 
 *     cpdef fbind(self, EventDispatcher obj, observer, int ref, tuple largs=(), dict kwargs={}):             # <<<<<<<<<<<<<<
 *         '''Similar to bind, except it doesn't check if the observer already
 *         exists. It also expands and forwards largs and kwargs to the callback.
*/

static PyObject *__pyx_pw_4kivy_10properties_8Property_21fbind(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_fbind(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_observer, int __pyx_v_ref, int __pyx_skip_dispatch, struct __pyx_opt_args_4kivy_10properties_8Property_fbind *__pyx_optional_args) {
  PyObject *__pyx_v_largs = ((PyObject*)__pyx_mstate_global->__pyx_empty_tuple);
  PyObject *__pyx_v_kwargs = __pyx_mstate_global->__pyx_k__2;
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps = 0;
  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;
  size_t __pyx_t_6;
  int __pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("fbind", 0);
  if (__pyx_optional_args) {
    if (__pyx_optional_args->__pyx_n > 0) {
      __pyx_v_largs = __pyx_optional_args->largs;
      if (__pyx_optional_args->__pyx_n > 1) {
        __pyx_v_kwargs = __pyx_optional_args->kwargs;
      }
    }
  }
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_fbind); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 481, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_8Property_21fbind)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = __Pyx_PyLong_From_int(__pyx_v_ref); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 481, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_5);
        __pyx_t_6 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_6 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[6] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_observer, __pyx_t_5, __pyx_v_largs, __pyx_v_kwargs};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_6, (6-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 481, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":487
 *         It returns a unique positive uid to be used with unbind_uid.
 *         '''
 *         cdef PropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         if ref:
 *             return ps.observers.fbind(WeakMethod(observer), largs, kwargs, 1)
*/
  __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_8Property_get_property_storage(__pyx_v_self, __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 487, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":488
 *         '''
 *         cdef PropertyStorage ps = self.get_property_storage(obj)
 *         if ref:             # <<<<<<<<<<<<<<
 *             return ps.observers.fbind(WeakMethod(observer), largs, kwargs, 1)
 *         else:
*/
  __pyx_t_7 = (__pyx_v_ref != 0);
  if (__pyx_t_7) {

    /* "kivy/properties.pyx":489
 *         cdef PropertyStorage ps = self.get_property_storage(obj)
 *         if ref:
 *             return ps.observers.fbind(WeakMethod(observer), largs, kwargs, 1)             # <<<<<<<<<<<<<<
 *         else:
 *             return ps.observers.fbind(observer, largs, kwargs, 0)
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_t_2 = NULL;
    __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_WeakMethod); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 489, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_6 = 1;
    #if CYTHON_UNPACK_METHODS
    if (unlikely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
      assert(__pyx_t_2);
      PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
      __Pyx_INCREF(__pyx_t_2);
      __Pyx_INCREF(__pyx__function);
      __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
      __pyx_t_6 = 0;
    }
    #endif
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_observer};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 489, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __pyx_t_4 = ((struct __pyx_vtabstruct_4kivy_6_event_EventObservers *)__pyx_v_ps->observers->__pyx_vtab)->fbind(__pyx_v_ps->observers, __pyx_t_1, __pyx_v_largs, __pyx_v_kwargs, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 489, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __pyx_r = __pyx_t_4;
    __pyx_t_4 = 0;
    goto __pyx_L0;

    /* "kivy/properties.pyx":488
 *         '''
 *         cdef PropertyStorage ps = self.get_property_storage(obj)
 *         if ref:             # <<<<<<<<<<<<<<
 *             return ps.observers.fbind(WeakMethod(observer), largs, kwargs, 1)
 *         else:
*/
  }

  /* "kivy/properties.pyx":491
 *             return ps.observers.fbind(WeakMethod(observer), largs, kwargs, 1)
 *         else:
 *             return ps.observers.fbind(observer, largs, kwargs, 0)             # <<<<<<<<<<<<<<
 * 
 *     cpdef unbind(self, EventDispatcher obj, observer, int stop_on_first=0):
*/
  /*else*/ {
    __Pyx_XDECREF(__pyx_r);
    __pyx_t_4 = ((struct __pyx_vtabstruct_4kivy_6_event_EventObservers *)__pyx_v_ps->observers->__pyx_vtab)->fbind(__pyx_v_ps->observers, __pyx_v_observer, __pyx_v_largs, __pyx_v_kwargs, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 491, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_r = __pyx_t_4;
    __pyx_t_4 = 0;
    goto __pyx_L0;
  }

  /* "kivy/properties.pyx":481
 *         ps.observers.bind(WeakMethod(observer), observer, 1)
 * 
 *     cpdef fbind(self, EventDispatcher obj, observer, int ref, tuple largs=(), dict kwargs={}):             # <<<<<<<<<<<<<<
 *         '''Similar to bind, except it doesn't check if the observer already
 *         exists. It also expands and forwards largs and kwargs to the callback.
*/

  /* 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("kivy.properties.Property.fbind", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_21fbind(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_8Property_20fbind, "Property.fbind(self, EventDispatcher obj, observer, int ref, tuple largs=(), dict kwargs={})\n\nSimilar to bind, except it doesn't check if the observer already\nexists. It also expands and forwards largs and kwargs to the callback.\nfunbind or unbind_uid should be called when unbinding.\nIt returns a unique positive uid to be used with unbind_uid.");
static PyMethodDef __pyx_mdef_4kivy_10properties_8Property_21fbind = {"fbind", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_8Property_21fbind, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_8Property_20fbind};
static PyObject *__pyx_pw_4kivy_10properties_8Property_21fbind(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_observer = 0;
  int __pyx_v_ref;
  PyObject *__pyx_v_largs = 0;
  PyObject *__pyx_v_kwargs = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[5] = {0,0,0,0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("fbind (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_observer,&__pyx_mstate_global->__pyx_n_u_ref,&__pyx_mstate_global->__pyx_n_u_largs,&__pyx_mstate_global->__pyx_n_u_kwargs,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 481, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  5:
        values[4] = __Pyx_ArgRef_FASTCALL(__pyx_args, 4);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[4])) __PYX_ERR(0, 481, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  4:
        values[3] = __Pyx_ArgRef_FASTCALL(__pyx_args, 3);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 481, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 481, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 481, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 481, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "fbind", 0) < (0)) __PYX_ERR(0, 481, __pyx_L3_error)
      if (!values[3]) values[3] = __Pyx_NewRef(((PyObject*)__pyx_mstate_global->__pyx_empty_tuple));
      if (!values[4]) values[4] = __Pyx_NewRef(__pyx_mstate_global->__pyx_k__2);
      for (Py_ssize_t i = __pyx_nargs; i < 3; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("fbind", 0, 3, 5, i); __PYX_ERR(0, 481, __pyx_L3_error) }
      }
    } else {
      switch (__pyx_nargs) {
        case  5:
        values[4] = __Pyx_ArgRef_FASTCALL(__pyx_args, 4);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[4])) __PYX_ERR(0, 481, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  4:
        values[3] = __Pyx_ArgRef_FASTCALL(__pyx_args, 3);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 481, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 481, __pyx_L3_error)
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 481, __pyx_L3_error)
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 481, __pyx_L3_error)
        break;
        default: goto __pyx_L5_argtuple_error;
      }
      if (!values[3]) values[3] = __Pyx_NewRef(((PyObject*)__pyx_mstate_global->__pyx_empty_tuple));
      if (!values[4]) values[4] = __Pyx_NewRef(__pyx_mstate_global->__pyx_k__2);
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_observer = values[1];
    __pyx_v_ref = __Pyx_PyLong_As_int(values[2]); if (unlikely((__pyx_v_ref == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 481, __pyx_L3_error)
    __pyx_v_largs = ((PyObject*)values[3]);
    __pyx_v_kwargs = ((PyObject*)values[4]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("fbind", 0, 3, 5, __pyx_nargs); __PYX_ERR(0, 481, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.Property.fbind", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 481, __pyx_L1_error)
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_largs), (&PyTuple_Type), 1, "largs", 1))) __PYX_ERR(0, 481, __pyx_L1_error)
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_kwargs), (&PyDict_Type), 1, "kwargs", 1))) __PYX_ERR(0, 481, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_20fbind(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_observer, __pyx_v_ref, __pyx_v_largs, __pyx_v_kwargs);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_8Property_20fbind(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_observer, int __pyx_v_ref, PyObject *__pyx_v_largs, PyObject *__pyx_v_kwargs) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  struct __pyx_opt_args_4kivy_10properties_8Property_fbind __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("fbind", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_2.__pyx_n = 2;
  __pyx_t_2.largs = __pyx_v_largs;
  __pyx_t_2.kwargs = __pyx_v_kwargs;
  __pyx_t_1 = __pyx_vtabptr_4kivy_10properties_Property->fbind(__pyx_v_self, __pyx_v_obj, __pyx_v_observer, __pyx_v_ref, 1, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 481, __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("kivy.properties.Property.fbind", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":493
 *             return ps.observers.fbind(observer, largs, kwargs, 0)
 * 
 *     cpdef unbind(self, EventDispatcher obj, observer, int stop_on_first=0):             # <<<<<<<<<<<<<<
 *         '''Remove the observer from our widget observer list.
 *         '''
*/

static PyObject *__pyx_pw_4kivy_10properties_8Property_23unbind(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_unbind(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_observer, int __pyx_skip_dispatch, struct __pyx_opt_args_4kivy_10properties_8Property_unbind *__pyx_optional_args) {
  int __pyx_v_stop_on_first = ((int)0);
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps = 0;
  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;
  size_t __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("unbind", 0);
  if (__pyx_optional_args) {
    if (__pyx_optional_args->__pyx_n > 0) {
      __pyx_v_stop_on_first = __pyx_optional_args->stop_on_first;
    }
  }
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_unbind); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 493, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_8Property_23unbind)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = __Pyx_PyLong_From_int(__pyx_v_stop_on_first); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 493, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_5);
        __pyx_t_6 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_6 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[4] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_observer, __pyx_t_5};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_6, (4-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 493, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":496
 *         '''Remove the observer from our widget observer list.
 *         '''
 *         cdef PropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         ps.observers.unbind(observer, stop_on_first)
 * 
*/
  __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_8Property_get_property_storage(__pyx_v_self, __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 496, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":497
 *         '''
 *         cdef PropertyStorage ps = self.get_property_storage(obj)
 *         ps.observers.unbind(observer, stop_on_first)             # <<<<<<<<<<<<<<
 * 
 *     cpdef funbind(self, EventDispatcher obj, observer, tuple largs=(), dict kwargs={}):
*/
  ((struct __pyx_vtabstruct_4kivy_6_event_EventObservers *)__pyx_v_ps->observers->__pyx_vtab)->unbind(__pyx_v_ps->observers, __pyx_v_observer, __pyx_v_stop_on_first); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 497, __pyx_L1_error)

  /* "kivy/properties.pyx":493
 *             return ps.observers.fbind(observer, largs, kwargs, 0)
 * 
 *     cpdef unbind(self, EventDispatcher obj, observer, int stop_on_first=0):             # <<<<<<<<<<<<<<
 *         '''Remove the observer from our widget observer list.
 *         '''
*/

  /* 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_XDECREF(__pyx_t_5);
  __Pyx_AddTraceback("kivy.properties.Property.unbind", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_23unbind(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_8Property_22unbind, "Property.unbind(self, EventDispatcher obj, observer, int stop_on_first=0)\n\nRemove the observer from our widget observer list.\n        ");
static PyMethodDef __pyx_mdef_4kivy_10properties_8Property_23unbind = {"unbind", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_8Property_23unbind, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_8Property_22unbind};
static PyObject *__pyx_pw_4kivy_10properties_8Property_23unbind(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_observer = 0;
  int __pyx_v_stop_on_first;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[3] = {0,0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("unbind (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_observer,&__pyx_mstate_global->__pyx_n_u_stop_on_first,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 493, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 493, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 493, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 493, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "unbind", 0) < (0)) __PYX_ERR(0, 493, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("unbind", 0, 2, 3, i); __PYX_ERR(0, 493, __pyx_L3_error) }
      }
    } else {
      switch (__pyx_nargs) {
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 493, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 493, __pyx_L3_error)
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 493, __pyx_L3_error)
        break;
        default: goto __pyx_L5_argtuple_error;
      }
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_observer = values[1];
    if (values[2]) {
      __pyx_v_stop_on_first = __Pyx_PyLong_As_int(values[2]); if (unlikely((__pyx_v_stop_on_first == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 493, __pyx_L3_error)
    } else {
      __pyx_v_stop_on_first = ((int)0);
    }
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("unbind", 0, 2, 3, __pyx_nargs); __PYX_ERR(0, 493, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.Property.unbind", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 493, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_22unbind(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_observer, __pyx_v_stop_on_first);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_8Property_22unbind(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_observer, int __pyx_v_stop_on_first) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  struct __pyx_opt_args_4kivy_10properties_8Property_unbind __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("unbind", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_2.__pyx_n = 1;
  __pyx_t_2.stop_on_first = __pyx_v_stop_on_first;
  __pyx_t_1 = __pyx_vtabptr_4kivy_10properties_Property->unbind(__pyx_v_self, __pyx_v_obj, __pyx_v_observer, 1, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 493, __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("kivy.properties.Property.unbind", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":499
 *         ps.observers.unbind(observer, stop_on_first)
 * 
 *     cpdef funbind(self, EventDispatcher obj, observer, tuple largs=(), dict kwargs={}):             # <<<<<<<<<<<<<<
 *         '''Remove the observer from our widget observer list bound with
 *         fbind. It removes the first match it finds, as opposed to unbind
*/

static PyObject *__pyx_pw_4kivy_10properties_8Property_25funbind(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_funbind(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_observer, int __pyx_skip_dispatch, struct __pyx_opt_args_4kivy_10properties_8Property_funbind *__pyx_optional_args) {
  PyObject *__pyx_v_largs = ((PyObject*)__pyx_mstate_global->__pyx_empty_tuple);
  PyObject *__pyx_v_kwargs = __pyx_mstate_global->__pyx_k__3;
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps = 0;
  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;
  size_t __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("funbind", 0);
  if (__pyx_optional_args) {
    if (__pyx_optional_args->__pyx_n > 0) {
      __pyx_v_largs = __pyx_optional_args->largs;
      if (__pyx_optional_args->__pyx_n > 1) {
        __pyx_v_kwargs = __pyx_optional_args->kwargs;
      }
    }
  }
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_funbind); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 499, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_8Property_25funbind)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[5] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_observer, __pyx_v_largs, __pyx_v_kwargs};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (5-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 499, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":504
 *         which searches for all matches.
 *         '''
 *         cdef PropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         ps.observers.funbind(observer, largs, kwargs)
 * 
*/
  __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_8Property_get_property_storage(__pyx_v_self, __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 504, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":505
 *         '''
 *         cdef PropertyStorage ps = self.get_property_storage(obj)
 *         ps.observers.funbind(observer, largs, kwargs)             # <<<<<<<<<<<<<<
 * 
 *     cpdef unbind_uid(self, EventDispatcher obj, object uid):
*/
  ((struct __pyx_vtabstruct_4kivy_6_event_EventObservers *)__pyx_v_ps->observers->__pyx_vtab)->funbind(__pyx_v_ps->observers, __pyx_v_observer, __pyx_v_largs, __pyx_v_kwargs); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 505, __pyx_L1_error)

  /* "kivy/properties.pyx":499
 *         ps.observers.unbind(observer, stop_on_first)
 * 
 *     cpdef funbind(self, EventDispatcher obj, observer, tuple largs=(), dict kwargs={}):             # <<<<<<<<<<<<<<
 *         '''Remove the observer from our widget observer list bound with
 *         fbind. It removes the first match it finds, as opposed to unbind
*/

  /* 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("kivy.properties.Property.funbind", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_25funbind(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_8Property_24funbind, "Property.funbind(self, EventDispatcher obj, observer, tuple largs=(), dict kwargs={})\n\nRemove the observer from our widget observer list bound with\nfbind. It removes the first match it finds, as opposed to unbind\nwhich searches for all matches.");
static PyMethodDef __pyx_mdef_4kivy_10properties_8Property_25funbind = {"funbind", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_8Property_25funbind, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_8Property_24funbind};
static PyObject *__pyx_pw_4kivy_10properties_8Property_25funbind(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_observer = 0;
  PyObject *__pyx_v_largs = 0;
  PyObject *__pyx_v_kwargs = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[4] = {0,0,0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("funbind (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_observer,&__pyx_mstate_global->__pyx_n_u_largs,&__pyx_mstate_global->__pyx_n_u_kwargs,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 499, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  4:
        values[3] = __Pyx_ArgRef_FASTCALL(__pyx_args, 3);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 499, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 499, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 499, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 499, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "funbind", 0) < (0)) __PYX_ERR(0, 499, __pyx_L3_error)
      if (!values[2]) values[2] = __Pyx_NewRef(((PyObject*)__pyx_mstate_global->__pyx_empty_tuple));
      if (!values[3]) values[3] = __Pyx_NewRef(__pyx_mstate_global->__pyx_k__3);
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("funbind", 0, 2, 4, i); __PYX_ERR(0, 499, __pyx_L3_error) }
      }
    } else {
      switch (__pyx_nargs) {
        case  4:
        values[3] = __Pyx_ArgRef_FASTCALL(__pyx_args, 3);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 499, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 499, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 499, __pyx_L3_error)
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 499, __pyx_L3_error)
        break;
        default: goto __pyx_L5_argtuple_error;
      }
      if (!values[2]) values[2] = __Pyx_NewRef(((PyObject*)__pyx_mstate_global->__pyx_empty_tuple));
      if (!values[3]) values[3] = __Pyx_NewRef(__pyx_mstate_global->__pyx_k__3);
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_observer = values[1];
    __pyx_v_largs = ((PyObject*)values[2]);
    __pyx_v_kwargs = ((PyObject*)values[3]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("funbind", 0, 2, 4, __pyx_nargs); __PYX_ERR(0, 499, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.Property.funbind", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 499, __pyx_L1_error)
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_largs), (&PyTuple_Type), 1, "largs", 1))) __PYX_ERR(0, 499, __pyx_L1_error)
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_kwargs), (&PyDict_Type), 1, "kwargs", 1))) __PYX_ERR(0, 499, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_24funbind(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_observer, __pyx_v_largs, __pyx_v_kwargs);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_8Property_24funbind(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_observer, PyObject *__pyx_v_largs, PyObject *__pyx_v_kwargs) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  struct __pyx_opt_args_4kivy_10properties_8Property_funbind __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("funbind", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_2.__pyx_n = 2;
  __pyx_t_2.largs = __pyx_v_largs;
  __pyx_t_2.kwargs = __pyx_v_kwargs;
  __pyx_t_1 = __pyx_vtabptr_4kivy_10properties_Property->funbind(__pyx_v_self, __pyx_v_obj, __pyx_v_observer, 1, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 499, __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("kivy.properties.Property.funbind", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":507
 *         ps.observers.funbind(observer, largs, kwargs)
 * 
 *     cpdef unbind_uid(self, EventDispatcher obj, object uid):             # <<<<<<<<<<<<<<
 *         '''Remove the observer from our widget observer list bound with
 *         fbind using the uid.
*/

static PyObject *__pyx_pw_4kivy_10properties_8Property_27unbind_uid(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_unbind_uid(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_uid, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps = 0;
  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;
  size_t __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("unbind_uid", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_unbind_uid); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 507, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_8Property_27unbind_uid)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_uid};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 507, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":511
 *         fbind using the uid.
 *         '''
 *         cdef PropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         ps.observers.unbind_uid(uid)
 * 
*/
  __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_8Property_get_property_storage(__pyx_v_self, __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 511, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":512
 *         '''
 *         cdef PropertyStorage ps = self.get_property_storage(obj)
 *         ps.observers.unbind_uid(uid)             # <<<<<<<<<<<<<<
 * 
 *     def __set__(self, EventDispatcher obj, val):
*/
  __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_6_event_EventObservers *)__pyx_v_ps->observers->__pyx_vtab)->unbind_uid(__pyx_v_ps->observers, __pyx_v_uid); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 512, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":507
 *         ps.observers.funbind(observer, largs, kwargs)
 * 
 *     cpdef unbind_uid(self, EventDispatcher obj, object uid):             # <<<<<<<<<<<<<<
 *         '''Remove the observer from our widget observer list bound with
 *         fbind using the uid.
*/

  /* 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("kivy.properties.Property.unbind_uid", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_27unbind_uid(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_8Property_26unbind_uid, "Property.unbind_uid(self, EventDispatcher obj, uid)\n\nRemove the observer from our widget observer list bound with\nfbind using the uid.");
static PyMethodDef __pyx_mdef_4kivy_10properties_8Property_27unbind_uid = {"unbind_uid", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_8Property_27unbind_uid, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_8Property_26unbind_uid};
static PyObject *__pyx_pw_4kivy_10properties_8Property_27unbind_uid(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_uid = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("unbind_uid (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_uid,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 507, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 507, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 507, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "unbind_uid", 0) < (0)) __PYX_ERR(0, 507, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("unbind_uid", 1, 2, 2, i); __PYX_ERR(0, 507, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 507, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 507, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_uid = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("unbind_uid", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 507, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.Property.unbind_uid", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 507, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_26unbind_uid(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_uid);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_8Property_26unbind_uid(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_uid) {
  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("unbind_uid", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_unbind_uid(__pyx_v_self, __pyx_v_obj, __pyx_v_uid, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 507, __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("kivy.properties.Property.unbind_uid", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":514
 *         ps.observers.unbind_uid(uid)
 * 
 *     def __set__(self, EventDispatcher obj, val):             # <<<<<<<<<<<<<<
 *         if self.deprecated:
 *             Logger.warning(
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_8Property_29__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_obj, PyObject *__pyx_v_val); /*proto*/
static int __pyx_pw_4kivy_10properties_8Property_29__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_obj, PyObject *__pyx_v_val) {
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 514, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_28__set__(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)__pyx_v_obj), ((PyObject *)__pyx_v_val));

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = -1;
  goto __pyx_L5_cleaned_up;
  __pyx_L0:;
  __pyx_L5_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_4kivy_10properties_8Property_28__set__(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_val) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  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;
  size_t __pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__set__", 0);

  /* "kivy/properties.pyx":515
 * 
 *     def __set__(self, EventDispatcher obj, val):
 *         if self.deprecated:             # <<<<<<<<<<<<<<
 *             Logger.warning(
 *                 'Deprecated property "{}" of object "{}" has been set, it '
*/
  __pyx_t_1 = (__pyx_v_self->deprecated != 0);
  if (__pyx_t_1) {

    /* "kivy/properties.pyx":516
 *     def __set__(self, EventDispatcher obj, val):
 *         if self.deprecated:
 *             Logger.warning(             # <<<<<<<<<<<<<<
 *                 'Deprecated property "{}" of object "{}" has been set, it '
 *                 'will be removed in a future version'.format(self, obj))
*/
    __pyx_t_3 = NULL;
    __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_Logger); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 516, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_warning); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 516, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

    /* "kivy/properties.pyx":518
 *             Logger.warning(
 *                 'Deprecated property "{}" of object "{}" has been set, it '
 *                 'will be removed in a future version'.format(self, obj))             # <<<<<<<<<<<<<<
 *             self.deprecated = 0
 *         self.set(obj, val)
*/
    __pyx_t_6 = __pyx_mstate_global->__pyx_kp_u_Deprecated_property_of_object_ha;
    __Pyx_INCREF(__pyx_t_6);
    __pyx_t_7 = 0;
    {
      PyObject *__pyx_callargs[3] = {__pyx_t_6, ((PyObject *)__pyx_v_self), ((PyObject *)__pyx_v_obj)};
      __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_format, __pyx_callargs+__pyx_t_7, (3-__pyx_t_7) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
      if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 518, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
    }
    __pyx_t_7 = 1;
    #if CYTHON_UNPACK_METHODS
    if (unlikely(PyMethod_Check(__pyx_t_5))) {
      __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_5);
      assert(__pyx_t_3);
      PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_5);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(__pyx__function);
      __Pyx_DECREF_SET(__pyx_t_5, __pyx__function);
      __pyx_t_7 = 0;
    }
    #endif
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_t_4};
      __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_5, __pyx_callargs+__pyx_t_7, (2-__pyx_t_7) | (__pyx_t_7*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 516, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_2);
    }
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

    /* "kivy/properties.pyx":519
 *                 'Deprecated property "{}" of object "{}" has been set, it '
 *                 'will be removed in a future version'.format(self, obj))
 *             self.deprecated = 0             # <<<<<<<<<<<<<<
 *         self.set(obj, val)
 * 
*/
    __pyx_v_self->deprecated = 0;

    /* "kivy/properties.pyx":515
 * 
 *     def __set__(self, EventDispatcher obj, val):
 *         if self.deprecated:             # <<<<<<<<<<<<<<
 *             Logger.warning(
 *                 'Deprecated property "{}" of object "{}" has been set, it '
*/
  }

  /* "kivy/properties.pyx":520
 *                 'will be removed in a future version'.format(self, obj))
 *             self.deprecated = 0
 *         self.set(obj, val)             # <<<<<<<<<<<<<<
 * 
 *     def __get__(self, EventDispatcher obj, objtype):
*/
  __pyx_t_2 = ((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_self->__pyx_vtab)->set(__pyx_v_self, __pyx_v_obj, __pyx_v_val, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 520, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":514
 *         ps.observers.unbind_uid(uid)
 * 
 *     def __set__(self, EventDispatcher obj, val):             # <<<<<<<<<<<<<<
 *         if self.deprecated:
 *             Logger.warning(
*/

  /* function exit code */
  __pyx_r = 0;
  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_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("kivy.properties.Property.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":522
 *         self.set(obj, val)
 * 
 *     def __get__(self, EventDispatcher obj, objtype):             # <<<<<<<<<<<<<<
 *         if obj is None:
 *             return self
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_31__get__(PyObject *__pyx_v_self, PyObject *__pyx_v_obj, PyObject *__pyx_v_objtype); /*proto*/
static PyObject *__pyx_pw_4kivy_10properties_8Property_31__get__(PyObject *__pyx_v_self, PyObject *__pyx_v_obj, PyObject *__pyx_v_objtype) {
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 522, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_30__get__(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)__pyx_v_obj), ((PyObject *)__pyx_v_objtype));

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  goto __pyx_L5_cleaned_up;
  __pyx_L0:;
  __pyx_L5_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_8Property_30__get__(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_objtype) {
  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;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  size_t __pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__get__", 0);

  /* "kivy/properties.pyx":523
 * 
 *     def __get__(self, EventDispatcher obj, objtype):
 *         if obj is None:             # <<<<<<<<<<<<<<
 *             return self
 * 
*/
  __pyx_t_1 = (((PyObject *)__pyx_v_obj) == Py_None);
  if (__pyx_t_1) {

    /* "kivy/properties.pyx":524
 *     def __get__(self, EventDispatcher obj, objtype):
 *         if obj is None:
 *             return self             # <<<<<<<<<<<<<<
 * 
 *         if self.deprecated:
*/
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF((PyObject *)__pyx_v_self);
    __pyx_r = ((PyObject *)__pyx_v_self);
    goto __pyx_L0;

    /* "kivy/properties.pyx":523
 * 
 *     def __get__(self, EventDispatcher obj, objtype):
 *         if obj is None:             # <<<<<<<<<<<<<<
 *             return self
 * 
*/
  }

  /* "kivy/properties.pyx":526
 *             return self
 * 
 *         if self.deprecated:             # <<<<<<<<<<<<<<
 *             Logger.warning(
 *                 'Deprecated property "{}" of object "{}" was accessed, it '
*/
  __pyx_t_1 = (__pyx_v_self->deprecated != 0);
  if (__pyx_t_1) {

    /* "kivy/properties.pyx":527
 * 
 *         if self.deprecated:
 *             Logger.warning(             # <<<<<<<<<<<<<<
 *                 'Deprecated property "{}" of object "{}" was accessed, it '
 *                 'will be removed in a future version'.format(self, obj))
*/
    __pyx_t_3 = NULL;
    __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_Logger); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 527, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_warning); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 527, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

    /* "kivy/properties.pyx":529
 *             Logger.warning(
 *                 'Deprecated property "{}" of object "{}" was accessed, it '
 *                 'will be removed in a future version'.format(self, obj))             # <<<<<<<<<<<<<<
 *             self.deprecated = 0
 *         return self.get(obj)
*/
    __pyx_t_6 = __pyx_mstate_global->__pyx_kp_u_Deprecated_property_of_object_wa;
    __Pyx_INCREF(__pyx_t_6);
    __pyx_t_7 = 0;
    {
      PyObject *__pyx_callargs[3] = {__pyx_t_6, ((PyObject *)__pyx_v_self), ((PyObject *)__pyx_v_obj)};
      __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_format, __pyx_callargs+__pyx_t_7, (3-__pyx_t_7) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
      if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 529, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
    }
    __pyx_t_7 = 1;
    #if CYTHON_UNPACK_METHODS
    if (unlikely(PyMethod_Check(__pyx_t_5))) {
      __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_5);
      assert(__pyx_t_3);
      PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_5);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(__pyx__function);
      __Pyx_DECREF_SET(__pyx_t_5, __pyx__function);
      __pyx_t_7 = 0;
    }
    #endif
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_t_4};
      __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_5, __pyx_callargs+__pyx_t_7, (2-__pyx_t_7) | (__pyx_t_7*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 527, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_2);
    }
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

    /* "kivy/properties.pyx":530
 *                 'Deprecated property "{}" of object "{}" was accessed, it '
 *                 'will be removed in a future version'.format(self, obj))
 *             self.deprecated = 0             # <<<<<<<<<<<<<<
 *         return self.get(obj)
 * 
*/
    __pyx_v_self->deprecated = 0;

    /* "kivy/properties.pyx":526
 *             return self
 * 
 *         if self.deprecated:             # <<<<<<<<<<<<<<
 *             Logger.warning(
 *                 'Deprecated property "{}" of object "{}" was accessed, it '
*/
  }

  /* "kivy/properties.pyx":531
 *                 'will be removed in a future version'.format(self, obj))
 *             self.deprecated = 0
 *         return self.get(obj)             # <<<<<<<<<<<<<<
 * 
 *     cdef compare_value(self, a, b):
*/
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_2 = ((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_self->__pyx_vtab)->get(__pyx_v_self, __pyx_v_obj, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 531, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_r = __pyx_t_2;
  __pyx_t_2 = 0;
  goto __pyx_L0;

  /* "kivy/properties.pyx":522
 *         self.set(obj, val)
 * 
 *     def __get__(self, EventDispatcher obj, objtype):             # <<<<<<<<<<<<<<
 *         if obj is None:
 *             return self
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("kivy.properties.Property.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":533
 *         return self.get(obj)
 * 
 *     cdef compare_value(self, a, b):             # <<<<<<<<<<<<<<
 *         if self.comparator is not None:
 *             return self.comparator(a, b)
*/

static PyObject *__pyx_f_4kivy_10properties_8Property_compare_value(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, PyObject *__pyx_v_a, PyObject *__pyx_v_b) {
  PyObject *__pyx_v_e = 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;
  size_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  int __pyx_t_9;
  PyObject *__pyx_t_10 = NULL;
  PyObject *__pyx_t_11 = NULL;
  PyObject *__pyx_t_12 = NULL;
  PyObject *__pyx_t_13 = NULL;
  PyObject *__pyx_t_14 = NULL;
  int __pyx_t_15;
  char const *__pyx_t_16;
  PyObject *__pyx_t_17 = NULL;
  PyObject *__pyx_t_18 = NULL;
  PyObject *__pyx_t_19 = NULL;
  PyObject *__pyx_t_20 = NULL;
  PyObject *__pyx_t_21 = NULL;
  PyObject *__pyx_t_22 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("compare_value", 0);

  /* "kivy/properties.pyx":534
 * 
 *     cdef compare_value(self, a, b):
 *         if self.comparator is not None:             # <<<<<<<<<<<<<<
 *             return self.comparator(a, b)
 * 
*/
  __pyx_t_1 = (__pyx_v_self->comparator != Py_None);
  if (__pyx_t_1) {

    /* "kivy/properties.pyx":535
 *     cdef compare_value(self, a, b):
 *         if self.comparator is not None:
 *             return self.comparator(a, b)             # <<<<<<<<<<<<<<
 * 
 *         try:
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_t_3 = NULL;
    __Pyx_INCREF(__pyx_v_self->comparator);
    __pyx_t_4 = __pyx_v_self->comparator; 
    __pyx_t_5 = 1;
    #if CYTHON_UNPACK_METHODS
    if (likely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
      assert(__pyx_t_3);
      PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(__pyx__function);
      __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
      __pyx_t_5 = 0;
    }
    #endif
    {
      PyObject *__pyx_callargs[3] = {__pyx_t_3, __pyx_v_a, __pyx_v_b};
      __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 535, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_2);
    }
    __pyx_r = __pyx_t_2;
    __pyx_t_2 = 0;
    goto __pyx_L0;

    /* "kivy/properties.pyx":534
 * 
 *     cdef compare_value(self, a, b):
 *         if self.comparator is not None:             # <<<<<<<<<<<<<<
 *             return self.comparator(a, b)
 * 
*/
  }

  /* "kivy/properties.pyx":537
 *             return self.comparator(a, b)
 * 
 *         try:             # <<<<<<<<<<<<<<
 *             return bool(a == b)
 *         except Exception as e:
*/
  {
    __Pyx_PyThreadState_declare
    __Pyx_PyThreadState_assign
    __Pyx_ExceptionSave(&__pyx_t_6, &__pyx_t_7, &__pyx_t_8);
    __Pyx_XGOTREF(__pyx_t_6);
    __Pyx_XGOTREF(__pyx_t_7);
    __Pyx_XGOTREF(__pyx_t_8);
    /*try:*/ {

      /* "kivy/properties.pyx":538
 * 
 *         try:
 *             return bool(a == b)             # <<<<<<<<<<<<<<
 *         except Exception as e:
 *             Logger.warn(
*/
      __Pyx_XDECREF(__pyx_r);
      __pyx_t_2 = PyObject_RichCompare(__pyx_v_a, __pyx_v_b, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 538, __pyx_L4_error)
      __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 538, __pyx_L4_error)
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
      __pyx_t_2 = __Pyx_PyBool_FromLong((!(!__pyx_t_1))); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 538, __pyx_L4_error)
      __Pyx_GOTREF(__pyx_t_2);
      __pyx_r = __pyx_t_2;
      __pyx_t_2 = 0;
      goto __pyx_L8_try_return;

      /* "kivy/properties.pyx":537
 *             return self.comparator(a, b)
 * 
 *         try:             # <<<<<<<<<<<<<<
 *             return bool(a == b)
 *         except Exception as e:
*/
    }
    __pyx_L4_error:;
    __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;

    /* "kivy/properties.pyx":539
 *         try:
 *             return bool(a == b)
 *         except Exception as e:             # <<<<<<<<<<<<<<
 *             Logger.warn(
 *                 'Property: Value comparison failed for {} with "{}". Consider setting '
*/
    __pyx_t_9 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(((PyTypeObject*)PyExc_Exception))));
    if (__pyx_t_9) {
      __Pyx_AddTraceback("kivy.properties.Property.compare_value", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_4, &__pyx_t_3) < 0) __PYX_ERR(0, 539, __pyx_L6_except_error)
      __Pyx_XGOTREF(__pyx_t_2);
      __Pyx_XGOTREF(__pyx_t_4);
      __Pyx_XGOTREF(__pyx_t_3);
      __Pyx_INCREF(__pyx_t_4);
      __pyx_v_e = __pyx_t_4;
      /*try:*/ {

        /* "kivy/properties.pyx":540
 *             return bool(a == b)
 *         except Exception as e:
 *             Logger.warn(             # <<<<<<<<<<<<<<
 *                 'Property: Value comparison failed for {} with "{}". Consider setting '
 *                 'force_dispatch to True to avoid this.'.format(self, e))
*/
        __pyx_t_11 = NULL;
        __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_Logger); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 540, __pyx_L15_error)
        __Pyx_GOTREF(__pyx_t_12);
        __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_warn); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 540, __pyx_L15_error)
        __Pyx_GOTREF(__pyx_t_13);
        __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;

        /* "kivy/properties.pyx":542
 *             Logger.warn(
 *                 'Property: Value comparison failed for {} with "{}". Consider setting '
 *                 'force_dispatch to True to avoid this.'.format(self, e))             # <<<<<<<<<<<<<<
 *             return False
 * 
*/
        __pyx_t_14 = __pyx_mstate_global->__pyx_kp_u_Property_Value_comparison_failed;
        __Pyx_INCREF(__pyx_t_14);
        __pyx_t_5 = 0;
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_14, ((PyObject *)__pyx_v_self), __pyx_v_e};
          __pyx_t_12 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_format, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0;
          if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 542, __pyx_L15_error)
          __Pyx_GOTREF(__pyx_t_12);
        }
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_13))) {
          __pyx_t_11 = PyMethod_GET_SELF(__pyx_t_13);
          assert(__pyx_t_11);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_13);
          __Pyx_INCREF(__pyx_t_11);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_13, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[2] = {__pyx_t_11, __pyx_t_12};
          __pyx_t_10 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_13, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
          __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
          __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
          if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 540, __pyx_L15_error)
          __Pyx_GOTREF(__pyx_t_10);
        }
        __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;

        /* "kivy/properties.pyx":543
 *                 'Property: Value comparison failed for {} with "{}". Consider setting '
 *                 'force_dispatch to True to avoid this.'.format(self, e))
 *             return False             # <<<<<<<<<<<<<<
 * 
 *     cpdef set(self, EventDispatcher obj, value):
*/
        __Pyx_XDECREF(__pyx_r);
        __Pyx_INCREF(Py_False);
        __pyx_r = Py_False;
        __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
        goto __pyx_L14_return;
      }

      /* "kivy/properties.pyx":539
 *         try:
 *             return bool(a == b)
 *         except Exception as e:             # <<<<<<<<<<<<<<
 *             Logger.warn(
 *                 'Property: Value comparison failed for {} with "{}". Consider setting '
*/
      /*finally:*/ {
        __pyx_L15_error:;
        /*exception exit:*/{
          __Pyx_PyThreadState_declare
          __Pyx_PyThreadState_assign
          __pyx_t_17 = 0; __pyx_t_18 = 0; __pyx_t_19 = 0; __pyx_t_20 = 0; __pyx_t_21 = 0; __pyx_t_22 = 0;
          __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;
          __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0;
          __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0;
           __Pyx_ExceptionSwap(&__pyx_t_20, &__pyx_t_21, &__pyx_t_22);
          if ( unlikely(__Pyx_GetException(&__pyx_t_17, &__pyx_t_18, &__pyx_t_19) < 0)) __Pyx_ErrFetch(&__pyx_t_17, &__pyx_t_18, &__pyx_t_19);
          __Pyx_XGOTREF(__pyx_t_17);
          __Pyx_XGOTREF(__pyx_t_18);
          __Pyx_XGOTREF(__pyx_t_19);
          __Pyx_XGOTREF(__pyx_t_20);
          __Pyx_XGOTREF(__pyx_t_21);
          __Pyx_XGOTREF(__pyx_t_22);
          __pyx_t_9 = __pyx_lineno; __pyx_t_15 = __pyx_clineno; __pyx_t_16 = __pyx_filename;
          {
            __Pyx_DECREF(__pyx_v_e); __pyx_v_e = 0;
          }
          __Pyx_XGIVEREF(__pyx_t_20);
          __Pyx_XGIVEREF(__pyx_t_21);
          __Pyx_XGIVEREF(__pyx_t_22);
          __Pyx_ExceptionReset(__pyx_t_20, __pyx_t_21, __pyx_t_22);
          __Pyx_XGIVEREF(__pyx_t_17);
          __Pyx_XGIVEREF(__pyx_t_18);
          __Pyx_XGIVEREF(__pyx_t_19);
          __Pyx_ErrRestore(__pyx_t_17, __pyx_t_18, __pyx_t_19);
          __pyx_t_17 = 0; __pyx_t_18 = 0; __pyx_t_19 = 0; __pyx_t_20 = 0; __pyx_t_21 = 0; __pyx_t_22 = 0;
          __pyx_lineno = __pyx_t_9; __pyx_clineno = __pyx_t_15; __pyx_filename = __pyx_t_16;
          goto __pyx_L6_except_error;
        }
        __pyx_L14_return: {
          __pyx_t_22 = __pyx_r;
          __pyx_r = 0;
          __Pyx_DECREF(__pyx_v_e); __pyx_v_e = 0;
          __pyx_r = __pyx_t_22;
          __pyx_t_22 = 0;
          goto __pyx_L7_except_return;
        }
      }
    }
    goto __pyx_L6_except_error;

    /* "kivy/properties.pyx":537
 *             return self.comparator(a, b)
 * 
 *         try:             # <<<<<<<<<<<<<<
 *             return bool(a == b)
 *         except Exception as e:
*/
    __pyx_L6_except_error:;
    __Pyx_XGIVEREF(__pyx_t_6);
    __Pyx_XGIVEREF(__pyx_t_7);
    __Pyx_XGIVEREF(__pyx_t_8);
    __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
    goto __pyx_L1_error;
    __pyx_L8_try_return:;
    __Pyx_XGIVEREF(__pyx_t_6);
    __Pyx_XGIVEREF(__pyx_t_7);
    __Pyx_XGIVEREF(__pyx_t_8);
    __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
    goto __pyx_L0;
    __pyx_L7_except_return:;
    __Pyx_XGIVEREF(__pyx_t_6);
    __Pyx_XGIVEREF(__pyx_t_7);
    __Pyx_XGIVEREF(__pyx_t_8);
    __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
    goto __pyx_L0;
  }

  /* "kivy/properties.pyx":533
 *         return self.get(obj)
 * 
 *     cdef compare_value(self, a, b):             # <<<<<<<<<<<<<<
 *         if self.comparator is not None:
 *             return self.comparator(a, b)
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_10);
  __Pyx_XDECREF(__pyx_t_11);
  __Pyx_XDECREF(__pyx_t_12);
  __Pyx_XDECREF(__pyx_t_13);
  __Pyx_XDECREF(__pyx_t_14);
  __Pyx_AddTraceback("kivy.properties.Property.compare_value", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_e);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":545
 *             return False
 * 
 *     cpdef set(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         '''Set a new value for the property.
 *         '''
*/

static PyObject *__pyx_pw_4kivy_10properties_8Property_33set(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_set(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps = 0;
  PyObject *__pyx_v_realvalue = NULL;
  PyObject *__pyx_v_e = 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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  int __pyx_t_7;
  PyObject *__pyx_t_8 = NULL;
  PyObject *__pyx_t_9 = NULL;
  PyObject *__pyx_t_10 = NULL;
  int __pyx_t_11;
  PyObject *__pyx_t_12 = NULL;
  PyObject *__pyx_t_13 = NULL;
  int __pyx_t_14;
  char const *__pyx_t_15;
  PyObject *__pyx_t_16 = NULL;
  PyObject *__pyx_t_17 = NULL;
  PyObject *__pyx_t_18 = NULL;
  PyObject *__pyx_t_19 = NULL;
  PyObject *__pyx_t_20 = NULL;
  PyObject *__pyx_t_21 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("set", 0);
  __Pyx_INCREF(__pyx_v_value);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_set); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 545, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_8Property_33set)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_value};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 545, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":548
 *         '''Set a new value for the property.
 *         '''
 *         cdef PropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         value = self.convert(obj, value, ps)
 *         realvalue = ps.value
*/
  __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_8Property_get_property_storage(__pyx_v_self, __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 548, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":549
 *         '''
 *         cdef PropertyStorage ps = self.get_property_storage(obj)
 *         value = self.convert(obj, value, ps)             # <<<<<<<<<<<<<<
 *         realvalue = ps.value
 *         if not self.force_dispatch and self.compare_value(realvalue, value):
*/
  __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_self->__pyx_vtab)->convert(__pyx_v_self, __pyx_v_obj, __pyx_v_value, __pyx_v_ps); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 549, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF_SET(__pyx_v_value, __pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":550
 *         cdef PropertyStorage ps = self.get_property_storage(obj)
 *         value = self.convert(obj, value, ps)
 *         realvalue = ps.value             # <<<<<<<<<<<<<<
 *         if not self.force_dispatch and self.compare_value(realvalue, value):
 *             return False
*/
  __pyx_t_1 = __pyx_v_ps->value;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_v_realvalue = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":551
 *         value = self.convert(obj, value, ps)
 *         realvalue = ps.value
 *         if not self.force_dispatch and self.compare_value(realvalue, value):             # <<<<<<<<<<<<<<
 *             return False
 * 
*/
  __pyx_t_7 = (!(__pyx_v_self->force_dispatch != 0));
  if (__pyx_t_7) {
  } else {
    __pyx_t_6 = __pyx_t_7;
    goto __pyx_L4_bool_binop_done;
  }
  __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_self->__pyx_vtab)->compare_value(__pyx_v_self, __pyx_v_realvalue, __pyx_v_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 551, __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, 551, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_6 = __pyx_t_7;
  __pyx_L4_bool_binop_done:;
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":552
 *         realvalue = ps.value
 *         if not self.force_dispatch and self.compare_value(realvalue, value):
 *             return False             # <<<<<<<<<<<<<<
 * 
 *         try:
*/
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(Py_False);
    __pyx_r = Py_False;
    goto __pyx_L0;

    /* "kivy/properties.pyx":551
 *         value = self.convert(obj, value, ps)
 *         realvalue = ps.value
 *         if not self.force_dispatch and self.compare_value(realvalue, value):             # <<<<<<<<<<<<<<
 *             return False
 * 
*/
  }

  /* "kivy/properties.pyx":554
 *             return False
 * 
 *         try:             # <<<<<<<<<<<<<<
 *             self.check(obj, value, ps)
 *         except ValueError as e:
*/
  {
    __Pyx_PyThreadState_declare
    __Pyx_PyThreadState_assign
    __Pyx_ExceptionSave(&__pyx_t_8, &__pyx_t_9, &__pyx_t_10);
    __Pyx_XGOTREF(__pyx_t_8);
    __Pyx_XGOTREF(__pyx_t_9);
    __Pyx_XGOTREF(__pyx_t_10);
    /*try:*/ {

      /* "kivy/properties.pyx":555
 * 
 *         try:
 *             self.check(obj, value, ps)             # <<<<<<<<<<<<<<
 *         except ValueError as e:
 *             if self.errorvalue_set == 1:
*/
      __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_self->__pyx_vtab)->check(__pyx_v_self, __pyx_v_obj, __pyx_v_value, __pyx_v_ps); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 555, __pyx_L6_error)
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

      /* "kivy/properties.pyx":554
 *             return False
 * 
 *         try:             # <<<<<<<<<<<<<<
 *             self.check(obj, value, ps)
 *         except ValueError as e:
*/
    }
    __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
    __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
    __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
    goto __pyx_L11_try_end;
    __pyx_L6_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_4); __pyx_t_4 = 0;

    /* "kivy/properties.pyx":556
 *         try:
 *             self.check(obj, value, ps)
 *         except ValueError as e:             # <<<<<<<<<<<<<<
 *             if self.errorvalue_set == 1:
 *                 value = self.errorvalue
*/
    __pyx_t_11 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(((PyTypeObject*)PyExc_ValueError))));
    if (__pyx_t_11) {
      __Pyx_AddTraceback("kivy.properties.Property.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_2, &__pyx_t_4) < 0) __PYX_ERR(0, 556, __pyx_L8_except_error)
      __Pyx_XGOTREF(__pyx_t_1);
      __Pyx_XGOTREF(__pyx_t_2);
      __Pyx_XGOTREF(__pyx_t_4);
      __Pyx_INCREF(__pyx_t_2);
      __pyx_v_e = __pyx_t_2;
      /*try:*/ {

        /* "kivy/properties.pyx":557
 *             self.check(obj, value, ps)
 *         except ValueError as e:
 *             if self.errorvalue_set == 1:             # <<<<<<<<<<<<<<
 *                 value = self.errorvalue
 *                 self.check(obj, value, ps)
*/
        __pyx_t_6 = (__pyx_v_self->errorvalue_set == 1);
        if (__pyx_t_6) {

          /* "kivy/properties.pyx":558
 *         except ValueError as e:
 *             if self.errorvalue_set == 1:
 *                 value = self.errorvalue             # <<<<<<<<<<<<<<
 *                 self.check(obj, value, ps)
 *             elif self.errorhandler is not None:
*/
          __pyx_t_3 = __pyx_v_self->errorvalue;
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_DECREF_SET(__pyx_v_value, __pyx_t_3);
          __pyx_t_3 = 0;

          /* "kivy/properties.pyx":559
 *             if self.errorvalue_set == 1:
 *                 value = self.errorvalue
 *                 self.check(obj, value, ps)             # <<<<<<<<<<<<<<
 *             elif self.errorhandler is not None:
 *                 value = self.errorhandler(value)
*/
          __pyx_t_3 = ((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_self->__pyx_vtab)->check(__pyx_v_self, __pyx_v_obj, __pyx_v_value, __pyx_v_ps); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 559, __pyx_L17_error)
          __Pyx_GOTREF(__pyx_t_3);
          __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

          /* "kivy/properties.pyx":557
 *             self.check(obj, value, ps)
 *         except ValueError as e:
 *             if self.errorvalue_set == 1:             # <<<<<<<<<<<<<<
 *                 value = self.errorvalue
 *                 self.check(obj, value, ps)
*/
          goto __pyx_L19;
        }

        /* "kivy/properties.pyx":560
 *                 value = self.errorvalue
 *                 self.check(obj, value, ps)
 *             elif self.errorhandler is not None:             # <<<<<<<<<<<<<<
 *                 value = self.errorhandler(value)
 *                 self.check(obj, value, ps)
*/
        __pyx_t_6 = (__pyx_v_self->errorhandler != Py_None);
        if (likely(__pyx_t_6)) {

          /* "kivy/properties.pyx":561
 *                 self.check(obj, value, ps)
 *             elif self.errorhandler is not None:
 *                 value = self.errorhandler(value)             # <<<<<<<<<<<<<<
 *                 self.check(obj, value, ps)
 *             else:
*/
          __pyx_t_12 = NULL;
          __Pyx_INCREF(__pyx_v_self->errorhandler);
          __pyx_t_13 = __pyx_v_self->errorhandler; 
          __pyx_t_5 = 1;
          #if CYTHON_UNPACK_METHODS
          if (likely(PyMethod_Check(__pyx_t_13))) {
            __pyx_t_12 = PyMethod_GET_SELF(__pyx_t_13);
            assert(__pyx_t_12);
            PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_13);
            __Pyx_INCREF(__pyx_t_12);
            __Pyx_INCREF(__pyx__function);
            __Pyx_DECREF_SET(__pyx_t_13, __pyx__function);
            __pyx_t_5 = 0;
          }
          #endif
          {
            PyObject *__pyx_callargs[2] = {__pyx_t_12, __pyx_v_value};
            __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_13, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
            __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
            __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
            if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 561, __pyx_L17_error)
            __Pyx_GOTREF(__pyx_t_3);
          }
          __Pyx_DECREF_SET(__pyx_v_value, __pyx_t_3);
          __pyx_t_3 = 0;

          /* "kivy/properties.pyx":562
 *             elif self.errorhandler is not None:
 *                 value = self.errorhandler(value)
 *                 self.check(obj, value, ps)             # <<<<<<<<<<<<<<
 *             else:
 *                 raise e
*/
          __pyx_t_3 = ((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_self->__pyx_vtab)->check(__pyx_v_self, __pyx_v_obj, __pyx_v_value, __pyx_v_ps); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 562, __pyx_L17_error)
          __Pyx_GOTREF(__pyx_t_3);
          __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

          /* "kivy/properties.pyx":560
 *                 value = self.errorvalue
 *                 self.check(obj, value, ps)
 *             elif self.errorhandler is not None:             # <<<<<<<<<<<<<<
 *                 value = self.errorhandler(value)
 *                 self.check(obj, value, ps)
*/
          goto __pyx_L19;
        }

        /* "kivy/properties.pyx":564
 *                 self.check(obj, value, ps)
 *             else:
 *                 raise e             # <<<<<<<<<<<<<<
 * 
 *         ps.value = value
*/
        /*else*/ {
          __Pyx_Raise(__pyx_v_e, 0, 0, 0);
          __PYX_ERR(0, 564, __pyx_L17_error)
        }
        __pyx_L19:;
      }

      /* "kivy/properties.pyx":556
 *         try:
 *             self.check(obj, value, ps)
 *         except ValueError as e:             # <<<<<<<<<<<<<<
 *             if self.errorvalue_set == 1:
 *                 value = self.errorvalue
*/
      /*finally:*/ {
        /*normal exit:*/{
          __Pyx_DECREF(__pyx_v_e); __pyx_v_e = 0;
          goto __pyx_L18;
        }
        __pyx_L17_error:;
        /*exception exit:*/{
          __Pyx_PyThreadState_declare
          __Pyx_PyThreadState_assign
          __pyx_t_16 = 0; __pyx_t_17 = 0; __pyx_t_18 = 0; __pyx_t_19 = 0; __pyx_t_20 = 0; __pyx_t_21 = 0;
          __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
          __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0;
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
           __Pyx_ExceptionSwap(&__pyx_t_19, &__pyx_t_20, &__pyx_t_21);
          if ( unlikely(__Pyx_GetException(&__pyx_t_16, &__pyx_t_17, &__pyx_t_18) < 0)) __Pyx_ErrFetch(&__pyx_t_16, &__pyx_t_17, &__pyx_t_18);
          __Pyx_XGOTREF(__pyx_t_16);
          __Pyx_XGOTREF(__pyx_t_17);
          __Pyx_XGOTREF(__pyx_t_18);
          __Pyx_XGOTREF(__pyx_t_19);
          __Pyx_XGOTREF(__pyx_t_20);
          __Pyx_XGOTREF(__pyx_t_21);
          __pyx_t_11 = __pyx_lineno; __pyx_t_14 = __pyx_clineno; __pyx_t_15 = __pyx_filename;
          {
            __Pyx_DECREF(__pyx_v_e); __pyx_v_e = 0;
          }
          __Pyx_XGIVEREF(__pyx_t_19);
          __Pyx_XGIVEREF(__pyx_t_20);
          __Pyx_XGIVEREF(__pyx_t_21);
          __Pyx_ExceptionReset(__pyx_t_19, __pyx_t_20, __pyx_t_21);
          __Pyx_XGIVEREF(__pyx_t_16);
          __Pyx_XGIVEREF(__pyx_t_17);
          __Pyx_XGIVEREF(__pyx_t_18);
          __Pyx_ErrRestore(__pyx_t_16, __pyx_t_17, __pyx_t_18);
          __pyx_t_16 = 0; __pyx_t_17 = 0; __pyx_t_18 = 0; __pyx_t_19 = 0; __pyx_t_20 = 0; __pyx_t_21 = 0;
          __pyx_lineno = __pyx_t_11; __pyx_clineno = __pyx_t_14; __pyx_filename = __pyx_t_15;
          goto __pyx_L8_except_error;
        }
        __pyx_L18:;
      }
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      goto __pyx_L7_exception_handled;
    }
    goto __pyx_L8_except_error;

    /* "kivy/properties.pyx":554
 *             return False
 * 
 *         try:             # <<<<<<<<<<<<<<
 *             self.check(obj, value, ps)
 *         except ValueError as e:
*/
    __pyx_L8_except_error:;
    __Pyx_XGIVEREF(__pyx_t_8);
    __Pyx_XGIVEREF(__pyx_t_9);
    __Pyx_XGIVEREF(__pyx_t_10);
    __Pyx_ExceptionReset(__pyx_t_8, __pyx_t_9, __pyx_t_10);
    goto __pyx_L1_error;
    __pyx_L7_exception_handled:;
    __Pyx_XGIVEREF(__pyx_t_8);
    __Pyx_XGIVEREF(__pyx_t_9);
    __Pyx_XGIVEREF(__pyx_t_10);
    __Pyx_ExceptionReset(__pyx_t_8, __pyx_t_9, __pyx_t_10);
    __pyx_L11_try_end:;
  }

  /* "kivy/properties.pyx":566
 *                 raise e
 * 
 *         ps.value = value             # <<<<<<<<<<<<<<
 *         self._dispatch(obj, ps)
 *         return True
*/
  __Pyx_INCREF(__pyx_v_value);
  __Pyx_GIVEREF(__pyx_v_value);
  __Pyx_GOTREF(__pyx_v_ps->value);
  __Pyx_DECREF(__pyx_v_ps->value);
  __pyx_v_ps->value = __pyx_v_value;

  /* "kivy/properties.pyx":567
 * 
 *         ps.value = value
 *         self._dispatch(obj, ps)             # <<<<<<<<<<<<<<
 *         return True
 * 
*/
  __pyx_t_4 = ((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_self->__pyx_vtab)->_dispatch(__pyx_v_self, __pyx_v_obj, __pyx_v_ps); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 567, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":568
 *         ps.value = value
 *         self._dispatch(obj, ps)
 *         return True             # <<<<<<<<<<<<<<
 * 
 *     cpdef get(self, EventDispatcher obj):
*/
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(Py_True);
  __pyx_r = Py_True;
  goto __pyx_L0;

  /* "kivy/properties.pyx":545
 *             return False
 * 
 *     cpdef set(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         '''Set a new value for the property.
 *         '''
*/

  /* 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_12);
  __Pyx_XDECREF(__pyx_t_13);
  __Pyx_AddTraceback("kivy.properties.Property.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XDECREF(__pyx_v_realvalue);
  __Pyx_XDECREF(__pyx_v_e);
  __Pyx_XDECREF(__pyx_v_value);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_33set(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_8Property_32set, "Property.set(self, EventDispatcher obj, value)\n\nSet a new value for the property.\n        ");
static PyMethodDef __pyx_mdef_4kivy_10properties_8Property_33set = {"set", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_8Property_33set, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_8Property_32set};
static PyObject *__pyx_pw_4kivy_10properties_8Property_33set(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_value = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("set (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_value,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 545, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 545, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 545, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "set", 0) < (0)) __PYX_ERR(0, 545, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("set", 1, 2, 2, i); __PYX_ERR(0, 545, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 545, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 545, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_value = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("set", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 545, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.Property.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 545, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_32set(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_value);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_8Property_32set(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value) {
  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("set", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_set(__pyx_v_self, __pyx_v_obj, __pyx_v_value, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 545, __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("kivy.properties.Property.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":570
 *         return True
 * 
 *     cpdef get(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         '''Return the value of the property.
 *         '''
*/

static PyObject *__pyx_pw_4kivy_10properties_8Property_35get(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_get(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps = 0;
  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;
  size_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  int __pyx_t_9;
  PyObject *__pyx_t_10 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 570, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_8Property_35get)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[2] = {__pyx_t_3, ((PyObject *)__pyx_v_obj)};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 570, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":574
 *         '''
 *         cdef PropertyStorage ps
 *         try:             # <<<<<<<<<<<<<<
 *             ps = self.get_property_storage(obj)
 *         except KeyError:
*/
  {
    __Pyx_PyThreadState_declare
    __Pyx_PyThreadState_assign
    __Pyx_ExceptionSave(&__pyx_t_6, &__pyx_t_7, &__pyx_t_8);
    __Pyx_XGOTREF(__pyx_t_6);
    __Pyx_XGOTREF(__pyx_t_7);
    __Pyx_XGOTREF(__pyx_t_8);
    /*try:*/ {

      /* "kivy/properties.pyx":575
 *         cdef PropertyStorage ps
 *         try:
 *             ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         except KeyError:
 *             raise AttributeError(self._name)
*/
      __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_8Property_get_property_storage(__pyx_v_self, __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 575, __pyx_L3_error)
      __Pyx_GOTREF(__pyx_t_1);
      __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
      __pyx_t_1 = 0;

      /* "kivy/properties.pyx":574
 *         '''
 *         cdef PropertyStorage ps
 *         try:             # <<<<<<<<<<<<<<
 *             ps = self.get_property_storage(obj)
 *         except KeyError:
*/
    }
    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
    __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
    __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
    goto __pyx_L8_try_end;
    __pyx_L3_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_4); __pyx_t_4 = 0;

    /* "kivy/properties.pyx":576
 *         try:
 *             ps = self.get_property_storage(obj)
 *         except KeyError:             # <<<<<<<<<<<<<<
 *             raise AttributeError(self._name)
 *         return ps.value
*/
    __pyx_t_9 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(((PyTypeObject*)PyExc_KeyError))));
    if (__pyx_t_9) {
      __Pyx_AddTraceback("kivy.properties.Property.get", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_2, &__pyx_t_4) < 0) __PYX_ERR(0, 576, __pyx_L5_except_error)
      __Pyx_XGOTREF(__pyx_t_1);
      __Pyx_XGOTREF(__pyx_t_2);
      __Pyx_XGOTREF(__pyx_t_4);

      /* "kivy/properties.pyx":577
 *             ps = self.get_property_storage(obj)
 *         except KeyError:
 *             raise AttributeError(self._name)             # <<<<<<<<<<<<<<
 *         return ps.value
 * 
*/
      __pyx_t_10 = NULL;
      __pyx_t_5 = 1;
      {
        PyObject *__pyx_callargs[2] = {__pyx_t_10, __pyx_v_self->_name};
        __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_AttributeError)), __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
        if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 577, __pyx_L5_except_error)
        __Pyx_GOTREF(__pyx_t_3);
      }
      __Pyx_Raise(__pyx_t_3, 0, 0, 0);
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
      __PYX_ERR(0, 577, __pyx_L5_except_error)
    }
    goto __pyx_L5_except_error;

    /* "kivy/properties.pyx":574
 *         '''
 *         cdef PropertyStorage ps
 *         try:             # <<<<<<<<<<<<<<
 *             ps = self.get_property_storage(obj)
 *         except KeyError:
*/
    __pyx_L5_except_error:;
    __Pyx_XGIVEREF(__pyx_t_6);
    __Pyx_XGIVEREF(__pyx_t_7);
    __Pyx_XGIVEREF(__pyx_t_8);
    __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
    goto __pyx_L1_error;
    __pyx_L8_try_end:;
  }

  /* "kivy/properties.pyx":578
 *         except KeyError:
 *             raise AttributeError(self._name)
 *         return ps.value             # <<<<<<<<<<<<<<
 * 
 *     #
*/
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_ps->value);
  __pyx_r = __pyx_v_ps->value;
  goto __pyx_L0;

  /* "kivy/properties.pyx":570
 *         return True
 * 
 *     cpdef get(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         '''Return the value of the property.
 *         '''
*/

  /* 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_10);
  __Pyx_AddTraceback("kivy.properties.Property.get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_35get(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_8Property_34get, "Property.get(self, EventDispatcher obj)\n\nReturn the value of the property.\n        ");
static PyMethodDef __pyx_mdef_4kivy_10properties_8Property_35get = {"get", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_8Property_35get, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_8Property_34get};
static PyObject *__pyx_pw_4kivy_10properties_8Property_35get(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 570, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 570, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "get", 0) < (0)) __PYX_ERR(0, 570, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("get", 1, 1, 1, i); __PYX_ERR(0, 570, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 570, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("get", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 570, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.Property.get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 570, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_34get(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_8Property_34get(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj) {
  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_f_4kivy_10properties_8Property_get(__pyx_v_self, __pyx_v_obj, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 570, __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("kivy.properties.Property.get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":584
 *     #
 * 
 *     cdef check(self, EventDispatcher obj, x, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         '''Check whether the value is correct or not, depending on the settings
 *         of the property class.
*/

static PyObject *__pyx_f_4kivy_10properties_8Property_check(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_x, CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage) {
  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;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7[4];
  size_t __pyx_t_8;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("check", 0);

  /* "kivy/properties.pyx":591
 *             bool, True if the value correctly validates.
 *         '''
 *         if x is None:             # <<<<<<<<<<<<<<
 *             if not self.allownone:
 *                 raise ValueError('None is not allowed for %s.%s' % (
*/
  __pyx_t_1 = (__pyx_v_x == Py_None);
  if (__pyx_t_1) {

    /* "kivy/properties.pyx":592
 *         '''
 *         if x is None:
 *             if not self.allownone:             # <<<<<<<<<<<<<<
 *                 raise ValueError('None is not allowed for %s.%s' % (
 *                     obj.__class__.__name__,
*/
    __pyx_t_1 = (!(__pyx_v_self->allownone != 0));
    if (unlikely(__pyx_t_1)) {

      /* "kivy/properties.pyx":593
 *         if x is None:
 *             if not self.allownone:
 *                 raise ValueError('None is not allowed for %s.%s' % (             # <<<<<<<<<<<<<<
 *                     obj.__class__.__name__,
 *                     self.name))
*/
      __pyx_t_3 = NULL;

      /* "kivy/properties.pyx":594
 *             if not self.allownone:
 *                 raise ValueError('None is not allowed for %s.%s' % (
 *                     obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                     self.name))
 *             else:
*/
      __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 594, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
      __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 594, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __pyx_t_4 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_5), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 594, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

      /* "kivy/properties.pyx":595
 *                 raise ValueError('None is not allowed for %s.%s' % (
 *                     obj.__class__.__name__,
 *                     self.name))             # <<<<<<<<<<<<<<
 *             else:
 *                 return True
*/
      __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 595, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_5);
      __pyx_t_6 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_5), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 595, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __pyx_t_7[0] = __pyx_mstate_global->__pyx_kp_u_None_is_not_allowed_for;
      __pyx_t_7[1] = __pyx_t_4;
      __pyx_t_7[2] = __pyx_mstate_global->__pyx_kp_u__4;
      __pyx_t_7[3] = __pyx_t_6;

      /* "kivy/properties.pyx":593
 *         if x is None:
 *             if not self.allownone:
 *                 raise ValueError('None is not allowed for %s.%s' % (             # <<<<<<<<<<<<<<
 *                     obj.__class__.__name__,
 *                     self.name))
*/
      __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_7, 4, 24 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_4) + 1 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_6), 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6));
      if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 593, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __pyx_t_8 = 1;
      {
        PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_t_5};
        __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (__pyx_t_8*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
        __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
        if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 593, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_2);
      }
      __Pyx_Raise(__pyx_t_2, 0, 0, 0);
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
      __PYX_ERR(0, 593, __pyx_L1_error)

      /* "kivy/properties.pyx":592
 *         '''
 *         if x is None:
 *             if not self.allownone:             # <<<<<<<<<<<<<<
 *                 raise ValueError('None is not allowed for %s.%s' % (
 *                     obj.__class__.__name__,
*/
    }

    /* "kivy/properties.pyx":597
 *                     self.name))
 *             else:
 *                 return True             # <<<<<<<<<<<<<<
 * 
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):
*/
    /*else*/ {
      __Pyx_XDECREF(__pyx_r);
      __Pyx_INCREF(Py_True);
      __pyx_r = Py_True;
      goto __pyx_L0;
    }

    /* "kivy/properties.pyx":591
 *             bool, True if the value correctly validates.
 *         '''
 *         if x is None:             # <<<<<<<<<<<<<<
 *             if not self.allownone:
 *                 raise ValueError('None is not allowed for %s.%s' % (
*/
  }

  /* "kivy/properties.pyx":584
 *     #
 * 
 *     cdef check(self, EventDispatcher obj, x, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         '''Check whether the value is correct or not, depending on the settings
 *         of the property class.
*/

  /* 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_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("kivy.properties.Property.check", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":599
 *                 return True
 * 
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         '''Convert the initial value to a correctly validating value.
 *         Can be used for multiple types of arguments, simplifying to only one.
*/

static PyObject *__pyx_f_4kivy_10properties_8Property_convert(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_x, CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("convert", 0);

  /* "kivy/properties.pyx":603
 *         Can be used for multiple types of arguments, simplifying to only one.
 *         '''
 *         return x             # <<<<<<<<<<<<<<
 * 
 *     cdef _dispatch(self, EventDispatcher obj, PropertyStorage ps):
*/
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_x);
  __pyx_r = __pyx_v_x;
  goto __pyx_L0;

  /* "kivy/properties.pyx":599
 *                 return True
 * 
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         '''Convert the initial value to a correctly validating value.
 *         Can be used for multiple types of arguments, simplifying to only one.
*/

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

/* "kivy/properties.pyx":605
 *         return x
 * 
 *     cdef _dispatch(self, EventDispatcher obj, PropertyStorage ps):             # <<<<<<<<<<<<<<
 *         ps.observers.dispatch(obj, ps.value, None, None, 0)
 * 
*/

static PyObject *__pyx_f_4kivy_10properties_8Property__dispatch(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps) {
  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("_dispatch", 0);

  /* "kivy/properties.pyx":606
 * 
 *     cdef _dispatch(self, EventDispatcher obj, PropertyStorage ps):
 *         ps.observers.dispatch(obj, ps.value, None, None, 0)             # <<<<<<<<<<<<<<
 * 
 *     cpdef dispatch(self, EventDispatcher obj):
*/
  __pyx_t_1 = __pyx_v_ps->value;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_t_2 = ((struct __pyx_vtabstruct_4kivy_6_event_EventObservers *)__pyx_v_ps->observers->__pyx_vtab)->dispatch(__pyx_v_ps->observers, ((PyObject *)__pyx_v_obj), __pyx_t_1, ((PyObject*)Py_None), ((PyObject*)Py_None), 0); if (unlikely(__pyx_t_2 == ((int)2))) __PYX_ERR(0, 606, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":605
 *         return x
 * 
 *     cdef _dispatch(self, EventDispatcher obj, PropertyStorage ps):             # <<<<<<<<<<<<<<
 *         ps.observers.dispatch(obj, ps.value, None, None, 0)
 * 
*/

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.Property._dispatch", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":608
 *         ps.observers.dispatch(obj, ps.value, None, None, 0)
 * 
 *     cpdef dispatch(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         '''Dispatch the value change to all observers.
 * 
*/

static PyObject *__pyx_pw_4kivy_10properties_8Property_37dispatch(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_8Property_dispatch(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps = 0;
  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;
  size_t __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("dispatch", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dispatch); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 608, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_8Property_37dispatch)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[2] = {__pyx_t_3, ((PyObject *)__pyx_v_obj)};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 608, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":624
 * 
 *         '''
 *         cdef PropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         self._dispatch(obj, ps)
 * 
*/
  __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_8Property_get_property_storage(__pyx_v_self, __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 624, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":625
 *         '''
 *         cdef PropertyStorage ps = self.get_property_storage(obj)
 *         self._dispatch(obj, ps)             # <<<<<<<<<<<<<<
 * 
 * 
*/
  __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_self->__pyx_vtab)->_dispatch(__pyx_v_self, __pyx_v_obj, __pyx_v_ps); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 625, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":608
 *         ps.observers.dispatch(obj, ps.value, None, None, 0)
 * 
 *     cpdef dispatch(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         '''Dispatch the value change to all observers.
 * 
*/

  /* 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("kivy.properties.Property.dispatch", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_37dispatch(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_8Property_36dispatch, "Property.dispatch(self, EventDispatcher obj)\n\nDispatch the value change to all observers.\n\n.. versionchanged:: 1.1.0\n    The method is now accessible from Python.\n\nThis can be used to force the dispatch of the property, even if the\nvalue didn't change::\n\n    button = Button()\n    # get the Property class instance\n    prop = button.property('text')\n    # dispatch this property on the button instance\n    prop.dispatch(button)");
static PyMethodDef __pyx_mdef_4kivy_10properties_8Property_37dispatch = {"dispatch", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_8Property_37dispatch, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_8Property_36dispatch};
static PyObject *__pyx_pw_4kivy_10properties_8Property_37dispatch(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("dispatch (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 608, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 608, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "dispatch", 0) < (0)) __PYX_ERR(0, 608, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("dispatch", 1, 1, 1, i); __PYX_ERR(0, 608, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 608, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("dispatch", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 608, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.Property.dispatch", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 608, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_36dispatch(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_8Property_36dispatch(struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj) {
  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("dispatch", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_dispatch(__pyx_v_self, __pyx_v_obj, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 608, __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("kivy.properties.Property.dispatch", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pxd":19
 *     cdef object errorhandler
 *     cdef int errorvalue_set
 *     cdef public object defaultvalue             # <<<<<<<<<<<<<<
 *     cdef int deprecated
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage)
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_12defaultvalue_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_4kivy_10properties_8Property_12defaultvalue_1__get__(PyObject *__pyx_v_self) {
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_12defaultvalue___get__(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self));

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

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

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

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_8Property_12defaultvalue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_4kivy_10properties_8Property_12defaultvalue_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_12defaultvalue_2__set__(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), ((PyObject *)__pyx_v_value));

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

static int __pyx_pf_4kivy_10properties_8Property_12defaultvalue_2__set__(struct __pyx_obj_4kivy_10properties_Property *__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->defaultvalue);
  __Pyx_DECREF(__pyx_v_self->defaultvalue);
  __pyx_v_self->defaultvalue = __pyx_v_value;

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

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_8Property_12defaultvalue_5__del__(PyObject *__pyx_v_self); /*proto*/
static int __pyx_pw_4kivy_10properties_8Property_12defaultvalue_5__del__(PyObject *__pyx_v_self) {
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__del__ (wrapper)", 0);
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_12defaultvalue_4__del__(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self));

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

static int __pyx_pf_4kivy_10properties_8Property_12defaultvalue_4__del__(struct __pyx_obj_4kivy_10properties_Property *__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->defaultvalue);
  __Pyx_DECREF(__pyx_v_self->defaultvalue);
  __pyx_v_self->defaultvalue = Py_None;

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

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_39__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_8Property_38__reduce_cython__, "Property.__reduce_cython__(self)");
static PyMethodDef __pyx_mdef_4kivy_10properties_8Property_39__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_8Property_39__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_8Property_38__reduce_cython__};
static PyObject *__pyx_pw_4kivy_10properties_8Property_39__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return NULL;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__reduce_cython__", __pyx_kwds); return NULL;}
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_38__reduce_cython__(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_8Property_38__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.Property.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_8Property_41__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_8Property_40__setstate_cython__, "Property.__setstate_cython__(self, __pyx_state)");
static PyMethodDef __pyx_mdef_4kivy_10properties_8Property_41__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_8Property_41__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_8Property_40__setstate_cython__};
static PyObject *__pyx_pw_4kivy_10properties_8Property_41__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  CYTHON_UNUSED PyObject *__pyx_v___pyx_state = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 3, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 3, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
    }
    __pyx_v___pyx_state = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.Property.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_8Property_40__setstate_cython__(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v___pyx_state);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_8Property_40__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_Property *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.Property.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":672
 * 
 *     '''
 *     def __init__(self, defaultvalue=0, **kw):             # <<<<<<<<<<<<<<
 *         super(NumericProperty, self).__init__(defaultvalue, **kw)
 * 
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_15NumericProperty_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_15NumericProperty_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_defaultvalue = 0;
  PyObject *__pyx_v_kw = 0;
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_v_kw = PyDict_New(); if (unlikely(!__pyx_v_kw)) return -1;
  __Pyx_GOTREF(__pyx_v_kw);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_defaultvalue,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 672, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 672, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, __pyx_v_kw, values, kwd_pos_args, __pyx_kwds_len, "__init__", 1) < (0)) __PYX_ERR(0, 672, __pyx_L3_error)
      if (!values[0]) values[0] = __Pyx_NewRef(((PyObject *)__pyx_mstate_global->__pyx_int_0));
    } else {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 672, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      if (!values[0]) values[0] = __Pyx_NewRef(((PyObject *)__pyx_mstate_global->__pyx_int_0));
    }
    __pyx_v_defaultvalue = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 672, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw); __pyx_v_kw = 0;
  __Pyx_AddTraceback("kivy.properties.NumericProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_15NumericProperty___init__(((struct __pyx_obj_4kivy_10properties_NumericProperty *)__pyx_v_self), __pyx_v_defaultvalue, __pyx_v_kw);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_4kivy_10properties_15NumericProperty___init__(struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_kw) {
  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;
  size_t __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "kivy/properties.pyx":673
 *     '''
 *     def __init__(self, defaultvalue=0, **kw):
 *         super(NumericProperty, self).__init__(defaultvalue, **kw)             # <<<<<<<<<<<<<<
 * 
 *     def _dpi_callback(self, obj, _obj, _value):
*/
  __pyx_t_2 = NULL;
  __pyx_t_4 = NULL;
  __pyx_t_5 = 1;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_4, ((PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_NumericProperty), ((PyObject *)__pyx_v_self)};
    __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)__pyx_builtin_super, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 673, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
  }
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_init); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 673, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = PyDict_Copy(__pyx_v_kw); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 673, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (likely(PyMethod_Check(__pyx_t_4))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_defaultvalue};
    __pyx_t_1 = __Pyx_PyObject_FastCallDict((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_3);
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 673, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":672
 * 
 *     '''
 *     def __init__(self, defaultvalue=0, **kw):             # <<<<<<<<<<<<<<
 *         super(NumericProperty, self).__init__(defaultvalue, **kw)
 * 
*/

  /* 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_AddTraceback("kivy.properties.NumericProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":675
 *         super(NumericProperty, self).__init__(defaultvalue, **kw)
 * 
 *     def _dpi_callback(self, obj, _obj, _value):             # <<<<<<<<<<<<<<
 *         cdef EventDispatcher event_dispatcher = obj()
 *         if event_dispatcher is None:
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_15NumericProperty_3_dpi_callback(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_15NumericProperty_2_dpi_callback, "NumericProperty._dpi_callback(self, obj, _obj, _value)");
static PyMethodDef __pyx_mdef_4kivy_10properties_15NumericProperty_3_dpi_callback = {"_dpi_callback", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_15NumericProperty_3_dpi_callback, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_15NumericProperty_2_dpi_callback};
static PyObject *__pyx_pw_4kivy_10properties_15NumericProperty_3_dpi_callback(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_obj = 0;
  CYTHON_UNUSED PyObject *__pyx_v__obj = 0;
  CYTHON_UNUSED PyObject *__pyx_v__value = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[3] = {0,0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("_dpi_callback (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_obj_2,&__pyx_mstate_global->__pyx_n_u_value_2,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 675, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 675, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 675, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 675, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "_dpi_callback", 0) < (0)) __PYX_ERR(0, 675, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 3; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("_dpi_callback", 1, 3, 3, i); __PYX_ERR(0, 675, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 3)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 675, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 675, __pyx_L3_error)
      values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 675, __pyx_L3_error)
    }
    __pyx_v_obj = values[0];
    __pyx_v__obj = values[1];
    __pyx_v__value = values[2];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("_dpi_callback", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 675, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.NumericProperty._dpi_callback", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_15NumericProperty_2_dpi_callback(((struct __pyx_obj_4kivy_10properties_NumericProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v__obj, __pyx_v__value);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_15NumericProperty_2_dpi_callback(struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self, PyObject *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v__obj, CYTHON_UNUSED PyObject *__pyx_v__value) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_event_dispatcher = 0;
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps_ = 0;
  struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *__pyx_v_ps = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  size_t __pyx_t_4;
  int __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("_dpi_callback", 0);

  /* "kivy/properties.pyx":676
 * 
 *     def _dpi_callback(self, obj, _obj, _value):
 *         cdef EventDispatcher event_dispatcher = obj()             # <<<<<<<<<<<<<<
 *         if event_dispatcher is None:
 *             return
*/
  __pyx_t_2 = NULL;
  __Pyx_INCREF(__pyx_v_obj);
  __pyx_t_3 = __pyx_v_obj; 
  __pyx_t_4 = 1;
  #if CYTHON_UNPACK_METHODS
  if (unlikely(PyMethod_Check(__pyx_t_3))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_3);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_3, __pyx__function);
    __pyx_t_4 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL};
    __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_4, (1-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 676, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher))))) __PYX_ERR(0, 676, __pyx_L1_error)
  __pyx_v_event_dispatcher = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":677
 *     def _dpi_callback(self, obj, _obj, _value):
 *         cdef EventDispatcher event_dispatcher = obj()
 *         if event_dispatcher is None:             # <<<<<<<<<<<<<<
 *             return
 * 
*/
  __pyx_t_5 = (((PyObject *)__pyx_v_event_dispatcher) == Py_None);
  if (__pyx_t_5) {

    /* "kivy/properties.pyx":678
 *         cdef EventDispatcher event_dispatcher = obj()
 *         if event_dispatcher is None:
 *             return             # <<<<<<<<<<<<<<
 * 
 *         cdef PropertyStorage ps_ = self.get_property_storage(event_dispatcher)
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_r = Py_None; __Pyx_INCREF(Py_None);
    goto __pyx_L0;

    /* "kivy/properties.pyx":677
 *     def _dpi_callback(self, obj, _obj, _value):
 *         cdef EventDispatcher event_dispatcher = obj()
 *         if event_dispatcher is None:             # <<<<<<<<<<<<<<
 *             return
 * 
*/
  }

  /* "kivy/properties.pyx":680
 *             return
 * 
 *         cdef PropertyStorage ps_ = self.get_property_storage(event_dispatcher)             # <<<<<<<<<<<<<<
 *         if ps_.property_obj is not self:
 *             # this can happen if we bind for a prop with name x, but then the
*/
  __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_NumericProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get_property_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_event_dispatcher)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 680, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_ps_ = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":681
 * 
 *         cdef PropertyStorage ps_ = self.get_property_storage(event_dispatcher)
 *         if ps_.property_obj is not self:             # <<<<<<<<<<<<<<
 *             # this can happen if we bind for a prop with name x, but then the
 *             # widget is set a different kivy prop also with name x. So when we
*/
  __pyx_t_5 = (((PyObject *)__pyx_v_ps_->property_obj) != ((PyObject *)__pyx_v_self));
  if (__pyx_t_5) {

    /* "kivy/properties.pyx":686
 *             # callback, __storage[self._name] returns the new prop storage,
 *             # which is inappropriate
 *             return             # <<<<<<<<<<<<<<
 * 
 *         cdef NumericPropertyStorage ps = ps_
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_r = Py_None; __Pyx_INCREF(Py_None);
    goto __pyx_L0;

    /* "kivy/properties.pyx":681
 * 
 *         cdef PropertyStorage ps_ = self.get_property_storage(event_dispatcher)
 *         if ps_.property_obj is not self:             # <<<<<<<<<<<<<<
 *             # this can happen if we bind for a prop with name x, but then the
 *             # widget is set a different kivy prop also with name x. So when we
*/
  }

  /* "kivy/properties.pyx":688
 *             return
 * 
 *         cdef NumericPropertyStorage ps = ps_             # <<<<<<<<<<<<<<
 *         if ps.numeric_fmt == 'px':
 *             return
*/
  __pyx_t_1 = ((PyObject *)__pyx_v_ps_);
  __Pyx_INCREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_NumericPropertyStorage))))) __PYX_ERR(0, 688, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":689
 * 
 *         cdef NumericPropertyStorage ps = ps_
 *         if ps.numeric_fmt == 'px':             # <<<<<<<<<<<<<<
 *             return
 *         self.set(event_dispatcher, (ps.original_num, ps.numeric_fmt))
*/
  __pyx_t_5 = (__Pyx_PyUnicode_Equals(__pyx_v_ps->numeric_fmt, __pyx_mstate_global->__pyx_n_u_px, Py_EQ)); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 689, __pyx_L1_error)
  if (__pyx_t_5) {

    /* "kivy/properties.pyx":690
 *         cdef NumericPropertyStorage ps = ps_
 *         if ps.numeric_fmt == 'px':
 *             return             # <<<<<<<<<<<<<<
 *         self.set(event_dispatcher, (ps.original_num, ps.numeric_fmt))
 * 
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_r = Py_None; __Pyx_INCREF(Py_None);
    goto __pyx_L0;

    /* "kivy/properties.pyx":689
 * 
 *         cdef NumericPropertyStorage ps = ps_
 *         if ps.numeric_fmt == 'px':             # <<<<<<<<<<<<<<
 *             return
 *         self.set(event_dispatcher, (ps.original_num, ps.numeric_fmt))
*/
  }

  /* "kivy/properties.pyx":691
 *         if ps.numeric_fmt == 'px':
 *             return
 *         self.set(event_dispatcher, (ps.original_num, ps.numeric_fmt))             # <<<<<<<<<<<<<<
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):
*/
  __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 691, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_v_ps->original_num);
  __Pyx_GIVEREF(__pyx_v_ps->original_num);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_ps->original_num) != (0)) __PYX_ERR(0, 691, __pyx_L1_error);
  __Pyx_INCREF(__pyx_v_ps->numeric_fmt);
  __Pyx_GIVEREF(__pyx_v_ps->numeric_fmt);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_ps->numeric_fmt) != (0)) __PYX_ERR(0, 691, __pyx_L1_error);
  __pyx_t_3 = ((struct __pyx_vtabstruct_4kivy_10properties_NumericProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.set(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_event_dispatcher, __pyx_t_1, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 691, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "kivy/properties.pyx":675
 *         super(NumericProperty, self).__init__(defaultvalue, **kw)
 * 
 *     def _dpi_callback(self, obj, _obj, _value):             # <<<<<<<<<<<<<<
 *         cdef EventDispatcher event_dispatcher = obj()
 *         if event_dispatcher is None:
*/

  /* 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("kivy.properties.NumericProperty._dpi_callback", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_event_dispatcher);
  __Pyx_XDECREF((PyObject *)__pyx_v_ps_);
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":693
 *         self.set(event_dispatcher, (ps.original_num, ps.numeric_fmt))
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):             # <<<<<<<<<<<<<<
 *         cdef NumericPropertyStorage s = storage
 *         s.numeric_fmt = 'px'
*/

static PyObject *__pyx_f_4kivy_10properties_15NumericProperty_init_storage(struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_storage) {
  struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *__pyx_v_s = 0;
  struct __pyx_obj_4kivy_6_event_BoundCallback *__pyx_v_callback = 0;
  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;
  size_t __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("init_storage", 0);

  /* "kivy/properties.pyx":694
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):
 *         cdef NumericPropertyStorage s = storage             # <<<<<<<<<<<<<<
 *         s.numeric_fmt = 'px'
 *         s.original_num = self.defaultvalue
*/
  __pyx_t_1 = ((PyObject *)__pyx_v_storage);
  __Pyx_INCREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_NumericPropertyStorage))))) __PYX_ERR(0, 694, __pyx_L1_error)
  __pyx_v_s = ((struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":695
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):
 *         cdef NumericPropertyStorage s = storage
 *         s.numeric_fmt = 'px'             # <<<<<<<<<<<<<<
 *         s.original_num = self.defaultvalue
 *         Property.init_storage(self, obj, storage)
*/
  __Pyx_INCREF(__pyx_mstate_global->__pyx_n_u_px);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_n_u_px);
  __Pyx_GOTREF(__pyx_v_s->numeric_fmt);
  __Pyx_DECREF(__pyx_v_s->numeric_fmt);
  __pyx_v_s->numeric_fmt = __pyx_mstate_global->__pyx_n_u_px;

  /* "kivy/properties.pyx":696
 *         cdef NumericPropertyStorage s = storage
 *         s.numeric_fmt = 'px'
 *         s.original_num = self.defaultvalue             # <<<<<<<<<<<<<<
 *         Property.init_storage(self, obj, storage)
 * 
*/
  __pyx_t_1 = __pyx_v_self->__pyx_base.defaultvalue;
  __Pyx_INCREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_s->original_num);
  __Pyx_DECREF(__pyx_v_s->original_num);
  __pyx_v_s->original_num = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":697
 *         s.numeric_fmt = 'px'
 *         s.original_num = self.defaultvalue
 *         Property.init_storage(self, obj, storage)             # <<<<<<<<<<<<<<
 * 
 *         # this prop is stored in the class of obj. So, the class will never be
*/
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_init_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_storage); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 697, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":705
 *         # to the class either
 *         cdef BoundCallback callback = pixel_scale_observers.make_callback(
 *             self._dpi_callback, None, None, 0)             # <<<<<<<<<<<<<<
 *         # the ref must be saved somewhere, but also need it anyway. Unbind only
 *         # happens when obj dies, so no double unbind
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dpi_callback); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 705, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);

  /* "kivy/properties.pyx":704
 *         # when the obj dies it'll remove the observer so there will not be a ref
 *         # to the class either
 *         cdef BoundCallback callback = pixel_scale_observers.make_callback(             # <<<<<<<<<<<<<<
 *             self._dpi_callback, None, None, 0)
 *         # the ref must be saved somewhere, but also need it anyway. Unbind only
*/
  __pyx_t_2 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_6_event_EventObservers *)__pyx_v_4kivy_8_metrics_pixel_scale_observers->__pyx_vtab)->make_callback(__pyx_v_4kivy_8_metrics_pixel_scale_observers, __pyx_t_1, ((PyObject*)Py_None), ((PyObject*)Py_None), 0, NULL)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 704, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_v_callback = ((struct __pyx_obj_4kivy_6_event_BoundCallback *)__pyx_t_2);
  __pyx_t_2 = 0;

  /* "kivy/properties.pyx":708
 *         # the ref must be saved somewhere, but also need it anyway. Unbind only
 *         # happens when obj dies, so no double unbind
 *         callback.set_largs((ref(obj, callback.unbind_callback), ))             # <<<<<<<<<<<<<<
 * 
 *         # obj for sure won't be garbage collected until this exits
*/
  __pyx_t_1 = NULL;
  __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_ref); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 708, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_callback), __pyx_mstate_global->__pyx_n_u_unbind_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 708, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (unlikely(PyMethod_Check(__pyx_t_3))) {
    __pyx_t_1 = PyMethod_GET_SELF(__pyx_t_3);
    assert(__pyx_t_1);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_3);
    __Pyx_INCREF(__pyx_t_1);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_3, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_1, ((PyObject *)__pyx_v_obj), __pyx_t_4};
    __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 708, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
  }
  __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 708, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_GIVEREF(__pyx_t_2);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2) != (0)) __PYX_ERR(0, 708, __pyx_L1_error);
  __pyx_t_2 = 0;
  ((struct __pyx_vtabstruct_4kivy_6_event_BoundCallback *)__pyx_v_callback->__pyx_vtab)->set_largs(__pyx_v_callback, ((PyObject*)__pyx_t_3)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 708, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "kivy/properties.pyx":711
 * 
 *         # obj for sure won't be garbage collected until this exits
 *         pixel_scale_observers.fbind_existing_callback(callback)             # <<<<<<<<<<<<<<
 * 
 *     cdef PropertyStorage create_property_storage(self):
*/
  ((struct __pyx_vtabstruct_4kivy_6_event_EventObservers *)__pyx_v_4kivy_8_metrics_pixel_scale_observers->__pyx_vtab)->fbind_existing_callback(__pyx_v_4kivy_8_metrics_pixel_scale_observers, __pyx_v_callback); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 711, __pyx_L1_error)

  /* "kivy/properties.pyx":693
 *         self.set(event_dispatcher, (ps.original_num, ps.numeric_fmt))
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):             # <<<<<<<<<<<<<<
 *         cdef NumericPropertyStorage s = storage
 *         s.numeric_fmt = 'px'
*/

  /* 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("kivy.properties.NumericProperty.init_storage", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_s);
  __Pyx_XDECREF((PyObject *)__pyx_v_callback);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":713
 *         pixel_scale_observers.fbind_existing_callback(callback)
 * 
 *     cdef PropertyStorage create_property_storage(self):             # <<<<<<<<<<<<<<
 *         return NumericPropertyStorage.__new__(NumericPropertyStorage)
 * 
*/

static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_15NumericProperty_create_property_storage(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__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("create_property_storage", 0);

  /* "kivy/properties.pyx":714
 * 
 *     cdef PropertyStorage create_property_storage(self):
 *         return NumericPropertyStorage.__new__(NumericPropertyStorage)             # <<<<<<<<<<<<<<
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
*/
  __Pyx_XDECREF((PyObject *)__pyx_r);
  __pyx_t_1 = ((PyObject *)__pyx_tp_new_4kivy_10properties_NumericPropertyStorage(((PyTypeObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_NumericPropertyStorage), __pyx_mstate_global->__pyx_empty_tuple, NULL)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 714, __pyx_L1_error)
  __Pyx_GOTREF((PyObject *)__pyx_t_1);
  if (!(likely(__Pyx_TypeTest(((PyObject *)__pyx_t_1), __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage)))) __PYX_ERR(0, 714, __pyx_L1_error)
  __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "kivy/properties.pyx":713
 *         pixel_scale_observers.fbind_existing_callback(callback)
 * 
 *     cdef PropertyStorage create_property_storage(self):             # <<<<<<<<<<<<<<
 *         return NumericPropertyStorage.__new__(NumericPropertyStorage)
 * 
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.NumericProperty.create_property_storage", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":716
 *         return NumericPropertyStorage.__new__(NumericPropertyStorage)
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         if Property.check(self, obj, value, property_storage):
 *             return True
*/

static PyObject *__pyx_f_4kivy_10properties_15NumericProperty_check(struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage) {
  PyTypeObject *__pyx_v_tp = 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;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8[6];
  PyObject *__pyx_t_9 = NULL;
  size_t __pyx_t_10;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("check", 0);

  /* "kivy/properties.pyx":717
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):             # <<<<<<<<<<<<<<
 *             return True
 *         tp = type(value)
*/
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_check(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_value, __pyx_v_property_storage); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 717, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 717, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":718
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):
 *             return True             # <<<<<<<<<<<<<<
 *         tp = type(value)
 *         if tp is not int and tp is not float:
*/
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(Py_True);
    __pyx_r = Py_True;
    goto __pyx_L0;

    /* "kivy/properties.pyx":717
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):             # <<<<<<<<<<<<<<
 *             return True
 *         tp = type(value)
*/
  }

  /* "kivy/properties.pyx":719
 *         if Property.check(self, obj, value, property_storage):
 *             return True
 *         tp = type(value)             # <<<<<<<<<<<<<<
 *         if tp is not int and tp is not float:
 *             raise ValueError('%s.%s accept only int/float (got %r)' % (
*/
  __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_value)));
  __pyx_v_tp = ((PyTypeObject*)((PyObject *)Py_TYPE(__pyx_v_value)));

  /* "kivy/properties.pyx":720
 *             return True
 *         tp = type(value)
 *         if tp is not int and tp is not float:             # <<<<<<<<<<<<<<
 *             raise ValueError('%s.%s accept only int/float (got %r)' % (
 *                 obj.__class__.__name__,
*/
  __pyx_t_3 = (__pyx_v_tp != (&PyLong_Type));
  if (__pyx_t_3) {
  } else {
    __pyx_t_2 = __pyx_t_3;
    goto __pyx_L5_bool_binop_done;
  }
  __pyx_t_3 = (__pyx_v_tp != (&PyFloat_Type));
  __pyx_t_2 = __pyx_t_3;
  __pyx_L5_bool_binop_done:;
  if (unlikely(__pyx_t_2)) {

    /* "kivy/properties.pyx":721
 *         tp = type(value)
 *         if tp is not int and tp is not float:
 *             raise ValueError('%s.%s accept only int/float (got %r)' % (             # <<<<<<<<<<<<<<
 *                 obj.__class__.__name__,
 *                 self.name, value))
*/
    __pyx_t_4 = NULL;

    /* "kivy/properties.pyx":722
 *         if tp is not int and tp is not float:
 *             raise ValueError('%s.%s accept only int/float (got %r)' % (
 *                 obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                 self.name, value))
 * 
*/
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 722, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 722, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    __pyx_t_5 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_6), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 722, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

    /* "kivy/properties.pyx":723
 *             raise ValueError('%s.%s accept only int/float (got %r)' % (
 *                 obj.__class__.__name__,
 *                 self.name, value))             # <<<<<<<<<<<<<<
 * 
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):
*/
    __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 723, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __pyx_t_7 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_6), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 723, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_7);
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
    __pyx_t_6 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Repr(__pyx_v_value), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 723, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __pyx_t_8[0] = __pyx_t_5;
    __pyx_t_8[1] = __pyx_mstate_global->__pyx_kp_u__4;
    __pyx_t_8[2] = __pyx_t_7;
    __pyx_t_8[3] = __pyx_mstate_global->__pyx_kp_u_accept_only_int_float_got;
    __pyx_t_8[4] = __pyx_t_6;
    __pyx_t_8[5] = __pyx_mstate_global->__pyx_kp_u__5;

    /* "kivy/properties.pyx":721
 *         tp = type(value)
 *         if tp is not int and tp is not float:
 *             raise ValueError('%s.%s accept only int/float (got %r)' % (             # <<<<<<<<<<<<<<
 *                 obj.__class__.__name__,
 *                 self.name, value))
*/
    __pyx_t_9 = __Pyx_PyUnicode_Join(__pyx_t_8, 6, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_5) + 1 * 2 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7) + 28 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_6), 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6));
    if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 721, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_9);
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
    __pyx_t_10 = 1;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_9};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_10, (2-__pyx_t_10) | (__pyx_t_10*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 721, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_Raise(__pyx_t_1, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __PYX_ERR(0, 721, __pyx_L1_error)

    /* "kivy/properties.pyx":720
 *             return True
 *         tp = type(value)
 *         if tp is not int and tp is not float:             # <<<<<<<<<<<<<<
 *             raise ValueError('%s.%s accept only int/float (got %r)' % (
 *                 obj.__class__.__name__,
*/
  }

  /* "kivy/properties.pyx":716
 *         return NumericPropertyStorage.__new__(NumericPropertyStorage)
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         if Property.check(self, obj, value, property_storage):
 *             return True
*/

  /* 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_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_AddTraceback("kivy.properties.NumericProperty.check", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_tp);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":725
 *                 self.name, value))
 * 
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         cdef NumericPropertyStorage ps = property_storage
 *         if x is None:
*/

static PyObject *__pyx_f_4kivy_10properties_15NumericProperty_convert(struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_x, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage) {
  struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *__pyx_v_ps = 0;
  PyTypeObject *__pyx_v_tp = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_t_3;
  float __pyx_t_4;
  Py_ssize_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  PyObject *__pyx_t_9 = NULL;
  PyObject *__pyx_t_10[6];
  PyObject *__pyx_t_11 = NULL;
  size_t __pyx_t_12;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("convert", 0);

  /* "kivy/properties.pyx":726
 * 
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):
 *         cdef NumericPropertyStorage ps = property_storage             # <<<<<<<<<<<<<<
 *         if x is None:
 *             if self.allownone:
*/
  __pyx_t_1 = ((PyObject *)__pyx_v_property_storage);
  __Pyx_INCREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_NumericPropertyStorage))))) __PYX_ERR(0, 726, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":727
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):
 *         cdef NumericPropertyStorage ps = property_storage
 *         if x is None:             # <<<<<<<<<<<<<<
 *             if self.allownone:
 *                 # otherwise it won't actually be set, because that's the only
*/
  __pyx_t_2 = (__pyx_v_x == Py_None);
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":728
 *         cdef NumericPropertyStorage ps = property_storage
 *         if x is None:
 *             if self.allownone:             # <<<<<<<<<<<<<<
 *                 # otherwise it won't actually be set, because that's the only
 *                 # thing we check for
*/
    __pyx_t_2 = (__pyx_v_self->__pyx_base.allownone != 0);
    if (__pyx_t_2) {

      /* "kivy/properties.pyx":731
 *                 # otherwise it won't actually be set, because that's the only
 *                 # thing we check for
 *                 ps.numeric_fmt = 'px'             # <<<<<<<<<<<<<<
 *                 ps.original_num = None
 *             return x
*/
      __Pyx_INCREF(__pyx_mstate_global->__pyx_n_u_px);
      __Pyx_GIVEREF(__pyx_mstate_global->__pyx_n_u_px);
      __Pyx_GOTREF(__pyx_v_ps->numeric_fmt);
      __Pyx_DECREF(__pyx_v_ps->numeric_fmt);
      __pyx_v_ps->numeric_fmt = __pyx_mstate_global->__pyx_n_u_px;

      /* "kivy/properties.pyx":732
 *                 # thing we check for
 *                 ps.numeric_fmt = 'px'
 *                 ps.original_num = None             # <<<<<<<<<<<<<<
 *             return x
 * 
*/
      __Pyx_INCREF(Py_None);
      __Pyx_GIVEREF(Py_None);
      __Pyx_GOTREF(__pyx_v_ps->original_num);
      __Pyx_DECREF(__pyx_v_ps->original_num);
      __pyx_v_ps->original_num = Py_None;

      /* "kivy/properties.pyx":728
 *         cdef NumericPropertyStorage ps = property_storage
 *         if x is None:
 *             if self.allownone:             # <<<<<<<<<<<<<<
 *                 # otherwise it won't actually be set, because that's the only
 *                 # thing we check for
*/
    }

    /* "kivy/properties.pyx":733
 *                 ps.numeric_fmt = 'px'
 *                 ps.original_num = None
 *             return x             # <<<<<<<<<<<<<<
 * 
 *         tp = type(x)
*/
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(__pyx_v_x);
    __pyx_r = __pyx_v_x;
    goto __pyx_L0;

    /* "kivy/properties.pyx":727
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):
 *         cdef NumericPropertyStorage ps = property_storage
 *         if x is None:             # <<<<<<<<<<<<<<
 *             if self.allownone:
 *                 # otherwise it won't actually be set, because that's the only
*/
  }

  /* "kivy/properties.pyx":735
 *             return x
 * 
 *         tp = type(x)             # <<<<<<<<<<<<<<
 *         if tp is int or tp is float:
 *             ps.numeric_fmt = 'px'
*/
  __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_x)));
  __pyx_v_tp = ((PyTypeObject*)((PyObject *)Py_TYPE(__pyx_v_x)));

  /* "kivy/properties.pyx":736
 * 
 *         tp = type(x)
 *         if tp is int or tp is float:             # <<<<<<<<<<<<<<
 *             ps.numeric_fmt = 'px'
 *             ps.original_num = x
*/
  __pyx_t_3 = (__pyx_v_tp == (&PyLong_Type));
  if (!__pyx_t_3) {
  } else {
    __pyx_t_2 = __pyx_t_3;
    goto __pyx_L6_bool_binop_done;
  }
  __pyx_t_3 = (__pyx_v_tp == (&PyFloat_Type));
  __pyx_t_2 = __pyx_t_3;
  __pyx_L6_bool_binop_done:;
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":737
 *         tp = type(x)
 *         if tp is int or tp is float:
 *             ps.numeric_fmt = 'px'             # <<<<<<<<<<<<<<
 *             ps.original_num = x
 *             return x
*/
    __Pyx_INCREF(__pyx_mstate_global->__pyx_n_u_px);
    __Pyx_GIVEREF(__pyx_mstate_global->__pyx_n_u_px);
    __Pyx_GOTREF(__pyx_v_ps->numeric_fmt);
    __Pyx_DECREF(__pyx_v_ps->numeric_fmt);
    __pyx_v_ps->numeric_fmt = __pyx_mstate_global->__pyx_n_u_px;

    /* "kivy/properties.pyx":738
 *         if tp is int or tp is float:
 *             ps.numeric_fmt = 'px'
 *             ps.original_num = x             # <<<<<<<<<<<<<<
 *             return x
 *         if isinstance(x, str):
*/
    __Pyx_INCREF(__pyx_v_x);
    __Pyx_GIVEREF(__pyx_v_x);
    __Pyx_GOTREF(__pyx_v_ps->original_num);
    __Pyx_DECREF(__pyx_v_ps->original_num);
    __pyx_v_ps->original_num = __pyx_v_x;

    /* "kivy/properties.pyx":739
 *             ps.numeric_fmt = 'px'
 *             ps.original_num = x
 *             return x             # <<<<<<<<<<<<<<
 *         if isinstance(x, str):
 *             return self.parse_str(obj, x, ps)
*/
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(__pyx_v_x);
    __pyx_r = __pyx_v_x;
    goto __pyx_L0;

    /* "kivy/properties.pyx":736
 * 
 *         tp = type(x)
 *         if tp is int or tp is float:             # <<<<<<<<<<<<<<
 *             ps.numeric_fmt = 'px'
 *             ps.original_num = x
*/
  }

  /* "kivy/properties.pyx":740
 *             ps.original_num = x
 *             return x
 *         if isinstance(x, str):             # <<<<<<<<<<<<<<
 *             return self.parse_str(obj, x, ps)
 * 
*/
  __pyx_t_2 = PyUnicode_Check(__pyx_v_x); 
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":741
 *             return x
 *         if isinstance(x, str):
 *             return self.parse_str(obj, x, ps)             # <<<<<<<<<<<<<<
 * 
 *         if tp is tuple or tp is list:
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_t_4 = ((struct __pyx_vtabstruct_4kivy_10properties_NumericProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->parse_str(__pyx_v_self, __pyx_v_obj, __pyx_v_x, __pyx_v_ps); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 741, __pyx_L1_error)
    __pyx_t_1 = PyFloat_FromDouble(__pyx_t_4); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 741, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_r = __pyx_t_1;
    __pyx_t_1 = 0;
    goto __pyx_L0;

    /* "kivy/properties.pyx":740
 *             ps.original_num = x
 *             return x
 *         if isinstance(x, str):             # <<<<<<<<<<<<<<
 *             return self.parse_str(obj, x, ps)
 * 
*/
  }

  /* "kivy/properties.pyx":743
 *             return self.parse_str(obj, x, ps)
 * 
 *         if tp is tuple or tp is list:             # <<<<<<<<<<<<<<
 *             if len(x) != 2:
 *                 raise ValueError('%s.%s must have 2 components (got %r)' % (
*/
  __pyx_t_3 = (__pyx_v_tp == (&PyTuple_Type));
  if (!__pyx_t_3) {
  } else {
    __pyx_t_2 = __pyx_t_3;
    goto __pyx_L10_bool_binop_done;
  }
  __pyx_t_3 = (__pyx_v_tp == (&PyList_Type));
  __pyx_t_2 = __pyx_t_3;
  __pyx_L10_bool_binop_done:;
  if (likely(__pyx_t_2)) {

    /* "kivy/properties.pyx":744
 * 
 *         if tp is tuple or tp is list:
 *             if len(x) != 2:             # <<<<<<<<<<<<<<
 *                 raise ValueError('%s.%s must have 2 components (got %r)' % (
 *                     obj.__class__.__name__,
*/
    __pyx_t_5 = PyObject_Length(__pyx_v_x); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(0, 744, __pyx_L1_error)
    __pyx_t_2 = (__pyx_t_5 != 2);
    if (unlikely(__pyx_t_2)) {

      /* "kivy/properties.pyx":745
 *         if tp is tuple or tp is list:
 *             if len(x) != 2:
 *                 raise ValueError('%s.%s must have 2 components (got %r)' % (             # <<<<<<<<<<<<<<
 *                     obj.__class__.__name__,
 *                     self.name, x))
*/
      __pyx_t_6 = NULL;

      /* "kivy/properties.pyx":746
 *             if len(x) != 2:
 *                 raise ValueError('%s.%s must have 2 components (got %r)' % (
 *                     obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                     self.name, x))
 *             return self.parse_list(obj, x[0], x[1], ps)
*/
      __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 746, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_7);
      __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 746, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_8);
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      __pyx_t_7 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_8), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 746, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_7);
      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;

      /* "kivy/properties.pyx":747
 *                 raise ValueError('%s.%s must have 2 components (got %r)' % (
 *                     obj.__class__.__name__,
 *                     self.name, x))             # <<<<<<<<<<<<<<
 *             return self.parse_list(obj, x[0], x[1], ps)
 *         else:
*/
      __pyx_t_8 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 747, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_8);
      __pyx_t_9 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_8), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 747, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_9);
      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
      __pyx_t_8 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Repr(__pyx_v_x), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 747, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_8);
      __pyx_t_10[0] = __pyx_t_7;
      __pyx_t_10[1] = __pyx_mstate_global->__pyx_kp_u__4;
      __pyx_t_10[2] = __pyx_t_9;
      __pyx_t_10[3] = __pyx_mstate_global->__pyx_kp_u_must_have_2_components_got;
      __pyx_t_10[4] = __pyx_t_8;
      __pyx_t_10[5] = __pyx_mstate_global->__pyx_kp_u__5;

      /* "kivy/properties.pyx":745
 *         if tp is tuple or tp is list:
 *             if len(x) != 2:
 *                 raise ValueError('%s.%s must have 2 components (got %r)' % (             # <<<<<<<<<<<<<<
 *                     obj.__class__.__name__,
 *                     self.name, x))
*/
      __pyx_t_11 = __Pyx_PyUnicode_Join(__pyx_t_10, 6, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7) + 1 * 2 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_9) + 29 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_8), 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_9) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_8));
      if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 745, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_11);
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
      __pyx_t_12 = 1;
      {
        PyObject *__pyx_callargs[2] = {__pyx_t_6, __pyx_t_11};
        __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_12, (2-__pyx_t_12) | (__pyx_t_12*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
        __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
        if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 745, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_1);
      }
      __Pyx_Raise(__pyx_t_1, 0, 0, 0);
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      __PYX_ERR(0, 745, __pyx_L1_error)

      /* "kivy/properties.pyx":744
 * 
 *         if tp is tuple or tp is list:
 *             if len(x) != 2:             # <<<<<<<<<<<<<<
 *                 raise ValueError('%s.%s must have 2 components (got %r)' % (
 *                     obj.__class__.__name__,
*/
    }

    /* "kivy/properties.pyx":748
 *                     obj.__class__.__name__,
 *                     self.name, x))
 *             return self.parse_list(obj, x[0], x[1], ps)             # <<<<<<<<<<<<<<
 *         else:
 *             raise ValueError(
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_x, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 748, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_11 = __Pyx_GetItemInt(__pyx_v_x, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 748, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_11);
    __pyx_t_4 = ((struct __pyx_vtabstruct_4kivy_10properties_NumericProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->parse_list(__pyx_v_self, __pyx_v_obj, __pyx_t_1, __pyx_t_11, __pyx_v_ps); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 748, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
    __pyx_t_11 = PyFloat_FromDouble(__pyx_t_4); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 748, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_11);
    __pyx_r = __pyx_t_11;
    __pyx_t_11 = 0;
    goto __pyx_L0;

    /* "kivy/properties.pyx":743
 *             return self.parse_str(obj, x, ps)
 * 
 *         if tp is tuple or tp is list:             # <<<<<<<<<<<<<<
 *             if len(x) != 2:
 *                 raise ValueError('%s.%s must have 2 components (got %r)' % (
*/
  }

  /* "kivy/properties.pyx":750
 *             return self.parse_list(obj, x[0], x[1], ps)
 *         else:
 *             raise ValueError(             # <<<<<<<<<<<<<<
 *                 '%s.%s has an invalid format (got %r). Consider using ObjectProperty '
 *                 'or use errorhandler to convert to a number' % (
*/
  /*else*/ {
    __pyx_t_1 = NULL;

    /* "kivy/properties.pyx":753
 *                 '%s.%s has an invalid format (got %r). Consider using ObjectProperty '
 *                 'or use errorhandler to convert to a number' % (
 *                 obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                 self.name, x))
 * 
*/
    __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 753, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 753, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_8);
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
    __pyx_t_6 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_8), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 753, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;

    /* "kivy/properties.pyx":754
 *                 'or use errorhandler to convert to a number' % (
 *                 obj.__class__.__name__,
 *                 self.name, x))             # <<<<<<<<<<<<<<
 * 
 *     cdef float parse_str(
*/
    __pyx_t_8 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 754, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_8);
    __pyx_t_9 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_8), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 754, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_9);
    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
    __pyx_t_8 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Repr(__pyx_v_x), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 754, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_8);
    __pyx_t_10[0] = __pyx_t_6;
    __pyx_t_10[1] = __pyx_mstate_global->__pyx_kp_u__4;
    __pyx_t_10[2] = __pyx_t_9;
    __pyx_t_10[3] = __pyx_mstate_global->__pyx_kp_u_has_an_invalid_format_got;
    __pyx_t_10[4] = __pyx_t_8;
    __pyx_t_10[5] = __pyx_mstate_global->__pyx_kp_u_Consider_using_ObjectProperty_o;

    /* "kivy/properties.pyx":751
 *         else:
 *             raise ValueError(
 *                 '%s.%s has an invalid format (got %r). Consider using ObjectProperty '             # <<<<<<<<<<<<<<
 *                 'or use errorhandler to convert to a number' % (
 *                 obj.__class__.__name__,
*/
    __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_10, 6, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_6) + 1 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_9) + 28 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_8) + 75, 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_9) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_8));
    if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 751, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_7);
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
    __pyx_t_12 = 1;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_1, __pyx_t_7};
      __pyx_t_11 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_12, (2-__pyx_t_12) | (__pyx_t_12*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 750, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_11);
    }
    __Pyx_Raise(__pyx_t_11, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
    __PYX_ERR(0, 750, __pyx_L1_error)
  }

  /* "kivy/properties.pyx":725
 *                 self.name, value))
 * 
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         cdef NumericPropertyStorage ps = property_storage
 *         if x is None:
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_XDECREF(__pyx_t_11);
  __Pyx_AddTraceback("kivy.properties.NumericProperty.convert", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XDECREF((PyObject *)__pyx_v_tp);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":756
 *                 self.name, x))
 * 
 *     cdef float parse_str(             # <<<<<<<<<<<<<<
 *             self, EventDispatcher obj, value, NumericPropertyStorage ps) except *:
 *         if value[-2:] in NUMERIC_FORMATS:
*/

static float __pyx_f_4kivy_10properties_15NumericProperty_parse_str(struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *__pyx_v_ps) {
  float __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_t_3;
  float __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("parse_str", 0);

  /* "kivy/properties.pyx":758
 *     cdef float parse_str(
 *             self, EventDispatcher obj, value, NumericPropertyStorage ps) except *:
 *         if value[-2:] in NUMERIC_FORMATS:             # <<<<<<<<<<<<<<
 *             return self.parse_list(obj, value[:-2], value[-2:], ps)
 *         else:
*/
  __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_v_value, -2L, 0, NULL, NULL, &__pyx_mstate_global->__pyx_slice[0], 1, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 758, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_NUMERIC_FORMATS); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 758, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = (__Pyx_PySequence_ContainsTF(__pyx_t_1, __pyx_t_2, Py_EQ)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 758, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  if (__pyx_t_3) {

    /* "kivy/properties.pyx":759
 *             self, EventDispatcher obj, value, NumericPropertyStorage ps) except *:
 *         if value[-2:] in NUMERIC_FORMATS:
 *             return self.parse_list(obj, value[:-2], value[-2:], ps)             # <<<<<<<<<<<<<<
 *         else:
 *             ps.numeric_fmt = 'px'
*/
    __pyx_t_2 = __Pyx_PyObject_GetSlice(__pyx_v_value, 0, -2L, NULL, NULL, &__pyx_mstate_global->__pyx_slice[1], 0, 1, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 759, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_v_value, -2L, 0, NULL, NULL, &__pyx_mstate_global->__pyx_slice[0], 1, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 759, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_4 = ((struct __pyx_vtabstruct_4kivy_10properties_NumericProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->parse_list(__pyx_v_self, __pyx_v_obj, __pyx_t_2, __pyx_t_1, __pyx_v_ps); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 759, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __pyx_r = __pyx_t_4;
    goto __pyx_L0;

    /* "kivy/properties.pyx":758
 *     cdef float parse_str(
 *             self, EventDispatcher obj, value, NumericPropertyStorage ps) except *:
 *         if value[-2:] in NUMERIC_FORMATS:             # <<<<<<<<<<<<<<
 *             return self.parse_list(obj, value[:-2], value[-2:], ps)
 *         else:
*/
  }

  /* "kivy/properties.pyx":761
 *             return self.parse_list(obj, value[:-2], value[-2:], ps)
 *         else:
 *             ps.numeric_fmt = 'px'             # <<<<<<<<<<<<<<
 *             ps.original_num = float(value)
 *             return <float>ps.original_num
*/
  /*else*/ {
    __Pyx_INCREF(__pyx_mstate_global->__pyx_n_u_px);
    __Pyx_GIVEREF(__pyx_mstate_global->__pyx_n_u_px);
    __Pyx_GOTREF(__pyx_v_ps->numeric_fmt);
    __Pyx_DECREF(__pyx_v_ps->numeric_fmt);
    __pyx_v_ps->numeric_fmt = __pyx_mstate_global->__pyx_n_u_px;

    /* "kivy/properties.pyx":762
 *         else:
 *             ps.numeric_fmt = 'px'
 *             ps.original_num = float(value)             # <<<<<<<<<<<<<<
 *             return <float>ps.original_num
 * 
*/
    __pyx_t_1 = __Pyx_PyNumber_Float(__pyx_v_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 762, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_GIVEREF(__pyx_t_1);
    __Pyx_GOTREF(__pyx_v_ps->original_num);
    __Pyx_DECREF(__pyx_v_ps->original_num);
    __pyx_v_ps->original_num = __pyx_t_1;
    __pyx_t_1 = 0;

    /* "kivy/properties.pyx":763
 *             ps.numeric_fmt = 'px'
 *             ps.original_num = float(value)
 *             return <float>ps.original_num             # <<<<<<<<<<<<<<
 * 
 *     cdef float parse_list(
*/
    __pyx_t_4 = __Pyx_PyFloat_AsFloat(__pyx_v_ps->original_num); if (unlikely((__pyx_t_4 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 763, __pyx_L1_error)
    __pyx_r = ((float)__pyx_t_4);
    goto __pyx_L0;
  }

  /* "kivy/properties.pyx":756
 *                 self.name, x))
 * 
 *     cdef float parse_str(             # <<<<<<<<<<<<<<
 *             self, EventDispatcher obj, value, NumericPropertyStorage ps) except *:
 *         if value[-2:] in NUMERIC_FORMATS:
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("kivy.properties.NumericProperty.parse_str", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":765
 *             return <float>ps.original_num
 * 
 *     cdef float parse_list(             # <<<<<<<<<<<<<<
 *             self, EventDispatcher obj, value, ext, NumericPropertyStorage ps) except *:
 *         ps.numeric_fmt = ext
*/

static float __pyx_f_4kivy_10properties_15NumericProperty_parse_list(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, PyObject *__pyx_v_ext, struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *__pyx_v_ps) {
  float __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  float __pyx_t_2;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("parse_list", 0);

  /* "kivy/properties.pyx":767
 *     cdef float parse_list(
 *             self, EventDispatcher obj, value, ext, NumericPropertyStorage ps) except *:
 *         ps.numeric_fmt = ext             # <<<<<<<<<<<<<<
 *         ps.original_num = value
 *         return dpi2px(value, ext)
*/
  __Pyx_INCREF(__pyx_v_ext);
  __Pyx_GIVEREF(__pyx_v_ext);
  __Pyx_GOTREF(__pyx_v_ps->numeric_fmt);
  __Pyx_DECREF(__pyx_v_ps->numeric_fmt);
  __pyx_v_ps->numeric_fmt = __pyx_v_ext;

  /* "kivy/properties.pyx":768
 *             self, EventDispatcher obj, value, ext, NumericPropertyStorage ps) except *:
 *         ps.numeric_fmt = ext
 *         ps.original_num = value             # <<<<<<<<<<<<<<
 *         return dpi2px(value, ext)
 * 
*/
  __Pyx_INCREF(__pyx_v_value);
  __Pyx_GIVEREF(__pyx_v_value);
  __Pyx_GOTREF(__pyx_v_ps->original_num);
  __Pyx_DECREF(__pyx_v_ps->original_num);
  __pyx_v_ps->original_num = __pyx_v_value;

  /* "kivy/properties.pyx":769
 *         ps.numeric_fmt = ext
 *         ps.original_num = value
 *         return dpi2px(value, ext)             # <<<<<<<<<<<<<<
 * 
 *     def get_format(self, EventDispatcher obj):
*/
  __pyx_t_1 = __pyx_v_ext;
  __Pyx_INCREF(__pyx_t_1);
  if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(0, 769, __pyx_L1_error)
  __pyx_t_2 = __pyx_f_4kivy_8_metrics_dpi2px(__pyx_v_value, ((PyObject*)__pyx_t_1), 0); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 769, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_r = __pyx_t_2;
  goto __pyx_L0;

  /* "kivy/properties.pyx":765
 *             return <float>ps.original_num
 * 
 *     cdef float parse_list(             # <<<<<<<<<<<<<<
 *             self, EventDispatcher obj, value, ext, NumericPropertyStorage ps) except *:
 *         ps.numeric_fmt = ext
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.NumericProperty.parse_list", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":771
 *         return dpi2px(value, ext)
 * 
 *     def get_format(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         '''
 *         Return the format used for Numeric calculation. Default is px (mean
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_15NumericProperty_5get_format(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_15NumericProperty_4get_format, "NumericProperty.get_format(self, EventDispatcher obj)\n\nReturn the format used for Numeric calculation. Default is px (mean\nthe value have not been changed at all). Otherwise, it can be one of\n'in', 'pt', 'cm', 'mm'.");
static PyMethodDef __pyx_mdef_4kivy_10properties_15NumericProperty_5get_format = {"get_format", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_15NumericProperty_5get_format, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_15NumericProperty_4get_format};
static PyObject *__pyx_pw_4kivy_10properties_15NumericProperty_5get_format(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get_format (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 771, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 771, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "get_format", 0) < (0)) __PYX_ERR(0, 771, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("get_format", 1, 1, 1, i); __PYX_ERR(0, 771, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 771, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("get_format", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 771, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.NumericProperty.get_format", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 771, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_15NumericProperty_4get_format(((struct __pyx_obj_4kivy_10properties_NumericProperty *)__pyx_v_self), __pyx_v_obj);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_15NumericProperty_4get_format(struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj) {
  struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *__pyx_v_ps = 0;
  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_format", 0);

  /* "kivy/properties.pyx":777
 *         'in', 'pt', 'cm', 'mm'.
 *         '''
 *         cdef NumericPropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         return ps.numeric_fmt
 * 
*/
  __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_NumericProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get_property_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 777, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_NumericPropertyStorage))))) __PYX_ERR(0, 777, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":778
 *         '''
 *         cdef NumericPropertyStorage ps = self.get_property_storage(obj)
 *         return ps.numeric_fmt             # <<<<<<<<<<<<<<
 * 
 * 
*/
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_ps->numeric_fmt);
  __pyx_r = __pyx_v_ps->numeric_fmt;
  goto __pyx_L0;

  /* "kivy/properties.pyx":771
 *         return dpi2px(value, ext)
 * 
 *     def get_format(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         '''
 *         Return the format used for Numeric calculation. Default is px (mean
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.NumericProperty.get_format", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_15NumericProperty_7__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_15NumericProperty_6__reduce_cython__, "NumericProperty.__reduce_cython__(self)");
static PyMethodDef __pyx_mdef_4kivy_10properties_15NumericProperty_7__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_15NumericProperty_7__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_15NumericProperty_6__reduce_cython__};
static PyObject *__pyx_pw_4kivy_10properties_15NumericProperty_7__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return NULL;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__reduce_cython__", __pyx_kwds); return NULL;}
  __pyx_r = __pyx_pf_4kivy_10properties_15NumericProperty_6__reduce_cython__(((struct __pyx_obj_4kivy_10properties_NumericProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_15NumericProperty_6__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.NumericProperty.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_15NumericProperty_9__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_15NumericProperty_8__setstate_cython__, "NumericProperty.__setstate_cython__(self, __pyx_state)");
static PyMethodDef __pyx_mdef_4kivy_10properties_15NumericProperty_9__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_15NumericProperty_9__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_15NumericProperty_8__setstate_cython__};
static PyObject *__pyx_pw_4kivy_10properties_15NumericProperty_9__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  CYTHON_UNUSED PyObject *__pyx_v___pyx_state = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 3, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 3, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
    }
    __pyx_v___pyx_state = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.NumericProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_15NumericProperty_8__setstate_cython__(((struct __pyx_obj_4kivy_10properties_NumericProperty *)__pyx_v_self), __pyx_v___pyx_state);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_15NumericProperty_8__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_NumericProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.NumericProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":790
 *     '''
 * 
 *     def __init__(self, defaultvalue='', **kw):             # <<<<<<<<<<<<<<
 *         super(StringProperty, self).__init__(defaultvalue, **kw)
 * 
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_14StringProperty_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_14StringProperty_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_defaultvalue = 0;
  PyObject *__pyx_v_kw = 0;
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_v_kw = PyDict_New(); if (unlikely(!__pyx_v_kw)) return -1;
  __Pyx_GOTREF(__pyx_v_kw);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_defaultvalue,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 790, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 790, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, __pyx_v_kw, values, kwd_pos_args, __pyx_kwds_len, "__init__", 1) < (0)) __PYX_ERR(0, 790, __pyx_L3_error)
      if (!values[0]) values[0] = __Pyx_NewRef(((PyObject *)__pyx_mstate_global->__pyx_kp_u_));
    } else {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 790, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      if (!values[0]) values[0] = __Pyx_NewRef(((PyObject *)__pyx_mstate_global->__pyx_kp_u_));
    }
    __pyx_v_defaultvalue = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 790, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw); __pyx_v_kw = 0;
  __Pyx_AddTraceback("kivy.properties.StringProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14StringProperty___init__(((struct __pyx_obj_4kivy_10properties_StringProperty *)__pyx_v_self), __pyx_v_defaultvalue, __pyx_v_kw);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_4kivy_10properties_14StringProperty___init__(struct __pyx_obj_4kivy_10properties_StringProperty *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_kw) {
  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;
  size_t __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "kivy/properties.pyx":791
 * 
 *     def __init__(self, defaultvalue='', **kw):
 *         super(StringProperty, self).__init__(defaultvalue, **kw)             # <<<<<<<<<<<<<<
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
*/
  __pyx_t_2 = NULL;
  __pyx_t_4 = NULL;
  __pyx_t_5 = 1;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_4, ((PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_StringProperty), ((PyObject *)__pyx_v_self)};
    __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)__pyx_builtin_super, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 791, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
  }
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_init); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 791, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = PyDict_Copy(__pyx_v_kw); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 791, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (likely(PyMethod_Check(__pyx_t_4))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_defaultvalue};
    __pyx_t_1 = __Pyx_PyObject_FastCallDict((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_3);
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 791, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":790
 *     '''
 * 
 *     def __init__(self, defaultvalue='', **kw):             # <<<<<<<<<<<<<<
 *         super(StringProperty, self).__init__(defaultvalue, **kw)
 * 
*/

  /* 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_AddTraceback("kivy.properties.StringProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":793
 *         super(StringProperty, self).__init__(defaultvalue, **kw)
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         if Property.check(self, obj, value, property_storage):
 *             return True
*/

static PyObject *__pyx_f_4kivy_10properties_14StringProperty_check(struct __pyx_obj_4kivy_10properties_StringProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage) {
  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;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8[4];
  size_t __pyx_t_9;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("check", 0);

  /* "kivy/properties.pyx":794
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):             # <<<<<<<<<<<<<<
 *             return True
 *         if not isinstance(value, str):
*/
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_check(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_value, __pyx_v_property_storage); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 794, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 794, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":795
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):
 *             return True             # <<<<<<<<<<<<<<
 *         if not isinstance(value, str):
 *             raise ValueError('%s.%s accept only str' % (
*/
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(Py_True);
    __pyx_r = Py_True;
    goto __pyx_L0;

    /* "kivy/properties.pyx":794
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):             # <<<<<<<<<<<<<<
 *             return True
 *         if not isinstance(value, str):
*/
  }

  /* "kivy/properties.pyx":796
 *         if Property.check(self, obj, value, property_storage):
 *             return True
 *         if not isinstance(value, str):             # <<<<<<<<<<<<<<
 *             raise ValueError('%s.%s accept only str' % (
 *                 obj.__class__.__name__,
*/
  __pyx_t_2 = PyUnicode_Check(__pyx_v_value); 
  __pyx_t_3 = (!__pyx_t_2);
  if (unlikely(__pyx_t_3)) {

    /* "kivy/properties.pyx":797
 *             return True
 *         if not isinstance(value, str):
 *             raise ValueError('%s.%s accept only str' % (             # <<<<<<<<<<<<<<
 *                 obj.__class__.__name__,
 *                 self.name))
*/
    __pyx_t_4 = NULL;

    /* "kivy/properties.pyx":798
 *         if not isinstance(value, str):
 *             raise ValueError('%s.%s accept only str' % (
 *                 obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                 self.name))
 * 
*/
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 798, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 798, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    __pyx_t_5 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_6), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 798, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

    /* "kivy/properties.pyx":799
 *             raise ValueError('%s.%s accept only str' % (
 *                 obj.__class__.__name__,
 *                 self.name))             # <<<<<<<<<<<<<<
 * 
 * 
*/
    __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 799, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __pyx_t_7 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_6), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 799, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_7);
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
    __pyx_t_8[0] = __pyx_t_5;
    __pyx_t_8[1] = __pyx_mstate_global->__pyx_kp_u__4;
    __pyx_t_8[2] = __pyx_t_7;
    __pyx_t_8[3] = __pyx_mstate_global->__pyx_kp_u_accept_only_str;

    /* "kivy/properties.pyx":797
 *             return True
 *         if not isinstance(value, str):
 *             raise ValueError('%s.%s accept only str' % (             # <<<<<<<<<<<<<<
 *                 obj.__class__.__name__,
 *                 self.name))
*/
    __pyx_t_6 = __Pyx_PyUnicode_Join(__pyx_t_8, 4, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_5) + 1 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7) + 16, 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7));
    if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 797, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    __pyx_t_9 = 1;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_6};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_9, (2-__pyx_t_9) | (__pyx_t_9*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 797, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_Raise(__pyx_t_1, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __PYX_ERR(0, 797, __pyx_L1_error)

    /* "kivy/properties.pyx":796
 *         if Property.check(self, obj, value, property_storage):
 *             return True
 *         if not isinstance(value, str):             # <<<<<<<<<<<<<<
 *             raise ValueError('%s.%s accept only str' % (
 *                 obj.__class__.__name__,
*/
  }

  /* "kivy/properties.pyx":793
 *         super(StringProperty, self).__init__(defaultvalue, **kw)
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         if Property.check(self, obj, value, property_storage):
 *             return True
*/

  /* 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_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_AddTraceback("kivy.properties.StringProperty.check", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14StringProperty_3__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14StringProperty_2__reduce_cython__, "StringProperty.__reduce_cython__(self)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14StringProperty_3__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14StringProperty_3__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14StringProperty_2__reduce_cython__};
static PyObject *__pyx_pw_4kivy_10properties_14StringProperty_3__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return NULL;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__reduce_cython__", __pyx_kwds); return NULL;}
  __pyx_r = __pyx_pf_4kivy_10properties_14StringProperty_2__reduce_cython__(((struct __pyx_obj_4kivy_10properties_StringProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_14StringProperty_2__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_StringProperty *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.StringProperty.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14StringProperty_5__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14StringProperty_4__setstate_cython__, "StringProperty.__setstate_cython__(self, __pyx_state)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14StringProperty_5__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14StringProperty_5__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14StringProperty_4__setstate_cython__};
static PyObject *__pyx_pw_4kivy_10properties_14StringProperty_5__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  CYTHON_UNUSED PyObject *__pyx_v___pyx_state = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 3, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 3, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
    }
    __pyx_v___pyx_state = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.StringProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14StringProperty_4__setstate_cython__(((struct __pyx_obj_4kivy_10properties_StringProperty *)__pyx_v_self), __pyx_v___pyx_state);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14StringProperty_4__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_StringProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.StringProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":802
 * 
 * 
 * cdef inline void observable_list_dispatch(object self) except *:             # <<<<<<<<<<<<<<
 *     cdef Property prop = self.prop
 *     obj = self.obj()
*/

static CYTHON_INLINE void __pyx_f_4kivy_10properties_observable_list_dispatch(PyObject *__pyx_v_self) {
  struct __pyx_obj_4kivy_10properties_Property *__pyx_v_prop = 0;
  PyObject *__pyx_v_obj = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  size_t __pyx_t_3;
  int __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("observable_list_dispatch", 0);

  /* "kivy/properties.pyx":803
 * 
 * cdef inline void observable_list_dispatch(object self) except *:
 *     cdef Property prop = self.prop             # <<<<<<<<<<<<<<
 *     obj = self.obj()
 *     if obj is not None:
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_prop); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 803, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property))))) __PYX_ERR(0, 803, __pyx_L1_error)
  __pyx_v_prop = ((struct __pyx_obj_4kivy_10properties_Property *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":804
 * cdef inline void observable_list_dispatch(object self) except *:
 *     cdef Property prop = self.prop
 *     obj = self.obj()             # <<<<<<<<<<<<<<
 *     if obj is not None:
 *         prop.dispatch(obj)
*/
  __pyx_t_2 = __pyx_v_self;
  __Pyx_INCREF(__pyx_t_2);
  __pyx_t_3 = 0;
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL};
    __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_obj, __pyx_callargs+__pyx_t_3, (1-__pyx_t_3) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 804, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __pyx_v_obj = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":805
 *     cdef Property prop = self.prop
 *     obj = self.obj()
 *     if obj is not None:             # <<<<<<<<<<<<<<
 *         prop.dispatch(obj)
 * 
*/
  __pyx_t_4 = (__pyx_v_obj != Py_None);
  if (__pyx_t_4) {

    /* "kivy/properties.pyx":806
 *     obj = self.obj()
 *     if obj is not None:
 *         prop.dispatch(obj)             # <<<<<<<<<<<<<<
 * 
 * 
*/
    if (!(likely(((__pyx_v_obj) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_obj, __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher))))) __PYX_ERR(0, 806, __pyx_L1_error)
    __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_prop->__pyx_vtab)->dispatch(__pyx_v_prop, ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)__pyx_v_obj), 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 806, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "kivy/properties.pyx":805
 *     cdef Property prop = self.prop
 *     obj = self.obj()
 *     if obj is not None:             # <<<<<<<<<<<<<<
 *         prop.dispatch(obj)
 * 
*/
  }

  /* "kivy/properties.pyx":802
 * 
 * 
 * cdef inline void observable_list_dispatch(object self) except *:             # <<<<<<<<<<<<<<
 *     cdef Property prop = self.prop
 *     obj = self.obj()
*/

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("kivy.properties.observable_list_dispatch", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_prop);
  __Pyx_XDECREF(__pyx_v_obj);
  __Pyx_RefNannyFinishContext();
}

/* "kivy/properties.pyx":811
 * class ObservableList(list):
 *     # Internal class to observe changes inside a native python list.
 *     def __init__(self, *largs):             # <<<<<<<<<<<<<<
 *         self.prop = largs[0]
 *         self.obj = ref(largs[1])
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_1__init__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableList___init__, "ObservableList.__init__(self, *largs)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableList_1__init__ = {"__init__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableList_1__init__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableList___init__};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_1__init__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_largs = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {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);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  __pyx_v_largs = __Pyx_ArgsSlice_FASTCALL(__pyx_args, 1, __pyx_nargs);
  if (unlikely(!__pyx_v_largs)) {
    __Pyx_RefNannyFinishContext();
    return NULL;
  }
  __Pyx_GOTREF(__pyx_v_largs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 811, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        default:
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 811, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      const Py_ssize_t used_pos_args = (kwd_pos_args < 1) ? kwd_pos_args : 1;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, used_pos_args, __pyx_kwds_len, "__init__", 0) < (0)) __PYX_ERR(0, 811, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__init__", 0, 1, 1, i); __PYX_ERR(0, 811, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs < 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 811, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 1, 1, __pyx_nargs); __PYX_ERR(0, 811, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs); __pyx_v_largs = 0;
  __Pyx_AddTraceback("kivy.properties.ObservableList.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableList___init__(__pyx_self, __pyx_v_self, __pyx_v_largs);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableList___init__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs) {
  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;
  size_t __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "kivy/properties.pyx":812
 *     # Internal class to observe changes inside a native python list.
 *     def __init__(self, *largs):
 *         self.prop = largs[0]             # <<<<<<<<<<<<<<
 *         self.obj = ref(largs[1])
 *         self.last_op = '', None
*/
  __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v_largs, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 812, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_prop, __pyx_t_1) < (0)) __PYX_ERR(0, 812, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":813
 *     def __init__(self, *largs):
 *         self.prop = largs[0]
 *         self.obj = ref(largs[1])             # <<<<<<<<<<<<<<
 *         self.last_op = '', None
 *         super(ObservableList, self).__init__(*largs[2:])
*/
  __pyx_t_2 = NULL;
  __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_ref); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 813, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = __Pyx_GetItemInt_Tuple(__pyx_v_largs, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 813, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (unlikely(PyMethod_Check(__pyx_t_3))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_3);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_3, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_t_4};
    __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 813, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_obj, __pyx_t_1) < (0)) __PYX_ERR(0, 813, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":814
 *         self.prop = largs[0]
 *         self.obj = ref(largs[1])
 *         self.last_op = '', None             # <<<<<<<<<<<<<<
 *         super(ObservableList, self).__init__(*largs[2:])
 * 
*/
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_last_op, __pyx_mstate_global->__pyx_tuple[0]) < (0)) __PYX_ERR(0, 814, __pyx_L1_error)

  /* "kivy/properties.pyx":815
 *         self.obj = ref(largs[1])
 *         self.last_op = '', None
 *         super(ObservableList, self).__init__(*largs[2:])             # <<<<<<<<<<<<<<
 * 
 *     def __setitem__(self, key, value):
*/
  __pyx_t_3 = NULL;
  __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_ObservableList); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 815, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_5 = 1;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_3, __pyx_t_4, __pyx_v_self};
    __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_builtin_super, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 815, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_init); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 815, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyTuple_GetSlice(__pyx_v_largs, 2, PY_SSIZE_T_MAX); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 815, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_1, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 815, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __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;

  /* "kivy/properties.pyx":811
 * class ObservableList(list):
 *     # Internal class to observe changes inside a native python list.
 *     def __init__(self, *largs):             # <<<<<<<<<<<<<<
 *         self.prop = largs[0]
 *         self.obj = ref(largs[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_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("kivy.properties.ObservableList.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":817
 *         super(ObservableList, self).__init__(*largs[2:])
 * 
 *     def __setitem__(self, key, value):             # <<<<<<<<<<<<<<
 *         list.__setitem__(self, key, value)
 *         self.last_op = '__setitem__', key
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_3__setitem__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableList_2__setitem__, "ObservableList.__setitem__(self, key, value)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableList_3__setitem__ = {"__setitem__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableList_3__setitem__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableList_2__setitem__};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_3__setitem__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_key = 0;
  PyObject *__pyx_v_value = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[3] = {0,0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setitem__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,&__pyx_mstate_global->__pyx_n_u_key,&__pyx_mstate_global->__pyx_n_u_value,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 817, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 817, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 817, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 817, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setitem__", 0) < (0)) __PYX_ERR(0, 817, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 3; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setitem__", 1, 3, 3, i); __PYX_ERR(0, 817, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 3)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 817, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 817, __pyx_L3_error)
      values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 817, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
    __pyx_v_key = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setitem__", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 817, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ObservableList.__setitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableList_2__setitem__(__pyx_self, __pyx_v_self, __pyx_v_key, __pyx_v_value);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_2__setitem__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_key, PyObject *__pyx_v_value) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  size_t __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setitem__", 0);

  /* "kivy/properties.pyx":818
 * 
 *     def __setitem__(self, key, value):
 *         list.__setitem__(self, key, value)             # <<<<<<<<<<<<<<
 *         self.last_op = '__setitem__', key
 *         observable_list_dispatch(self)
*/
  __pyx_t_2 = ((PyObject *)(&PyList_Type));
  __Pyx_INCREF(__pyx_t_2);
  __pyx_t_3 = 0;
  {
    PyObject *__pyx_callargs[4] = {__pyx_t_2, __pyx_v_self, __pyx_v_key, __pyx_v_value};
    __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_setitem, __pyx_callargs+__pyx_t_3, (4-__pyx_t_3) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 818, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":819
 *     def __setitem__(self, key, value):
 *         list.__setitem__(self, key, value)
 *         self.last_op = '__setitem__', key             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 * 
*/
  __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 819, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_mstate_global->__pyx_n_u_setitem);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_n_u_setitem);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_mstate_global->__pyx_n_u_setitem) != (0)) __PYX_ERR(0, 819, __pyx_L1_error);
  __Pyx_INCREF(__pyx_v_key);
  __Pyx_GIVEREF(__pyx_v_key);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_key) != (0)) __PYX_ERR(0, 819, __pyx_L1_error);
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_last_op, __pyx_t_1) < (0)) __PYX_ERR(0, 819, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":820
 *         list.__setitem__(self, key, value)
 *         self.last_op = '__setitem__', key
 *         observable_list_dispatch(self)             # <<<<<<<<<<<<<<
 * 
 *     def __delitem__(self, key):
*/
  __pyx_f_4kivy_10properties_observable_list_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 820, __pyx_L1_error)

  /* "kivy/properties.pyx":817
 *         super(ObservableList, self).__init__(*largs[2:])
 * 
 *     def __setitem__(self, key, value):             # <<<<<<<<<<<<<<
 *         list.__setitem__(self, key, value)
 *         self.last_op = '__setitem__', key
*/

  /* 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("kivy.properties.ObservableList.__setitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":822
 *         observable_list_dispatch(self)
 * 
 *     def __delitem__(self, key):             # <<<<<<<<<<<<<<
 *         list.__delitem__(self, key)
 *         self.last_op = '__delitem__', key
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_5__delitem__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableList_4__delitem__, "ObservableList.__delitem__(self, key)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableList_5__delitem__ = {"__delitem__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableList_5__delitem__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableList_4__delitem__};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_5__delitem__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_key = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__delitem__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,&__pyx_mstate_global->__pyx_n_u_key,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 822, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 822, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 822, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__delitem__", 0) < (0)) __PYX_ERR(0, 822, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__delitem__", 1, 2, 2, i); __PYX_ERR(0, 822, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 822, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 822, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
    __pyx_v_key = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__delitem__", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 822, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ObservableList.__delitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableList_4__delitem__(__pyx_self, __pyx_v_self, __pyx_v_key);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_4__delitem__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_key) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  size_t __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__delitem__", 0);

  /* "kivy/properties.pyx":823
 * 
 *     def __delitem__(self, key):
 *         list.__delitem__(self, key)             # <<<<<<<<<<<<<<
 *         self.last_op = '__delitem__', key
 *         observable_list_dispatch(self)
*/
  __pyx_t_2 = ((PyObject *)(&PyList_Type));
  __Pyx_INCREF(__pyx_t_2);
  __pyx_t_3 = 0;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_v_self, __pyx_v_key};
    __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_delitem, __pyx_callargs+__pyx_t_3, (3-__pyx_t_3) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 823, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":824
 *     def __delitem__(self, key):
 *         list.__delitem__(self, key)
 *         self.last_op = '__delitem__', key             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 * 
*/
  __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 824, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_mstate_global->__pyx_n_u_delitem);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_n_u_delitem);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_mstate_global->__pyx_n_u_delitem) != (0)) __PYX_ERR(0, 824, __pyx_L1_error);
  __Pyx_INCREF(__pyx_v_key);
  __Pyx_GIVEREF(__pyx_v_key);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_key) != (0)) __PYX_ERR(0, 824, __pyx_L1_error);
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_last_op, __pyx_t_1) < (0)) __PYX_ERR(0, 824, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":825
 *         list.__delitem__(self, key)
 *         self.last_op = '__delitem__', key
 *         observable_list_dispatch(self)             # <<<<<<<<<<<<<<
 * 
 *     def __setslice__(self, b, c, v):
*/
  __pyx_f_4kivy_10properties_observable_list_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 825, __pyx_L1_error)

  /* "kivy/properties.pyx":822
 *         observable_list_dispatch(self)
 * 
 *     def __delitem__(self, key):             # <<<<<<<<<<<<<<
 *         list.__delitem__(self, key)
 *         self.last_op = '__delitem__', key
*/

  /* 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("kivy.properties.ObservableList.__delitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":827
 *         observable_list_dispatch(self)
 * 
 *     def __setslice__(self, b, c, v):             # <<<<<<<<<<<<<<
 *         list.__setslice__(self, b, c, v)
 *         self.last_op = '__setslice__', (b, c)
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_7__setslice__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableList_6__setslice__, "ObservableList.__setslice__(self, b, c, v)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableList_7__setslice__ = {"__setslice__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableList_7__setslice__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableList_6__setslice__};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_7__setslice__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_b = 0;
  PyObject *__pyx_v_c = 0;
  PyObject *__pyx_v_v = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[4] = {0,0,0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setslice__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,&__pyx_mstate_global->__pyx_n_u_b,&__pyx_mstate_global->__pyx_n_u_c,&__pyx_mstate_global->__pyx_n_u_v,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 827, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  4:
        values[3] = __Pyx_ArgRef_FASTCALL(__pyx_args, 3);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 827, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 827, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 827, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 827, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setslice__", 0) < (0)) __PYX_ERR(0, 827, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 4; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setslice__", 1, 4, 4, i); __PYX_ERR(0, 827, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 4)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 827, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 827, __pyx_L3_error)
      values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 827, __pyx_L3_error)
      values[3] = __Pyx_ArgRef_FASTCALL(__pyx_args, 3);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 827, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
    __pyx_v_b = values[1];
    __pyx_v_c = values[2];
    __pyx_v_v = values[3];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setslice__", 1, 4, 4, __pyx_nargs); __PYX_ERR(0, 827, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ObservableList.__setslice__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableList_6__setslice__(__pyx_self, __pyx_v_self, __pyx_v_b, __pyx_v_c, __pyx_v_v);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_6__setslice__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_v) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  size_t __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setslice__", 0);

  /* "kivy/properties.pyx":828
 * 
 *     def __setslice__(self, b, c, v):
 *         list.__setslice__(self, b, c, v)             # <<<<<<<<<<<<<<
 *         self.last_op = '__setslice__', (b, c)
 *         observable_list_dispatch(self)
*/
  __pyx_t_2 = ((PyObject *)(&PyList_Type));
  __Pyx_INCREF(__pyx_t_2);
  __pyx_t_3 = 0;
  {
    PyObject *__pyx_callargs[5] = {__pyx_t_2, __pyx_v_self, __pyx_v_b, __pyx_v_c, __pyx_v_v};
    __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_setslice, __pyx_callargs+__pyx_t_3, (5-__pyx_t_3) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 828, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":829
 *     def __setslice__(self, b, c, v):
 *         list.__setslice__(self, b, c, v)
 *         self.last_op = '__setslice__', (b, c)             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 * 
*/
  __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 829, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_v_b);
  __Pyx_GIVEREF(__pyx_v_b);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_b) != (0)) __PYX_ERR(0, 829, __pyx_L1_error);
  __Pyx_INCREF(__pyx_v_c);
  __Pyx_GIVEREF(__pyx_v_c);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_c) != (0)) __PYX_ERR(0, 829, __pyx_L1_error);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 829, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_mstate_global->__pyx_n_u_setslice);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_n_u_setslice);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_mstate_global->__pyx_n_u_setslice) != (0)) __PYX_ERR(0, 829, __pyx_L1_error);
  __Pyx_GIVEREF(__pyx_t_1);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1) != (0)) __PYX_ERR(0, 829, __pyx_L1_error);
  __pyx_t_1 = 0;
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_last_op, __pyx_t_2) < (0)) __PYX_ERR(0, 829, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":830
 *         list.__setslice__(self, b, c, v)
 *         self.last_op = '__setslice__', (b, c)
 *         observable_list_dispatch(self)             # <<<<<<<<<<<<<<
 * 
 *     def __delslice__(self, b, c):
*/
  __pyx_f_4kivy_10properties_observable_list_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 830, __pyx_L1_error)

  /* "kivy/properties.pyx":827
 *         observable_list_dispatch(self)
 * 
 *     def __setslice__(self, b, c, v):             # <<<<<<<<<<<<<<
 *         list.__setslice__(self, b, c, v)
 *         self.last_op = '__setslice__', (b, c)
*/

  /* 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("kivy.properties.ObservableList.__setslice__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":832
 *         observable_list_dispatch(self)
 * 
 *     def __delslice__(self, b, c):             # <<<<<<<<<<<<<<
 *         list.__delslice__(self, b, c)
 *         self.last_op = '__delslice__', (b, c)
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_9__delslice__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableList_8__delslice__, "ObservableList.__delslice__(self, b, c)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableList_9__delslice__ = {"__delslice__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableList_9__delslice__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableList_8__delslice__};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_9__delslice__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_b = 0;
  PyObject *__pyx_v_c = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[3] = {0,0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__delslice__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,&__pyx_mstate_global->__pyx_n_u_b,&__pyx_mstate_global->__pyx_n_u_c,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 832, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 832, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 832, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 832, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__delslice__", 0) < (0)) __PYX_ERR(0, 832, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 3; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__delslice__", 1, 3, 3, i); __PYX_ERR(0, 832, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 3)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 832, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 832, __pyx_L3_error)
      values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 832, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
    __pyx_v_b = values[1];
    __pyx_v_c = values[2];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__delslice__", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 832, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ObservableList.__delslice__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableList_8__delslice__(__pyx_self, __pyx_v_self, __pyx_v_b, __pyx_v_c);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_8__delslice__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_b, PyObject *__pyx_v_c) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  size_t __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__delslice__", 0);

  /* "kivy/properties.pyx":833
 * 
 *     def __delslice__(self, b, c):
 *         list.__delslice__(self, b, c)             # <<<<<<<<<<<<<<
 *         self.last_op = '__delslice__', (b, c)
 *         observable_list_dispatch(self)
*/
  __pyx_t_2 = ((PyObject *)(&PyList_Type));
  __Pyx_INCREF(__pyx_t_2);
  __pyx_t_3 = 0;
  {
    PyObject *__pyx_callargs[4] = {__pyx_t_2, __pyx_v_self, __pyx_v_b, __pyx_v_c};
    __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_delslice, __pyx_callargs+__pyx_t_3, (4-__pyx_t_3) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 833, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":834
 *     def __delslice__(self, b, c):
 *         list.__delslice__(self, b, c)
 *         self.last_op = '__delslice__', (b, c)             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 * 
*/
  __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 834, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_v_b);
  __Pyx_GIVEREF(__pyx_v_b);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_b) != (0)) __PYX_ERR(0, 834, __pyx_L1_error);
  __Pyx_INCREF(__pyx_v_c);
  __Pyx_GIVEREF(__pyx_v_c);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_c) != (0)) __PYX_ERR(0, 834, __pyx_L1_error);
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 834, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_mstate_global->__pyx_n_u_delslice);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_n_u_delslice);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_mstate_global->__pyx_n_u_delslice) != (0)) __PYX_ERR(0, 834, __pyx_L1_error);
  __Pyx_GIVEREF(__pyx_t_1);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1) != (0)) __PYX_ERR(0, 834, __pyx_L1_error);
  __pyx_t_1 = 0;
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_last_op, __pyx_t_2) < (0)) __PYX_ERR(0, 834, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":835
 *         list.__delslice__(self, b, c)
 *         self.last_op = '__delslice__', (b, c)
 *         observable_list_dispatch(self)             # <<<<<<<<<<<<<<
 * 
 *     def __iadd__(self, *largs):
*/
  __pyx_f_4kivy_10properties_observable_list_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 835, __pyx_L1_error)

  /* "kivy/properties.pyx":832
 *         observable_list_dispatch(self)
 * 
 *     def __delslice__(self, b, c):             # <<<<<<<<<<<<<<
 *         list.__delslice__(self, b, c)
 *         self.last_op = '__delslice__', (b, c)
*/

  /* 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("kivy.properties.ObservableList.__delslice__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":837
 *         observable_list_dispatch(self)
 * 
 *     def __iadd__(self, *largs):             # <<<<<<<<<<<<<<
 *         list.__iadd__(self, *largs)
 *         self.last_op = '__iadd__', None
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_11__iadd__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableList_10__iadd__, "ObservableList.__iadd__(self, *largs)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableList_11__iadd__ = {"__iadd__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableList_11__iadd__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableList_10__iadd__};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_11__iadd__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_largs = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__iadd__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  __pyx_v_largs = __Pyx_ArgsSlice_FASTCALL(__pyx_args, 1, __pyx_nargs);
  if (unlikely(!__pyx_v_largs)) {
    __Pyx_RefNannyFinishContext();
    return NULL;
  }
  __Pyx_GOTREF(__pyx_v_largs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 837, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        default:
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 837, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      const Py_ssize_t used_pos_args = (kwd_pos_args < 1) ? kwd_pos_args : 1;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, used_pos_args, __pyx_kwds_len, "__iadd__", 0) < (0)) __PYX_ERR(0, 837, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__iadd__", 0, 1, 1, i); __PYX_ERR(0, 837, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs < 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 837, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__iadd__", 0, 1, 1, __pyx_nargs); __PYX_ERR(0, 837, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs); __pyx_v_largs = 0;
  __Pyx_AddTraceback("kivy.properties.ObservableList.__iadd__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableList_10__iadd__(__pyx_self, __pyx_v_self, __pyx_v_largs);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_10__iadd__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs) {
  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("__iadd__", 0);

  /* "kivy/properties.pyx":838
 * 
 *     def __iadd__(self, *largs):
 *         list.__iadd__(self, *largs)             # <<<<<<<<<<<<<<
 *         self.last_op = '__iadd__', None
 *         observable_list_dispatch(self)
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)(&PyList_Type)), __pyx_mstate_global->__pyx_n_u_iadd); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 838, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 838, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_self);
  __Pyx_GIVEREF(__pyx_v_self);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self) != (0)) __PYX_ERR(0, 838, __pyx_L1_error);
  __pyx_t_3 = PyNumber_Add(__pyx_t_2, __pyx_v_largs); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 838, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 838, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __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;

  /* "kivy/properties.pyx":839
 *     def __iadd__(self, *largs):
 *         list.__iadd__(self, *largs)
 *         self.last_op = '__iadd__', None             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 * 
*/
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_last_op, __pyx_mstate_global->__pyx_tuple[1]) < (0)) __PYX_ERR(0, 839, __pyx_L1_error)

  /* "kivy/properties.pyx":840
 *         list.__iadd__(self, *largs)
 *         self.last_op = '__iadd__', None
 *         observable_list_dispatch(self)             # <<<<<<<<<<<<<<
 * 
 *     def __imul__(self, b):
*/
  __pyx_f_4kivy_10properties_observable_list_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 840, __pyx_L1_error)

  /* "kivy/properties.pyx":837
 *         observable_list_dispatch(self)
 * 
 *     def __iadd__(self, *largs):             # <<<<<<<<<<<<<<
 *         list.__iadd__(self, *largs)
 *         self.last_op = '__iadd__', None
*/

  /* 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("kivy.properties.ObservableList.__iadd__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":842
 *         observable_list_dispatch(self)
 * 
 *     def __imul__(self, b):             # <<<<<<<<<<<<<<
 *         list.__imul__(self, b)
 *         self.last_op = '__imul__'. b
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_13__imul__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableList_12__imul__, "ObservableList.__imul__(self, b)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableList_13__imul__ = {"__imul__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableList_13__imul__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableList_12__imul__};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_13__imul__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_b = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__imul__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,&__pyx_mstate_global->__pyx_n_u_b,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 842, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 842, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 842, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__imul__", 0) < (0)) __PYX_ERR(0, 842, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__imul__", 1, 2, 2, i); __PYX_ERR(0, 842, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 842, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 842, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
    __pyx_v_b = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__imul__", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 842, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ObservableList.__imul__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableList_12__imul__(__pyx_self, __pyx_v_self, __pyx_v_b);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_12__imul__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_b) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  size_t __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__imul__", 0);

  /* "kivy/properties.pyx":843
 * 
 *     def __imul__(self, b):
 *         list.__imul__(self, b)             # <<<<<<<<<<<<<<
 *         self.last_op = '__imul__'. b
 *         observable_list_dispatch(self)
*/
  __pyx_t_2 = ((PyObject *)(&PyList_Type));
  __Pyx_INCREF(__pyx_t_2);
  __pyx_t_3 = 0;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_v_self, __pyx_v_b};
    __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_imul, __pyx_callargs+__pyx_t_3, (3-__pyx_t_3) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 843, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":844
 *     def __imul__(self, b):
 *         list.__imul__(self, b)
 *         self.last_op = '__imul__'. b             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 * 
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_mstate_global->__pyx_n_u_imul, __pyx_mstate_global->__pyx_n_u_b); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 844, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_last_op, __pyx_t_1) < (0)) __PYX_ERR(0, 844, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":845
 *         list.__imul__(self, b)
 *         self.last_op = '__imul__'. b
 *         observable_list_dispatch(self)             # <<<<<<<<<<<<<<
 * 
 *     def append(self, *largs):
*/
  __pyx_f_4kivy_10properties_observable_list_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 845, __pyx_L1_error)

  /* "kivy/properties.pyx":842
 *         observable_list_dispatch(self)
 * 
 *     def __imul__(self, b):             # <<<<<<<<<<<<<<
 *         list.__imul__(self, b)
 *         self.last_op = '__imul__'. b
*/

  /* 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("kivy.properties.ObservableList.__imul__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":847
 *         observable_list_dispatch(self)
 * 
 *     def append(self, *largs):             # <<<<<<<<<<<<<<
 *         list.append(self, *largs)
 *         self.last_op = 'append', None
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_15append(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableList_14append, "ObservableList.append(self, *largs)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableList_15append = {"append", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableList_15append, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableList_14append};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_15append(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_largs = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("append (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  __pyx_v_largs = __Pyx_ArgsSlice_FASTCALL(__pyx_args, 1, __pyx_nargs);
  if (unlikely(!__pyx_v_largs)) {
    __Pyx_RefNannyFinishContext();
    return NULL;
  }
  __Pyx_GOTREF(__pyx_v_largs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 847, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        default:
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 847, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      const Py_ssize_t used_pos_args = (kwd_pos_args < 1) ? kwd_pos_args : 1;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, used_pos_args, __pyx_kwds_len, "append", 0) < (0)) __PYX_ERR(0, 847, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("append", 0, 1, 1, i); __PYX_ERR(0, 847, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs < 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 847, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("append", 0, 1, 1, __pyx_nargs); __PYX_ERR(0, 847, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs); __pyx_v_largs = 0;
  __Pyx_AddTraceback("kivy.properties.ObservableList.append", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableList_14append(__pyx_self, __pyx_v_self, __pyx_v_largs);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_14append(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs) {
  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("append", 0);

  /* "kivy/properties.pyx":848
 * 
 *     def append(self, *largs):
 *         list.append(self, *largs)             # <<<<<<<<<<<<<<
 *         self.last_op = 'append', None
 *         observable_list_dispatch(self)
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)(&PyList_Type)), __pyx_mstate_global->__pyx_n_u_append); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 848, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 848, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_self);
  __Pyx_GIVEREF(__pyx_v_self);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self) != (0)) __PYX_ERR(0, 848, __pyx_L1_error);
  __pyx_t_3 = PyNumber_Add(__pyx_t_2, __pyx_v_largs); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 848, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 848, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __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;

  /* "kivy/properties.pyx":849
 *     def append(self, *largs):
 *         list.append(self, *largs)
 *         self.last_op = 'append', None             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 * 
*/
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_last_op, __pyx_mstate_global->__pyx_tuple[2]) < (0)) __PYX_ERR(0, 849, __pyx_L1_error)

  /* "kivy/properties.pyx":850
 *         list.append(self, *largs)
 *         self.last_op = 'append', None
 *         observable_list_dispatch(self)             # <<<<<<<<<<<<<<
 * 
 *     def remove(self, *largs):
*/
  __pyx_f_4kivy_10properties_observable_list_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 850, __pyx_L1_error)

  /* "kivy/properties.pyx":847
 *         observable_list_dispatch(self)
 * 
 *     def append(self, *largs):             # <<<<<<<<<<<<<<
 *         list.append(self, *largs)
 *         self.last_op = 'append', None
*/

  /* 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("kivy.properties.ObservableList.append", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":852
 *         observable_list_dispatch(self)
 * 
 *     def remove(self, *largs):             # <<<<<<<<<<<<<<
 *         list.remove(self, *largs)
 *         self.last_op = 'remove', None
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_17remove(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableList_16remove, "ObservableList.remove(self, *largs)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableList_17remove = {"remove", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableList_17remove, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableList_16remove};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_17remove(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_largs = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("remove (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  __pyx_v_largs = __Pyx_ArgsSlice_FASTCALL(__pyx_args, 1, __pyx_nargs);
  if (unlikely(!__pyx_v_largs)) {
    __Pyx_RefNannyFinishContext();
    return NULL;
  }
  __Pyx_GOTREF(__pyx_v_largs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 852, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        default:
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 852, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      const Py_ssize_t used_pos_args = (kwd_pos_args < 1) ? kwd_pos_args : 1;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, used_pos_args, __pyx_kwds_len, "remove", 0) < (0)) __PYX_ERR(0, 852, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("remove", 0, 1, 1, i); __PYX_ERR(0, 852, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs < 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 852, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("remove", 0, 1, 1, __pyx_nargs); __PYX_ERR(0, 852, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs); __pyx_v_largs = 0;
  __Pyx_AddTraceback("kivy.properties.ObservableList.remove", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableList_16remove(__pyx_self, __pyx_v_self, __pyx_v_largs);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_16remove(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs) {
  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("remove", 0);

  /* "kivy/properties.pyx":853
 * 
 *     def remove(self, *largs):
 *         list.remove(self, *largs)             # <<<<<<<<<<<<<<
 *         self.last_op = 'remove', None
 *         observable_list_dispatch(self)
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)(&PyList_Type)), __pyx_mstate_global->__pyx_n_u_remove); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 853, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 853, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_self);
  __Pyx_GIVEREF(__pyx_v_self);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self) != (0)) __PYX_ERR(0, 853, __pyx_L1_error);
  __pyx_t_3 = PyNumber_Add(__pyx_t_2, __pyx_v_largs); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 853, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 853, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __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;

  /* "kivy/properties.pyx":854
 *     def remove(self, *largs):
 *         list.remove(self, *largs)
 *         self.last_op = 'remove', None             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 * 
*/
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_last_op, __pyx_mstate_global->__pyx_tuple[3]) < (0)) __PYX_ERR(0, 854, __pyx_L1_error)

  /* "kivy/properties.pyx":855
 *         list.remove(self, *largs)
 *         self.last_op = 'remove', None
 *         observable_list_dispatch(self)             # <<<<<<<<<<<<<<
 * 
 *     def insert(self, i, x):
*/
  __pyx_f_4kivy_10properties_observable_list_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 855, __pyx_L1_error)

  /* "kivy/properties.pyx":852
 *         observable_list_dispatch(self)
 * 
 *     def remove(self, *largs):             # <<<<<<<<<<<<<<
 *         list.remove(self, *largs)
 *         self.last_op = 'remove', None
*/

  /* 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("kivy.properties.ObservableList.remove", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":857
 *         observable_list_dispatch(self)
 * 
 *     def insert(self, i, x):             # <<<<<<<<<<<<<<
 *         list.insert(self, i, x)
 *         self.last_op = 'insert', i
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_19insert(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableList_18insert, "ObservableList.insert(self, i, x)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableList_19insert = {"insert", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableList_19insert, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableList_18insert};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_19insert(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_i = 0;
  PyObject *__pyx_v_x = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[3] = {0,0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("insert (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,&__pyx_mstate_global->__pyx_n_u_i,&__pyx_mstate_global->__pyx_n_u_x,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 857, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 857, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 857, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 857, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "insert", 0) < (0)) __PYX_ERR(0, 857, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 3; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("insert", 1, 3, 3, i); __PYX_ERR(0, 857, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 3)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 857, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 857, __pyx_L3_error)
      values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 857, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
    __pyx_v_i = values[1];
    __pyx_v_x = values[2];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("insert", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 857, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ObservableList.insert", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableList_18insert(__pyx_self, __pyx_v_self, __pyx_v_i, __pyx_v_x);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_18insert(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_i, PyObject *__pyx_v_x) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  Py_ssize_t __pyx_t_2;
  int __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("insert", 0);

  /* "kivy/properties.pyx":858
 * 
 *     def insert(self, i, x):
 *         list.insert(self, i, x)             # <<<<<<<<<<<<<<
 *         self.last_op = 'insert', i
 *         observable_list_dispatch(self)
*/
  if (unlikely(__pyx_v_self == Py_None)) {
    PyErr_Format(PyExc_TypeError, "descriptor '%s' requires a '%s' object but received a 'NoneType'", "insert", "list");
    __PYX_ERR(0, 858, __pyx_L1_error)
  }
  __pyx_t_1 = __pyx_v_self;
  __Pyx_INCREF(__pyx_t_1);
  if (!(likely(PyList_Check(__pyx_t_1)) || __Pyx_RaiseUnexpectedTypeError("list", __pyx_t_1))) __PYX_ERR(0, 858, __pyx_L1_error)
  __pyx_t_2 = __Pyx_PyIndex_AsSsize_t(__pyx_v_i); if (unlikely((__pyx_t_2 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 858, __pyx_L1_error)
  __pyx_t_3 = PyList_Insert(((PyObject*)__pyx_t_1), __pyx_t_2, __pyx_v_x); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(0, 858, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":859
 *     def insert(self, i, x):
 *         list.insert(self, i, x)
 *         self.last_op = 'insert', i             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 * 
*/
  __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 859, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_mstate_global->__pyx_n_u_insert);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_n_u_insert);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_mstate_global->__pyx_n_u_insert) != (0)) __PYX_ERR(0, 859, __pyx_L1_error);
  __Pyx_INCREF(__pyx_v_i);
  __Pyx_GIVEREF(__pyx_v_i);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_i) != (0)) __PYX_ERR(0, 859, __pyx_L1_error);
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_last_op, __pyx_t_1) < (0)) __PYX_ERR(0, 859, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":860
 *         list.insert(self, i, x)
 *         self.last_op = 'insert', i
 *         observable_list_dispatch(self)             # <<<<<<<<<<<<<<
 * 
 *     def pop(self, *largs):
*/
  __pyx_f_4kivy_10properties_observable_list_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 860, __pyx_L1_error)

  /* "kivy/properties.pyx":857
 *         observable_list_dispatch(self)
 * 
 *     def insert(self, i, x):             # <<<<<<<<<<<<<<
 *         list.insert(self, i, x)
 *         self.last_op = 'insert', i
*/

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.ObservableList.insert", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":862
 *         observable_list_dispatch(self)
 * 
 *     def pop(self, *largs):             # <<<<<<<<<<<<<<
 *         cdef object result = list.pop(self, *largs)
 *         self.last_op = 'pop', largs
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_21pop(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableList_20pop, "ObservableList.pop(self, *largs)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableList_21pop = {"pop", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableList_21pop, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableList_20pop};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_21pop(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_largs = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("pop (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  __pyx_v_largs = __Pyx_ArgsSlice_FASTCALL(__pyx_args, 1, __pyx_nargs);
  if (unlikely(!__pyx_v_largs)) {
    __Pyx_RefNannyFinishContext();
    return NULL;
  }
  __Pyx_GOTREF(__pyx_v_largs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 862, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        default:
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 862, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      const Py_ssize_t used_pos_args = (kwd_pos_args < 1) ? kwd_pos_args : 1;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, used_pos_args, __pyx_kwds_len, "pop", 0) < (0)) __PYX_ERR(0, 862, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("pop", 0, 1, 1, i); __PYX_ERR(0, 862, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs < 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 862, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("pop", 0, 1, 1, __pyx_nargs); __PYX_ERR(0, 862, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs); __pyx_v_largs = 0;
  __Pyx_AddTraceback("kivy.properties.ObservableList.pop", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableList_20pop(__pyx_self, __pyx_v_self, __pyx_v_largs);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_20pop(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs) {
  PyObject *__pyx_v_result = 0;
  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("pop", 0);

  /* "kivy/properties.pyx":863
 * 
 *     def pop(self, *largs):
 *         cdef object result = list.pop(self, *largs)             # <<<<<<<<<<<<<<
 *         self.last_op = 'pop', largs
 *         observable_list_dispatch(self)
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)(&PyList_Type)), __pyx_mstate_global->__pyx_n_u_pop); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 863, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 863, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_self);
  __Pyx_GIVEREF(__pyx_v_self);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self) != (0)) __PYX_ERR(0, 863, __pyx_L1_error);
  __pyx_t_3 = PyNumber_Add(__pyx_t_2, __pyx_v_largs); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 863, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 863, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_v_result = __pyx_t_2;
  __pyx_t_2 = 0;

  /* "kivy/properties.pyx":864
 *     def pop(self, *largs):
 *         cdef object result = list.pop(self, *largs)
 *         self.last_op = 'pop', largs             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 *         return result
*/
  __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 864, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_mstate_global->__pyx_n_u_pop);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_n_u_pop);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_mstate_global->__pyx_n_u_pop) != (0)) __PYX_ERR(0, 864, __pyx_L1_error);
  __Pyx_INCREF(__pyx_v_largs);
  __Pyx_GIVEREF(__pyx_v_largs);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_largs) != (0)) __PYX_ERR(0, 864, __pyx_L1_error);
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_last_op, __pyx_t_2) < (0)) __PYX_ERR(0, 864, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":865
 *         cdef object result = list.pop(self, *largs)
 *         self.last_op = 'pop', largs
 *         observable_list_dispatch(self)             # <<<<<<<<<<<<<<
 *         return result
 * 
*/
  __pyx_f_4kivy_10properties_observable_list_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 865, __pyx_L1_error)

  /* "kivy/properties.pyx":866
 *         self.last_op = 'pop', largs
 *         observable_list_dispatch(self)
 *         return result             # <<<<<<<<<<<<<<
 * 
 *     def extend(self, *largs):
*/
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_result);
  __pyx_r = __pyx_v_result;
  goto __pyx_L0;

  /* "kivy/properties.pyx":862
 *         observable_list_dispatch(self)
 * 
 *     def pop(self, *largs):             # <<<<<<<<<<<<<<
 *         cdef object result = list.pop(self, *largs)
 *         self.last_op = 'pop', largs
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("kivy.properties.ObservableList.pop", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_result);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":868
 *         return result
 * 
 *     def extend(self, *largs):             # <<<<<<<<<<<<<<
 *         list.extend(self, *largs)
 *         self.last_op = 'extend', None
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_23extend(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableList_22extend, "ObservableList.extend(self, *largs)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableList_23extend = {"extend", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableList_23extend, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableList_22extend};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_23extend(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_largs = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("extend (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  __pyx_v_largs = __Pyx_ArgsSlice_FASTCALL(__pyx_args, 1, __pyx_nargs);
  if (unlikely(!__pyx_v_largs)) {
    __Pyx_RefNannyFinishContext();
    return NULL;
  }
  __Pyx_GOTREF(__pyx_v_largs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 868, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        default:
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 868, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      const Py_ssize_t used_pos_args = (kwd_pos_args < 1) ? kwd_pos_args : 1;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, used_pos_args, __pyx_kwds_len, "extend", 0) < (0)) __PYX_ERR(0, 868, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("extend", 0, 1, 1, i); __PYX_ERR(0, 868, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs < 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 868, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("extend", 0, 1, 1, __pyx_nargs); __PYX_ERR(0, 868, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs); __pyx_v_largs = 0;
  __Pyx_AddTraceback("kivy.properties.ObservableList.extend", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableList_22extend(__pyx_self, __pyx_v_self, __pyx_v_largs);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_22extend(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs) {
  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("extend", 0);

  /* "kivy/properties.pyx":869
 * 
 *     def extend(self, *largs):
 *         list.extend(self, *largs)             # <<<<<<<<<<<<<<
 *         self.last_op = 'extend', None
 *         observable_list_dispatch(self)
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)(&PyList_Type)), __pyx_mstate_global->__pyx_n_u_extend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 869, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 869, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_self);
  __Pyx_GIVEREF(__pyx_v_self);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self) != (0)) __PYX_ERR(0, 869, __pyx_L1_error);
  __pyx_t_3 = PyNumber_Add(__pyx_t_2, __pyx_v_largs); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 869, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 869, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __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;

  /* "kivy/properties.pyx":870
 *     def extend(self, *largs):
 *         list.extend(self, *largs)
 *         self.last_op = 'extend', None             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 * 
*/
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_last_op, __pyx_mstate_global->__pyx_tuple[4]) < (0)) __PYX_ERR(0, 870, __pyx_L1_error)

  /* "kivy/properties.pyx":871
 *         list.extend(self, *largs)
 *         self.last_op = 'extend', None
 *         observable_list_dispatch(self)             # <<<<<<<<<<<<<<
 * 
 *     def sort(self, *largs, **kwargs):
*/
  __pyx_f_4kivy_10properties_observable_list_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 871, __pyx_L1_error)

  /* "kivy/properties.pyx":868
 *         return result
 * 
 *     def extend(self, *largs):             # <<<<<<<<<<<<<<
 *         list.extend(self, *largs)
 *         self.last_op = 'extend', None
*/

  /* 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("kivy.properties.ObservableList.extend", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":873
 *         observable_list_dispatch(self)
 * 
 *     def sort(self, *largs, **kwargs):             # <<<<<<<<<<<<<<
 *         list.sort(self, *largs, **kwargs)
 *         self.last_op = 'sort', None
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_25sort(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableList_24sort, "ObservableList.sort(self, *largs, **kwargs)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableList_25sort = {"sort", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableList_25sort, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableList_24sort};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_25sort(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_largs = 0;
  PyObject *__pyx_v_kwargs = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("sort (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return NULL;
  __Pyx_GOTREF(__pyx_v_kwargs);
  __pyx_v_largs = __Pyx_ArgsSlice_FASTCALL(__pyx_args, 1, __pyx_nargs);
  if (unlikely(!__pyx_v_largs)) {
    __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
    __Pyx_RefNannyFinishContext();
    return NULL;
  }
  __Pyx_GOTREF(__pyx_v_largs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 873, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        default:
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 873, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      const Py_ssize_t used_pos_args = (kwd_pos_args < 1) ? kwd_pos_args : 1;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, __pyx_v_kwargs, values, used_pos_args, __pyx_kwds_len, "sort", 1) < (0)) __PYX_ERR(0, 873, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("sort", 0, 1, 1, i); __PYX_ERR(0, 873, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs < 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 873, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("sort", 0, 1, 1, __pyx_nargs); __PYX_ERR(0, 873, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs); __pyx_v_largs = 0;
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("kivy.properties.ObservableList.sort", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableList_24sort(__pyx_self, __pyx_v_self, __pyx_v_largs, __pyx_v_kwargs);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs);
  __Pyx_DECREF(__pyx_v_kwargs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

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

  /* "kivy/properties.pyx":874
 * 
 *     def sort(self, *largs, **kwargs):
 *         list.sort(self, *largs, **kwargs)             # <<<<<<<<<<<<<<
 *         self.last_op = 'sort', None
 *         observable_list_dispatch(self)
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)(&PyList_Type)), __pyx_mstate_global->__pyx_n_u_sort); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 874, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 874, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_self);
  __Pyx_GIVEREF(__pyx_v_self);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self) != (0)) __PYX_ERR(0, 874, __pyx_L1_error);
  __pyx_t_3 = PyNumber_Add(__pyx_t_2, __pyx_v_largs); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 874, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = PyDict_Copy(__pyx_v_kwargs); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 874, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 874, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":875
 *     def sort(self, *largs, **kwargs):
 *         list.sort(self, *largs, **kwargs)
 *         self.last_op = 'sort', None             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 * 
*/
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_last_op, __pyx_mstate_global->__pyx_tuple[5]) < (0)) __PYX_ERR(0, 875, __pyx_L1_error)

  /* "kivy/properties.pyx":876
 *         list.sort(self, *largs, **kwargs)
 *         self.last_op = 'sort', None
 *         observable_list_dispatch(self)             # <<<<<<<<<<<<<<
 * 
 *     def reverse(self, *largs):
*/
  __pyx_f_4kivy_10properties_observable_list_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 876, __pyx_L1_error)

  /* "kivy/properties.pyx":873
 *         observable_list_dispatch(self)
 * 
 *     def sort(self, *largs, **kwargs):             # <<<<<<<<<<<<<<
 *         list.sort(self, *largs, **kwargs)
 *         self.last_op = 'sort', None
*/

  /* 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("kivy.properties.ObservableList.sort", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":878
 *         observable_list_dispatch(self)
 * 
 *     def reverse(self, *largs):             # <<<<<<<<<<<<<<
 *         list.reverse(self, *largs)
 *         self.last_op = 'reverse', None
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_27reverse(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableList_26reverse, "ObservableList.reverse(self, *largs)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableList_27reverse = {"reverse", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableList_27reverse, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableList_26reverse};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableList_27reverse(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_largs = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("reverse (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  __pyx_v_largs = __Pyx_ArgsSlice_FASTCALL(__pyx_args, 1, __pyx_nargs);
  if (unlikely(!__pyx_v_largs)) {
    __Pyx_RefNannyFinishContext();
    return NULL;
  }
  __Pyx_GOTREF(__pyx_v_largs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 878, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        default:
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 878, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      const Py_ssize_t used_pos_args = (kwd_pos_args < 1) ? kwd_pos_args : 1;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, used_pos_args, __pyx_kwds_len, "reverse", 0) < (0)) __PYX_ERR(0, 878, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("reverse", 0, 1, 1, i); __PYX_ERR(0, 878, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs < 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 878, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("reverse", 0, 1, 1, __pyx_nargs); __PYX_ERR(0, 878, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs); __pyx_v_largs = 0;
  __Pyx_AddTraceback("kivy.properties.ObservableList.reverse", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableList_26reverse(__pyx_self, __pyx_v_self, __pyx_v_largs);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableList_26reverse(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs) {
  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("reverse", 0);

  /* "kivy/properties.pyx":879
 * 
 *     def reverse(self, *largs):
 *         list.reverse(self, *largs)             # <<<<<<<<<<<<<<
 *         self.last_op = 'reverse', None
 *         observable_list_dispatch(self)
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)(&PyList_Type)), __pyx_mstate_global->__pyx_n_u_reverse); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 879, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 879, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_self);
  __Pyx_GIVEREF(__pyx_v_self);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self) != (0)) __PYX_ERR(0, 879, __pyx_L1_error);
  __pyx_t_3 = PyNumber_Add(__pyx_t_2, __pyx_v_largs); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 879, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 879, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __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;

  /* "kivy/properties.pyx":880
 *     def reverse(self, *largs):
 *         list.reverse(self, *largs)
 *         self.last_op = 'reverse', None             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 * 
*/
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_last_op, __pyx_mstate_global->__pyx_tuple[6]) < (0)) __PYX_ERR(0, 880, __pyx_L1_error)

  /* "kivy/properties.pyx":881
 *         list.reverse(self, *largs)
 *         self.last_op = 'reverse', None
 *         observable_list_dispatch(self)             # <<<<<<<<<<<<<<
 * 
 * 
*/
  __pyx_f_4kivy_10properties_observable_list_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 881, __pyx_L1_error)

  /* "kivy/properties.pyx":878
 *         observable_list_dispatch(self)
 * 
 *     def reverse(self, *largs):             # <<<<<<<<<<<<<<
 *         list.reverse(self, *largs)
 *         self.last_op = 'reverse', None
*/

  /* 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("kivy.properties.ObservableList.reverse", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":917
 * 
 *     '''
 *     def __init__(self, defaultvalue=0, **kw):             # <<<<<<<<<<<<<<
 *         defaultvalue = [] if defaultvalue == 0 else defaultvalue
 * 
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_12ListProperty_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_12ListProperty_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_defaultvalue = 0;
  PyObject *__pyx_v_kw = 0;
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_v_kw = PyDict_New(); if (unlikely(!__pyx_v_kw)) return -1;
  __Pyx_GOTREF(__pyx_v_kw);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_defaultvalue,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 917, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 917, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, __pyx_v_kw, values, kwd_pos_args, __pyx_kwds_len, "__init__", 1) < (0)) __PYX_ERR(0, 917, __pyx_L3_error)
      if (!values[0]) values[0] = __Pyx_NewRef(((PyObject *)__pyx_mstate_global->__pyx_int_0));
    } else {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 917, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      if (!values[0]) values[0] = __Pyx_NewRef(((PyObject *)__pyx_mstate_global->__pyx_int_0));
    }
    __pyx_v_defaultvalue = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 917, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw); __pyx_v_kw = 0;
  __Pyx_AddTraceback("kivy.properties.ListProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_12ListProperty___init__(((struct __pyx_obj_4kivy_10properties_ListProperty *)__pyx_v_self), __pyx_v_defaultvalue, __pyx_v_kw);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_4kivy_10properties_12ListProperty___init__(struct __pyx_obj_4kivy_10properties_ListProperty *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_kw) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  size_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_defaultvalue);

  /* "kivy/properties.pyx":918
 *     '''
 *     def __init__(self, defaultvalue=0, **kw):
 *         defaultvalue = [] if defaultvalue == 0 else defaultvalue             # <<<<<<<<<<<<<<
 * 
 *         super(ListProperty, self).__init__(defaultvalue, **kw)
*/
  __pyx_t_2 = (__Pyx_PyLong_BoolEqObjC(__pyx_v_defaultvalue, __pyx_mstate_global->__pyx_int_0, 0, 0)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 918, __pyx_L1_error)
  if (__pyx_t_2) {
    __pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 918, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_1 = __pyx_t_3;
    __pyx_t_3 = 0;
  } else {
    __Pyx_INCREF(__pyx_v_defaultvalue);
    __pyx_t_1 = __pyx_v_defaultvalue;
  }
  __Pyx_DECREF_SET(__pyx_v_defaultvalue, __pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":920
 *         defaultvalue = [] if defaultvalue == 0 else defaultvalue
 * 
 *         super(ListProperty, self).__init__(defaultvalue, **kw)             # <<<<<<<<<<<<<<
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):
*/
  __pyx_t_3 = NULL;
  __pyx_t_5 = NULL;
  __pyx_t_6 = 1;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_5, ((PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_ListProperty), ((PyObject *)__pyx_v_self)};
    __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)__pyx_builtin_super, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 920, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
  }
  __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_init); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 920, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __pyx_t_4 = PyDict_Copy(__pyx_v_kw); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 920, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_6 = 1;
  #if CYTHON_UNPACK_METHODS
  if (likely(PyMethod_Check(__pyx_t_5))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_5);
    assert(__pyx_t_3);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_5);
    __Pyx_INCREF(__pyx_t_3);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_5, __pyx__function);
    __pyx_t_6 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_v_defaultvalue};
    __pyx_t_1 = __Pyx_PyObject_FastCallDict((PyObject*)__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_4);
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 920, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":917
 * 
 *     '''
 *     def __init__(self, defaultvalue=0, **kw):             # <<<<<<<<<<<<<<
 *         defaultvalue = [] if defaultvalue == 0 else defaultvalue
 * 
*/

  /* function exit code */
  __pyx_r = 0;
  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_5);
  __Pyx_AddTraceback("kivy.properties.ListProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_defaultvalue);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":922
 *         super(ListProperty, self).__init__(defaultvalue, **kw)
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         cdef PropertyStorage ps = Property.link(self, obj, name)
 *         if ps.value is not None:
*/

static PyObject *__pyx_pw_4kivy_10properties_12ListProperty_3link(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_12ListProperty_link(struct __pyx_obj_4kivy_10properties_ListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps = 0;
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("link", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ListProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_link); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 922, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_12ListProperty_3link)) {
        __Pyx_XDECREF((PyObject *)__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_name};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 922, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage))))) __PYX_ERR(0, 922, __pyx_L1_error)
        __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_2);
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":923
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):
 *         cdef PropertyStorage ps = Property.link(self, obj, name)             # <<<<<<<<<<<<<<
 *         if ps.value is not None:
 *             ps.value = ObservableList(self, obj, ps.value)
*/
  __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_8Property_link(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_name, 1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 923, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":924
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):
 *         cdef PropertyStorage ps = Property.link(self, obj, name)
 *         if ps.value is not None:             # <<<<<<<<<<<<<<
 *             ps.value = ObservableList(self, obj, ps.value)
 *         return ps
*/
  __pyx_t_6 = (__pyx_v_ps->value != Py_None);
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":925
 *         cdef PropertyStorage ps = Property.link(self, obj, name)
 *         if ps.value is not None:
 *             ps.value = ObservableList(self, obj, ps.value)             # <<<<<<<<<<<<<<
 *         return ps
 * 
*/
    __pyx_t_2 = NULL;
    __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_ObservableList); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 925, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = 1;
    #if CYTHON_UNPACK_METHODS
    if (unlikely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
      assert(__pyx_t_2);
      PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
      __Pyx_INCREF(__pyx_t_2);
      __Pyx_INCREF(__pyx__function);
      __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
      __pyx_t_5 = 0;
    }
    #endif
    {
      PyObject *__pyx_callargs[4] = {__pyx_t_2, ((PyObject *)__pyx_v_self), ((PyObject *)__pyx_v_obj), __pyx_v_ps->value};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 925, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_GIVEREF(__pyx_t_1);
    __Pyx_GOTREF(__pyx_v_ps->value);
    __Pyx_DECREF(__pyx_v_ps->value);
    __pyx_v_ps->value = __pyx_t_1;
    __pyx_t_1 = 0;

    /* "kivy/properties.pyx":924
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):
 *         cdef PropertyStorage ps = Property.link(self, obj, name)
 *         if ps.value is not None:             # <<<<<<<<<<<<<<
 *             ps.value = ObservableList(self, obj, ps.value)
 *         return ps
*/
  }

  /* "kivy/properties.pyx":926
 *         if ps.value is not None:
 *             ps.value = ObservableList(self, obj, ps.value)
 *         return ps             # <<<<<<<<<<<<<<
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
*/
  __Pyx_XDECREF((PyObject *)__pyx_r);
  __Pyx_INCREF((PyObject *)__pyx_v_ps);
  __pyx_r = __pyx_v_ps;
  goto __pyx_L0;

  /* "kivy/properties.pyx":922
 *         super(ListProperty, self).__init__(defaultvalue, **kw)
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         cdef PropertyStorage ps = Property.link(self, obj, name)
 *         if ps.value is not None:
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("kivy.properties.ListProperty.link", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_12ListProperty_3link(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_12ListProperty_2link, "ListProperty.link(self, EventDispatcher obj, str name) -> PropertyStorage");
static PyMethodDef __pyx_mdef_4kivy_10properties_12ListProperty_3link = {"link", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_12ListProperty_3link, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_12ListProperty_2link};
static PyObject *__pyx_pw_4kivy_10properties_12ListProperty_3link(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_name = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("link (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_name_3,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 922, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 922, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 922, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "link", 0) < (0)) __PYX_ERR(0, 922, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("link", 1, 2, 2, i); __PYX_ERR(0, 922, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 922, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 922, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_name = ((PyObject*)values[1]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("link", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 922, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ListProperty.link", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 922, __pyx_L1_error)
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_name), (&PyUnicode_Type), 1, "name", 1))) __PYX_ERR(0, 922, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_12ListProperty_2link(((struct __pyx_obj_4kivy_10properties_ListProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v_name);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_12ListProperty_2link(struct __pyx_obj_4kivy_10properties_ListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, 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("link", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_12ListProperty_link(__pyx_v_self, __pyx_v_obj, __pyx_v_name, 1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 922, __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("kivy.properties.ListProperty.link", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":928
 *         return ps
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         if Property.check(self, obj, value, property_storage):
 *             return True
*/

static PyObject *__pyx_f_4kivy_10properties_12ListProperty_check(struct __pyx_obj_4kivy_10properties_ListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7[4];
  size_t __pyx_t_8;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("check", 0);

  /* "kivy/properties.pyx":929
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):             # <<<<<<<<<<<<<<
 *             return True
 *         if type(value) is not ObservableList:
*/
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_check(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_value, __pyx_v_property_storage); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 929, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 929, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":930
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):
 *             return True             # <<<<<<<<<<<<<<
 *         if type(value) is not ObservableList:
 *             raise ValueError('%s.%s accept only ObservableList' % (
*/
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(Py_True);
    __pyx_r = Py_True;
    goto __pyx_L0;

    /* "kivy/properties.pyx":929
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):             # <<<<<<<<<<<<<<
 *             return True
 *         if type(value) is not ObservableList:
*/
  }

  /* "kivy/properties.pyx":931
 *         if Property.check(self, obj, value, property_storage):
 *             return True
 *         if type(value) is not ObservableList:             # <<<<<<<<<<<<<<
 *             raise ValueError('%s.%s accept only ObservableList' % (
 *                 obj.__class__.__name__,
*/
  __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_ObservableList); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 931, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = (((PyObject *)Py_TYPE(__pyx_v_value)) != __pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(__pyx_t_2)) {

    /* "kivy/properties.pyx":932
 *             return True
 *         if type(value) is not ObservableList:
 *             raise ValueError('%s.%s accept only ObservableList' % (             # <<<<<<<<<<<<<<
 *                 obj.__class__.__name__,
 *                 self.name))
*/
    __pyx_t_3 = NULL;

    /* "kivy/properties.pyx":933
 *         if type(value) is not ObservableList:
 *             raise ValueError('%s.%s accept only ObservableList' % (
 *                 obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                 self.name))
 * 
*/
    __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 933, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 933, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __pyx_t_4 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_5), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 933, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

    /* "kivy/properties.pyx":934
 *             raise ValueError('%s.%s accept only ObservableList' % (
 *                 obj.__class__.__name__,
 *                 self.name))             # <<<<<<<<<<<<<<
 * 
 *     cpdef set(self, EventDispatcher obj, value):
*/
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 934, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __pyx_t_6 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_5), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 934, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    __pyx_t_7[0] = __pyx_t_4;
    __pyx_t_7[1] = __pyx_mstate_global->__pyx_kp_u__4;
    __pyx_t_7[2] = __pyx_t_6;
    __pyx_t_7[3] = __pyx_mstate_global->__pyx_kp_u_accept_only_ObservableList;

    /* "kivy/properties.pyx":932
 *             return True
 *         if type(value) is not ObservableList:
 *             raise ValueError('%s.%s accept only ObservableList' % (             # <<<<<<<<<<<<<<
 *                 obj.__class__.__name__,
 *                 self.name))
*/
    __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_7, 4, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_4) + 1 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_6) + 27, 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6));
    if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 932, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
    __pyx_t_8 = 1;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_t_5};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (__pyx_t_8*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 932, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_Raise(__pyx_t_1, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __PYX_ERR(0, 932, __pyx_L1_error)

    /* "kivy/properties.pyx":931
 *         if Property.check(self, obj, value, property_storage):
 *             return True
 *         if type(value) is not ObservableList:             # <<<<<<<<<<<<<<
 *             raise ValueError('%s.%s accept only ObservableList' % (
 *                 obj.__class__.__name__,
*/
  }

  /* "kivy/properties.pyx":928
 *         return ps
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         if Property.check(self, obj, value, property_storage):
 *             return True
*/

  /* 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_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("kivy.properties.ListProperty.check", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":936
 *                 self.name))
 * 
 *     cpdef set(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         if value is not None:
 *             value = ObservableList(self, obj, value)
*/

static PyObject *__pyx_pw_4kivy_10properties_12ListProperty_5set(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_12ListProperty_set(struct __pyx_obj_4kivy_10properties_ListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, int __pyx_skip_dispatch) {
  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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("set", 0);
  __Pyx_INCREF(__pyx_v_value);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ListProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_set); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 936, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_12ListProperty_5set)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_value};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 936, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":937
 * 
 *     cpdef set(self, EventDispatcher obj, value):
 *         if value is not None:             # <<<<<<<<<<<<<<
 *             value = ObservableList(self, obj, value)
 *         Property.set(self, obj, value)
*/
  __pyx_t_6 = (__pyx_v_value != Py_None);
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":938
 *     cpdef set(self, EventDispatcher obj, value):
 *         if value is not None:
 *             value = ObservableList(self, obj, value)             # <<<<<<<<<<<<<<
 *         Property.set(self, obj, value)
 * 
*/
    __pyx_t_2 = NULL;
    __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_ObservableList); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 938, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = 1;
    #if CYTHON_UNPACK_METHODS
    if (unlikely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
      assert(__pyx_t_2);
      PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
      __Pyx_INCREF(__pyx_t_2);
      __Pyx_INCREF(__pyx__function);
      __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
      __pyx_t_5 = 0;
    }
    #endif
    {
      PyObject *__pyx_callargs[4] = {__pyx_t_2, ((PyObject *)__pyx_v_self), ((PyObject *)__pyx_v_obj), __pyx_v_value};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 938, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_DECREF_SET(__pyx_v_value, __pyx_t_1);
    __pyx_t_1 = 0;

    /* "kivy/properties.pyx":937
 * 
 *     cpdef set(self, EventDispatcher obj, value):
 *         if value is not None:             # <<<<<<<<<<<<<<
 *             value = ObservableList(self, obj, value)
 *         Property.set(self, obj, value)
*/
  }

  /* "kivy/properties.pyx":939
 *         if value is not None:
 *             value = ObservableList(self, obj, value)
 *         Property.set(self, obj, value)             # <<<<<<<<<<<<<<
 * 
 * 
*/
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_set(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_value, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 939, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":936
 *                 self.name))
 * 
 *     cpdef set(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         if value is not None:
 *             value = ObservableList(self, obj, value)
*/

  /* 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("kivy.properties.ListProperty.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_value);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_12ListProperty_5set(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_12ListProperty_4set, "ListProperty.set(self, EventDispatcher obj, value)");
static PyMethodDef __pyx_mdef_4kivy_10properties_12ListProperty_5set = {"set", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_12ListProperty_5set, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_12ListProperty_4set};
static PyObject *__pyx_pw_4kivy_10properties_12ListProperty_5set(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_value = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("set (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_value,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 936, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 936, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 936, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "set", 0) < (0)) __PYX_ERR(0, 936, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("set", 1, 2, 2, i); __PYX_ERR(0, 936, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 936, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 936, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_value = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("set", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 936, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ListProperty.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 936, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_12ListProperty_4set(((struct __pyx_obj_4kivy_10properties_ListProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v_value);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_12ListProperty_4set(struct __pyx_obj_4kivy_10properties_ListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value) {
  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("set", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_4kivy_10properties_12ListProperty_set(__pyx_v_self, __pyx_v_obj, __pyx_v_value, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 936, __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("kivy.properties.ListProperty.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_12ListProperty_7__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_12ListProperty_6__reduce_cython__, "ListProperty.__reduce_cython__(self)");
static PyMethodDef __pyx_mdef_4kivy_10properties_12ListProperty_7__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_12ListProperty_7__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_12ListProperty_6__reduce_cython__};
static PyObject *__pyx_pw_4kivy_10properties_12ListProperty_7__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return NULL;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__reduce_cython__", __pyx_kwds); return NULL;}
  __pyx_r = __pyx_pf_4kivy_10properties_12ListProperty_6__reduce_cython__(((struct __pyx_obj_4kivy_10properties_ListProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_12ListProperty_6__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ListProperty *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.ListProperty.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_12ListProperty_9__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_12ListProperty_8__setstate_cython__, "ListProperty.__setstate_cython__(self, __pyx_state)");
static PyMethodDef __pyx_mdef_4kivy_10properties_12ListProperty_9__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_12ListProperty_9__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_12ListProperty_8__setstate_cython__};
static PyObject *__pyx_pw_4kivy_10properties_12ListProperty_9__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  CYTHON_UNUSED PyObject *__pyx_v___pyx_state = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 3, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 3, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
    }
    __pyx_v___pyx_state = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ListProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_12ListProperty_8__setstate_cython__(((struct __pyx_obj_4kivy_10properties_ListProperty *)__pyx_v_self), __pyx_v___pyx_state);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_12ListProperty_8__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ListProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.ListProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":942
 * 
 * 
 * cdef inline void observable_dict_dispatch(object self) except *:             # <<<<<<<<<<<<<<
 *     cdef Property prop = self.prop
 *     prop.dispatch(self.obj)
*/

static CYTHON_INLINE void __pyx_f_4kivy_10properties_observable_dict_dispatch(PyObject *__pyx_v_self) {
  struct __pyx_obj_4kivy_10properties_Property *__pyx_v_prop = 0;
  __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("observable_dict_dispatch", 0);

  /* "kivy/properties.pyx":943
 * 
 * cdef inline void observable_dict_dispatch(object self) except *:
 *     cdef Property prop = self.prop             # <<<<<<<<<<<<<<
 *     prop.dispatch(self.obj)
 * 
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_prop); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 943, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property))))) __PYX_ERR(0, 943, __pyx_L1_error)
  __pyx_v_prop = ((struct __pyx_obj_4kivy_10properties_Property *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":944
 * cdef inline void observable_dict_dispatch(object self) except *:
 *     cdef Property prop = self.prop
 *     prop.dispatch(self.obj)             # <<<<<<<<<<<<<<
 * 
 * 
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_obj); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 944, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher))))) __PYX_ERR(0, 944, __pyx_L1_error)
  __pyx_t_2 = ((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_prop->__pyx_vtab)->dispatch(__pyx_v_prop, ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)__pyx_t_1), 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 944, __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;

  /* "kivy/properties.pyx":942
 * 
 * 
 * cdef inline void observable_dict_dispatch(object self) except *:             # <<<<<<<<<<<<<<
 *     cdef Property prop = self.prop
 *     prop.dispatch(self.obj)
*/

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("kivy.properties.observable_dict_dispatch", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_prop);
  __Pyx_RefNannyFinishContext();
}

/* "kivy/properties.pyx":949
 * class ObservableDict(dict):
 *     # Internal class to observe changes inside a native python dict.
 *     def __init__(self, *largs):             # <<<<<<<<<<<<<<
 *         self.prop = largs[0]
 *         self.obj = largs[1]
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_1__init__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableDict___init__, "ObservableDict.__init__(self, *largs)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableDict_1__init__ = {"__init__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableDict_1__init__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableDict___init__};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_1__init__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_largs = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {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);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  __pyx_v_largs = __Pyx_ArgsSlice_FASTCALL(__pyx_args, 1, __pyx_nargs);
  if (unlikely(!__pyx_v_largs)) {
    __Pyx_RefNannyFinishContext();
    return NULL;
  }
  __Pyx_GOTREF(__pyx_v_largs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 949, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        default:
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 949, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      const Py_ssize_t used_pos_args = (kwd_pos_args < 1) ? kwd_pos_args : 1;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, used_pos_args, __pyx_kwds_len, "__init__", 0) < (0)) __PYX_ERR(0, 949, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__init__", 0, 1, 1, i); __PYX_ERR(0, 949, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs < 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 949, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 1, 1, __pyx_nargs); __PYX_ERR(0, 949, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs); __pyx_v_largs = 0;
  __Pyx_AddTraceback("kivy.properties.ObservableDict.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableDict___init__(__pyx_self, __pyx_v_self, __pyx_v_largs);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

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

  /* "kivy/properties.pyx":950
 *     # Internal class to observe changes inside a native python dict.
 *     def __init__(self, *largs):
 *         self.prop = largs[0]             # <<<<<<<<<<<<<<
 *         self.obj = largs[1]
 *         super(ObservableDict, self).__init__(*largs[2:])
*/
  __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v_largs, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 950, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_prop, __pyx_t_1) < (0)) __PYX_ERR(0, 950, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":951
 *     def __init__(self, *largs):
 *         self.prop = largs[0]
 *         self.obj = largs[1]             # <<<<<<<<<<<<<<
 *         super(ObservableDict, self).__init__(*largs[2:])
 * 
*/
  __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v_largs, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 951, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_obj, __pyx_t_1) < (0)) __PYX_ERR(0, 951, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":952
 *         self.prop = largs[0]
 *         self.obj = largs[1]
 *         super(ObservableDict, self).__init__(*largs[2:])             # <<<<<<<<<<<<<<
 * 
 *     def _weak_return(self, item):
*/
  __pyx_t_2 = NULL;
  __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_ObservableDict); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 952, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = 1;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_t_3, __pyx_v_self};
    __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_builtin_super, __pyx_callargs+__pyx_t_4, (3-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 952, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_init); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 952, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PyTuple_GetSlice(__pyx_v_largs, 2, PY_SSIZE_T_MAX); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 952, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_1, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 952, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":949
 * class ObservableDict(dict):
 *     # Internal class to observe changes inside a native python dict.
 *     def __init__(self, *largs):             # <<<<<<<<<<<<<<
 *         self.prop = largs[0]
 *         self.obj = largs[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_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("kivy.properties.ObservableDict.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":954
 *         super(ObservableDict, self).__init__(*largs[2:])
 * 
 *     def _weak_return(self, item):             # <<<<<<<<<<<<<<
 *         if isinstance(item, ref):
 *             return item()
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_3_weak_return(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableDict_2_weak_return, "ObservableDict._weak_return(self, item)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableDict_3_weak_return = {"_weak_return", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableDict_3_weak_return, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableDict_2_weak_return};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_3_weak_return(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  CYTHON_UNUSED PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_item = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("_weak_return (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,&__pyx_mstate_global->__pyx_n_u_item,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 954, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 954, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 954, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "_weak_return", 0) < (0)) __PYX_ERR(0, 954, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("_weak_return", 1, 2, 2, i); __PYX_ERR(0, 954, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 954, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 954, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
    __pyx_v_item = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("_weak_return", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 954, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ObservableDict._weak_return", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableDict_2_weak_return(__pyx_self, __pyx_v_self, __pyx_v_item);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_2_weak_return(CYTHON_UNUSED PyObject *__pyx_self, CYTHON_UNUSED PyObject *__pyx_v_self, PyObject *__pyx_v_item) {
  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;
  size_t __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("_weak_return", 0);

  /* "kivy/properties.pyx":955
 * 
 *     def _weak_return(self, item):
 *         if isinstance(item, ref):             # <<<<<<<<<<<<<<
 *             return item()
 *         return item
*/
  __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_ref); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 955, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyObject_IsInstance(__pyx_v_item, __pyx_t_1); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(0, 955, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":956
 *     def _weak_return(self, item):
 *         if isinstance(item, ref):
 *             return item()             # <<<<<<<<<<<<<<
 *         return item
 * 
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_t_3 = NULL;
    __Pyx_INCREF(__pyx_v_item);
    __pyx_t_4 = __pyx_v_item; 
    __pyx_t_5 = 1;
    #if CYTHON_UNPACK_METHODS
    if (unlikely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
      assert(__pyx_t_3);
      PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(__pyx__function);
      __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
      __pyx_t_5 = 0;
    }
    #endif
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (1-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 956, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __pyx_r = __pyx_t_1;
    __pyx_t_1 = 0;
    goto __pyx_L0;

    /* "kivy/properties.pyx":955
 * 
 *     def _weak_return(self, item):
 *         if isinstance(item, ref):             # <<<<<<<<<<<<<<
 *             return item()
 *         return item
*/
  }

  /* "kivy/properties.pyx":957
 *         if isinstance(item, ref):
 *             return item()
 *         return item             # <<<<<<<<<<<<<<
 * 
 *     def __getattr__(self, attr):
*/
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_item);
  __pyx_r = __pyx_v_item;
  goto __pyx_L0;

  /* "kivy/properties.pyx":954
 *         super(ObservableDict, self).__init__(*largs[2:])
 * 
 *     def _weak_return(self, item):             # <<<<<<<<<<<<<<
 *         if isinstance(item, ref):
 *             return item()
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("kivy.properties.ObservableDict._weak_return", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":959
 *         return item
 * 
 *     def __getattr__(self, attr):             # <<<<<<<<<<<<<<
 *         try:
 *             return self._weak_return(self.__getitem__(attr))
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_5__getattr__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableDict_4__getattr__, "ObservableDict.__getattr__(self, attr)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableDict_5__getattr__ = {"__getattr__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableDict_5__getattr__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableDict_4__getattr__};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_5__getattr__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_attr = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__getattr__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,&__pyx_mstate_global->__pyx_n_u_attr,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 959, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 959, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 959, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__getattr__", 0) < (0)) __PYX_ERR(0, 959, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__getattr__", 1, 2, 2, i); __PYX_ERR(0, 959, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 959, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 959, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
    __pyx_v_attr = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__getattr__", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 959, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ObservableDict.__getattr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableDict_4__getattr__(__pyx_self, __pyx_v_self, __pyx_v_attr);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_4__getattr__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_attr) {
  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;
  size_t __pyx_t_8;
  int __pyx_t_9;
  PyObject *__pyx_t_10 = NULL;
  PyObject *__pyx_t_11 = NULL;
  PyObject *__pyx_t_12 = NULL;
  PyObject *__pyx_t_13 = NULL;
  PyObject *__pyx_t_14 = NULL;
  PyObject *__pyx_t_15 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__getattr__", 0);

  /* "kivy/properties.pyx":960
 * 
 *     def __getattr__(self, attr):
 *         try:             # <<<<<<<<<<<<<<
 *             return self._weak_return(self.__getitem__(attr))
 *         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:*/ {

      /* "kivy/properties.pyx":961
 *     def __getattr__(self, attr):
 *         try:
 *             return self._weak_return(self.__getitem__(attr))             # <<<<<<<<<<<<<<
 *         except KeyError:
 *             return self._weak_return(
*/
      __Pyx_XDECREF(__pyx_r);
      __pyx_t_5 = __pyx_v_self;
      __Pyx_INCREF(__pyx_t_5);
      __pyx_t_7 = __pyx_v_self;
      __Pyx_INCREF(__pyx_t_7);
      __pyx_t_8 = 0;
      {
        PyObject *__pyx_callargs[2] = {__pyx_t_7, __pyx_v_attr};
        __pyx_t_6 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_getitem, __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
        if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 961, __pyx_L3_error)
        __Pyx_GOTREF(__pyx_t_6);
      }
      __pyx_t_8 = 0;
      {
        PyObject *__pyx_callargs[2] = {__pyx_t_5, __pyx_t_6};
        __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_weak_return, __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
        if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 961, __pyx_L3_error)
        __Pyx_GOTREF(__pyx_t_4);
      }
      __pyx_r = __pyx_t_4;
      __pyx_t_4 = 0;
      goto __pyx_L7_try_return;

      /* "kivy/properties.pyx":960
 * 
 *     def __getattr__(self, attr):
 *         try:             # <<<<<<<<<<<<<<
 *             return self._weak_return(self.__getitem__(attr))
 *         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;
    __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;

    /* "kivy/properties.pyx":962
 *         try:
 *             return self._weak_return(self.__getitem__(attr))
 *         except KeyError:             # <<<<<<<<<<<<<<
 *             return self._weak_return(
 *                             super(ObservableDict, self).__getattr__(attr))
*/
    __pyx_t_9 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(((PyTypeObject*)PyExc_KeyError))));
    if (__pyx_t_9) {
      __Pyx_AddTraceback("kivy.properties.ObservableDict.__getattr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_6, &__pyx_t_5) < 0) __PYX_ERR(0, 962, __pyx_L5_except_error)
      __Pyx_XGOTREF(__pyx_t_4);
      __Pyx_XGOTREF(__pyx_t_6);
      __Pyx_XGOTREF(__pyx_t_5);

      /* "kivy/properties.pyx":963
 *             return self._weak_return(self.__getitem__(attr))
 *         except KeyError:
 *             return self._weak_return(             # <<<<<<<<<<<<<<
 *                             super(ObservableDict, self).__getattr__(attr))
 * 
*/
      __Pyx_XDECREF(__pyx_r);
      __pyx_t_10 = __pyx_v_self;
      __Pyx_INCREF(__pyx_t_10);

      /* "kivy/properties.pyx":964
 *         except KeyError:
 *             return self._weak_return(
 *                             super(ObservableDict, self).__getattr__(attr))             # <<<<<<<<<<<<<<
 * 
 *     def __setattr__(self, attr, value):
*/
      __pyx_t_14 = NULL;
      __Pyx_GetModuleGlobalName(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_ObservableDict); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 964, __pyx_L5_except_error)
      __Pyx_GOTREF(__pyx_t_15);
      __pyx_t_8 = 1;
      {
        PyObject *__pyx_callargs[3] = {__pyx_t_14, __pyx_t_15, __pyx_v_self};
        __pyx_t_13 = __Pyx_PyObject_FastCall((PyObject*)__pyx_builtin_super, __pyx_callargs+__pyx_t_8, (3-__pyx_t_8) | (__pyx_t_8*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0;
        __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0;
        if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 964, __pyx_L5_except_error)
        __Pyx_GOTREF(__pyx_t_13);
      }
      __pyx_t_12 = __pyx_t_13;
      __Pyx_INCREF(__pyx_t_12);
      __pyx_t_8 = 0;
      {
        PyObject *__pyx_callargs[2] = {__pyx_t_12, __pyx_v_attr};
        __pyx_t_11 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_getattr, __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
        __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
        if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 964, __pyx_L5_except_error)
        __Pyx_GOTREF(__pyx_t_11);
      }
      __pyx_t_8 = 0;
      {
        PyObject *__pyx_callargs[2] = {__pyx_t_10, __pyx_t_11};
        __pyx_t_7 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_weak_return, __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
        __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
        if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 963, __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;

    /* "kivy/properties.pyx":960
 * 
 *     def __getattr__(self, attr):
 *         try:             # <<<<<<<<<<<<<<
 *             return self._weak_return(self.__getitem__(attr))
 *         except KeyError:
*/
    __pyx_L5_except_error:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    goto __pyx_L1_error;
    __pyx_L7_try_return:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    goto __pyx_L0;
    __pyx_L6_except_return:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    goto __pyx_L0;
  }

  /* "kivy/properties.pyx":959
 *         return item
 * 
 *     def __getattr__(self, attr):             # <<<<<<<<<<<<<<
 *         try:
 *             return self._weak_return(self.__getitem__(attr))
*/

  /* 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_XDECREF(__pyx_t_10);
  __Pyx_XDECREF(__pyx_t_11);
  __Pyx_XDECREF(__pyx_t_12);
  __Pyx_XDECREF(__pyx_t_13);
  __Pyx_XDECREF(__pyx_t_14);
  __Pyx_XDECREF(__pyx_t_15);
  __Pyx_AddTraceback("kivy.properties.ObservableDict.__getattr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":966
 *                             super(ObservableDict, self).__getattr__(attr))
 * 
 *     def __setattr__(self, attr, value):             # <<<<<<<<<<<<<<
 *         if attr in ('prop', 'obj'):
 *             super(ObservableDict, self).__setattr__(attr, value)
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_7__setattr__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableDict_6__setattr__, "ObservableDict.__setattr__(self, attr, value)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableDict_7__setattr__ = {"__setattr__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableDict_7__setattr__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableDict_6__setattr__};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_7__setattr__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_attr = 0;
  PyObject *__pyx_v_value = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[3] = {0,0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setattr__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,&__pyx_mstate_global->__pyx_n_u_attr,&__pyx_mstate_global->__pyx_n_u_value,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 966, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 966, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 966, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 966, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setattr__", 0) < (0)) __PYX_ERR(0, 966, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 3; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setattr__", 1, 3, 3, i); __PYX_ERR(0, 966, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 3)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 966, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 966, __pyx_L3_error)
      values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 966, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
    __pyx_v_attr = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setattr__", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 966, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ObservableDict.__setattr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableDict_6__setattr__(__pyx_self, __pyx_v_self, __pyx_v_attr, __pyx_v_value);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_6__setattr__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_attr, PyObject *__pyx_v_value) {
  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;
  PyObject *__pyx_t_7 = NULL;
  size_t __pyx_t_8;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setattr__", 0);

  /* "kivy/properties.pyx":967
 * 
 *     def __setattr__(self, attr, value):
 *         if attr in ('prop', 'obj'):             # <<<<<<<<<<<<<<
 *             super(ObservableDict, self).__setattr__(attr, value)
 *             return
*/
  __Pyx_INCREF(__pyx_v_attr);
  __pyx_t_1 = __pyx_v_attr;
  __pyx_t_3 = (__Pyx_PyUnicode_Equals(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_prop, Py_EQ)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 967, __pyx_L1_error)
  if (!__pyx_t_3) {
  } else {
    __pyx_t_2 = __pyx_t_3;
    goto __pyx_L4_bool_binop_done;
  }
  __pyx_t_3 = (__Pyx_PyUnicode_Equals(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_obj, Py_EQ)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 967, __pyx_L1_error)
  __pyx_t_2 = __pyx_t_3;
  __pyx_L4_bool_binop_done:;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_3 = __pyx_t_2;
  if (__pyx_t_3) {

    /* "kivy/properties.pyx":968
 *     def __setattr__(self, attr, value):
 *         if attr in ('prop', 'obj'):
 *             super(ObservableDict, self).__setattr__(attr, value)             # <<<<<<<<<<<<<<
 *             return
 *         self.__setitem__(attr, value)
*/
    __pyx_t_6 = NULL;
    __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_ObservableDict); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 968, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_7);
    __pyx_t_8 = 1;
    {
      PyObject *__pyx_callargs[3] = {__pyx_t_6, __pyx_t_7, __pyx_v_self};
      __pyx_t_5 = __Pyx_PyObject_FastCall((PyObject*)__pyx_builtin_super, __pyx_callargs+__pyx_t_8, (3-__pyx_t_8) | (__pyx_t_8*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 968, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_5);
    }
    __pyx_t_4 = __pyx_t_5;
    __Pyx_INCREF(__pyx_t_4);
    __pyx_t_8 = 0;
    {
      PyObject *__pyx_callargs[3] = {__pyx_t_4, __pyx_v_attr, __pyx_v_value};
      __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_setattr, __pyx_callargs+__pyx_t_8, (3-__pyx_t_8) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 968, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "kivy/properties.pyx":969
 *         if attr in ('prop', 'obj'):
 *             super(ObservableDict, self).__setattr__(attr, value)
 *             return             # <<<<<<<<<<<<<<
 *         self.__setitem__(attr, value)
 * 
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_r = Py_None; __Pyx_INCREF(Py_None);
    goto __pyx_L0;

    /* "kivy/properties.pyx":967
 * 
 *     def __setattr__(self, attr, value):
 *         if attr in ('prop', 'obj'):             # <<<<<<<<<<<<<<
 *             super(ObservableDict, self).__setattr__(attr, value)
 *             return
*/
  }

  /* "kivy/properties.pyx":970
 *             super(ObservableDict, self).__setattr__(attr, value)
 *             return
 *         self.__setitem__(attr, value)             # <<<<<<<<<<<<<<
 * 
 *     def __setitem__(self, key, value):
*/
  __pyx_t_5 = __pyx_v_self;
  __Pyx_INCREF(__pyx_t_5);
  __pyx_t_8 = 0;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_5, __pyx_v_attr, __pyx_v_value};
    __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_setitem, __pyx_callargs+__pyx_t_8, (3-__pyx_t_8) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 970, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":966
 *                             super(ObservableDict, self).__getattr__(attr))
 * 
 *     def __setattr__(self, attr, value):             # <<<<<<<<<<<<<<
 *         if attr in ('prop', 'obj'):
 *             super(ObservableDict, self).__setattr__(attr, value)
*/

  /* 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_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_AddTraceback("kivy.properties.ObservableDict.__setattr__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":972
 *         self.__setitem__(attr, value)
 * 
 *     def __setitem__(self, key, value):             # <<<<<<<<<<<<<<
 *         dict.__setitem__(self, key, value)
 *         observable_dict_dispatch(self)
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_9__setitem__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableDict_8__setitem__, "ObservableDict.__setitem__(self, key, value)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableDict_9__setitem__ = {"__setitem__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableDict_9__setitem__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableDict_8__setitem__};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_9__setitem__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_key = 0;
  PyObject *__pyx_v_value = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[3] = {0,0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setitem__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,&__pyx_mstate_global->__pyx_n_u_key,&__pyx_mstate_global->__pyx_n_u_value,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 972, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 972, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 972, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 972, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setitem__", 0) < (0)) __PYX_ERR(0, 972, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 3; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setitem__", 1, 3, 3, i); __PYX_ERR(0, 972, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 3)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 972, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 972, __pyx_L3_error)
      values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 972, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
    __pyx_v_key = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setitem__", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 972, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ObservableDict.__setitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableDict_8__setitem__(__pyx_self, __pyx_v_self, __pyx_v_key, __pyx_v_value);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_8__setitem__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_key, PyObject *__pyx_v_value) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  size_t __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setitem__", 0);

  /* "kivy/properties.pyx":973
 * 
 *     def __setitem__(self, key, value):
 *         dict.__setitem__(self, key, value)             # <<<<<<<<<<<<<<
 *         observable_dict_dispatch(self)
 * 
*/
  __pyx_t_2 = ((PyObject *)(&PyDict_Type));
  __Pyx_INCREF(__pyx_t_2);
  __pyx_t_3 = 0;
  {
    PyObject *__pyx_callargs[4] = {__pyx_t_2, __pyx_v_self, __pyx_v_key, __pyx_v_value};
    __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_setitem, __pyx_callargs+__pyx_t_3, (4-__pyx_t_3) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 973, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":974
 *     def __setitem__(self, key, value):
 *         dict.__setitem__(self, key, value)
 *         observable_dict_dispatch(self)             # <<<<<<<<<<<<<<
 * 
 *     def __delitem__(self, key):
*/
  __pyx_f_4kivy_10properties_observable_dict_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 974, __pyx_L1_error)

  /* "kivy/properties.pyx":972
 *         self.__setitem__(attr, value)
 * 
 *     def __setitem__(self, key, value):             # <<<<<<<<<<<<<<
 *         dict.__setitem__(self, key, value)
 *         observable_dict_dispatch(self)
*/

  /* 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("kivy.properties.ObservableDict.__setitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":976
 *         observable_dict_dispatch(self)
 * 
 *     def __delitem__(self, key):             # <<<<<<<<<<<<<<
 *         dict.__delitem__(self, key)
 *         observable_dict_dispatch(self)
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_11__delitem__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableDict_10__delitem__, "ObservableDict.__delitem__(self, key)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableDict_11__delitem__ = {"__delitem__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableDict_11__delitem__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableDict_10__delitem__};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_11__delitem__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_key = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__delitem__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,&__pyx_mstate_global->__pyx_n_u_key,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 976, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 976, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 976, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__delitem__", 0) < (0)) __PYX_ERR(0, 976, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__delitem__", 1, 2, 2, i); __PYX_ERR(0, 976, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 976, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 976, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
    __pyx_v_key = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__delitem__", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 976, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ObservableDict.__delitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableDict_10__delitem__(__pyx_self, __pyx_v_self, __pyx_v_key);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_10__delitem__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_key) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  size_t __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__delitem__", 0);

  /* "kivy/properties.pyx":977
 * 
 *     def __delitem__(self, key):
 *         dict.__delitem__(self, key)             # <<<<<<<<<<<<<<
 *         observable_dict_dispatch(self)
 * 
*/
  __pyx_t_2 = ((PyObject *)(&PyDict_Type));
  __Pyx_INCREF(__pyx_t_2);
  __pyx_t_3 = 0;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_v_self, __pyx_v_key};
    __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_delitem, __pyx_callargs+__pyx_t_3, (3-__pyx_t_3) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 977, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":978
 *     def __delitem__(self, key):
 *         dict.__delitem__(self, key)
 *         observable_dict_dispatch(self)             # <<<<<<<<<<<<<<
 * 
 *     def clear(self, *largs):
*/
  __pyx_f_4kivy_10properties_observable_dict_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 978, __pyx_L1_error)

  /* "kivy/properties.pyx":976
 *         observable_dict_dispatch(self)
 * 
 *     def __delitem__(self, key):             # <<<<<<<<<<<<<<
 *         dict.__delitem__(self, key)
 *         observable_dict_dispatch(self)
*/

  /* 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("kivy.properties.ObservableDict.__delitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":980
 *         observable_dict_dispatch(self)
 * 
 *     def clear(self, *largs):             # <<<<<<<<<<<<<<
 *         dict.clear(self, *largs)
 *         observable_dict_dispatch(self)
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_13clear(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableDict_12clear, "ObservableDict.clear(self, *largs)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableDict_13clear = {"clear", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableDict_13clear, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableDict_12clear};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_13clear(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_largs = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("clear (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  __pyx_v_largs = __Pyx_ArgsSlice_FASTCALL(__pyx_args, 1, __pyx_nargs);
  if (unlikely(!__pyx_v_largs)) {
    __Pyx_RefNannyFinishContext();
    return NULL;
  }
  __Pyx_GOTREF(__pyx_v_largs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 980, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        default:
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 980, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      const Py_ssize_t used_pos_args = (kwd_pos_args < 1) ? kwd_pos_args : 1;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, used_pos_args, __pyx_kwds_len, "clear", 0) < (0)) __PYX_ERR(0, 980, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("clear", 0, 1, 1, i); __PYX_ERR(0, 980, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs < 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 980, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("clear", 0, 1, 1, __pyx_nargs); __PYX_ERR(0, 980, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs); __pyx_v_largs = 0;
  __Pyx_AddTraceback("kivy.properties.ObservableDict.clear", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableDict_12clear(__pyx_self, __pyx_v_self, __pyx_v_largs);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_12clear(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs) {
  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("clear", 0);

  /* "kivy/properties.pyx":981
 * 
 *     def clear(self, *largs):
 *         dict.clear(self, *largs)             # <<<<<<<<<<<<<<
 *         observable_dict_dispatch(self)
 * 
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)(&PyDict_Type)), __pyx_mstate_global->__pyx_n_u_clear); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 981, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 981, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_self);
  __Pyx_GIVEREF(__pyx_v_self);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self) != (0)) __PYX_ERR(0, 981, __pyx_L1_error);
  __pyx_t_3 = PyNumber_Add(__pyx_t_2, __pyx_v_largs); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 981, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 981, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __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;

  /* "kivy/properties.pyx":982
 *     def clear(self, *largs):
 *         dict.clear(self, *largs)
 *         observable_dict_dispatch(self)             # <<<<<<<<<<<<<<
 * 
 *     def remove(self, *largs):
*/
  __pyx_f_4kivy_10properties_observable_dict_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 982, __pyx_L1_error)

  /* "kivy/properties.pyx":980
 *         observable_dict_dispatch(self)
 * 
 *     def clear(self, *largs):             # <<<<<<<<<<<<<<
 *         dict.clear(self, *largs)
 *         observable_dict_dispatch(self)
*/

  /* 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("kivy.properties.ObservableDict.clear", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":984
 *         observable_dict_dispatch(self)
 * 
 *     def remove(self, *largs):             # <<<<<<<<<<<<<<
 *         dict.remove(self, *largs)
 *         observable_dict_dispatch(self)
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_15remove(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableDict_14remove, "ObservableDict.remove(self, *largs)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableDict_15remove = {"remove", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableDict_15remove, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableDict_14remove};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_15remove(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_largs = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("remove (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  __pyx_v_largs = __Pyx_ArgsSlice_FASTCALL(__pyx_args, 1, __pyx_nargs);
  if (unlikely(!__pyx_v_largs)) {
    __Pyx_RefNannyFinishContext();
    return NULL;
  }
  __Pyx_GOTREF(__pyx_v_largs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 984, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        default:
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 984, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      const Py_ssize_t used_pos_args = (kwd_pos_args < 1) ? kwd_pos_args : 1;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, used_pos_args, __pyx_kwds_len, "remove", 0) < (0)) __PYX_ERR(0, 984, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("remove", 0, 1, 1, i); __PYX_ERR(0, 984, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs < 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 984, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("remove", 0, 1, 1, __pyx_nargs); __PYX_ERR(0, 984, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs); __pyx_v_largs = 0;
  __Pyx_AddTraceback("kivy.properties.ObservableDict.remove", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableDict_14remove(__pyx_self, __pyx_v_self, __pyx_v_largs);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_14remove(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs) {
  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("remove", 0);

  /* "kivy/properties.pyx":985
 * 
 *     def remove(self, *largs):
 *         dict.remove(self, *largs)             # <<<<<<<<<<<<<<
 *         observable_dict_dispatch(self)
 * 
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)(&PyDict_Type)), __pyx_mstate_global->__pyx_n_u_remove); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 985, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 985, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_self);
  __Pyx_GIVEREF(__pyx_v_self);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self) != (0)) __PYX_ERR(0, 985, __pyx_L1_error);
  __pyx_t_3 = PyNumber_Add(__pyx_t_2, __pyx_v_largs); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 985, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 985, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __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;

  /* "kivy/properties.pyx":986
 *     def remove(self, *largs):
 *         dict.remove(self, *largs)
 *         observable_dict_dispatch(self)             # <<<<<<<<<<<<<<
 * 
 *     def pop(self, *largs):
*/
  __pyx_f_4kivy_10properties_observable_dict_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 986, __pyx_L1_error)

  /* "kivy/properties.pyx":984
 *         observable_dict_dispatch(self)
 * 
 *     def remove(self, *largs):             # <<<<<<<<<<<<<<
 *         dict.remove(self, *largs)
 *         observable_dict_dispatch(self)
*/

  /* 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("kivy.properties.ObservableDict.remove", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":988
 *         observable_dict_dispatch(self)
 * 
 *     def pop(self, *largs):             # <<<<<<<<<<<<<<
 *         cdef object result = dict.pop(self, *largs)
 *         observable_dict_dispatch(self)
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_17pop(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableDict_16pop, "ObservableDict.pop(self, *largs)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableDict_17pop = {"pop", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableDict_17pop, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableDict_16pop};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_17pop(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_largs = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("pop (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  __pyx_v_largs = __Pyx_ArgsSlice_FASTCALL(__pyx_args, 1, __pyx_nargs);
  if (unlikely(!__pyx_v_largs)) {
    __Pyx_RefNannyFinishContext();
    return NULL;
  }
  __Pyx_GOTREF(__pyx_v_largs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 988, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        default:
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 988, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      const Py_ssize_t used_pos_args = (kwd_pos_args < 1) ? kwd_pos_args : 1;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, used_pos_args, __pyx_kwds_len, "pop", 0) < (0)) __PYX_ERR(0, 988, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("pop", 0, 1, 1, i); __PYX_ERR(0, 988, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs < 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 988, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("pop", 0, 1, 1, __pyx_nargs); __PYX_ERR(0, 988, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs); __pyx_v_largs = 0;
  __Pyx_AddTraceback("kivy.properties.ObservableDict.pop", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableDict_16pop(__pyx_self, __pyx_v_self, __pyx_v_largs);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_16pop(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs) {
  PyObject *__pyx_v_result = 0;
  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("pop", 0);

  /* "kivy/properties.pyx":989
 * 
 *     def pop(self, *largs):
 *         cdef object result = dict.pop(self, *largs)             # <<<<<<<<<<<<<<
 *         observable_dict_dispatch(self)
 *         return result
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)(&PyDict_Type)), __pyx_mstate_global->__pyx_n_u_pop); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 989, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 989, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_self);
  __Pyx_GIVEREF(__pyx_v_self);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self) != (0)) __PYX_ERR(0, 989, __pyx_L1_error);
  __pyx_t_3 = PyNumber_Add(__pyx_t_2, __pyx_v_largs); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 989, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 989, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_v_result = __pyx_t_2;
  __pyx_t_2 = 0;

  /* "kivy/properties.pyx":990
 *     def pop(self, *largs):
 *         cdef object result = dict.pop(self, *largs)
 *         observable_dict_dispatch(self)             # <<<<<<<<<<<<<<
 *         return result
 * 
*/
  __pyx_f_4kivy_10properties_observable_dict_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 990, __pyx_L1_error)

  /* "kivy/properties.pyx":991
 *         cdef object result = dict.pop(self, *largs)
 *         observable_dict_dispatch(self)
 *         return result             # <<<<<<<<<<<<<<
 * 
 *     def popitem(self, *largs):
*/
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_result);
  __pyx_r = __pyx_v_result;
  goto __pyx_L0;

  /* "kivy/properties.pyx":988
 *         observable_dict_dispatch(self)
 * 
 *     def pop(self, *largs):             # <<<<<<<<<<<<<<
 *         cdef object result = dict.pop(self, *largs)
 *         observable_dict_dispatch(self)
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("kivy.properties.ObservableDict.pop", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_result);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":993
 *         return result
 * 
 *     def popitem(self, *largs):             # <<<<<<<<<<<<<<
 *         cdef object result = dict.popitem(self, *largs)
 *         observable_dict_dispatch(self)
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_19popitem(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableDict_18popitem, "ObservableDict.popitem(self, *largs)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableDict_19popitem = {"popitem", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableDict_19popitem, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableDict_18popitem};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_19popitem(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_largs = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("popitem (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  __pyx_v_largs = __Pyx_ArgsSlice_FASTCALL(__pyx_args, 1, __pyx_nargs);
  if (unlikely(!__pyx_v_largs)) {
    __Pyx_RefNannyFinishContext();
    return NULL;
  }
  __Pyx_GOTREF(__pyx_v_largs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 993, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        default:
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 993, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      const Py_ssize_t used_pos_args = (kwd_pos_args < 1) ? kwd_pos_args : 1;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, used_pos_args, __pyx_kwds_len, "popitem", 0) < (0)) __PYX_ERR(0, 993, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("popitem", 0, 1, 1, i); __PYX_ERR(0, 993, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs < 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 993, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("popitem", 0, 1, 1, __pyx_nargs); __PYX_ERR(0, 993, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs); __pyx_v_largs = 0;
  __Pyx_AddTraceback("kivy.properties.ObservableDict.popitem", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableDict_18popitem(__pyx_self, __pyx_v_self, __pyx_v_largs);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_18popitem(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs) {
  PyObject *__pyx_v_result = 0;
  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("popitem", 0);

  /* "kivy/properties.pyx":994
 * 
 *     def popitem(self, *largs):
 *         cdef object result = dict.popitem(self, *largs)             # <<<<<<<<<<<<<<
 *         observable_dict_dispatch(self)
 *         return result
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)(&PyDict_Type)), __pyx_mstate_global->__pyx_n_u_popitem); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 994, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 994, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_self);
  __Pyx_GIVEREF(__pyx_v_self);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self) != (0)) __PYX_ERR(0, 994, __pyx_L1_error);
  __pyx_t_3 = PyNumber_Add(__pyx_t_2, __pyx_v_largs); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 994, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 994, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_v_result = __pyx_t_2;
  __pyx_t_2 = 0;

  /* "kivy/properties.pyx":995
 *     def popitem(self, *largs):
 *         cdef object result = dict.popitem(self, *largs)
 *         observable_dict_dispatch(self)             # <<<<<<<<<<<<<<
 *         return result
 * 
*/
  __pyx_f_4kivy_10properties_observable_dict_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 995, __pyx_L1_error)

  /* "kivy/properties.pyx":996
 *         cdef object result = dict.popitem(self, *largs)
 *         observable_dict_dispatch(self)
 *         return result             # <<<<<<<<<<<<<<
 * 
 *     def setdefault(self, *largs):
*/
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_result);
  __pyx_r = __pyx_v_result;
  goto __pyx_L0;

  /* "kivy/properties.pyx":993
 *         return result
 * 
 *     def popitem(self, *largs):             # <<<<<<<<<<<<<<
 *         cdef object result = dict.popitem(self, *largs)
 *         observable_dict_dispatch(self)
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("kivy.properties.ObservableDict.popitem", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_result);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":998
 *         return result
 * 
 *     def setdefault(self, *largs):             # <<<<<<<<<<<<<<
 *         cdef object result = dict.setdefault(self, *largs)
 *         observable_dict_dispatch(self)
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_21setdefault(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableDict_20setdefault, "ObservableDict.setdefault(self, *largs)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableDict_21setdefault = {"setdefault", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableDict_21setdefault, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableDict_20setdefault};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_21setdefault(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_largs = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("setdefault (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  __pyx_v_largs = __Pyx_ArgsSlice_FASTCALL(__pyx_args, 1, __pyx_nargs);
  if (unlikely(!__pyx_v_largs)) {
    __Pyx_RefNannyFinishContext();
    return NULL;
  }
  __Pyx_GOTREF(__pyx_v_largs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 998, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        default:
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 998, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      const Py_ssize_t used_pos_args = (kwd_pos_args < 1) ? kwd_pos_args : 1;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, used_pos_args, __pyx_kwds_len, "setdefault", 0) < (0)) __PYX_ERR(0, 998, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("setdefault", 0, 1, 1, i); __PYX_ERR(0, 998, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs < 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 998, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("setdefault", 0, 1, 1, __pyx_nargs); __PYX_ERR(0, 998, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs); __pyx_v_largs = 0;
  __Pyx_AddTraceback("kivy.properties.ObservableDict.setdefault", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableDict_20setdefault(__pyx_self, __pyx_v_self, __pyx_v_largs);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_20setdefault(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs) {
  PyObject *__pyx_v_result = 0;
  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("setdefault", 0);

  /* "kivy/properties.pyx":999
 * 
 *     def setdefault(self, *largs):
 *         cdef object result = dict.setdefault(self, *largs)             # <<<<<<<<<<<<<<
 *         observable_dict_dispatch(self)
 *         return result
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)(&PyDict_Type)), __pyx_mstate_global->__pyx_n_u_setdefault); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 999, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 999, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_self);
  __Pyx_GIVEREF(__pyx_v_self);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self) != (0)) __PYX_ERR(0, 999, __pyx_L1_error);
  __pyx_t_3 = PyNumber_Add(__pyx_t_2, __pyx_v_largs); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 999, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 999, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_v_result = __pyx_t_2;
  __pyx_t_2 = 0;

  /* "kivy/properties.pyx":1000
 *     def setdefault(self, *largs):
 *         cdef object result = dict.setdefault(self, *largs)
 *         observable_dict_dispatch(self)             # <<<<<<<<<<<<<<
 *         return result
 * 
*/
  __pyx_f_4kivy_10properties_observable_dict_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1000, __pyx_L1_error)

  /* "kivy/properties.pyx":1001
 *         cdef object result = dict.setdefault(self, *largs)
 *         observable_dict_dispatch(self)
 *         return result             # <<<<<<<<<<<<<<
 * 
 *     def update(self, *largs):
*/
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_result);
  __pyx_r = __pyx_v_result;
  goto __pyx_L0;

  /* "kivy/properties.pyx":998
 *         return result
 * 
 *     def setdefault(self, *largs):             # <<<<<<<<<<<<<<
 *         cdef object result = dict.setdefault(self, *largs)
 *         observable_dict_dispatch(self)
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_AddTraceback("kivy.properties.ObservableDict.setdefault", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_result);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1003
 *         return result
 * 
 *     def update(self, *largs):             # <<<<<<<<<<<<<<
 *         dict.update(self, *largs)
 *         observable_dict_dispatch(self)
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_23update(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObservableDict_22update, "ObservableDict.update(self, *largs)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObservableDict_23update = {"update", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObservableDict_23update, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObservableDict_22update};
static PyObject *__pyx_pw_4kivy_10properties_14ObservableDict_23update(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_largs = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("update (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  __pyx_v_largs = __Pyx_ArgsSlice_FASTCALL(__pyx_args, 1, __pyx_nargs);
  if (unlikely(!__pyx_v_largs)) {
    __Pyx_RefNannyFinishContext();
    return NULL;
  }
  __Pyx_GOTREF(__pyx_v_largs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1003, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        default:
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1003, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      const Py_ssize_t used_pos_args = (kwd_pos_args < 1) ? kwd_pos_args : 1;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, used_pos_args, __pyx_kwds_len, "update", 0) < (0)) __PYX_ERR(0, 1003, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("update", 0, 1, 1, i); __PYX_ERR(0, 1003, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs < 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1003, __pyx_L3_error)
    }
    __pyx_v_self = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("update", 0, 1, 1, __pyx_nargs); __PYX_ERR(0, 1003, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs); __pyx_v_largs = 0;
  __Pyx_AddTraceback("kivy.properties.ObservableDict.update", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObservableDict_22update(__pyx_self, __pyx_v_self, __pyx_v_largs);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_largs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObservableDict_22update(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_largs) {
  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);

  /* "kivy/properties.pyx":1004
 * 
 *     def update(self, *largs):
 *         dict.update(self, *largs)             # <<<<<<<<<<<<<<
 *         observable_dict_dispatch(self)
 * 
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)(&PyDict_Type)), __pyx_mstate_global->__pyx_n_u_update); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1004, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1004, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_INCREF(__pyx_v_self);
  __Pyx_GIVEREF(__pyx_v_self);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self) != (0)) __PYX_ERR(0, 1004, __pyx_L1_error);
  __pyx_t_3 = PyNumber_Add(__pyx_t_2, __pyx_v_largs); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1004, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1004, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __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;

  /* "kivy/properties.pyx":1005
 *     def update(self, *largs):
 *         dict.update(self, *largs)
 *         observable_dict_dispatch(self)             # <<<<<<<<<<<<<<
 * 
 * 
*/
  __pyx_f_4kivy_10properties_observable_dict_dispatch(__pyx_v_self); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1005, __pyx_L1_error)

  /* "kivy/properties.pyx":1003
 *         return result
 * 
 *     def update(self, *largs):             # <<<<<<<<<<<<<<
 *         dict.update(self, *largs)
 *         observable_dict_dispatch(self)
*/

  /* 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("kivy.properties.ObservableDict.update", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1026
 *         dict and not the original dict. See :class:`ListProperty` for details.
 *     '''
 *     def __init__(self, defaultvalue=0, rebind=False, **kw):             # <<<<<<<<<<<<<<
 *         defaultvalue = {} if defaultvalue == 0 else defaultvalue
 * 
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_12DictProperty_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_12DictProperty_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_defaultvalue = 0;
  PyObject *__pyx_v_rebind = 0;
  PyObject *__pyx_v_kw = 0;
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_v_kw = PyDict_New(); if (unlikely(!__pyx_v_kw)) return -1;
  __Pyx_GOTREF(__pyx_v_kw);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_defaultvalue,&__pyx_mstate_global->__pyx_n_u_rebind,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1026, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_VARARGS(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1026, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1026, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, __pyx_v_kw, values, kwd_pos_args, __pyx_kwds_len, "__init__", 1) < (0)) __PYX_ERR(0, 1026, __pyx_L3_error)
      if (!values[0]) values[0] = __Pyx_NewRef(((PyObject *)__pyx_mstate_global->__pyx_int_0));
      if (!values[1]) values[1] = __Pyx_NewRef(((PyObject *)Py_False));
    } else {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_VARARGS(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1026, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1026, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      if (!values[0]) values[0] = __Pyx_NewRef(((PyObject *)__pyx_mstate_global->__pyx_int_0));
      if (!values[1]) values[1] = __Pyx_NewRef(((PyObject *)Py_False));
    }
    __pyx_v_defaultvalue = values[0];
    __pyx_v_rebind = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 0, 2, __pyx_nargs); __PYX_ERR(0, 1026, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw); __pyx_v_kw = 0;
  __Pyx_AddTraceback("kivy.properties.DictProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_12DictProperty___init__(((struct __pyx_obj_4kivy_10properties_DictProperty *)__pyx_v_self), __pyx_v_defaultvalue, __pyx_v_rebind, __pyx_v_kw);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_4kivy_10properties_12DictProperty___init__(struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_rebind, PyObject *__pyx_v_kw) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  size_t __pyx_t_6;
  int __pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);
  __Pyx_INCREF(__pyx_v_defaultvalue);

  /* "kivy/properties.pyx":1027
 *     '''
 *     def __init__(self, defaultvalue=0, rebind=False, **kw):
 *         defaultvalue = {} if defaultvalue == 0 else defaultvalue             # <<<<<<<<<<<<<<
 * 
 *         super(DictProperty, self).__init__(defaultvalue, **kw)
*/
  __pyx_t_2 = (__Pyx_PyLong_BoolEqObjC(__pyx_v_defaultvalue, __pyx_mstate_global->__pyx_int_0, 0, 0)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1027, __pyx_L1_error)
  if (__pyx_t_2) {
    __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1027, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_1 = __pyx_t_3;
    __pyx_t_3 = 0;
  } else {
    __Pyx_INCREF(__pyx_v_defaultvalue);
    __pyx_t_1 = __pyx_v_defaultvalue;
  }
  __Pyx_DECREF_SET(__pyx_v_defaultvalue, __pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1029
 *         defaultvalue = {} if defaultvalue == 0 else defaultvalue
 * 
 *         super(DictProperty, self).__init__(defaultvalue, **kw)             # <<<<<<<<<<<<<<
 *         self.rebind = rebind
 * 
*/
  __pyx_t_3 = NULL;
  __pyx_t_5 = NULL;
  __pyx_t_6 = 1;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_5, ((PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_DictProperty), ((PyObject *)__pyx_v_self)};
    __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)__pyx_builtin_super, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1029, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
  }
  __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_init); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1029, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __pyx_t_4 = PyDict_Copy(__pyx_v_kw); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1029, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_6 = 1;
  #if CYTHON_UNPACK_METHODS
  if (likely(PyMethod_Check(__pyx_t_5))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_5);
    assert(__pyx_t_3);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_5);
    __Pyx_INCREF(__pyx_t_3);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_5, __pyx__function);
    __pyx_t_6 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_v_defaultvalue};
    __pyx_t_1 = __Pyx_PyObject_FastCallDict((PyObject*)__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_4);
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1029, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1030
 * 
 *         super(DictProperty, self).__init__(defaultvalue, **kw)
 *         self.rebind = rebind             # <<<<<<<<<<<<<<
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):
*/
  __pyx_t_7 = __Pyx_PyLong_As_int(__pyx_v_rebind); if (unlikely((__pyx_t_7 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1030, __pyx_L1_error)
  __pyx_v_self->rebind = __pyx_t_7;

  /* "kivy/properties.pyx":1026
 *         dict and not the original dict. See :class:`ListProperty` for details.
 *     '''
 *     def __init__(self, defaultvalue=0, rebind=False, **kw):             # <<<<<<<<<<<<<<
 *         defaultvalue = {} if defaultvalue == 0 else defaultvalue
 * 
*/

  /* function exit code */
  __pyx_r = 0;
  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_5);
  __Pyx_AddTraceback("kivy.properties.DictProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_defaultvalue);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1032
 *         self.rebind = rebind
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         cdef PropertyStorage ps = Property.link(self, obj, name)
 *         if ps.value is not None:
*/

static PyObject *__pyx_pw_4kivy_10properties_12DictProperty_3link(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_12DictProperty_link(struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps = 0;
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("link", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_DictProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_link); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1032, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_12DictProperty_3link)) {
        __Pyx_XDECREF((PyObject *)__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_name};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1032, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage))))) __PYX_ERR(0, 1032, __pyx_L1_error)
        __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_2);
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":1033
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):
 *         cdef PropertyStorage ps = Property.link(self, obj, name)             # <<<<<<<<<<<<<<
 *         if ps.value is not None:
 *             ps.value = ObservableDict(self, obj, ps.value)
*/
  __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_8Property_link(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_name, 1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1033, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1034
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):
 *         cdef PropertyStorage ps = Property.link(self, obj, name)
 *         if ps.value is not None:             # <<<<<<<<<<<<<<
 *             ps.value = ObservableDict(self, obj, ps.value)
 *         return ps
*/
  __pyx_t_6 = (__pyx_v_ps->value != Py_None);
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":1035
 *         cdef PropertyStorage ps = Property.link(self, obj, name)
 *         if ps.value is not None:
 *             ps.value = ObservableDict(self, obj, ps.value)             # <<<<<<<<<<<<<<
 *         return ps
 * 
*/
    __pyx_t_2 = NULL;
    __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_ObservableDict); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1035, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = 1;
    #if CYTHON_UNPACK_METHODS
    if (unlikely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
      assert(__pyx_t_2);
      PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
      __Pyx_INCREF(__pyx_t_2);
      __Pyx_INCREF(__pyx__function);
      __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
      __pyx_t_5 = 0;
    }
    #endif
    {
      PyObject *__pyx_callargs[4] = {__pyx_t_2, ((PyObject *)__pyx_v_self), ((PyObject *)__pyx_v_obj), __pyx_v_ps->value};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1035, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_GIVEREF(__pyx_t_1);
    __Pyx_GOTREF(__pyx_v_ps->value);
    __Pyx_DECREF(__pyx_v_ps->value);
    __pyx_v_ps->value = __pyx_t_1;
    __pyx_t_1 = 0;

    /* "kivy/properties.pyx":1034
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):
 *         cdef PropertyStorage ps = Property.link(self, obj, name)
 *         if ps.value is not None:             # <<<<<<<<<<<<<<
 *             ps.value = ObservableDict(self, obj, ps.value)
 *         return ps
*/
  }

  /* "kivy/properties.pyx":1036
 *         if ps.value is not None:
 *             ps.value = ObservableDict(self, obj, ps.value)
 *         return ps             # <<<<<<<<<<<<<<
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
*/
  __Pyx_XDECREF((PyObject *)__pyx_r);
  __Pyx_INCREF((PyObject *)__pyx_v_ps);
  __pyx_r = __pyx_v_ps;
  goto __pyx_L0;

  /* "kivy/properties.pyx":1032
 *         self.rebind = rebind
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         cdef PropertyStorage ps = Property.link(self, obj, name)
 *         if ps.value is not None:
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("kivy.properties.DictProperty.link", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_12DictProperty_3link(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_12DictProperty_2link, "DictProperty.link(self, EventDispatcher obj, str name) -> PropertyStorage");
static PyMethodDef __pyx_mdef_4kivy_10properties_12DictProperty_3link = {"link", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_12DictProperty_3link, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_12DictProperty_2link};
static PyObject *__pyx_pw_4kivy_10properties_12DictProperty_3link(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_name = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("link (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_name_3,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1032, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1032, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1032, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "link", 0) < (0)) __PYX_ERR(0, 1032, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("link", 1, 2, 2, i); __PYX_ERR(0, 1032, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1032, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1032, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_name = ((PyObject*)values[1]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("link", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 1032, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.DictProperty.link", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 1032, __pyx_L1_error)
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_name), (&PyUnicode_Type), 1, "name", 1))) __PYX_ERR(0, 1032, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_12DictProperty_2link(((struct __pyx_obj_4kivy_10properties_DictProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v_name);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_12DictProperty_2link(struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, 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("link", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_12DictProperty_link(__pyx_v_self, __pyx_v_obj, __pyx_v_name, 1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1032, __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("kivy.properties.DictProperty.link", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1038
 *         return ps
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         if Property.check(self, obj, value, property_storage):
 *             return True
*/

static PyObject *__pyx_f_4kivy_10properties_12DictProperty_check(struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7[4];
  size_t __pyx_t_8;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("check", 0);

  /* "kivy/properties.pyx":1039
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):             # <<<<<<<<<<<<<<
 *             return True
 *         if type(value) is not ObservableDict:
*/
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_check(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_value, __pyx_v_property_storage); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1039, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1039, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":1040
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):
 *             return True             # <<<<<<<<<<<<<<
 *         if type(value) is not ObservableDict:
 *             raise ValueError('%s.%s accept only ObservableDict' % (
*/
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(Py_True);
    __pyx_r = Py_True;
    goto __pyx_L0;

    /* "kivy/properties.pyx":1039
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):             # <<<<<<<<<<<<<<
 *             return True
 *         if type(value) is not ObservableDict:
*/
  }

  /* "kivy/properties.pyx":1041
 *         if Property.check(self, obj, value, property_storage):
 *             return True
 *         if type(value) is not ObservableDict:             # <<<<<<<<<<<<<<
 *             raise ValueError('%s.%s accept only ObservableDict' % (
 *                 obj.__class__.__name__,
*/
  __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_ObservableDict); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1041, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = (((PyObject *)Py_TYPE(__pyx_v_value)) != __pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(__pyx_t_2)) {

    /* "kivy/properties.pyx":1042
 *             return True
 *         if type(value) is not ObservableDict:
 *             raise ValueError('%s.%s accept only ObservableDict' % (             # <<<<<<<<<<<<<<
 *                 obj.__class__.__name__,
 *                 self.name))
*/
    __pyx_t_3 = NULL;

    /* "kivy/properties.pyx":1043
 *         if type(value) is not ObservableDict:
 *             raise ValueError('%s.%s accept only ObservableDict' % (
 *                 obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                 self.name))
 * 
*/
    __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1043, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1043, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __pyx_t_4 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_5), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1043, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

    /* "kivy/properties.pyx":1044
 *             raise ValueError('%s.%s accept only ObservableDict' % (
 *                 obj.__class__.__name__,
 *                 self.name))             # <<<<<<<<<<<<<<
 * 
 *     cpdef set(self, EventDispatcher obj, value):
*/
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1044, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __pyx_t_6 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_5), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1044, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    __pyx_t_7[0] = __pyx_t_4;
    __pyx_t_7[1] = __pyx_mstate_global->__pyx_kp_u__4;
    __pyx_t_7[2] = __pyx_t_6;
    __pyx_t_7[3] = __pyx_mstate_global->__pyx_kp_u_accept_only_ObservableDict;

    /* "kivy/properties.pyx":1042
 *             return True
 *         if type(value) is not ObservableDict:
 *             raise ValueError('%s.%s accept only ObservableDict' % (             # <<<<<<<<<<<<<<
 *                 obj.__class__.__name__,
 *                 self.name))
*/
    __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_7, 4, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_4) + 1 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_6) + 27, 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6));
    if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1042, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
    __pyx_t_8 = 1;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_t_5};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_8, (2-__pyx_t_8) | (__pyx_t_8*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1042, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_Raise(__pyx_t_1, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __PYX_ERR(0, 1042, __pyx_L1_error)

    /* "kivy/properties.pyx":1041
 *         if Property.check(self, obj, value, property_storage):
 *             return True
 *         if type(value) is not ObservableDict:             # <<<<<<<<<<<<<<
 *             raise ValueError('%s.%s accept only ObservableDict' % (
 *                 obj.__class__.__name__,
*/
  }

  /* "kivy/properties.pyx":1038
 *         return ps
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         if Property.check(self, obj, value, property_storage):
 *             return True
*/

  /* 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_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("kivy.properties.DictProperty.check", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1046
 *                 self.name))
 * 
 *     cpdef set(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         if value is not None:
 *             value = ObservableDict(self, obj, value)
*/

static PyObject *__pyx_pw_4kivy_10properties_12DictProperty_5set(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_12DictProperty_set(struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, int __pyx_skip_dispatch) {
  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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("set", 0);
  __Pyx_INCREF(__pyx_v_value);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_DictProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_set); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1046, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_12DictProperty_5set)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_value};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1046, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":1047
 * 
 *     cpdef set(self, EventDispatcher obj, value):
 *         if value is not None:             # <<<<<<<<<<<<<<
 *             value = ObservableDict(self, obj, value)
 *         Property.set(self, obj, value)
*/
  __pyx_t_6 = (__pyx_v_value != Py_None);
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":1048
 *     cpdef set(self, EventDispatcher obj, value):
 *         if value is not None:
 *             value = ObservableDict(self, obj, value)             # <<<<<<<<<<<<<<
 *         Property.set(self, obj, value)
 * 
*/
    __pyx_t_2 = NULL;
    __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_ObservableDict); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1048, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = 1;
    #if CYTHON_UNPACK_METHODS
    if (unlikely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
      assert(__pyx_t_2);
      PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
      __Pyx_INCREF(__pyx_t_2);
      __Pyx_INCREF(__pyx__function);
      __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
      __pyx_t_5 = 0;
    }
    #endif
    {
      PyObject *__pyx_callargs[4] = {__pyx_t_2, ((PyObject *)__pyx_v_self), ((PyObject *)__pyx_v_obj), __pyx_v_value};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1048, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_DECREF_SET(__pyx_v_value, __pyx_t_1);
    __pyx_t_1 = 0;

    /* "kivy/properties.pyx":1047
 * 
 *     cpdef set(self, EventDispatcher obj, value):
 *         if value is not None:             # <<<<<<<<<<<<<<
 *             value = ObservableDict(self, obj, value)
 *         Property.set(self, obj, value)
*/
  }

  /* "kivy/properties.pyx":1049
 *         if value is not None:
 *             value = ObservableDict(self, obj, value)
 *         Property.set(self, obj, value)             # <<<<<<<<<<<<<<
 * 
 * 
*/
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_set(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_value, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1049, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1046
 *                 self.name))
 * 
 *     cpdef set(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         if value is not None:
 *             value = ObservableDict(self, obj, value)
*/

  /* 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("kivy.properties.DictProperty.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_value);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_12DictProperty_5set(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_12DictProperty_4set, "DictProperty.set(self, EventDispatcher obj, value)");
static PyMethodDef __pyx_mdef_4kivy_10properties_12DictProperty_5set = {"set", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_12DictProperty_5set, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_12DictProperty_4set};
static PyObject *__pyx_pw_4kivy_10properties_12DictProperty_5set(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_value = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("set (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_value,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1046, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1046, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1046, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "set", 0) < (0)) __PYX_ERR(0, 1046, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("set", 1, 2, 2, i); __PYX_ERR(0, 1046, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1046, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1046, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_value = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("set", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 1046, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.DictProperty.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 1046, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_12DictProperty_4set(((struct __pyx_obj_4kivy_10properties_DictProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v_value);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_12DictProperty_4set(struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value) {
  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("set", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_4kivy_10properties_12DictProperty_set(__pyx_v_self, __pyx_v_obj, __pyx_v_value, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1046, __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("kivy.properties.DictProperty.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pxd":60
 * 
 * cdef class DictProperty(Property):
 *     cdef public int rebind             # <<<<<<<<<<<<<<
 * 
 * cdef class ObjectProperty(Property):
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_12DictProperty_6rebind_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_4kivy_10properties_12DictProperty_6rebind_1__get__(PyObject *__pyx_v_self) {
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_r = __pyx_pf_4kivy_10properties_12DictProperty_6rebind___get__(((struct __pyx_obj_4kivy_10properties_DictProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_12DictProperty_6rebind___get__(struct __pyx_obj_4kivy_10properties_DictProperty *__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_PyLong_From_int(__pyx_v_self->rebind); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 60, __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("kivy.properties.DictProperty.rebind.__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_4kivy_10properties_12DictProperty_6rebind_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_4kivy_10properties_12DictProperty_6rebind_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_r = __pyx_pf_4kivy_10properties_12DictProperty_6rebind_2__set__(((struct __pyx_obj_4kivy_10properties_DictProperty *)__pyx_v_self), ((PyObject *)__pyx_v_value));

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

static int __pyx_pf_4kivy_10properties_12DictProperty_6rebind_2__set__(struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __pyx_t_1 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 60, __pyx_L1_error)
  __pyx_v_self->rebind = __pyx_t_1;

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.DictProperty.rebind.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  return __pyx_r;
}

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_12DictProperty_7__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_12DictProperty_6__reduce_cython__, "DictProperty.__reduce_cython__(self)");
static PyMethodDef __pyx_mdef_4kivy_10properties_12DictProperty_7__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_12DictProperty_7__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_12DictProperty_6__reduce_cython__};
static PyObject *__pyx_pw_4kivy_10properties_12DictProperty_7__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return NULL;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__reduce_cython__", __pyx_kwds); return NULL;}
  __pyx_r = __pyx_pf_4kivy_10properties_12DictProperty_6__reduce_cython__(((struct __pyx_obj_4kivy_10properties_DictProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_12DictProperty_6__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.DictProperty.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_12DictProperty_9__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_12DictProperty_8__setstate_cython__, "DictProperty.__setstate_cython__(self, __pyx_state)");
static PyMethodDef __pyx_mdef_4kivy_10properties_12DictProperty_9__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_12DictProperty_9__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_12DictProperty_8__setstate_cython__};
static PyObject *__pyx_pw_4kivy_10properties_12DictProperty_9__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  CYTHON_UNUSED PyObject *__pyx_v___pyx_state = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 3, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 3, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
    }
    __pyx_v___pyx_state = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.DictProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_12DictProperty_8__setstate_cython__(((struct __pyx_obj_4kivy_10properties_DictProperty *)__pyx_v_self), __pyx_v___pyx_state);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_12DictProperty_8__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_DictProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.DictProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1096
 *         `baseclass` parameter added.
 *     '''
 *     def __init__(self, defaultvalue=None, rebind=False, **kw):             # <<<<<<<<<<<<<<
 *         self.baseclass = kw.get('baseclass')
 *         super(ObjectProperty, self).__init__(defaultvalue, **kw)
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_14ObjectProperty_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_14ObjectProperty_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_defaultvalue = 0;
  PyObject *__pyx_v_rebind = 0;
  PyObject *__pyx_v_kw = 0;
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_v_kw = PyDict_New(); if (unlikely(!__pyx_v_kw)) return -1;
  __Pyx_GOTREF(__pyx_v_kw);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_defaultvalue,&__pyx_mstate_global->__pyx_n_u_rebind,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1096, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_VARARGS(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1096, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1096, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, __pyx_v_kw, values, kwd_pos_args, __pyx_kwds_len, "__init__", 1) < (0)) __PYX_ERR(0, 1096, __pyx_L3_error)
      if (!values[0]) values[0] = __Pyx_NewRef(((PyObject *)Py_None));
      if (!values[1]) values[1] = __Pyx_NewRef(((PyObject *)Py_False));
    } else {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_VARARGS(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1096, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1096, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      if (!values[0]) values[0] = __Pyx_NewRef(((PyObject *)Py_None));
      if (!values[1]) values[1] = __Pyx_NewRef(((PyObject *)Py_False));
    }
    __pyx_v_defaultvalue = values[0];
    __pyx_v_rebind = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 0, 2, __pyx_nargs); __PYX_ERR(0, 1096, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw); __pyx_v_kw = 0;
  __Pyx_AddTraceback("kivy.properties.ObjectProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObjectProperty___init__(((struct __pyx_obj_4kivy_10properties_ObjectProperty *)__pyx_v_self), __pyx_v_defaultvalue, __pyx_v_rebind, __pyx_v_kw);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_4kivy_10properties_14ObjectProperty___init__(struct __pyx_obj_4kivy_10properties_ObjectProperty *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_rebind, PyObject *__pyx_v_kw) {
  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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "kivy/properties.pyx":1097
 *     '''
 *     def __init__(self, defaultvalue=None, rebind=False, **kw):
 *         self.baseclass = kw.get('baseclass')             # <<<<<<<<<<<<<<
 *         super(ObjectProperty, self).__init__(defaultvalue, **kw)
 *         self.rebind = rebind
*/
  __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_kw, __pyx_mstate_global->__pyx_n_u_baseclass, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1097, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->baseclass);
  __Pyx_DECREF(__pyx_v_self->baseclass);
  __pyx_v_self->baseclass = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1098
 *     def __init__(self, defaultvalue=None, rebind=False, **kw):
 *         self.baseclass = kw.get('baseclass')
 *         super(ObjectProperty, self).__init__(defaultvalue, **kw)             # <<<<<<<<<<<<<<
 *         self.rebind = rebind
 * 
*/
  __pyx_t_2 = NULL;
  __pyx_t_4 = NULL;
  __pyx_t_5 = 1;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_4, ((PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_ObjectProperty), ((PyObject *)__pyx_v_self)};
    __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)__pyx_builtin_super, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1098, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
  }
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_init); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1098, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = PyDict_Copy(__pyx_v_kw); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1098, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (likely(PyMethod_Check(__pyx_t_4))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_defaultvalue};
    __pyx_t_1 = __Pyx_PyObject_FastCallDict((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_3);
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1098, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1099
 *         self.baseclass = kw.get('baseclass')
 *         super(ObjectProperty, self).__init__(defaultvalue, **kw)
 *         self.rebind = rebind             # <<<<<<<<<<<<<<
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
*/
  __pyx_t_6 = __Pyx_PyLong_As_int(__pyx_v_rebind); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1099, __pyx_L1_error)
  __pyx_v_self->rebind = __pyx_t_6;

  /* "kivy/properties.pyx":1096
 *         `baseclass` parameter added.
 *     '''
 *     def __init__(self, defaultvalue=None, rebind=False, **kw):             # <<<<<<<<<<<<<<
 *         self.baseclass = kw.get('baseclass')
 *         super(ObjectProperty, self).__init__(defaultvalue, **kw)
*/

  /* 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_AddTraceback("kivy.properties.ObjectProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1101
 *         self.rebind = rebind
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         if Property.check(self, obj, value, property_storage):
 *             return True
*/

static PyObject *__pyx_f_4kivy_10properties_14ObjectProperty_check(struct __pyx_obj_4kivy_10properties_ObjectProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  int __pyx_t_3;
  int __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  PyObject *__pyx_t_9 = NULL;
  PyObject *__pyx_t_10 = NULL;
  size_t __pyx_t_11;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("check", 0);

  /* "kivy/properties.pyx":1102
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):             # <<<<<<<<<<<<<<
 *             return True
 *         if self.baseclass is not None and not isinstance(value, self.baseclass):
*/
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_check(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_value, __pyx_v_property_storage); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1102, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1102, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":1103
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):
 *             return True             # <<<<<<<<<<<<<<
 *         if self.baseclass is not None and not isinstance(value, self.baseclass):
 *             raise ValueError('{}.{} accept only object based on {}'.format(
*/
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(Py_True);
    __pyx_r = Py_True;
    goto __pyx_L0;

    /* "kivy/properties.pyx":1102
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):             # <<<<<<<<<<<<<<
 *             return True
 *         if self.baseclass is not None and not isinstance(value, self.baseclass):
*/
  }

  /* "kivy/properties.pyx":1104
 *         if Property.check(self, obj, value, property_storage):
 *             return True
 *         if self.baseclass is not None and not isinstance(value, self.baseclass):             # <<<<<<<<<<<<<<
 *             raise ValueError('{}.{} accept only object based on {}'.format(
 *                 obj.__class__.__name__,
*/
  __pyx_t_3 = (__pyx_v_self->baseclass != Py_None);
  if (__pyx_t_3) {
  } else {
    __pyx_t_2 = __pyx_t_3;
    goto __pyx_L5_bool_binop_done;
  }
  __pyx_t_1 = __pyx_v_self->baseclass;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_t_3 = PyObject_IsInstance(__pyx_v_value, __pyx_t_1); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(0, 1104, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_4 = (!__pyx_t_3);
  __pyx_t_2 = __pyx_t_4;
  __pyx_L5_bool_binop_done:;
  if (unlikely(__pyx_t_2)) {

    /* "kivy/properties.pyx":1105
 *             return True
 *         if self.baseclass is not None and not isinstance(value, self.baseclass):
 *             raise ValueError('{}.{} accept only object based on {}'.format(             # <<<<<<<<<<<<<<
 *                 obj.__class__.__name__,
 *                 self.name,
*/
    __pyx_t_5 = NULL;
    __pyx_t_7 = __pyx_mstate_global->__pyx_kp_u_accept_only_object_based_on;
    __Pyx_INCREF(__pyx_t_7);

    /* "kivy/properties.pyx":1106
 *         if self.baseclass is not None and not isinstance(value, self.baseclass):
 *             raise ValueError('{}.{} accept only object based on {}'.format(
 *                 obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                 self.name,
 *                 self.baseclass.__name__))
*/
    __pyx_t_8 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1106, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_8);
    __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1106, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_9);
    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;

    /* "kivy/properties.pyx":1107
 *             raise ValueError('{}.{} accept only object based on {}'.format(
 *                 obj.__class__.__name__,
 *                 self.name,             # <<<<<<<<<<<<<<
 *                 self.baseclass.__name__))
 * 
*/
    __pyx_t_8 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1107, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_8);

    /* "kivy/properties.pyx":1108
 *                 obj.__class__.__name__,
 *                 self.name,
 *                 self.baseclass.__name__))             # <<<<<<<<<<<<<<
 * 
 * 
*/
    __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->baseclass, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1108, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_10);
    __pyx_t_11 = 0;
    {
      PyObject *__pyx_callargs[4] = {__pyx_t_7, __pyx_t_9, __pyx_t_8, __pyx_t_10};
      __pyx_t_6 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_format, __pyx_callargs+__pyx_t_11, (4-__pyx_t_11) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
      __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
      if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1105, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_6);
    }
    __pyx_t_11 = 1;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_5, __pyx_t_6};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_11, (2-__pyx_t_11) | (__pyx_t_11*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1105, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_Raise(__pyx_t_1, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __PYX_ERR(0, 1105, __pyx_L1_error)

    /* "kivy/properties.pyx":1104
 *         if Property.check(self, obj, value, property_storage):
 *             return True
 *         if self.baseclass is not None and not isinstance(value, self.baseclass):             # <<<<<<<<<<<<<<
 *             raise ValueError('{}.{} accept only object based on {}'.format(
 *                 obj.__class__.__name__,
*/
  }

  /* "kivy/properties.pyx":1101
 *         self.rebind = rebind
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         if Property.check(self, obj, value, property_storage):
 *             return True
*/

  /* 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_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_XDECREF(__pyx_t_10);
  __Pyx_AddTraceback("kivy.properties.ObjectProperty.check", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pxd":64
 * cdef class ObjectProperty(Property):
 *     cdef object baseclass
 *     cdef public int rebind             # <<<<<<<<<<<<<<
 * 
 * cdef class BooleanProperty(Property):
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObjectProperty_6rebind_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_4kivy_10properties_14ObjectProperty_6rebind_1__get__(PyObject *__pyx_v_self) {
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_r = __pyx_pf_4kivy_10properties_14ObjectProperty_6rebind___get__(((struct __pyx_obj_4kivy_10properties_ObjectProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_14ObjectProperty_6rebind___get__(struct __pyx_obj_4kivy_10properties_ObjectProperty *__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_PyLong_From_int(__pyx_v_self->rebind); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 64, __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("kivy.properties.ObjectProperty.rebind.__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_4kivy_10properties_14ObjectProperty_6rebind_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_4kivy_10properties_14ObjectProperty_6rebind_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_r = __pyx_pf_4kivy_10properties_14ObjectProperty_6rebind_2__set__(((struct __pyx_obj_4kivy_10properties_ObjectProperty *)__pyx_v_self), ((PyObject *)__pyx_v_value));

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

static int __pyx_pf_4kivy_10properties_14ObjectProperty_6rebind_2__set__(struct __pyx_obj_4kivy_10properties_ObjectProperty *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __pyx_t_1 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 64, __pyx_L1_error)
  __pyx_v_self->rebind = __pyx_t_1;

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.ObjectProperty.rebind.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  return __pyx_r;
}

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObjectProperty_3__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObjectProperty_2__reduce_cython__, "ObjectProperty.__reduce_cython__(self)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObjectProperty_3__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObjectProperty_3__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObjectProperty_2__reduce_cython__};
static PyObject *__pyx_pw_4kivy_10properties_14ObjectProperty_3__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return NULL;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__reduce_cython__", __pyx_kwds); return NULL;}
  __pyx_r = __pyx_pf_4kivy_10properties_14ObjectProperty_2__reduce_cython__(((struct __pyx_obj_4kivy_10properties_ObjectProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_14ObjectProperty_2__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ObjectProperty *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.ObjectProperty.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14ObjectProperty_5__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14ObjectProperty_4__setstate_cython__, "ObjectProperty.__setstate_cython__(self, __pyx_state)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14ObjectProperty_5__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObjectProperty_5__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObjectProperty_4__setstate_cython__};
static PyObject *__pyx_pw_4kivy_10properties_14ObjectProperty_5__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  CYTHON_UNUSED PyObject *__pyx_v___pyx_state = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 3, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 3, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
    }
    __pyx_v___pyx_state = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ObjectProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14ObjectProperty_4__setstate_cython__(((struct __pyx_obj_4kivy_10properties_ObjectProperty *)__pyx_v_self), __pyx_v___pyx_state);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14ObjectProperty_4__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ObjectProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.ObjectProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1119
 *     '''
 * 
 *     def __init__(self, defaultvalue=True, **kw):             # <<<<<<<<<<<<<<
 *         super(BooleanProperty, self).__init__(defaultvalue, **kw)
 * 
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_15BooleanProperty_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_15BooleanProperty_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_defaultvalue = 0;
  PyObject *__pyx_v_kw = 0;
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_v_kw = PyDict_New(); if (unlikely(!__pyx_v_kw)) return -1;
  __Pyx_GOTREF(__pyx_v_kw);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_defaultvalue,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1119, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1119, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, __pyx_v_kw, values, kwd_pos_args, __pyx_kwds_len, "__init__", 1) < (0)) __PYX_ERR(0, 1119, __pyx_L3_error)
      if (!values[0]) values[0] = __Pyx_NewRef(((PyObject *)Py_True));
    } else {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1119, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      if (!values[0]) values[0] = __Pyx_NewRef(((PyObject *)Py_True));
    }
    __pyx_v_defaultvalue = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 1119, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw); __pyx_v_kw = 0;
  __Pyx_AddTraceback("kivy.properties.BooleanProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_15BooleanProperty___init__(((struct __pyx_obj_4kivy_10properties_BooleanProperty *)__pyx_v_self), __pyx_v_defaultvalue, __pyx_v_kw);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_4kivy_10properties_15BooleanProperty___init__(struct __pyx_obj_4kivy_10properties_BooleanProperty *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_kw) {
  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;
  size_t __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "kivy/properties.pyx":1120
 * 
 *     def __init__(self, defaultvalue=True, **kw):
 *         super(BooleanProperty, self).__init__(defaultvalue, **kw)             # <<<<<<<<<<<<<<
 * 
 * cdef class BoundedNumericProperty(Property):
*/
  __pyx_t_2 = NULL;
  __pyx_t_4 = NULL;
  __pyx_t_5 = 1;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_4, ((PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_BooleanProperty), ((PyObject *)__pyx_v_self)};
    __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)__pyx_builtin_super, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1120, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
  }
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_init); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1120, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = PyDict_Copy(__pyx_v_kw); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1120, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (likely(PyMethod_Check(__pyx_t_4))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_defaultvalue};
    __pyx_t_1 = __Pyx_PyObject_FastCallDict((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_3);
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1120, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1119
 *     '''
 * 
 *     def __init__(self, defaultvalue=True, **kw):             # <<<<<<<<<<<<<<
 *         super(BooleanProperty, self).__init__(defaultvalue, **kw)
 * 
*/

  /* 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_AddTraceback("kivy.properties.BooleanProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_15BooleanProperty_3__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_15BooleanProperty_2__reduce_cython__, "BooleanProperty.__reduce_cython__(self)");
static PyMethodDef __pyx_mdef_4kivy_10properties_15BooleanProperty_3__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_15BooleanProperty_3__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_15BooleanProperty_2__reduce_cython__};
static PyObject *__pyx_pw_4kivy_10properties_15BooleanProperty_3__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return NULL;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__reduce_cython__", __pyx_kwds); return NULL;}
  __pyx_r = __pyx_pf_4kivy_10properties_15BooleanProperty_2__reduce_cython__(((struct __pyx_obj_4kivy_10properties_BooleanProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_15BooleanProperty_2__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_BooleanProperty *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.BooleanProperty.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_15BooleanProperty_5__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_15BooleanProperty_4__setstate_cython__, "BooleanProperty.__setstate_cython__(self, __pyx_state)");
static PyMethodDef __pyx_mdef_4kivy_10properties_15BooleanProperty_5__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_15BooleanProperty_5__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_15BooleanProperty_4__setstate_cython__};
static PyObject *__pyx_pw_4kivy_10properties_15BooleanProperty_5__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  CYTHON_UNUSED PyObject *__pyx_v___pyx_state = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 3, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 3, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
    }
    __pyx_v___pyx_state = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.BooleanProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_15BooleanProperty_4__setstate_cython__(((struct __pyx_obj_4kivy_10properties_BooleanProperty *)__pyx_v_self), __pyx_v___pyx_state);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_15BooleanProperty_4__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_BooleanProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.BooleanProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1135
 *             numeric value that will be accepted.
 *     '''
 *     def __cinit__(self):             # <<<<<<<<<<<<<<
 *         self.use_min = 0
 *         self.use_max = 0
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_22BoundedNumericProperty_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_22BoundedNumericProperty_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__cinit__", 1, 0, 0, __pyx_nargs); return -1; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return -1;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__cinit__", __pyx_kwds); return -1;}
  __pyx_r = __pyx_pf_4kivy_10properties_22BoundedNumericProperty___cinit__(((struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *)__pyx_v_self));

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

static int __pyx_pf_4kivy_10properties_22BoundedNumericProperty___cinit__(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self) {
  int __pyx_r;

  /* "kivy/properties.pyx":1136
 *     '''
 *     def __cinit__(self):
 *         self.use_min = 0             # <<<<<<<<<<<<<<
 *         self.use_max = 0
 *         self.min = 0
*/
  __pyx_v_self->use_min = 0;

  /* "kivy/properties.pyx":1137
 *     def __cinit__(self):
 *         self.use_min = 0
 *         self.use_max = 0             # <<<<<<<<<<<<<<
 *         self.min = 0
 *         self.max = 0
*/
  __pyx_v_self->use_max = 0;

  /* "kivy/properties.pyx":1138
 *         self.use_min = 0
 *         self.use_max = 0
 *         self.min = 0             # <<<<<<<<<<<<<<
 *         self.max = 0
 *         self.f_min = 0.0
*/
  __pyx_v_self->min = 0;

  /* "kivy/properties.pyx":1139
 *         self.use_max = 0
 *         self.min = 0
 *         self.max = 0             # <<<<<<<<<<<<<<
 *         self.f_min = 0.0
 *         self.f_max = 0.0
*/
  __pyx_v_self->max = 0;

  /* "kivy/properties.pyx":1140
 *         self.min = 0
 *         self.max = 0
 *         self.f_min = 0.0             # <<<<<<<<<<<<<<
 *         self.f_max = 0.0
 * 
*/
  __pyx_v_self->f_min = 0.0;

  /* "kivy/properties.pyx":1141
 *         self.max = 0
 *         self.f_min = 0.0
 *         self.f_max = 0.0             # <<<<<<<<<<<<<<
 * 
 *     def __init__(self, *largs, **kw):
*/
  __pyx_v_self->f_max = 0.0;

  /* "kivy/properties.pyx":1135
 *             numeric value that will be accepted.
 *     '''
 *     def __cinit__(self):             # <<<<<<<<<<<<<<
 *         self.use_min = 0
 *         self.use_max = 0
*/

  /* function exit code */
  __pyx_r = 0;
  return __pyx_r;
}

/* "kivy/properties.pyx":1143
 *         self.f_max = 0.0
 * 
 *     def __init__(self, *largs, **kw):             # <<<<<<<<<<<<<<
 *         value = kw.get('min', None)
 *         if value is None:
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_22BoundedNumericProperty_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_22BoundedNumericProperty_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_largs = 0;
  PyObject *__pyx_v_kw = 0;
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return -1;
  if (__pyx_kwds_len > 0) {
    if (unlikely(__Pyx_CheckKeywordStrings("__init__", __pyx_kwds) == -1)) return -1;
    __pyx_v_kw = __Pyx_KwargsAsDict_VARARGS(__pyx_kwds, __pyx_kwvalues);
    if (unlikely(!__pyx_v_kw)) return -1;
    __Pyx_GOTREF(__pyx_v_kw);
  } else {
    __pyx_v_kw = PyDict_New();
    if (unlikely(!__pyx_v_kw)) return -1;
    __Pyx_GOTREF(__pyx_v_kw);
  }
  __Pyx_INCREF(__pyx_args);
  __pyx_v_largs = __pyx_args;
  __pyx_r = __pyx_pf_4kivy_10properties_22BoundedNumericProperty_2__init__(((struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *)__pyx_v_self), __pyx_v_largs, __pyx_v_kw);

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

static int __pyx_pf_4kivy_10properties_22BoundedNumericProperty_2__init__(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self, PyObject *__pyx_v_largs, PyObject *__pyx_v_kw) {
  PyObject *__pyx_v_value = NULL;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  float __pyx_t_3;
  long __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("__init__", 0);

  /* "kivy/properties.pyx":1144
 * 
 *     def __init__(self, *largs, **kw):
 *         value = kw.get('min', None)             # <<<<<<<<<<<<<<
 *         if value is None:
 *             self.use_min = 0
*/
  __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_kw, __pyx_mstate_global->__pyx_n_u_min, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1144, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_value = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1145
 *     def __init__(self, *largs, **kw):
 *         value = kw.get('min', None)
 *         if value is None:             # <<<<<<<<<<<<<<
 *             self.use_min = 0
 *         elif type(value) is float:
*/
  __pyx_t_2 = (__pyx_v_value == Py_None);
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":1146
 *         value = kw.get('min', None)
 *         if value is None:
 *             self.use_min = 0             # <<<<<<<<<<<<<<
 *         elif type(value) is float:
 *                 self.use_min = 2
*/
    __pyx_v_self->use_min = 0;

    /* "kivy/properties.pyx":1145
 *     def __init__(self, *largs, **kw):
 *         value = kw.get('min', None)
 *         if value is None:             # <<<<<<<<<<<<<<
 *             self.use_min = 0
 *         elif type(value) is float:
*/
    goto __pyx_L3;
  }

  /* "kivy/properties.pyx":1147
 *         if value is None:
 *             self.use_min = 0
 *         elif type(value) is float:             # <<<<<<<<<<<<<<
 *                 self.use_min = 2
 *                 self.f_min = value
*/
  __pyx_t_2 = (((PyObject *)Py_TYPE(__pyx_v_value)) == ((PyObject *)(&PyFloat_Type)));
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":1148
 *             self.use_min = 0
 *         elif type(value) is float:
 *                 self.use_min = 2             # <<<<<<<<<<<<<<
 *                 self.f_min = value
 *         else:
*/
    __pyx_v_self->use_min = 2;

    /* "kivy/properties.pyx":1149
 *         elif type(value) is float:
 *                 self.use_min = 2
 *                 self.f_min = value             # <<<<<<<<<<<<<<
 *         else:
 *             self.use_min = 1
*/
    __pyx_t_3 = __Pyx_PyFloat_AsFloat(__pyx_v_value); if (unlikely((__pyx_t_3 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 1149, __pyx_L1_error)
    __pyx_v_self->f_min = __pyx_t_3;

    /* "kivy/properties.pyx":1147
 *         if value is None:
 *             self.use_min = 0
 *         elif type(value) is float:             # <<<<<<<<<<<<<<
 *                 self.use_min = 2
 *                 self.f_min = value
*/
    goto __pyx_L3;
  }

  /* "kivy/properties.pyx":1151
 *                 self.f_min = value
 *         else:
 *             self.use_min = 1             # <<<<<<<<<<<<<<
 *             self.min = value
 * 
*/
  /*else*/ {
    __pyx_v_self->use_min = 1;

    /* "kivy/properties.pyx":1152
 *         else:
 *             self.use_min = 1
 *             self.min = value             # <<<<<<<<<<<<<<
 * 
 *         value = kw.get('max', None)
*/
    __pyx_t_4 = __Pyx_PyLong_As_long(__pyx_v_value); if (unlikely((__pyx_t_4 == (long)-1) && PyErr_Occurred())) __PYX_ERR(0, 1152, __pyx_L1_error)
    __pyx_v_self->min = __pyx_t_4;
  }
  __pyx_L3:;

  /* "kivy/properties.pyx":1154
 *             self.min = value
 * 
 *         value = kw.get('max', None)             # <<<<<<<<<<<<<<
 *         if value is None:
 *             self.use_max = 0
*/
  __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_kw, __pyx_mstate_global->__pyx_n_u_max, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1154, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF_SET(__pyx_v_value, __pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1155
 * 
 *         value = kw.get('max', None)
 *         if value is None:             # <<<<<<<<<<<<<<
 *             self.use_max = 0
 *         elif type(value) is float:
*/
  __pyx_t_2 = (__pyx_v_value == Py_None);
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":1156
 *         value = kw.get('max', None)
 *         if value is None:
 *             self.use_max = 0             # <<<<<<<<<<<<<<
 *         elif type(value) is float:
 *             self.use_max = 2
*/
    __pyx_v_self->use_max = 0;

    /* "kivy/properties.pyx":1155
 * 
 *         value = kw.get('max', None)
 *         if value is None:             # <<<<<<<<<<<<<<
 *             self.use_max = 0
 *         elif type(value) is float:
*/
    goto __pyx_L4;
  }

  /* "kivy/properties.pyx":1157
 *         if value is None:
 *             self.use_max = 0
 *         elif type(value) is float:             # <<<<<<<<<<<<<<
 *             self.use_max = 2
 *             self.f_max = value
*/
  __pyx_t_2 = (((PyObject *)Py_TYPE(__pyx_v_value)) == ((PyObject *)(&PyFloat_Type)));
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":1158
 *             self.use_max = 0
 *         elif type(value) is float:
 *             self.use_max = 2             # <<<<<<<<<<<<<<
 *             self.f_max = value
 *         else:
*/
    __pyx_v_self->use_max = 2;

    /* "kivy/properties.pyx":1159
 *         elif type(value) is float:
 *             self.use_max = 2
 *             self.f_max = value             # <<<<<<<<<<<<<<
 *         else:
 *             self.use_max = 1
*/
    __pyx_t_3 = __Pyx_PyFloat_AsFloat(__pyx_v_value); if (unlikely((__pyx_t_3 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 1159, __pyx_L1_error)
    __pyx_v_self->f_max = __pyx_t_3;

    /* "kivy/properties.pyx":1157
 *         if value is None:
 *             self.use_max = 0
 *         elif type(value) is float:             # <<<<<<<<<<<<<<
 *             self.use_max = 2
 *             self.f_max = value
*/
    goto __pyx_L4;
  }

  /* "kivy/properties.pyx":1161
 *             self.f_max = value
 *         else:
 *             self.use_max = 1             # <<<<<<<<<<<<<<
 *             self.max = value
 * 
*/
  /*else*/ {
    __pyx_v_self->use_max = 1;

    /* "kivy/properties.pyx":1162
 *         else:
 *             self.use_max = 1
 *             self.max = value             # <<<<<<<<<<<<<<
 * 
 *         Property.__init__(self, *largs, **kw)
*/
    __pyx_t_4 = __Pyx_PyLong_As_long(__pyx_v_value); if (unlikely((__pyx_t_4 == (long)-1) && PyErr_Occurred())) __PYX_ERR(0, 1162, __pyx_L1_error)
    __pyx_v_self->max = __pyx_t_4;
  }
  __pyx_L4:;

  /* "kivy/properties.pyx":1164
 *             self.max = value
 * 
 *         Property.__init__(self, *largs, **kw)             # <<<<<<<<<<<<<<
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property), __pyx_mstate_global->__pyx_n_u_init); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1164, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_5 = PyTuple_New(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1164, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  __Pyx_INCREF((PyObject *)__pyx_v_self);
  __Pyx_GIVEREF((PyObject *)__pyx_v_self);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, ((PyObject *)__pyx_v_self)) != (0)) __PYX_ERR(0, 1164, __pyx_L1_error);
  __pyx_t_6 = PyNumber_Add(__pyx_t_5, __pyx_v_largs); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1164, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_6);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __pyx_t_5 = PyDict_Copy(__pyx_v_kw); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1164, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_6, __pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1164, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_7);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;

  /* "kivy/properties.pyx":1143
 *         self.f_max = 0.0
 * 
 *     def __init__(self, *largs, **kw):             # <<<<<<<<<<<<<<
 *         value = kw.get('min', None)
 *         if value is None:
*/

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_AddTraceback("kivy.properties.BoundedNumericProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_value);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1166
 *         Property.__init__(self, *largs, **kw)
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):             # <<<<<<<<<<<<<<
 *         Property.init_storage(self, obj, storage)
 *         cdef BoundedNumericPropertyStorage s = storage
*/

static PyObject *__pyx_f_4kivy_10properties_22BoundedNumericProperty_init_storage(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_storage) {
  struct __pyx_obj_4kivy_10properties_BoundedNumericPropertyStorage *__pyx_v_s = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  long __pyx_t_2;
  float __pyx_t_3;
  int __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("init_storage", 0);

  /* "kivy/properties.pyx":1167
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):
 *         Property.init_storage(self, obj, storage)             # <<<<<<<<<<<<<<
 *         cdef BoundedNumericPropertyStorage s = storage
 *         s.bnum_min = self.min
*/
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_init_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_storage); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1167, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1168
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):
 *         Property.init_storage(self, obj, storage)
 *         cdef BoundedNumericPropertyStorage s = storage             # <<<<<<<<<<<<<<
 *         s.bnum_min = self.min
 *         s.bnum_max = self.max
*/
  __pyx_t_1 = ((PyObject *)__pyx_v_storage);
  __Pyx_INCREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage))))) __PYX_ERR(0, 1168, __pyx_L1_error)
  __pyx_v_s = ((struct __pyx_obj_4kivy_10properties_BoundedNumericPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1169
 *         Property.init_storage(self, obj, storage)
 *         cdef BoundedNumericPropertyStorage s = storage
 *         s.bnum_min = self.min             # <<<<<<<<<<<<<<
 *         s.bnum_max = self.max
 *         s.bnum_f_min = self.f_min
*/
  __pyx_t_2 = __pyx_v_self->min;
  __pyx_v_s->bnum_min = __pyx_t_2;

  /* "kivy/properties.pyx":1170
 *         cdef BoundedNumericPropertyStorage s = storage
 *         s.bnum_min = self.min
 *         s.bnum_max = self.max             # <<<<<<<<<<<<<<
 *         s.bnum_f_min = self.f_min
 *         s.bnum_f_max = self.f_max
*/
  __pyx_t_2 = __pyx_v_self->max;
  __pyx_v_s->bnum_max = __pyx_t_2;

  /* "kivy/properties.pyx":1171
 *         s.bnum_min = self.min
 *         s.bnum_max = self.max
 *         s.bnum_f_min = self.f_min             # <<<<<<<<<<<<<<
 *         s.bnum_f_max = self.f_max
 *         s.bnum_use_min = self.use_min
*/
  __pyx_t_3 = __pyx_v_self->f_min;
  __pyx_v_s->bnum_f_min = __pyx_t_3;

  /* "kivy/properties.pyx":1172
 *         s.bnum_max = self.max
 *         s.bnum_f_min = self.f_min
 *         s.bnum_f_max = self.f_max             # <<<<<<<<<<<<<<
 *         s.bnum_use_min = self.use_min
 *         s.bnum_use_max = self.use_max
*/
  __pyx_t_3 = __pyx_v_self->f_max;
  __pyx_v_s->bnum_f_max = __pyx_t_3;

  /* "kivy/properties.pyx":1173
 *         s.bnum_f_min = self.f_min
 *         s.bnum_f_max = self.f_max
 *         s.bnum_use_min = self.use_min             # <<<<<<<<<<<<<<
 *         s.bnum_use_max = self.use_max
 * 
*/
  __pyx_t_4 = __pyx_v_self->use_min;
  __pyx_v_s->bnum_use_min = __pyx_t_4;

  /* "kivy/properties.pyx":1174
 *         s.bnum_f_max = self.f_max
 *         s.bnum_use_min = self.use_min
 *         s.bnum_use_max = self.use_max             # <<<<<<<<<<<<<<
 * 
 *     cdef PropertyStorage create_property_storage(self):
*/
  __pyx_t_4 = __pyx_v_self->use_max;
  __pyx_v_s->bnum_use_max = __pyx_t_4;

  /* "kivy/properties.pyx":1166
 *         Property.__init__(self, *largs, **kw)
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):             # <<<<<<<<<<<<<<
 *         Property.init_storage(self, obj, storage)
 *         cdef BoundedNumericPropertyStorage s = storage
*/

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.BoundedNumericProperty.init_storage", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_s);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1176
 *         s.bnum_use_max = self.use_max
 * 
 *     cdef PropertyStorage create_property_storage(self):             # <<<<<<<<<<<<<<
 *         return BoundedNumericPropertyStorage.__new__(BoundedNumericPropertyStorage)
 * 
*/

static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_22BoundedNumericProperty_create_property_storage(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__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("create_property_storage", 0);

  /* "kivy/properties.pyx":1177
 * 
 *     cdef PropertyStorage create_property_storage(self):
 *         return BoundedNumericPropertyStorage.__new__(BoundedNumericPropertyStorage)             # <<<<<<<<<<<<<<
 * 
 *     def set_min(self, EventDispatcher obj, value):
*/
  __Pyx_XDECREF((PyObject *)__pyx_r);
  __pyx_t_1 = ((PyObject *)__pyx_tp_new_4kivy_10properties_PropertyStorage(((PyTypeObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage), __pyx_mstate_global->__pyx_empty_tuple, NULL)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1177, __pyx_L1_error)
  __Pyx_GOTREF((PyObject *)__pyx_t_1);
  if (!(likely(__Pyx_TypeTest(((PyObject *)__pyx_t_1), __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage)))) __PYX_ERR(0, 1177, __pyx_L1_error)
  __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "kivy/properties.pyx":1176
 *         s.bnum_use_max = self.use_max
 * 
 *     cdef PropertyStorage create_property_storage(self):             # <<<<<<<<<<<<<<
 *         return BoundedNumericPropertyStorage.__new__(BoundedNumericPropertyStorage)
 * 
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.BoundedNumericProperty.create_property_storage", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1179
 *         return BoundedNumericPropertyStorage.__new__(BoundedNumericPropertyStorage)
 * 
 *     def set_min(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         '''Change the minimum value acceptable for the BoundedNumericProperty,
 *         only for the `obj` instance. Set to None if you want to disable it::
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_22BoundedNumericProperty_5set_min(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_22BoundedNumericProperty_4set_min, "BoundedNumericProperty.set_min(self, EventDispatcher obj, value)\n\nChange the minimum value acceptable for the BoundedNumericProperty,\nonly for the `obj` instance. Set to None if you want to disable it::\n\n    class MyWidget(Widget):\n        number = BoundedNumericProperty(0, min=-5, max=5)\n\n    widget = MyWidget()\n    # change the minimum to -10\n    widget.property('number').set_min(widget, -10)\n    # or disable the minimum check\n    widget.property('number').set_min(widget, None)\n\n.. warning::\n\n    Changing the bounds doesn't revalidate the current value.\n\n.. versionadded:: 1.1.0");
static PyMethodDef __pyx_mdef_4kivy_10properties_22BoundedNumericProperty_5set_min = {"set_min", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_22BoundedNumericProperty_5set_min, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_22BoundedNumericProperty_4set_min};
static PyObject *__pyx_pw_4kivy_10properties_22BoundedNumericProperty_5set_min(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_value = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("set_min (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_value,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1179, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1179, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1179, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "set_min", 0) < (0)) __PYX_ERR(0, 1179, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("set_min", 1, 2, 2, i); __PYX_ERR(0, 1179, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1179, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1179, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_value = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("set_min", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 1179, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.BoundedNumericProperty.set_min", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 1179, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_22BoundedNumericProperty_4set_min(((struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v_value);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_22BoundedNumericProperty_4set_min(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value) {
  struct __pyx_obj_4kivy_10properties_BoundedNumericPropertyStorage *__pyx_v_ps = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  float __pyx_t_3;
  long __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("set_min", 0);

  /* "kivy/properties.pyx":1198
 *         .. versionadded:: 1.1.0
 *         '''
 *         cdef BoundedNumericPropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         if value is None:
 *             ps.bnum_use_min = 0
*/
  __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_BoundedNumericProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get_property_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1198, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage))))) __PYX_ERR(0, 1198, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_BoundedNumericPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1199
 *         '''
 *         cdef BoundedNumericPropertyStorage ps = self.get_property_storage(obj)
 *         if value is None:             # <<<<<<<<<<<<<<
 *             ps.bnum_use_min = 0
 *         elif type(value) is float:
*/
  __pyx_t_2 = (__pyx_v_value == Py_None);
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":1200
 *         cdef BoundedNumericPropertyStorage ps = self.get_property_storage(obj)
 *         if value is None:
 *             ps.bnum_use_min = 0             # <<<<<<<<<<<<<<
 *         elif type(value) is float:
 *             ps.bnum_f_min = value
*/
    __pyx_v_ps->bnum_use_min = 0;

    /* "kivy/properties.pyx":1199
 *         '''
 *         cdef BoundedNumericPropertyStorage ps = self.get_property_storage(obj)
 *         if value is None:             # <<<<<<<<<<<<<<
 *             ps.bnum_use_min = 0
 *         elif type(value) is float:
*/
    goto __pyx_L3;
  }

  /* "kivy/properties.pyx":1201
 *         if value is None:
 *             ps.bnum_use_min = 0
 *         elif type(value) is float:             # <<<<<<<<<<<<<<
 *             ps.bnum_f_min = value
 *             ps.bnum_use_min = 2
*/
  __pyx_t_2 = (((PyObject *)Py_TYPE(__pyx_v_value)) == ((PyObject *)(&PyFloat_Type)));
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":1202
 *             ps.bnum_use_min = 0
 *         elif type(value) is float:
 *             ps.bnum_f_min = value             # <<<<<<<<<<<<<<
 *             ps.bnum_use_min = 2
 *         else:
*/
    __pyx_t_3 = __Pyx_PyFloat_AsFloat(__pyx_v_value); if (unlikely((__pyx_t_3 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 1202, __pyx_L1_error)
    __pyx_v_ps->bnum_f_min = __pyx_t_3;

    /* "kivy/properties.pyx":1203
 *         elif type(value) is float:
 *             ps.bnum_f_min = value
 *             ps.bnum_use_min = 2             # <<<<<<<<<<<<<<
 *         else:
 *             ps.bnum_min = value
*/
    __pyx_v_ps->bnum_use_min = 2;

    /* "kivy/properties.pyx":1201
 *         if value is None:
 *             ps.bnum_use_min = 0
 *         elif type(value) is float:             # <<<<<<<<<<<<<<
 *             ps.bnum_f_min = value
 *             ps.bnum_use_min = 2
*/
    goto __pyx_L3;
  }

  /* "kivy/properties.pyx":1205
 *             ps.bnum_use_min = 2
 *         else:
 *             ps.bnum_min = value             # <<<<<<<<<<<<<<
 *             ps.bnum_use_min = 1
 * 
*/
  /*else*/ {
    __pyx_t_4 = __Pyx_PyLong_As_long(__pyx_v_value); if (unlikely((__pyx_t_4 == (long)-1) && PyErr_Occurred())) __PYX_ERR(0, 1205, __pyx_L1_error)
    __pyx_v_ps->bnum_min = __pyx_t_4;

    /* "kivy/properties.pyx":1206
 *         else:
 *             ps.bnum_min = value
 *             ps.bnum_use_min = 1             # <<<<<<<<<<<<<<
 * 
 *     def get_min(self, EventDispatcher obj):
*/
    __pyx_v_ps->bnum_use_min = 1;
  }
  __pyx_L3:;

  /* "kivy/properties.pyx":1179
 *         return BoundedNumericPropertyStorage.__new__(BoundedNumericPropertyStorage)
 * 
 *     def set_min(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         '''Change the minimum value acceptable for the BoundedNumericProperty,
 *         only for the `obj` instance. Set to None if you want to disable it::
*/

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.BoundedNumericProperty.set_min", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1208
 *             ps.bnum_use_min = 1
 * 
 *     def get_min(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         '''Return the minimum value acceptable for the BoundedNumericProperty
 *         in `obj`. Return None if no minimum value is set::
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_22BoundedNumericProperty_7get_min(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_22BoundedNumericProperty_6get_min, "BoundedNumericProperty.get_min(self, EventDispatcher obj)\n\nReturn the minimum value acceptable for the BoundedNumericProperty\nin `obj`. Return None if no minimum value is set::\n\n    class MyWidget(Widget):\n        number = BoundedNumericProperty(0, min=-5, max=5)\n\n    widget = MyWidget()\n    print(widget.property('number').get_min(widget))\n    # will output -5\n\n.. versionadded:: 1.1.0");
static PyMethodDef __pyx_mdef_4kivy_10properties_22BoundedNumericProperty_7get_min = {"get_min", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_22BoundedNumericProperty_7get_min, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_22BoundedNumericProperty_6get_min};
static PyObject *__pyx_pw_4kivy_10properties_22BoundedNumericProperty_7get_min(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get_min (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1208, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1208, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "get_min", 0) < (0)) __PYX_ERR(0, 1208, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("get_min", 1, 1, 1, i); __PYX_ERR(0, 1208, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1208, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("get_min", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 1208, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.BoundedNumericProperty.get_min", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 1208, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_22BoundedNumericProperty_6get_min(((struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *)__pyx_v_self), __pyx_v_obj);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_22BoundedNumericProperty_6get_min(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj) {
  struct __pyx_obj_4kivy_10properties_BoundedNumericPropertyStorage *__pyx_v_ps = 0;
  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_min", 0);

  /* "kivy/properties.pyx":1221
 *         .. versionadded:: 1.1.0
 *         '''
 *         cdef BoundedNumericPropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         if ps.bnum_use_min == 1:
 *             return ps.bnum_min
*/
  __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_BoundedNumericProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get_property_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1221, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage))))) __PYX_ERR(0, 1221, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_BoundedNumericPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1222
 *         '''
 *         cdef BoundedNumericPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.bnum_use_min == 1:             # <<<<<<<<<<<<<<
 *             return ps.bnum_min
 *         elif ps.bnum_use_min == 2:
*/
  switch (__pyx_v_ps->bnum_use_min) {
    case 1:

    /* "kivy/properties.pyx":1223
 *         cdef BoundedNumericPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.bnum_use_min == 1:
 *             return ps.bnum_min             # <<<<<<<<<<<<<<
 *         elif ps.bnum_use_min == 2:
 *             return ps.bnum_f_min
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_t_1 = __Pyx_PyLong_From_long(__pyx_v_ps->bnum_min); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1223, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_r = __pyx_t_1;
    __pyx_t_1 = 0;
    goto __pyx_L0;

    /* "kivy/properties.pyx":1222
 *         '''
 *         cdef BoundedNumericPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.bnum_use_min == 1:             # <<<<<<<<<<<<<<
 *             return ps.bnum_min
 *         elif ps.bnum_use_min == 2:
*/
    break;
    case 2:

    /* "kivy/properties.pyx":1225
 *             return ps.bnum_min
 *         elif ps.bnum_use_min == 2:
 *             return ps.bnum_f_min             # <<<<<<<<<<<<<<
 * 
 *     def set_max(self, EventDispatcher obj, value):
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_t_1 = PyFloat_FromDouble(__pyx_v_ps->bnum_f_min); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1225, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_r = __pyx_t_1;
    __pyx_t_1 = 0;
    goto __pyx_L0;

    /* "kivy/properties.pyx":1224
 *         if ps.bnum_use_min == 1:
 *             return ps.bnum_min
 *         elif ps.bnum_use_min == 2:             # <<<<<<<<<<<<<<
 *             return ps.bnum_f_min
 * 
*/
    break;
    default: break;
  }

  /* "kivy/properties.pyx":1208
 *             ps.bnum_use_min = 1
 * 
 *     def get_min(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         '''Return the minimum value acceptable for the BoundedNumericProperty
 *         in `obj`. Return None if no minimum value is set::
*/

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.BoundedNumericProperty.get_min", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1227
 *             return ps.bnum_f_min
 * 
 *     def set_max(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         '''Change the maximum value acceptable for the BoundedNumericProperty,
 *         only for the `obj` instance. Set to None if you want to disable it.
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_22BoundedNumericProperty_9set_max(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_22BoundedNumericProperty_8set_max, "BoundedNumericProperty.set_max(self, EventDispatcher obj, value)\n\nChange the maximum value acceptable for the BoundedNumericProperty,\nonly for the `obj` instance. Set to None if you want to disable it.\nCheck :attr:`set_min` for a usage example.\n\n.. warning::\n\n    Changing the bounds doesn't revalidate the current value.\n\n.. versionadded:: 1.1.0");
static PyMethodDef __pyx_mdef_4kivy_10properties_22BoundedNumericProperty_9set_max = {"set_max", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_22BoundedNumericProperty_9set_max, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_22BoundedNumericProperty_8set_max};
static PyObject *__pyx_pw_4kivy_10properties_22BoundedNumericProperty_9set_max(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_value = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("set_max (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_value,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1227, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1227, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1227, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "set_max", 0) < (0)) __PYX_ERR(0, 1227, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("set_max", 1, 2, 2, i); __PYX_ERR(0, 1227, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1227, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1227, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_value = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("set_max", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 1227, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.BoundedNumericProperty.set_max", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 1227, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_22BoundedNumericProperty_8set_max(((struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v_value);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_22BoundedNumericProperty_8set_max(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value) {
  struct __pyx_obj_4kivy_10properties_BoundedNumericPropertyStorage *__pyx_v_ps = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  float __pyx_t_3;
  long __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("set_max", 0);

  /* "kivy/properties.pyx":1238
 *         .. versionadded:: 1.1.0
 *         '''
 *         cdef BoundedNumericPropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         if value is None:
 *             ps.bnum_use_max = 0
*/
  __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_BoundedNumericProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get_property_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1238, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage))))) __PYX_ERR(0, 1238, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_BoundedNumericPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1239
 *         '''
 *         cdef BoundedNumericPropertyStorage ps = self.get_property_storage(obj)
 *         if value is None:             # <<<<<<<<<<<<<<
 *             ps.bnum_use_max = 0
 *         elif type(value) is float:
*/
  __pyx_t_2 = (__pyx_v_value == Py_None);
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":1240
 *         cdef BoundedNumericPropertyStorage ps = self.get_property_storage(obj)
 *         if value is None:
 *             ps.bnum_use_max = 0             # <<<<<<<<<<<<<<
 *         elif type(value) is float:
 *             ps.bnum_f_max = value
*/
    __pyx_v_ps->bnum_use_max = 0;

    /* "kivy/properties.pyx":1239
 *         '''
 *         cdef BoundedNumericPropertyStorage ps = self.get_property_storage(obj)
 *         if value is None:             # <<<<<<<<<<<<<<
 *             ps.bnum_use_max = 0
 *         elif type(value) is float:
*/
    goto __pyx_L3;
  }

  /* "kivy/properties.pyx":1241
 *         if value is None:
 *             ps.bnum_use_max = 0
 *         elif type(value) is float:             # <<<<<<<<<<<<<<
 *             ps.bnum_f_max = value
 *             ps.bnum_use_max = 2
*/
  __pyx_t_2 = (((PyObject *)Py_TYPE(__pyx_v_value)) == ((PyObject *)(&PyFloat_Type)));
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":1242
 *             ps.bnum_use_max = 0
 *         elif type(value) is float:
 *             ps.bnum_f_max = value             # <<<<<<<<<<<<<<
 *             ps.bnum_use_max = 2
 *         else:
*/
    __pyx_t_3 = __Pyx_PyFloat_AsFloat(__pyx_v_value); if (unlikely((__pyx_t_3 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 1242, __pyx_L1_error)
    __pyx_v_ps->bnum_f_max = __pyx_t_3;

    /* "kivy/properties.pyx":1243
 *         elif type(value) is float:
 *             ps.bnum_f_max = value
 *             ps.bnum_use_max = 2             # <<<<<<<<<<<<<<
 *         else:
 *             ps.bnum_max = value
*/
    __pyx_v_ps->bnum_use_max = 2;

    /* "kivy/properties.pyx":1241
 *         if value is None:
 *             ps.bnum_use_max = 0
 *         elif type(value) is float:             # <<<<<<<<<<<<<<
 *             ps.bnum_f_max = value
 *             ps.bnum_use_max = 2
*/
    goto __pyx_L3;
  }

  /* "kivy/properties.pyx":1245
 *             ps.bnum_use_max = 2
 *         else:
 *             ps.bnum_max = value             # <<<<<<<<<<<<<<
 *             ps.bnum_use_max = 1
 * 
*/
  /*else*/ {
    __pyx_t_4 = __Pyx_PyLong_As_long(__pyx_v_value); if (unlikely((__pyx_t_4 == (long)-1) && PyErr_Occurred())) __PYX_ERR(0, 1245, __pyx_L1_error)
    __pyx_v_ps->bnum_max = __pyx_t_4;

    /* "kivy/properties.pyx":1246
 *         else:
 *             ps.bnum_max = value
 *             ps.bnum_use_max = 1             # <<<<<<<<<<<<<<
 * 
 *     def get_max(self, EventDispatcher obj):
*/
    __pyx_v_ps->bnum_use_max = 1;
  }
  __pyx_L3:;

  /* "kivy/properties.pyx":1227
 *             return ps.bnum_f_min
 * 
 *     def set_max(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         '''Change the maximum value acceptable for the BoundedNumericProperty,
 *         only for the `obj` instance. Set to None if you want to disable it.
*/

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.BoundedNumericProperty.set_max", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1248
 *             ps.bnum_use_max = 1
 * 
 *     def get_max(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         '''Return the maximum value acceptable for the BoundedNumericProperty
 *         in `obj`. Return None if no maximum value is set. Check
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_22BoundedNumericProperty_11get_max(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_22BoundedNumericProperty_10get_max, "BoundedNumericProperty.get_max(self, EventDispatcher obj)\n\nReturn the maximum value acceptable for the BoundedNumericProperty\nin `obj`. Return None if no maximum value is set. Check\n:attr:`get_min` for a usage example.\n\n.. versionadded:: 1.1.0");
static PyMethodDef __pyx_mdef_4kivy_10properties_22BoundedNumericProperty_11get_max = {"get_max", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_22BoundedNumericProperty_11get_max, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_22BoundedNumericProperty_10get_max};
static PyObject *__pyx_pw_4kivy_10properties_22BoundedNumericProperty_11get_max(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get_max (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1248, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1248, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "get_max", 0) < (0)) __PYX_ERR(0, 1248, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("get_max", 1, 1, 1, i); __PYX_ERR(0, 1248, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1248, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("get_max", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 1248, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.BoundedNumericProperty.get_max", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 1248, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_22BoundedNumericProperty_10get_max(((struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *)__pyx_v_self), __pyx_v_obj);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_22BoundedNumericProperty_10get_max(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj) {
  struct __pyx_obj_4kivy_10properties_BoundedNumericPropertyStorage *__pyx_v_ps = 0;
  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("get_max", 0);

  /* "kivy/properties.pyx":1255
 *         .. versionadded:: 1.1.0
 *         '''
 *         cdef BoundedNumericPropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         if ps.bnum_use_max == 1:
 *             return ps.bnum_max
*/
  __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_BoundedNumericProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get_property_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1255, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage))))) __PYX_ERR(0, 1255, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_BoundedNumericPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1256
 *         '''
 *         cdef BoundedNumericPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.bnum_use_max == 1:             # <<<<<<<<<<<<<<
 *             return ps.bnum_max
 *         if ps.bnum_use_max == 2:
*/
  __pyx_t_2 = (__pyx_v_ps->bnum_use_max == 1);
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":1257
 *         cdef BoundedNumericPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.bnum_use_max == 1:
 *             return ps.bnum_max             # <<<<<<<<<<<<<<
 *         if ps.bnum_use_max == 2:
 *             return ps.bnum_f_max
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_t_1 = __Pyx_PyLong_From_long(__pyx_v_ps->bnum_max); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1257, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_r = __pyx_t_1;
    __pyx_t_1 = 0;
    goto __pyx_L0;

    /* "kivy/properties.pyx":1256
 *         '''
 *         cdef BoundedNumericPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.bnum_use_max == 1:             # <<<<<<<<<<<<<<
 *             return ps.bnum_max
 *         if ps.bnum_use_max == 2:
*/
  }

  /* "kivy/properties.pyx":1258
 *         if ps.bnum_use_max == 1:
 *             return ps.bnum_max
 *         if ps.bnum_use_max == 2:             # <<<<<<<<<<<<<<
 *             return ps.bnum_f_max
 * 
*/
  __pyx_t_2 = (__pyx_v_ps->bnum_use_max == 2);
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":1259
 *             return ps.bnum_max
 *         if ps.bnum_use_max == 2:
 *             return ps.bnum_f_max             # <<<<<<<<<<<<<<
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_t_1 = PyFloat_FromDouble(__pyx_v_ps->bnum_f_max); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1259, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_r = __pyx_t_1;
    __pyx_t_1 = 0;
    goto __pyx_L0;

    /* "kivy/properties.pyx":1258
 *         if ps.bnum_use_max == 1:
 *             return ps.bnum_max
 *         if ps.bnum_use_max == 2:             # <<<<<<<<<<<<<<
 *             return ps.bnum_f_max
 * 
*/
  }

  /* "kivy/properties.pyx":1248
 *             ps.bnum_use_max = 1
 * 
 *     def get_max(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         '''Return the maximum value acceptable for the BoundedNumericProperty
 *         in `obj`. Return None if no maximum value is set. Check
*/

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.BoundedNumericProperty.get_max", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1261
 *             return ps.bnum_f_max
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         if Property.check(self, obj, value, property_storage):
 *             return True
*/

static PyObject *__pyx_f_4kivy_10properties_22BoundedNumericProperty_check(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage) {
  struct __pyx_obj_4kivy_10properties_BoundedNumericPropertyStorage *__pyx_v_ps = 0;
  long __pyx_v__min;
  float __pyx_v__f_min;
  long __pyx_v__max;
  float __pyx_v__f_max;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  long __pyx_t_3;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8[6];
  PyObject *__pyx_t_9 = NULL;
  size_t __pyx_t_10;
  float __pyx_t_11;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("check", 0);

  /* "kivy/properties.pyx":1262
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):             # <<<<<<<<<<<<<<
 *             return True
 *         cdef BoundedNumericPropertyStorage ps = property_storage
*/
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_check(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_value, __pyx_v_property_storage); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1262, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1262, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":1263
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):
 *             return True             # <<<<<<<<<<<<<<
 *         cdef BoundedNumericPropertyStorage ps = property_storage
 *         if ps.bnum_use_min == 1:
*/
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(Py_True);
    __pyx_r = Py_True;
    goto __pyx_L0;

    /* "kivy/properties.pyx":1262
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):             # <<<<<<<<<<<<<<
 *             return True
 *         cdef BoundedNumericPropertyStorage ps = property_storage
*/
  }

  /* "kivy/properties.pyx":1264
 *         if Property.check(self, obj, value, property_storage):
 *             return True
 *         cdef BoundedNumericPropertyStorage ps = property_storage             # <<<<<<<<<<<<<<
 *         if ps.bnum_use_min == 1:
 *             _min = ps.bnum_min
*/
  __pyx_t_1 = ((PyObject *)__pyx_v_property_storage);
  __Pyx_INCREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage))))) __PYX_ERR(0, 1264, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_BoundedNumericPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1265
 *             return True
 *         cdef BoundedNumericPropertyStorage ps = property_storage
 *         if ps.bnum_use_min == 1:             # <<<<<<<<<<<<<<
 *             _min = ps.bnum_min
 *             if value < _min:
*/
  switch (__pyx_v_ps->bnum_use_min) {
    case 1:

    /* "kivy/properties.pyx":1266
 *         cdef BoundedNumericPropertyStorage ps = property_storage
 *         if ps.bnum_use_min == 1:
 *             _min = ps.bnum_min             # <<<<<<<<<<<<<<
 *             if value < _min:
 *                 raise ValueError('%s.%s is below the minimum bound (%d)' % (
*/
    __pyx_t_3 = __pyx_v_ps->bnum_min;
    __pyx_v__min = __pyx_t_3;

    /* "kivy/properties.pyx":1267
 *         if ps.bnum_use_min == 1:
 *             _min = ps.bnum_min
 *             if value < _min:             # <<<<<<<<<<<<<<
 *                 raise ValueError('%s.%s is below the minimum bound (%d)' % (
 *                     obj.__class__.__name__,
*/
    __pyx_t_1 = __Pyx_PyLong_From_long(__pyx_v__min); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1267, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_4 = PyObject_RichCompare(__pyx_v_value, __pyx_t_1, Py_LT); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1267, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1267, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(__pyx_t_2)) {

      /* "kivy/properties.pyx":1268
 *             _min = ps.bnum_min
 *             if value < _min:
 *                 raise ValueError('%s.%s is below the minimum bound (%d)' % (             # <<<<<<<<<<<<<<
 *                     obj.__class__.__name__,
 *                     self.name, _min))
*/
      __pyx_t_1 = NULL;

      /* "kivy/properties.pyx":1269
 *             if value < _min:
 *                 raise ValueError('%s.%s is below the minimum bound (%d)' % (
 *                     obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                     self.name, _min))
 *         elif ps.bnum_use_min == 2:
*/
      __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1269, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_5);
      __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1269, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __pyx_t_5 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_6), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1269, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

      /* "kivy/properties.pyx":1270
 *                 raise ValueError('%s.%s is below the minimum bound (%d)' % (
 *                     obj.__class__.__name__,
 *                     self.name, _min))             # <<<<<<<<<<<<<<
 *         elif ps.bnum_use_min == 2:
 *             _f_min = ps.bnum_f_min
*/
      __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1270, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_6);
      __pyx_t_7 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_6), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1270, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_7);
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __pyx_t_6 = __Pyx_PyUnicode_From_long(__pyx_v__min, 0, ' ', 'd'); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1270, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_6);
      __pyx_t_8[0] = __pyx_t_5;
      __pyx_t_8[1] = __pyx_mstate_global->__pyx_kp_u__4;
      __pyx_t_8[2] = __pyx_t_7;
      __pyx_t_8[3] = __pyx_mstate_global->__pyx_kp_u_is_below_the_minimum_bound;
      __pyx_t_8[4] = __pyx_t_6;
      __pyx_t_8[5] = __pyx_mstate_global->__pyx_kp_u__5;

      /* "kivy/properties.pyx":1268
 *             _min = ps.bnum_min
 *             if value < _min:
 *                 raise ValueError('%s.%s is below the minimum bound (%d)' % (             # <<<<<<<<<<<<<<
 *                     obj.__class__.__name__,
 *                     self.name, _min))
*/
      __pyx_t_9 = __Pyx_PyUnicode_Join(__pyx_t_8, 6, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_5) + 1 * 2 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7) + 29 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_6), 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7));
      if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1268, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_9);
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __pyx_t_10 = 1;
      {
        PyObject *__pyx_callargs[2] = {__pyx_t_1, __pyx_t_9};
        __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_10, (2-__pyx_t_10) | (__pyx_t_10*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
        __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
        if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1268, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_4);
      }
      __Pyx_Raise(__pyx_t_4, 0, 0, 0);
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __PYX_ERR(0, 1268, __pyx_L1_error)

      /* "kivy/properties.pyx":1267
 *         if ps.bnum_use_min == 1:
 *             _min = ps.bnum_min
 *             if value < _min:             # <<<<<<<<<<<<<<
 *                 raise ValueError('%s.%s is below the minimum bound (%d)' % (
 *                     obj.__class__.__name__,
*/
    }

    /* "kivy/properties.pyx":1265
 *             return True
 *         cdef BoundedNumericPropertyStorage ps = property_storage
 *         if ps.bnum_use_min == 1:             # <<<<<<<<<<<<<<
 *             _min = ps.bnum_min
 *             if value < _min:
*/
    break;
    case 2:

    /* "kivy/properties.pyx":1272
 *                     self.name, _min))
 *         elif ps.bnum_use_min == 2:
 *             _f_min = ps.bnum_f_min             # <<<<<<<<<<<<<<
 *             if value < _f_min:
 *                 raise ValueError('%s.%s is below the minimum bound (%f)' % (
*/
    __pyx_t_11 = __pyx_v_ps->bnum_f_min;
    __pyx_v__f_min = __pyx_t_11;

    /* "kivy/properties.pyx":1273
 *         elif ps.bnum_use_min == 2:
 *             _f_min = ps.bnum_f_min
 *             if value < _f_min:             # <<<<<<<<<<<<<<
 *                 raise ValueError('%s.%s is below the minimum bound (%f)' % (
 *                     obj.__class__.__name__,
*/
    __pyx_t_4 = PyFloat_FromDouble(__pyx_v__f_min); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1273, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_9 = PyObject_RichCompare(__pyx_v_value, __pyx_t_4, Py_LT); __Pyx_XGOTREF(__pyx_t_9); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1273, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1273, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
    if (unlikely(__pyx_t_2)) {

      /* "kivy/properties.pyx":1274
 *             _f_min = ps.bnum_f_min
 *             if value < _f_min:
 *                 raise ValueError('%s.%s is below the minimum bound (%f)' % (             # <<<<<<<<<<<<<<
 *                     obj.__class__.__name__,
 *                     self.name, _f_min))
*/
      __pyx_t_4 = NULL;

      /* "kivy/properties.pyx":1275
 *             if value < _f_min:
 *                 raise ValueError('%s.%s is below the minimum bound (%f)' % (
 *                     obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                     self.name, _f_min))
 *         if ps.bnum_use_max == 1:
*/
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1275, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1275, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      __pyx_t_1 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_6), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1275, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

      /* "kivy/properties.pyx":1276
 *                 raise ValueError('%s.%s is below the minimum bound (%f)' % (
 *                     obj.__class__.__name__,
 *                     self.name, _f_min))             # <<<<<<<<<<<<<<
 *         if ps.bnum_use_max == 1:
 *             _max = ps.bnum_max
*/
      __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1276, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_6);
      __pyx_t_7 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_6), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1276, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_7);
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __pyx_t_6 = PyFloat_FromDouble(__pyx_v__f_min); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1276, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_6);
      __pyx_t_5 = __Pyx_PyObject_Format(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_f); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1276, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __pyx_t_8[0] = __pyx_t_1;
      __pyx_t_8[1] = __pyx_mstate_global->__pyx_kp_u__4;
      __pyx_t_8[2] = __pyx_t_7;
      __pyx_t_8[3] = __pyx_mstate_global->__pyx_kp_u_is_below_the_minimum_bound;
      __pyx_t_8[4] = __pyx_t_5;
      __pyx_t_8[5] = __pyx_mstate_global->__pyx_kp_u__5;

      /* "kivy/properties.pyx":1274
 *             _f_min = ps.bnum_f_min
 *             if value < _f_min:
 *                 raise ValueError('%s.%s is below the minimum bound (%f)' % (             # <<<<<<<<<<<<<<
 *                     obj.__class__.__name__,
 *                     self.name, _f_min))
*/
      __pyx_t_6 = __Pyx_PyUnicode_Join(__pyx_t_8, 6, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_1) + 1 * 2 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7) + 29 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_5), 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_1) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5));
      if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1274, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_6);
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __pyx_t_10 = 1;
      {
        PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_6};
        __pyx_t_9 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_10, (2-__pyx_t_10) | (__pyx_t_10*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
        __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
        if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1274, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_9);
      }
      __Pyx_Raise(__pyx_t_9, 0, 0, 0);
      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
      __PYX_ERR(0, 1274, __pyx_L1_error)

      /* "kivy/properties.pyx":1273
 *         elif ps.bnum_use_min == 2:
 *             _f_min = ps.bnum_f_min
 *             if value < _f_min:             # <<<<<<<<<<<<<<
 *                 raise ValueError('%s.%s is below the minimum bound (%f)' % (
 *                     obj.__class__.__name__,
*/
    }

    /* "kivy/properties.pyx":1271
 *                     obj.__class__.__name__,
 *                     self.name, _min))
 *         elif ps.bnum_use_min == 2:             # <<<<<<<<<<<<<<
 *             _f_min = ps.bnum_f_min
 *             if value < _f_min:
*/
    break;
    default: break;
  }

  /* "kivy/properties.pyx":1277
 *                     obj.__class__.__name__,
 *                     self.name, _f_min))
 *         if ps.bnum_use_max == 1:             # <<<<<<<<<<<<<<
 *             _max = ps.bnum_max
 *             if value > _max:
*/
  switch (__pyx_v_ps->bnum_use_max) {
    case 1:

    /* "kivy/properties.pyx":1278
 *                     self.name, _f_min))
 *         if ps.bnum_use_max == 1:
 *             _max = ps.bnum_max             # <<<<<<<<<<<<<<
 *             if value > _max:
 *                 raise ValueError('%s.%s is above the maximum bound (%d)' % (
*/
    __pyx_t_3 = __pyx_v_ps->bnum_max;
    __pyx_v__max = __pyx_t_3;

    /* "kivy/properties.pyx":1279
 *         if ps.bnum_use_max == 1:
 *             _max = ps.bnum_max
 *             if value > _max:             # <<<<<<<<<<<<<<
 *                 raise ValueError('%s.%s is above the maximum bound (%d)' % (
 *                     obj.__class__.__name__,
*/
    __pyx_t_9 = __Pyx_PyLong_From_long(__pyx_v__max); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1279, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_9);
    __pyx_t_6 = PyObject_RichCompare(__pyx_v_value, __pyx_t_9, Py_GT); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1279, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
    __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1279, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
    if (unlikely(__pyx_t_2)) {

      /* "kivy/properties.pyx":1280
 *             _max = ps.bnum_max
 *             if value > _max:
 *                 raise ValueError('%s.%s is above the maximum bound (%d)' % (             # <<<<<<<<<<<<<<
 *                     obj.__class__.__name__,
 *                     self.name, _max))
*/
      __pyx_t_9 = NULL;

      /* "kivy/properties.pyx":1281
 *             if value > _max:
 *                 raise ValueError('%s.%s is above the maximum bound (%d)' % (
 *                     obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                     self.name, _max))
 *         elif ps.bnum_use_max == 2:
*/
      __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1281, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
      __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1281, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __pyx_t_4 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_5), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1281, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

      /* "kivy/properties.pyx":1282
 *                 raise ValueError('%s.%s is above the maximum bound (%d)' % (
 *                     obj.__class__.__name__,
 *                     self.name, _max))             # <<<<<<<<<<<<<<
 *         elif ps.bnum_use_max == 2:
 *             _f_max = ps.bnum_f_max
*/
      __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1282, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_5);
      __pyx_t_7 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_5), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1282, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_7);
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __pyx_t_5 = __Pyx_PyUnicode_From_long(__pyx_v__max, 0, ' ', 'd'); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1282, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_5);
      __pyx_t_8[0] = __pyx_t_4;
      __pyx_t_8[1] = __pyx_mstate_global->__pyx_kp_u__4;
      __pyx_t_8[2] = __pyx_t_7;
      __pyx_t_8[3] = __pyx_mstate_global->__pyx_kp_u_is_above_the_maximum_bound;
      __pyx_t_8[4] = __pyx_t_5;
      __pyx_t_8[5] = __pyx_mstate_global->__pyx_kp_u__5;

      /* "kivy/properties.pyx":1280
 *             _max = ps.bnum_max
 *             if value > _max:
 *                 raise ValueError('%s.%s is above the maximum bound (%d)' % (             # <<<<<<<<<<<<<<
 *                     obj.__class__.__name__,
 *                     self.name, _max))
*/
      __pyx_t_1 = __Pyx_PyUnicode_Join(__pyx_t_8, 6, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_4) + 1 * 2 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7) + 29 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_5), 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7));
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1280, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __pyx_t_10 = 1;
      {
        PyObject *__pyx_callargs[2] = {__pyx_t_9, __pyx_t_1};
        __pyx_t_6 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_10, (2-__pyx_t_10) | (__pyx_t_10*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1280, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_6);
      }
      __Pyx_Raise(__pyx_t_6, 0, 0, 0);
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __PYX_ERR(0, 1280, __pyx_L1_error)

      /* "kivy/properties.pyx":1279
 *         if ps.bnum_use_max == 1:
 *             _max = ps.bnum_max
 *             if value > _max:             # <<<<<<<<<<<<<<
 *                 raise ValueError('%s.%s is above the maximum bound (%d)' % (
 *                     obj.__class__.__name__,
*/
    }

    /* "kivy/properties.pyx":1277
 *                     obj.__class__.__name__,
 *                     self.name, _f_min))
 *         if ps.bnum_use_max == 1:             # <<<<<<<<<<<<<<
 *             _max = ps.bnum_max
 *             if value > _max:
*/
    break;
    case 2:

    /* "kivy/properties.pyx":1284
 *                     self.name, _max))
 *         elif ps.bnum_use_max == 2:
 *             _f_max = ps.bnum_f_max             # <<<<<<<<<<<<<<
 *             if value > _f_max:
 *                 raise ValueError('%s.%s is above the maximum bound (%f)' % (
*/
    __pyx_t_11 = __pyx_v_ps->bnum_f_max;
    __pyx_v__f_max = __pyx_t_11;

    /* "kivy/properties.pyx":1285
 *         elif ps.bnum_use_max == 2:
 *             _f_max = ps.bnum_f_max
 *             if value > _f_max:             # <<<<<<<<<<<<<<
 *                 raise ValueError('%s.%s is above the maximum bound (%f)' % (
 *                     obj.__class__.__name__,
*/
    __pyx_t_6 = PyFloat_FromDouble(__pyx_v__f_max); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1285, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __pyx_t_1 = PyObject_RichCompare(__pyx_v_value, __pyx_t_6, Py_GT); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1285, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
    __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1285, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    if (unlikely(__pyx_t_2)) {

      /* "kivy/properties.pyx":1286
 *             _f_max = ps.bnum_f_max
 *             if value > _f_max:
 *                 raise ValueError('%s.%s is above the maximum bound (%f)' % (             # <<<<<<<<<<<<<<
 *                     obj.__class__.__name__,
 *                     self.name, _f_max))
*/
      __pyx_t_6 = NULL;

      /* "kivy/properties.pyx":1287
 *             if value > _f_max:
 *                 raise ValueError('%s.%s is above the maximum bound (%f)' % (
 *                     obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                     self.name, _f_max))
 *         return True
*/
      __pyx_t_9 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1287, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_9);
      __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1287, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
      __pyx_t_9 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_5), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1287, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_9);
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

      /* "kivy/properties.pyx":1288
 *                 raise ValueError('%s.%s is above the maximum bound (%f)' % (
 *                     obj.__class__.__name__,
 *                     self.name, _f_max))             # <<<<<<<<<<<<<<
 *         return True
 * 
*/
      __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1288, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_5);
      __pyx_t_7 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_5), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1288, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_7);
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __pyx_t_5 = PyFloat_FromDouble(__pyx_v__f_max); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1288, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_5);
      __pyx_t_4 = __Pyx_PyObject_Format(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_f); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1288, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      __pyx_t_8[0] = __pyx_t_9;
      __pyx_t_8[1] = __pyx_mstate_global->__pyx_kp_u__4;
      __pyx_t_8[2] = __pyx_t_7;
      __pyx_t_8[3] = __pyx_mstate_global->__pyx_kp_u_is_above_the_maximum_bound;
      __pyx_t_8[4] = __pyx_t_4;
      __pyx_t_8[5] = __pyx_mstate_global->__pyx_kp_u__5;

      /* "kivy/properties.pyx":1286
 *             _f_max = ps.bnum_f_max
 *             if value > _f_max:
 *                 raise ValueError('%s.%s is above the maximum bound (%f)' % (             # <<<<<<<<<<<<<<
 *                     obj.__class__.__name__,
 *                     self.name, _f_max))
*/
      __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_8, 6, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_9) + 1 * 2 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7) + 29 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_4), 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_9) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4));
      if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1286, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __pyx_t_10 = 1;
      {
        PyObject *__pyx_callargs[2] = {__pyx_t_6, __pyx_t_5};
        __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_10, (2-__pyx_t_10) | (__pyx_t_10*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
        __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
        if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1286, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_1);
      }
      __Pyx_Raise(__pyx_t_1, 0, 0, 0);
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      __PYX_ERR(0, 1286, __pyx_L1_error)

      /* "kivy/properties.pyx":1285
 *         elif ps.bnum_use_max == 2:
 *             _f_max = ps.bnum_f_max
 *             if value > _f_max:             # <<<<<<<<<<<<<<
 *                 raise ValueError('%s.%s is above the maximum bound (%f)' % (
 *                     obj.__class__.__name__,
*/
    }

    /* "kivy/properties.pyx":1283
 *                     obj.__class__.__name__,
 *                     self.name, _max))
 *         elif ps.bnum_use_max == 2:             # <<<<<<<<<<<<<<
 *             _f_max = ps.bnum_f_max
 *             if value > _f_max:
*/
    break;
    default: break;
  }

  /* "kivy/properties.pyx":1289
 *                     obj.__class__.__name__,
 *                     self.name, _f_max))
 *         return True             # <<<<<<<<<<<<<<
 * 
 *     @property
*/
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(Py_True);
  __pyx_r = Py_True;
  goto __pyx_L0;

  /* "kivy/properties.pyx":1261
 *             return ps.bnum_f_max
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         if Property.check(self, obj, value, property_storage):
 *             return True
*/

  /* 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_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_AddTraceback("kivy.properties.BoundedNumericProperty.check", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1291
 *         return True
 * 
 *     @property             # <<<<<<<<<<<<<<
 *     def bounds(self):
 *         '''Return min/max of the value.
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_22BoundedNumericProperty_6bounds_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_4kivy_10properties_22BoundedNumericProperty_6bounds_1__get__(PyObject *__pyx_v_self) {
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_r = __pyx_pf_4kivy_10properties_22BoundedNumericProperty_6bounds___get__(((struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_22BoundedNumericProperty_6bounds___get__(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self) {
  PyObject *__pyx_v__min = NULL;
  PyObject *__pyx_v__max = NULL;
  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);

  /* "kivy/properties.pyx":1297
 *         .. versionadded:: 1.0.9
 *         '''
 *         if self.use_min == 1:             # <<<<<<<<<<<<<<
 *             _min = self.min
 *         elif self.use_min == 2:
*/
  switch (__pyx_v_self->use_min) {
    case 1:

    /* "kivy/properties.pyx":1298
 *         '''
 *         if self.use_min == 1:
 *             _min = self.min             # <<<<<<<<<<<<<<
 *         elif self.use_min == 2:
 *             _min = self.f_min
*/
    __pyx_t_1 = __Pyx_PyLong_From_long(__pyx_v_self->min); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1298, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_v__min = __pyx_t_1;
    __pyx_t_1 = 0;

    /* "kivy/properties.pyx":1297
 *         .. versionadded:: 1.0.9
 *         '''
 *         if self.use_min == 1:             # <<<<<<<<<<<<<<
 *             _min = self.min
 *         elif self.use_min == 2:
*/
    break;
    case 2:

    /* "kivy/properties.pyx":1300
 *             _min = self.min
 *         elif self.use_min == 2:
 *             _min = self.f_min             # <<<<<<<<<<<<<<
 *         else:
 *             _min = None
*/
    __pyx_t_1 = PyFloat_FromDouble(__pyx_v_self->f_min); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1300, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_v__min = __pyx_t_1;
    __pyx_t_1 = 0;

    /* "kivy/properties.pyx":1299
 *         if self.use_min == 1:
 *             _min = self.min
 *         elif self.use_min == 2:             # <<<<<<<<<<<<<<
 *             _min = self.f_min
 *         else:
*/
    break;
    default:

    /* "kivy/properties.pyx":1302
 *             _min = self.f_min
 *         else:
 *             _min = None             # <<<<<<<<<<<<<<
 * 
 *         if self.use_max == 1:
*/
    __Pyx_INCREF(Py_None);
    __pyx_v__min = Py_None;
    break;
  }

  /* "kivy/properties.pyx":1304
 *             _min = None
 * 
 *         if self.use_max == 1:             # <<<<<<<<<<<<<<
 *             _max = self.max
 *         elif self.use_max == 2:
*/
  switch (__pyx_v_self->use_max) {
    case 1:

    /* "kivy/properties.pyx":1305
 * 
 *         if self.use_max == 1:
 *             _max = self.max             # <<<<<<<<<<<<<<
 *         elif self.use_max == 2:
 *             _max = self.f_max
*/
    __pyx_t_1 = __Pyx_PyLong_From_long(__pyx_v_self->max); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1305, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_v__max = __pyx_t_1;
    __pyx_t_1 = 0;

    /* "kivy/properties.pyx":1304
 *             _min = None
 * 
 *         if self.use_max == 1:             # <<<<<<<<<<<<<<
 *             _max = self.max
 *         elif self.use_max == 2:
*/
    break;
    case 2:

    /* "kivy/properties.pyx":1307
 *             _max = self.max
 *         elif self.use_max == 2:
 *             _max = self.f_max             # <<<<<<<<<<<<<<
 *         else:
 *             _max = None
*/
    __pyx_t_1 = PyFloat_FromDouble(__pyx_v_self->f_max); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1307, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_v__max = __pyx_t_1;
    __pyx_t_1 = 0;

    /* "kivy/properties.pyx":1306
 *         if self.use_max == 1:
 *             _max = self.max
 *         elif self.use_max == 2:             # <<<<<<<<<<<<<<
 *             _max = self.f_max
 *         else:
*/
    break;
    default:

    /* "kivy/properties.pyx":1309
 *             _max = self.f_max
 *         else:
 *             _max = None             # <<<<<<<<<<<<<<
 * 
 *         return _min, _max
*/
    __Pyx_INCREF(Py_None);
    __pyx_v__max = Py_None;
    break;
  }

  /* "kivy/properties.pyx":1311
 *             _max = None
 * 
 *         return _min, _max             # <<<<<<<<<<<<<<
 * 
 * 
*/
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1311, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_INCREF(__pyx_v__min);
  __Pyx_GIVEREF(__pyx_v__min);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__min) != (0)) __PYX_ERR(0, 1311, __pyx_L1_error);
  __Pyx_INCREF(__pyx_v__max);
  __Pyx_GIVEREF(__pyx_v__max);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v__max) != (0)) __PYX_ERR(0, 1311, __pyx_L1_error);
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "kivy/properties.pyx":1291
 *         return True
 * 
 *     @property             # <<<<<<<<<<<<<<
 *     def bounds(self):
 *         '''Return min/max of the value.
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.BoundedNumericProperty.bounds.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v__min);
  __Pyx_XDECREF(__pyx_v__max);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_22BoundedNumericProperty_13__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_22BoundedNumericProperty_12__reduce_cython__, "BoundedNumericProperty.__reduce_cython__(self)");
static PyMethodDef __pyx_mdef_4kivy_10properties_22BoundedNumericProperty_13__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_22BoundedNumericProperty_13__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_22BoundedNumericProperty_12__reduce_cython__};
static PyObject *__pyx_pw_4kivy_10properties_22BoundedNumericProperty_13__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return NULL;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__reduce_cython__", __pyx_kwds); return NULL;}
  __pyx_r = __pyx_pf_4kivy_10properties_22BoundedNumericProperty_12__reduce_cython__(((struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_22BoundedNumericProperty_12__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.BoundedNumericProperty.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_22BoundedNumericProperty_15__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_22BoundedNumericProperty_14__setstate_cython__, "BoundedNumericProperty.__setstate_cython__(self, __pyx_state)");
static PyMethodDef __pyx_mdef_4kivy_10properties_22BoundedNumericProperty_15__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_22BoundedNumericProperty_15__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_22BoundedNumericProperty_14__setstate_cython__};
static PyObject *__pyx_pw_4kivy_10properties_22BoundedNumericProperty_15__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  CYTHON_UNUSED PyObject *__pyx_v___pyx_state = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 3, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 3, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
    }
    __pyx_v___pyx_state = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.BoundedNumericProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_22BoundedNumericProperty_14__setstate_cython__(((struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *)__pyx_v_self), __pyx_v___pyx_state);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_22BoundedNumericProperty_14__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.BoundedNumericProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1334
 * 
 *     '''
 *     def __cinit__(self):             # <<<<<<<<<<<<<<
 *         self.options = []
 * 
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_14OptionProperty_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_14OptionProperty_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__cinit__", 1, 0, 0, __pyx_nargs); return -1; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return -1;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__cinit__", __pyx_kwds); return -1;}
  __pyx_r = __pyx_pf_4kivy_10properties_14OptionProperty___cinit__(((struct __pyx_obj_4kivy_10properties_OptionProperty *)__pyx_v_self));

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

static int __pyx_pf_4kivy_10properties_14OptionProperty___cinit__(struct __pyx_obj_4kivy_10properties_OptionProperty *__pyx_v_self) {
  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("__cinit__", 0);

  /* "kivy/properties.pyx":1335
 *     '''
 *     def __cinit__(self):
 *         self.options = []             # <<<<<<<<<<<<<<
 * 
 *     def __init__(self, *largs, **kw):
*/
  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1335, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->options);
  __Pyx_DECREF(__pyx_v_self->options);
  __pyx_v_self->options = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1334
 * 
 *     '''
 *     def __cinit__(self):             # <<<<<<<<<<<<<<
 *         self.options = []
 * 
*/

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.OptionProperty.__cinit__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1337
 *         self.options = []
 * 
 *     def __init__(self, *largs, **kw):             # <<<<<<<<<<<<<<
 *         self.options = list(kw.get('options', []))
 *         super(OptionProperty, self).__init__(*largs, **kw)
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_14OptionProperty_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_14OptionProperty_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_largs = 0;
  PyObject *__pyx_v_kw = 0;
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return -1;
  if (__pyx_kwds_len > 0) {
    if (unlikely(__Pyx_CheckKeywordStrings("__init__", __pyx_kwds) == -1)) return -1;
    __pyx_v_kw = __Pyx_KwargsAsDict_VARARGS(__pyx_kwds, __pyx_kwvalues);
    if (unlikely(!__pyx_v_kw)) return -1;
    __Pyx_GOTREF(__pyx_v_kw);
  } else {
    __pyx_v_kw = PyDict_New();
    if (unlikely(!__pyx_v_kw)) return -1;
    __Pyx_GOTREF(__pyx_v_kw);
  }
  __Pyx_INCREF(__pyx_args);
  __pyx_v_largs = __pyx_args;
  __pyx_r = __pyx_pf_4kivy_10properties_14OptionProperty_2__init__(((struct __pyx_obj_4kivy_10properties_OptionProperty *)__pyx_v_self), __pyx_v_largs, __pyx_v_kw);

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

static int __pyx_pf_4kivy_10properties_14OptionProperty_2__init__(struct __pyx_obj_4kivy_10properties_OptionProperty *__pyx_v_self, PyObject *__pyx_v_largs, PyObject *__pyx_v_kw) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  size_t __pyx_t_3;
  PyObject *__pyx_t_4 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "kivy/properties.pyx":1338
 * 
 *     def __init__(self, *largs, **kw):
 *         self.options = list(kw.get('options', []))             # <<<<<<<<<<<<<<
 *         super(OptionProperty, self).__init__(*largs, **kw)
 * 
*/
  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1338, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyDict_GetItemDefault(__pyx_v_kw, __pyx_mstate_global->__pyx_n_u_options, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1338, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = __Pyx_PySequence_ListKeepNew(__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1338, __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->options);
  __Pyx_DECREF(__pyx_v_self->options);
  __pyx_v_self->options = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1339
 *     def __init__(self, *largs, **kw):
 *         self.options = list(kw.get('options', []))
 *         super(OptionProperty, self).__init__(*largs, **kw)             # <<<<<<<<<<<<<<
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):
*/
  __pyx_t_2 = NULL;
  __pyx_t_3 = 1;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_2, ((PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_OptionProperty), ((PyObject *)__pyx_v_self)};
    __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_builtin_super, __pyx_callargs+__pyx_t_3, (3-__pyx_t_3) | (__pyx_t_3*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1339, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_init); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1339, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = PyDict_Copy(__pyx_v_kw); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1339, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_v_largs, __pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1339, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":1337
 *         self.options = []
 * 
 *     def __init__(self, *largs, **kw):             # <<<<<<<<<<<<<<
 *         self.options = list(kw.get('options', []))
 *         super(OptionProperty, self).__init__(*largs, **kw)
*/

  /* 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_4);
  __Pyx_AddTraceback("kivy.properties.OptionProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1341
 *         super(OptionProperty, self).__init__(*largs, **kw)
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):             # <<<<<<<<<<<<<<
 *         Property.init_storage(self, obj, storage)
 *         cdef OptionPropertyStorage s = storage
*/

static PyObject *__pyx_f_4kivy_10properties_14OptionProperty_init_storage(struct __pyx_obj_4kivy_10properties_OptionProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_storage) {
  struct __pyx_obj_4kivy_10properties_OptionPropertyStorage *__pyx_v_s = 0;
  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("init_storage", 0);

  /* "kivy/properties.pyx":1342
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):
 *         Property.init_storage(self, obj, storage)             # <<<<<<<<<<<<<<
 *         cdef OptionPropertyStorage s = storage
 *         s.options = self.options[:]
*/
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_init_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_storage); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1342, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1343
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):
 *         Property.init_storage(self, obj, storage)
 *         cdef OptionPropertyStorage s = storage             # <<<<<<<<<<<<<<
 *         s.options = self.options[:]
 * 
*/
  __pyx_t_1 = ((PyObject *)__pyx_v_storage);
  __Pyx_INCREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_OptionPropertyStorage))))) __PYX_ERR(0, 1343, __pyx_L1_error)
  __pyx_v_s = ((struct __pyx_obj_4kivy_10properties_OptionPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1344
 *         Property.init_storage(self, obj, storage)
 *         cdef OptionPropertyStorage s = storage
 *         s.options = self.options[:]             # <<<<<<<<<<<<<<
 * 
 *     cdef PropertyStorage create_property_storage(self):
*/
  if (unlikely(__pyx_v_self->options == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
    __PYX_ERR(0, 1344, __pyx_L1_error)
  }
  __pyx_t_1 = __Pyx_PyList_GetSlice(__pyx_v_self->options, 0, PY_SSIZE_T_MAX); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1344, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_s->options);
  __Pyx_DECREF(__pyx_v_s->options);
  __pyx_v_s->options = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1341
 *         super(OptionProperty, self).__init__(*largs, **kw)
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):             # <<<<<<<<<<<<<<
 *         Property.init_storage(self, obj, storage)
 *         cdef OptionPropertyStorage s = storage
*/

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.OptionProperty.init_storage", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_s);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1346
 *         s.options = self.options[:]
 * 
 *     cdef PropertyStorage create_property_storage(self):             # <<<<<<<<<<<<<<
 *         return OptionPropertyStorage.__new__(OptionPropertyStorage)
 * 
*/

static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_14OptionProperty_create_property_storage(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_OptionProperty *__pyx_v_self) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__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("create_property_storage", 0);

  /* "kivy/properties.pyx":1347
 * 
 *     cdef PropertyStorage create_property_storage(self):
 *         return OptionPropertyStorage.__new__(OptionPropertyStorage)             # <<<<<<<<<<<<<<
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
*/
  __Pyx_XDECREF((PyObject *)__pyx_r);
  __pyx_t_1 = ((PyObject *)__pyx_tp_new_4kivy_10properties_OptionPropertyStorage(((PyTypeObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_OptionPropertyStorage), __pyx_mstate_global->__pyx_empty_tuple, NULL)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1347, __pyx_L1_error)
  __Pyx_GOTREF((PyObject *)__pyx_t_1);
  if (!(likely(__Pyx_TypeTest(((PyObject *)__pyx_t_1), __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage)))) __PYX_ERR(0, 1347, __pyx_L1_error)
  __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "kivy/properties.pyx":1346
 *         s.options = self.options[:]
 * 
 *     cdef PropertyStorage create_property_storage(self):             # <<<<<<<<<<<<<<
 *         return OptionPropertyStorage.__new__(OptionPropertyStorage)
 * 
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.OptionProperty.create_property_storage", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1349
 *         return OptionPropertyStorage.__new__(OptionPropertyStorage)
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         if Property.check(self, obj, value, property_storage):
 *             return True
*/

static PyObject *__pyx_f_4kivy_10properties_14OptionProperty_check(struct __pyx_obj_4kivy_10properties_OptionProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage) {
  struct __pyx_obj_4kivy_10properties_OptionPropertyStorage *__pyx_v_ps = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8[7];
  PyObject *__pyx_t_9 = NULL;
  size_t __pyx_t_10;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("check", 0);

  /* "kivy/properties.pyx":1350
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):             # <<<<<<<<<<<<<<
 *             return True
 *         cdef OptionPropertyStorage ps = property_storage
*/
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_check(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_value, __pyx_v_property_storage); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1350, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1350, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":1351
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):
 *             return True             # <<<<<<<<<<<<<<
 *         cdef OptionPropertyStorage ps = property_storage
 *         if value not in ps.options:
*/
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(Py_True);
    __pyx_r = Py_True;
    goto __pyx_L0;

    /* "kivy/properties.pyx":1350
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):             # <<<<<<<<<<<<<<
 *             return True
 *         cdef OptionPropertyStorage ps = property_storage
*/
  }

  /* "kivy/properties.pyx":1352
 *         if Property.check(self, obj, value, property_storage):
 *             return True
 *         cdef OptionPropertyStorage ps = property_storage             # <<<<<<<<<<<<<<
 *         if value not in ps.options:
 *             raise ValueError('%s.%s is set to an invalid option %r. '
*/
  __pyx_t_1 = ((PyObject *)__pyx_v_property_storage);
  __Pyx_INCREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_OptionPropertyStorage))))) __PYX_ERR(0, 1352, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_OptionPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1353
 *             return True
 *         cdef OptionPropertyStorage ps = property_storage
 *         if value not in ps.options:             # <<<<<<<<<<<<<<
 *             raise ValueError('%s.%s is set to an invalid option %r. '
 *                              'Must be one of: %s' % (
*/
  __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_v_value, __pyx_v_ps->options, Py_NE)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1353, __pyx_L1_error)
  if (unlikely(__pyx_t_2)) {

    /* "kivy/properties.pyx":1354
 *         cdef OptionPropertyStorage ps = property_storage
 *         if value not in ps.options:
 *             raise ValueError('%s.%s is set to an invalid option %r. '             # <<<<<<<<<<<<<<
 *                              'Must be one of: %s' % (
 *                              obj.__class__.__name__,
*/
    __pyx_t_3 = NULL;

    /* "kivy/properties.pyx":1356
 *             raise ValueError('%s.%s is set to an invalid option %r. '
 *                              'Must be one of: %s' % (
 *                              obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                              self.name,
 *                              value, ps.options))
*/
    __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1356, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1356, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __pyx_t_4 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_5), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1356, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

    /* "kivy/properties.pyx":1357
 *                              'Must be one of: %s' % (
 *                              obj.__class__.__name__,
 *                              self.name,             # <<<<<<<<<<<<<<
 *                              value, ps.options))
 * 
*/
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1357, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __pyx_t_6 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_5), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1357, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

    /* "kivy/properties.pyx":1358
 *                              obj.__class__.__name__,
 *                              self.name,
 *                              value, ps.options))             # <<<<<<<<<<<<<<
 * 
 *     @property
*/
    __pyx_t_5 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Repr(__pyx_v_value), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1358, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __pyx_t_7 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_v_ps->options), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1358, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_7);
    __pyx_t_8[0] = __pyx_t_4;
    __pyx_t_8[1] = __pyx_mstate_global->__pyx_kp_u__4;
    __pyx_t_8[2] = __pyx_t_6;
    __pyx_t_8[3] = __pyx_mstate_global->__pyx_kp_u_is_set_to_an_invalid_option;
    __pyx_t_8[4] = __pyx_t_5;
    __pyx_t_8[5] = __pyx_mstate_global->__pyx_kp_u_Must_be_one_of;
    __pyx_t_8[6] = __pyx_t_7;

    /* "kivy/properties.pyx":1354
 *         cdef OptionPropertyStorage ps = property_storage
 *         if value not in ps.options:
 *             raise ValueError('%s.%s is set to an invalid option %r. '             # <<<<<<<<<<<<<<
 *                              'Must be one of: %s' % (
 *                              obj.__class__.__name__,
*/
    __pyx_t_9 = __Pyx_PyUnicode_Join(__pyx_t_8, 7, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_4) + 1 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_6) + 29 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_5) + 18 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7), 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_4) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_5) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7));
    if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1354, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_9);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    __pyx_t_10 = 1;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_t_9};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_10, (2-__pyx_t_10) | (__pyx_t_10*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1354, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_Raise(__pyx_t_1, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __PYX_ERR(0, 1354, __pyx_L1_error)

    /* "kivy/properties.pyx":1353
 *             return True
 *         cdef OptionPropertyStorage ps = property_storage
 *         if value not in ps.options:             # <<<<<<<<<<<<<<
 *             raise ValueError('%s.%s is set to an invalid option %r. '
 *                              'Must be one of: %s' % (
*/
  }

  /* "kivy/properties.pyx":1349
 *         return OptionPropertyStorage.__new__(OptionPropertyStorage)
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         if Property.check(self, obj, value, property_storage):
 *             return True
*/

  /* 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_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_AddTraceback("kivy.properties.OptionProperty.check", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1360
 *                              value, ps.options))
 * 
 *     @property             # <<<<<<<<<<<<<<
 *     def options(self):
 *         '''Return the options available.
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14OptionProperty_7options_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_4kivy_10properties_14OptionProperty_7options_1__get__(PyObject *__pyx_v_self) {
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_r = __pyx_pf_4kivy_10properties_14OptionProperty_7options___get__(((struct __pyx_obj_4kivy_10properties_OptionProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_14OptionProperty_7options___get__(struct __pyx_obj_4kivy_10properties_OptionProperty *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__", 0);

  /* "kivy/properties.pyx":1366
 *         .. versionadded:: 1.0.9
 *         '''
 *         return self.options             # <<<<<<<<<<<<<<
 * 
 * class ObservableReferenceList(ObservableList):
*/
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_self->options);
  __pyx_r = __pyx_v_self->options;
  goto __pyx_L0;

  /* "kivy/properties.pyx":1360
 *                              value, ps.options))
 * 
 *     @property             # <<<<<<<<<<<<<<
 *     def options(self):
 *         '''Return the options available.
*/

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

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14OptionProperty_5__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14OptionProperty_4__reduce_cython__, "OptionProperty.__reduce_cython__(self)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14OptionProperty_5__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14OptionProperty_5__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14OptionProperty_4__reduce_cython__};
static PyObject *__pyx_pw_4kivy_10properties_14OptionProperty_5__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return NULL;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__reduce_cython__", __pyx_kwds); return NULL;}
  __pyx_r = __pyx_pf_4kivy_10properties_14OptionProperty_4__reduce_cython__(((struct __pyx_obj_4kivy_10properties_OptionProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_14OptionProperty_4__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_OptionProperty *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.OptionProperty.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_14OptionProperty_7__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_14OptionProperty_6__setstate_cython__, "OptionProperty.__setstate_cython__(self, __pyx_state)");
static PyMethodDef __pyx_mdef_4kivy_10properties_14OptionProperty_7__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14OptionProperty_7__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14OptionProperty_6__setstate_cython__};
static PyObject *__pyx_pw_4kivy_10properties_14OptionProperty_7__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  CYTHON_UNUSED PyObject *__pyx_v___pyx_state = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 3, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 3, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
    }
    __pyx_v___pyx_state = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.OptionProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_14OptionProperty_6__setstate_cython__(((struct __pyx_obj_4kivy_10properties_OptionProperty *)__pyx_v_self), __pyx_v___pyx_state);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_14OptionProperty_6__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_OptionProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.OptionProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1369
 * 
 * class ObservableReferenceList(ObservableList):
 *     def __setitem__(self, key, value, update_properties=True):             # <<<<<<<<<<<<<<
 *         list.__setitem__(self, key, value)
 *         if update_properties:
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_23ObservableReferenceList_1__setitem__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_23ObservableReferenceList___setitem__, "ObservableReferenceList.__setitem__(self, key, value, update_properties=True)");
static PyMethodDef __pyx_mdef_4kivy_10properties_23ObservableReferenceList_1__setitem__ = {"__setitem__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_23ObservableReferenceList_1__setitem__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_23ObservableReferenceList___setitem__};
static PyObject *__pyx_pw_4kivy_10properties_23ObservableReferenceList_1__setitem__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_key = 0;
  PyObject *__pyx_v_value = 0;
  PyObject *__pyx_v_update_properties = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[4] = {0,0,0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setitem__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,&__pyx_mstate_global->__pyx_n_u_key,&__pyx_mstate_global->__pyx_n_u_value,&__pyx_mstate_global->__pyx_n_u_update_properties,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1369, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  4:
        values[3] = __Pyx_ArgRef_FASTCALL(__pyx_args, 3);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 1369, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 1369, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1369, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1369, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setitem__", 0) < (0)) __PYX_ERR(0, 1369, __pyx_L3_error)
      if (!values[3]) values[3] = __Pyx_NewRef(((PyObject *)((PyObject*)Py_True)));
      for (Py_ssize_t i = __pyx_nargs; i < 3; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setitem__", 0, 3, 4, i); __PYX_ERR(0, 1369, __pyx_L3_error) }
      }
    } else {
      switch (__pyx_nargs) {
        case  4:
        values[3] = __Pyx_ArgRef_FASTCALL(__pyx_args, 3);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 1369, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 1369, __pyx_L3_error)
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1369, __pyx_L3_error)
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1369, __pyx_L3_error)
        break;
        default: goto __pyx_L5_argtuple_error;
      }
      if (!values[3]) values[3] = __Pyx_NewRef(((PyObject *)((PyObject*)Py_True)));
    }
    __pyx_v_self = values[0];
    __pyx_v_key = values[1];
    __pyx_v_value = values[2];
    __pyx_v_update_properties = values[3];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setitem__", 0, 3, 4, __pyx_nargs); __PYX_ERR(0, 1369, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ObservableReferenceList.__setitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_23ObservableReferenceList___setitem__(__pyx_self, __pyx_v_self, __pyx_v_key, __pyx_v_value, __pyx_v_update_properties);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_23ObservableReferenceList___setitem__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_key, PyObject *__pyx_v_value, PyObject *__pyx_v_update_properties) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  size_t __pyx_t_3;
  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("__setitem__", 0);

  /* "kivy/properties.pyx":1370
 * class ObservableReferenceList(ObservableList):
 *     def __setitem__(self, key, value, update_properties=True):
 *         list.__setitem__(self, key, value)             # <<<<<<<<<<<<<<
 *         if update_properties:
 *             self.prop.setitem(self.obj(), key, value)
*/
  __pyx_t_2 = ((PyObject *)(&PyList_Type));
  __Pyx_INCREF(__pyx_t_2);
  __pyx_t_3 = 0;
  {
    PyObject *__pyx_callargs[4] = {__pyx_t_2, __pyx_v_self, __pyx_v_key, __pyx_v_value};
    __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_setitem, __pyx_callargs+__pyx_t_3, (4-__pyx_t_3) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1370, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1371
 *     def __setitem__(self, key, value, update_properties=True):
 *         list.__setitem__(self, key, value)
 *         if update_properties:             # <<<<<<<<<<<<<<
 *             self.prop.setitem(self.obj(), key, value)
 * 
*/
  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_update_properties); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1371, __pyx_L1_error)
  if (__pyx_t_4) {

    /* "kivy/properties.pyx":1372
 *         list.__setitem__(self, key, value)
 *         if update_properties:
 *             self.prop.setitem(self.obj(), key, value)             # <<<<<<<<<<<<<<
 * 
 *     def __setslice__(self, start, stop, value, update_properties=True):  # Python 2 only method
*/
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_prop); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1372, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __pyx_t_2 = __pyx_t_5;
    __Pyx_INCREF(__pyx_t_2);
    __pyx_t_7 = __pyx_v_self;
    __Pyx_INCREF(__pyx_t_7);
    __pyx_t_3 = 0;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_7, NULL};
      __pyx_t_6 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_obj, __pyx_callargs+__pyx_t_3, (1-__pyx_t_3) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
      if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1372, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_6);
    }
    __pyx_t_3 = 0;
    {
      PyObject *__pyx_callargs[4] = {__pyx_t_2, __pyx_t_6, __pyx_v_key, __pyx_v_value};
      __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_setitem_2, __pyx_callargs+__pyx_t_3, (4-__pyx_t_3) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1372, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "kivy/properties.pyx":1371
 *     def __setitem__(self, key, value, update_properties=True):
 *         list.__setitem__(self, key, value)
 *         if update_properties:             # <<<<<<<<<<<<<<
 *             self.prop.setitem(self.obj(), key, value)
 * 
*/
  }

  /* "kivy/properties.pyx":1369
 * 
 * class ObservableReferenceList(ObservableList):
 *     def __setitem__(self, key, value, update_properties=True):             # <<<<<<<<<<<<<<
 *         list.__setitem__(self, key, value)
 *         if update_properties:
*/

  /* 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_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_AddTraceback("kivy.properties.ObservableReferenceList.__setitem__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1374
 *             self.prop.setitem(self.obj(), key, value)
 * 
 *     def __setslice__(self, start, stop, value, update_properties=True):  # Python 2 only method             # <<<<<<<<<<<<<<
 *         list.__setslice__(self, start, stop, value)
 *         if update_properties:
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_23ObservableReferenceList_3__setslice__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_23ObservableReferenceList_2__setslice__, "ObservableReferenceList.__setslice__(self, start, stop, value, update_properties=True)");
static PyMethodDef __pyx_mdef_4kivy_10properties_23ObservableReferenceList_3__setslice__ = {"__setslice__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_23ObservableReferenceList_3__setslice__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_23ObservableReferenceList_2__setslice__};
static PyObject *__pyx_pw_4kivy_10properties_23ObservableReferenceList_3__setslice__(PyObject *__pyx_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_self = 0;
  PyObject *__pyx_v_start = 0;
  PyObject *__pyx_v_stop = 0;
  PyObject *__pyx_v_value = 0;
  PyObject *__pyx_v_update_properties = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[5] = {0,0,0,0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setslice__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_self,&__pyx_mstate_global->__pyx_n_u_start,&__pyx_mstate_global->__pyx_n_u_stop,&__pyx_mstate_global->__pyx_n_u_value,&__pyx_mstate_global->__pyx_n_u_update_properties,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1374, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  5:
        values[4] = __Pyx_ArgRef_FASTCALL(__pyx_args, 4);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[4])) __PYX_ERR(0, 1374, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  4:
        values[3] = __Pyx_ArgRef_FASTCALL(__pyx_args, 3);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 1374, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 1374, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1374, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1374, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setslice__", 0) < (0)) __PYX_ERR(0, 1374, __pyx_L3_error)
      if (!values[4]) values[4] = __Pyx_NewRef(((PyObject *)((PyObject*)Py_True)));
      for (Py_ssize_t i = __pyx_nargs; i < 4; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setslice__", 0, 4, 5, i); __PYX_ERR(0, 1374, __pyx_L3_error) }
      }
    } else {
      switch (__pyx_nargs) {
        case  5:
        values[4] = __Pyx_ArgRef_FASTCALL(__pyx_args, 4);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[4])) __PYX_ERR(0, 1374, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  4:
        values[3] = __Pyx_ArgRef_FASTCALL(__pyx_args, 3);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 1374, __pyx_L3_error)
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 1374, __pyx_L3_error)
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1374, __pyx_L3_error)
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1374, __pyx_L3_error)
        break;
        default: goto __pyx_L5_argtuple_error;
      }
      if (!values[4]) values[4] = __Pyx_NewRef(((PyObject *)((PyObject*)Py_True)));
    }
    __pyx_v_self = values[0];
    __pyx_v_start = values[1];
    __pyx_v_stop = values[2];
    __pyx_v_value = values[3];
    __pyx_v_update_properties = values[4];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setslice__", 0, 4, 5, __pyx_nargs); __PYX_ERR(0, 1374, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ObservableReferenceList.__setslice__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_23ObservableReferenceList_2__setslice__(__pyx_self, __pyx_v_self, __pyx_v_start, __pyx_v_stop, __pyx_v_value, __pyx_v_update_properties);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_23ObservableReferenceList_2__setslice__(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_self, PyObject *__pyx_v_start, PyObject *__pyx_v_stop, PyObject *__pyx_v_value, PyObject *__pyx_v_update_properties) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  size_t __pyx_t_3;
  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("__setslice__", 0);

  /* "kivy/properties.pyx":1375
 * 
 *     def __setslice__(self, start, stop, value, update_properties=True):  # Python 2 only method
 *         list.__setslice__(self, start, stop, value)             # <<<<<<<<<<<<<<
 *         if update_properties:
 *             self.prop.setitem(self.obj(), slice(start, stop), value)
*/
  __pyx_t_2 = ((PyObject *)(&PyList_Type));
  __Pyx_INCREF(__pyx_t_2);
  __pyx_t_3 = 0;
  {
    PyObject *__pyx_callargs[5] = {__pyx_t_2, __pyx_v_self, __pyx_v_start, __pyx_v_stop, __pyx_v_value};
    __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_setslice, __pyx_callargs+__pyx_t_3, (5-__pyx_t_3) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1375, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1376
 *     def __setslice__(self, start, stop, value, update_properties=True):  # Python 2 only method
 *         list.__setslice__(self, start, stop, value)
 *         if update_properties:             # <<<<<<<<<<<<<<
 *             self.prop.setitem(self.obj(), slice(start, stop), value)
 * 
*/
  __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_update_properties); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1376, __pyx_L1_error)
  if (__pyx_t_4) {

    /* "kivy/properties.pyx":1377
 *         list.__setslice__(self, start, stop, value)
 *         if update_properties:
 *             self.prop.setitem(self.obj(), slice(start, stop), value)             # <<<<<<<<<<<<<<
 * 
 * cdef class ReferenceListProperty(Property):
*/
    __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_mstate_global->__pyx_n_u_prop); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1377, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __pyx_t_2 = __pyx_t_5;
    __Pyx_INCREF(__pyx_t_2);
    __pyx_t_7 = __pyx_v_self;
    __Pyx_INCREF(__pyx_t_7);
    __pyx_t_3 = 0;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_7, NULL};
      __pyx_t_6 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_obj, __pyx_callargs+__pyx_t_3, (1-__pyx_t_3) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
      if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1377, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_6);
    }
    __pyx_t_7 = PySlice_New(__pyx_v_start, __pyx_v_stop, Py_None); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1377, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_7);
    __pyx_t_3 = 0;
    {
      PyObject *__pyx_callargs[4] = {__pyx_t_2, __pyx_t_6, __pyx_t_7, __pyx_v_value};
      __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_setitem_2, __pyx_callargs+__pyx_t_3, (4-__pyx_t_3) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1377, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "kivy/properties.pyx":1376
 *     def __setslice__(self, start, stop, value, update_properties=True):  # Python 2 only method
 *         list.__setslice__(self, start, stop, value)
 *         if update_properties:             # <<<<<<<<<<<<<<
 *             self.prop.setitem(self.obj(), slice(start, stop), value)
 * 
*/
  }

  /* "kivy/properties.pyx":1374
 *             self.prop.setitem(self.obj(), key, value)
 * 
 *     def __setslice__(self, start, stop, value, update_properties=True):  # Python 2 only method             # <<<<<<<<<<<<<<
 *         list.__setslice__(self, start, stop, value)
 *         if update_properties:
*/

  /* 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_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_AddTraceback("kivy.properties.ObservableReferenceList.__setslice__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1396
 * 
 *     '''
 *     def __cinit__(self):             # <<<<<<<<<<<<<<
 *         self.properties = list()
 * 
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_21ReferenceListProperty_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_21ReferenceListProperty_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__cinit__", 1, 0, 0, __pyx_nargs); return -1; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return -1;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__cinit__", __pyx_kwds); return -1;}
  __pyx_r = __pyx_pf_4kivy_10properties_21ReferenceListProperty___cinit__(((struct __pyx_obj_4kivy_10properties_ReferenceListProperty *)__pyx_v_self));

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

static int __pyx_pf_4kivy_10properties_21ReferenceListProperty___cinit__(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self) {
  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("__cinit__", 0);

  /* "kivy/properties.pyx":1397
 *     '''
 *     def __cinit__(self):
 *         self.properties = list()             # <<<<<<<<<<<<<<
 * 
 *     def __init__(self, *largs, **kw):
*/
  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1397, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->properties);
  __Pyx_DECREF(__pyx_v_self->properties);
  __pyx_v_self->properties = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1396
 * 
 *     '''
 *     def __cinit__(self):             # <<<<<<<<<<<<<<
 *         self.properties = list()
 * 
*/

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.__cinit__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1399
 *         self.properties = list()
 * 
 *     def __init__(self, *largs, **kw):             # <<<<<<<<<<<<<<
 *         for prop in largs:
 *             self.properties.append(prop)
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_21ReferenceListProperty_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_21ReferenceListProperty_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_largs = 0;
  PyObject *__pyx_v_kw = 0;
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return -1;
  if (__pyx_kwds_len > 0) {
    if (unlikely(__Pyx_CheckKeywordStrings("__init__", __pyx_kwds) == -1)) return -1;
    __pyx_v_kw = __Pyx_KwargsAsDict_VARARGS(__pyx_kwds, __pyx_kwvalues);
    if (unlikely(!__pyx_v_kw)) return -1;
    __Pyx_GOTREF(__pyx_v_kw);
  } else {
    __pyx_v_kw = PyDict_New();
    if (unlikely(!__pyx_v_kw)) return -1;
    __Pyx_GOTREF(__pyx_v_kw);
  }
  __Pyx_INCREF(__pyx_args);
  __pyx_v_largs = __pyx_args;
  __pyx_r = __pyx_pf_4kivy_10properties_21ReferenceListProperty_2__init__(((struct __pyx_obj_4kivy_10properties_ReferenceListProperty *)__pyx_v_self), __pyx_v_largs, __pyx_v_kw);

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

static int __pyx_pf_4kivy_10properties_21ReferenceListProperty_2__init__(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, PyObject *__pyx_v_largs, PyObject *__pyx_v_kw) {
  PyObject *__pyx_v_prop = NULL;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  Py_ssize_t __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  int __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  size_t __pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "kivy/properties.pyx":1400
 * 
 *     def __init__(self, *largs, **kw):
 *         for prop in largs:             # <<<<<<<<<<<<<<
 *             self.properties.append(prop)
 *         Property.__init__(self, largs, **kw)
*/
  __pyx_t_1 = __pyx_v_largs; __Pyx_INCREF(__pyx_t_1);
  __pyx_t_2 = 0;
  for (;;) {
    {
      Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_1);
      #if !CYTHON_ASSUME_SAFE_SIZE
      if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1400, __pyx_L1_error)
      #endif
      if (__pyx_t_2 >= __pyx_temp) break;
    }
    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
    __pyx_t_3 = __Pyx_NewRef(PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2));
    #else
    __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_1, __pyx_t_2);
    #endif
    ++__pyx_t_2;
    if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1400, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_XDECREF_SET(__pyx_v_prop, __pyx_t_3);
    __pyx_t_3 = 0;

    /* "kivy/properties.pyx":1401
 *     def __init__(self, *largs, **kw):
 *         for prop in largs:
 *             self.properties.append(prop)             # <<<<<<<<<<<<<<
 *         Property.__init__(self, largs, **kw)
 * 
*/
    if (unlikely(__pyx_v_self->properties == Py_None)) {
      PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "append");
      __PYX_ERR(0, 1401, __pyx_L1_error)
    }
    __pyx_t_4 = __Pyx_PyList_Append(__pyx_v_self->properties, __pyx_v_prop); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(0, 1401, __pyx_L1_error)

    /* "kivy/properties.pyx":1400
 * 
 *     def __init__(self, *largs, **kw):
 *         for prop in largs:             # <<<<<<<<<<<<<<
 *             self.properties.append(prop)
 *         Property.__init__(self, largs, **kw)
*/
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1402
 *         for prop in largs:
 *             self.properties.append(prop)
 *         Property.__init__(self, largs, **kw)             # <<<<<<<<<<<<<<
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):
*/
  __pyx_t_3 = NULL;
  __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property), __pyx_mstate_global->__pyx_n_u_init); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1402, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  __pyx_t_6 = PyDict_Copy(__pyx_v_kw); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1402, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_6);
  __pyx_t_7 = 1;
  #if CYTHON_UNPACK_METHODS
  if (likely(PyMethod_Check(__pyx_t_5))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_5);
    assert(__pyx_t_3);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_5);
    __Pyx_INCREF(__pyx_t_3);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_5, __pyx__function);
    __pyx_t_7 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_self), __pyx_v_largs};
    __pyx_t_1 = __Pyx_PyObject_FastCallDict((PyObject*)__pyx_t_5, __pyx_callargs+__pyx_t_7, (3-__pyx_t_7) | (__pyx_t_7*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_6);
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1402, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1399
 *         self.properties = list()
 * 
 *     def __init__(self, *largs, **kw):             # <<<<<<<<<<<<<<
 *         for prop in largs:
 *             self.properties.append(prop)
*/

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_prop);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1404
 *         Property.__init__(self, largs, **kw)
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):             # <<<<<<<<<<<<<<
 *         Property.init_storage(self, obj, storage)
 *         cdef ReferenceListPropertyStorage s = storage
*/

static PyObject *__pyx_f_4kivy_10properties_21ReferenceListProperty_init_storage(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_storage) {
  struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *__pyx_v_s = 0;
  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("init_storage", 0);

  /* "kivy/properties.pyx":1405
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):
 *         Property.init_storage(self, obj, storage)             # <<<<<<<<<<<<<<
 *         cdef ReferenceListPropertyStorage s = storage
 *         s.properties = tuple(self.properties)
*/
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_init_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_storage); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1405, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1406
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):
 *         Property.init_storage(self, obj, storage)
 *         cdef ReferenceListPropertyStorage s = storage             # <<<<<<<<<<<<<<
 *         s.properties = tuple(self.properties)
 *         s.stop_event = 0
*/
  __pyx_t_1 = ((PyObject *)__pyx_v_storage);
  __Pyx_INCREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage))))) __PYX_ERR(0, 1406, __pyx_L1_error)
  __pyx_v_s = ((struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1407
 *         Property.init_storage(self, obj, storage)
 *         cdef ReferenceListPropertyStorage s = storage
 *         s.properties = tuple(self.properties)             # <<<<<<<<<<<<<<
 *         s.stop_event = 0
 * 
*/
  if (unlikely(__pyx_v_self->properties == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
    __PYX_ERR(0, 1407, __pyx_L1_error)
  }
  __pyx_t_1 = PyList_AsTuple(__pyx_v_self->properties); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1407, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_s->properties);
  __Pyx_DECREF(__pyx_v_s->properties);
  __pyx_v_s->properties = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1408
 *         cdef ReferenceListPropertyStorage s = storage
 *         s.properties = tuple(self.properties)
 *         s.stop_event = 0             # <<<<<<<<<<<<<<
 * 
 *     cdef PropertyStorage create_property_storage(self):
*/
  __pyx_v_s->stop_event = 0;

  /* "kivy/properties.pyx":1404
 *         Property.__init__(self, largs, **kw)
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):             # <<<<<<<<<<<<<<
 *         Property.init_storage(self, obj, storage)
 *         cdef ReferenceListPropertyStorage s = storage
*/

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.init_storage", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_s);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1410
 *         s.stop_event = 0
 * 
 *     cdef PropertyStorage create_property_storage(self):             # <<<<<<<<<<<<<<
 *         return ReferenceListPropertyStorage.__new__(ReferenceListPropertyStorage)
 * 
*/

static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_21ReferenceListProperty_create_property_storage(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__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("create_property_storage", 0);

  /* "kivy/properties.pyx":1411
 * 
 *     cdef PropertyStorage create_property_storage(self):
 *         return ReferenceListPropertyStorage.__new__(ReferenceListPropertyStorage)             # <<<<<<<<<<<<<<
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):
*/
  __Pyx_XDECREF((PyObject *)__pyx_r);
  __pyx_t_1 = ((PyObject *)__pyx_tp_new_4kivy_10properties_ReferenceListPropertyStorage(((PyTypeObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage), __pyx_mstate_global->__pyx_empty_tuple, NULL)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1411, __pyx_L1_error)
  __Pyx_GOTREF((PyObject *)__pyx_t_1);
  if (!(likely(__Pyx_TypeTest(((PyObject *)__pyx_t_1), __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage)))) __PYX_ERR(0, 1411, __pyx_L1_error)
  __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "kivy/properties.pyx":1410
 *         s.stop_event = 0
 * 
 *     cdef PropertyStorage create_property_storage(self):             # <<<<<<<<<<<<<<
 *         return ReferenceListPropertyStorage.__new__(ReferenceListPropertyStorage)
 * 
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.create_property_storage", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1413
 *         return ReferenceListPropertyStorage.__new__(ReferenceListPropertyStorage)
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         cdef ReferenceListPropertyStorage ps = Property.link(self, obj, name)
 *         ps.value = ObservableReferenceList(self, obj, ps.value)
*/

static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_5link(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_21ReferenceListProperty_link(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *__pyx_v_ps = 0;
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__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;
  size_t __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("link", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_link); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1413, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_21ReferenceListProperty_5link)) {
        __Pyx_XDECREF((PyObject *)__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_name};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1413, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage))))) __PYX_ERR(0, 1413, __pyx_L1_error)
        __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_2);
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":1414
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):
 *         cdef ReferenceListPropertyStorage ps = Property.link(self, obj, name)             # <<<<<<<<<<<<<<
 *         ps.value = ObservableReferenceList(self, obj, ps.value)
 *         return ps
*/
  __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_8Property_link(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_name, 1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1414, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage))))) __PYX_ERR(0, 1414, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1415
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):
 *         cdef ReferenceListPropertyStorage ps = Property.link(self, obj, name)
 *         ps.value = ObservableReferenceList(self, obj, ps.value)             # <<<<<<<<<<<<<<
 *         return ps
 * 
*/
  __pyx_t_2 = NULL;
  __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_ObservableReferenceList); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1415, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (unlikely(PyMethod_Check(__pyx_t_4))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[4] = {__pyx_t_2, ((PyObject *)__pyx_v_self), ((PyObject *)__pyx_v_obj), __pyx_v_ps->__pyx_base.value};
    __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1415, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_ps->__pyx_base.value);
  __Pyx_DECREF(__pyx_v_ps->__pyx_base.value);
  __pyx_v_ps->__pyx_base.value = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1416
 *         cdef ReferenceListPropertyStorage ps = Property.link(self, obj, name)
 *         ps.value = ObservableReferenceList(self, obj, ps.value)
 *         return ps             # <<<<<<<<<<<<<<
 * 
 *     cpdef link_deps(self, EventDispatcher obj, str name):
*/
  __Pyx_XDECREF((PyObject *)__pyx_r);
  __Pyx_INCREF((PyObject *)__pyx_v_ps);
  __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_v_ps);
  goto __pyx_L0;

  /* "kivy/properties.pyx":1413
 *         return ReferenceListPropertyStorage.__new__(ReferenceListPropertyStorage)
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         cdef ReferenceListPropertyStorage ps = Property.link(self, obj, name)
 *         ps.value = ObservableReferenceList(self, obj, ps.value)
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.link", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_5link(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_21ReferenceListProperty_4link, "ReferenceListProperty.link(self, EventDispatcher obj, str name) -> PropertyStorage");
static PyMethodDef __pyx_mdef_4kivy_10properties_21ReferenceListProperty_5link = {"link", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_21ReferenceListProperty_5link, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_21ReferenceListProperty_4link};
static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_5link(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_name = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("link (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_name_3,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1413, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1413, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1413, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "link", 0) < (0)) __PYX_ERR(0, 1413, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("link", 1, 2, 2, i); __PYX_ERR(0, 1413, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1413, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1413, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_name = ((PyObject*)values[1]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("link", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 1413, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.link", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 1413, __pyx_L1_error)
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_name), (&PyUnicode_Type), 1, "name", 1))) __PYX_ERR(0, 1413, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_21ReferenceListProperty_4link(((struct __pyx_obj_4kivy_10properties_ReferenceListProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v_name);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_21ReferenceListProperty_4link(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, 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("link", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_21ReferenceListProperty_link(__pyx_v_self, __pyx_v_obj, __pyx_v_name, 1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1413, __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("kivy.properties.ReferenceListProperty.link", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1418
 *         return ps
 * 
 *     cpdef link_deps(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         cdef Property prop
 *         Property.link_deps(self, obj, name)
*/

static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_7link_deps(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_21ReferenceListProperty_link_deps(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_Property *__pyx_v_prop = 0;
  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;
  size_t __pyx_t_5;
  Py_ssize_t __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("link_deps", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_link_deps); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1418, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_21ReferenceListProperty_7link_deps)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_name};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1418, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":1420
 *     cpdef link_deps(self, EventDispatcher obj, str name):
 *         cdef Property prop
 *         Property.link_deps(self, obj, name)             # <<<<<<<<<<<<<<
 *         for prop in self.properties:
 *             prop.fbind(obj, self.trigger_change, 0)
*/
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_link_deps(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_name, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1420, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1421
 *         cdef Property prop
 *         Property.link_deps(self, obj, name)
 *         for prop in self.properties:             # <<<<<<<<<<<<<<
 *             prop.fbind(obj, self.trigger_change, 0)
 * 
*/
  if (unlikely(__pyx_v_self->properties == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
    __PYX_ERR(0, 1421, __pyx_L1_error)
  }
  __pyx_t_1 = __pyx_v_self->properties; __Pyx_INCREF(__pyx_t_1);
  __pyx_t_6 = 0;
  for (;;) {
    {
      Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_1);
      #if !CYTHON_ASSUME_SAFE_SIZE
      if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1421, __pyx_L1_error)
      #endif
      if (__pyx_t_6 >= __pyx_temp) break;
    }
    __pyx_t_2 = __Pyx_PyList_GetItemRefFast(__pyx_t_1, __pyx_t_6, __Pyx_ReferenceSharing_OwnStrongReference);
    ++__pyx_t_6;
    if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1421, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property))))) __PYX_ERR(0, 1421, __pyx_L1_error)
    __Pyx_XDECREF_SET(__pyx_v_prop, ((struct __pyx_obj_4kivy_10properties_Property *)__pyx_t_2));
    __pyx_t_2 = 0;

    /* "kivy/properties.pyx":1422
 *         Property.link_deps(self, obj, name)
 *         for prop in self.properties:
 *             prop.fbind(obj, self.trigger_change, 0)             # <<<<<<<<<<<<<<
 * 
 *     cpdef trigger_change(self, EventDispatcher obj, value):
*/
    __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trigger_change); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1422, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_4 = ((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_prop->__pyx_vtab)->fbind(__pyx_v_prop, __pyx_v_obj, __pyx_t_2, 0, 0, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1422, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

    /* "kivy/properties.pyx":1421
 *         cdef Property prop
 *         Property.link_deps(self, obj, name)
 *         for prop in self.properties:             # <<<<<<<<<<<<<<
 *             prop.fbind(obj, self.trigger_change, 0)
 * 
*/
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1418
 *         return ps
 * 
 *     cpdef link_deps(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         cdef Property prop
 *         Property.link_deps(self, obj, 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("kivy.properties.ReferenceListProperty.link_deps", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_prop);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_7link_deps(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_21ReferenceListProperty_6link_deps, "ReferenceListProperty.link_deps(self, EventDispatcher obj, str name)");
static PyMethodDef __pyx_mdef_4kivy_10properties_21ReferenceListProperty_7link_deps = {"link_deps", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_21ReferenceListProperty_7link_deps, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_21ReferenceListProperty_6link_deps};
static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_7link_deps(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_name = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("link_deps (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_name_3,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1418, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1418, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1418, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "link_deps", 0) < (0)) __PYX_ERR(0, 1418, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("link_deps", 1, 2, 2, i); __PYX_ERR(0, 1418, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1418, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1418, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_name = ((PyObject*)values[1]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("link_deps", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 1418, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.link_deps", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 1418, __pyx_L1_error)
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_name), (&PyUnicode_Type), 1, "name", 1))) __PYX_ERR(0, 1418, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_21ReferenceListProperty_6link_deps(((struct __pyx_obj_4kivy_10properties_ReferenceListProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v_name);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_21ReferenceListProperty_6link_deps(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, 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("link_deps", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_4kivy_10properties_21ReferenceListProperty_link_deps(__pyx_v_self, __pyx_v_obj, __pyx_v_name, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1418, __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("kivy.properties.ReferenceListProperty.link_deps", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1424
 *             prop.fbind(obj, self.trigger_change, 0)
 * 
 *     cpdef trigger_change(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.stop_event:
*/

static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_9trigger_change(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_21ReferenceListProperty_trigger_change(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_value, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *__pyx_v_ps = 0;
  PyObject *__pyx_v_p = NULL;
  PyObject *__pyx_7genexpr__pyx_v_prop = NULL;
  PyObject *__pyx_8genexpr1__pyx_v_prop = 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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  PyObject *__pyx_t_9 = NULL;
  Py_ssize_t __pyx_t_10;
  PyObject *__pyx_t_11 = NULL;
  PyObject *__pyx_t_12 = NULL;
  PyObject *__pyx_t_13 = NULL;
  int __pyx_t_14;
  PyObject *__pyx_t_15 = NULL;
  PyObject *__pyx_t_16 = NULL;
  PyObject *__pyx_t_17 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("trigger_change", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trigger_change); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1424, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_21ReferenceListProperty_9trigger_change)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_value};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1424, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":1425
 * 
 *     cpdef trigger_change(self, EventDispatcher obj, value):
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         if ps.stop_event:
 *             return
*/
  __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_ReferenceListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get_property_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1425, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage))))) __PYX_ERR(0, 1425, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1426
 *     cpdef trigger_change(self, EventDispatcher obj, value):
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.stop_event:             # <<<<<<<<<<<<<<
 *             return
 *         p = ps.properties
*/
  __pyx_t_6 = (__pyx_v_ps->stop_event != 0);
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":1427
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.stop_event:
 *             return             # <<<<<<<<<<<<<<
 *         p = ps.properties
 * 
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_r = Py_None; __Pyx_INCREF(Py_None);
    goto __pyx_L0;

    /* "kivy/properties.pyx":1426
 *     cpdef trigger_change(self, EventDispatcher obj, value):
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.stop_event:             # <<<<<<<<<<<<<<
 *             return
 *         p = ps.properties
*/
  }

  /* "kivy/properties.pyx":1428
 *         if ps.stop_event:
 *             return
 *         p = ps.properties             # <<<<<<<<<<<<<<
 * 
 *         try:
*/
  __pyx_t_1 = __pyx_v_ps->properties;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_v_p = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1430
 *         p = ps.properties
 * 
 *         try:             # <<<<<<<<<<<<<<
 *             ps.value.__setslice__(0, len(p),
 *                     [prop.get(obj) for prop in p],
*/
  {
    __Pyx_PyThreadState_declare
    __Pyx_PyThreadState_assign
    __Pyx_ExceptionSave(&__pyx_t_7, &__pyx_t_8, &__pyx_t_9);
    __Pyx_XGOTREF(__pyx_t_7);
    __Pyx_XGOTREF(__pyx_t_8);
    __Pyx_XGOTREF(__pyx_t_9);
    /*try:*/ {

      /* "kivy/properties.pyx":1431
 * 
 *         try:
 *             ps.value.__setslice__(0, len(p),             # <<<<<<<<<<<<<<
 *                     [prop.get(obj) for prop in p],
 *                     update_properties=False)
*/
      __pyx_t_2 = __pyx_v_ps->__pyx_base.value;
      __Pyx_INCREF(__pyx_t_2);
      if (unlikely(__pyx_v_p == Py_None)) {
        PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
        __PYX_ERR(0, 1431, __pyx_L4_error)
      }
      __pyx_t_10 = __Pyx_PyTuple_GET_SIZE(__pyx_v_p); if (unlikely(__pyx_t_10 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1431, __pyx_L4_error)
      __pyx_t_4 = PyLong_FromSsize_t(__pyx_t_10); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1431, __pyx_L4_error)
      __Pyx_GOTREF(__pyx_t_4);
      { /* enter inner scope */

        /* "kivy/properties.pyx":1432
 *         try:
 *             ps.value.__setslice__(0, len(p),
 *                     [prop.get(obj) for prop in p],             # <<<<<<<<<<<<<<
 *                     update_properties=False)
 *         except AttributeError:
*/
        __pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1432, __pyx_L12_error)
        __Pyx_GOTREF(__pyx_t_3);
        if (unlikely(__pyx_v_p == Py_None)) {
          PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
          __PYX_ERR(0, 1432, __pyx_L12_error)
        }
        __pyx_t_11 = __pyx_v_p; __Pyx_INCREF(__pyx_t_11);
        __pyx_t_10 = 0;
        for (;;) {
          {
            Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_11);
            #if !CYTHON_ASSUME_SAFE_SIZE
            if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1432, __pyx_L12_error)
            #endif
            if (__pyx_t_10 >= __pyx_temp) break;
          }
          #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
          __pyx_t_12 = __Pyx_NewRef(PyTuple_GET_ITEM(__pyx_t_11, __pyx_t_10));
          #else
          __pyx_t_12 = __Pyx_PySequence_ITEM(__pyx_t_11, __pyx_t_10);
          #endif
          ++__pyx_t_10;
          if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1432, __pyx_L12_error)
          __Pyx_GOTREF(__pyx_t_12);
          __Pyx_XDECREF_SET(__pyx_7genexpr__pyx_v_prop, __pyx_t_12);
          __pyx_t_12 = 0;
          __pyx_t_13 = __pyx_7genexpr__pyx_v_prop;
          __Pyx_INCREF(__pyx_t_13);
          __pyx_t_5 = 0;
          {
            PyObject *__pyx_callargs[2] = {__pyx_t_13, ((PyObject *)__pyx_v_obj)};
            __pyx_t_12 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
            __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0;
            if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1432, __pyx_L12_error)
            __Pyx_GOTREF(__pyx_t_12);
          }
          if (unlikely(__Pyx_ListComp_Append(__pyx_t_3, (PyObject*)__pyx_t_12))) __PYX_ERR(0, 1432, __pyx_L12_error)
          __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
        }
        __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
        __Pyx_XDECREF(__pyx_7genexpr__pyx_v_prop); __pyx_7genexpr__pyx_v_prop = 0;
        goto __pyx_L16_exit_scope;
        __pyx_L12_error:;
        __Pyx_XDECREF(__pyx_7genexpr__pyx_v_prop); __pyx_7genexpr__pyx_v_prop = 0;
        goto __pyx_L4_error;
        __pyx_L16_exit_scope:;
      } /* exit inner scope */

      /* "kivy/properties.pyx":1433
 *             ps.value.__setslice__(0, len(p),
 *                     [prop.get(obj) for prop in p],
 *                     update_properties=False)             # <<<<<<<<<<<<<<
 *         except AttributeError:
 *             ps.value.__setitem__(slice(len(p)),
*/
      __pyx_t_5 = 0;
      {
        PyObject *__pyx_callargs[4 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_2, __pyx_mstate_global->__pyx_int_0, __pyx_t_4, __pyx_t_3};
        __pyx_t_11 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1431, __pyx_L4_error)
        __Pyx_GOTREF(__pyx_t_11);
        if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_update_properties, Py_False, __pyx_t_11, __pyx_callargs+4, 0) < (0)) __PYX_ERR(0, 1431, __pyx_L4_error)
        __pyx_t_1 = __Pyx_Object_VectorcallMethod_CallFromBuilder((PyObject*)__pyx_mstate_global->__pyx_n_u_setslice, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_11);
        __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
        __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
        if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1431, __pyx_L4_error)
        __Pyx_GOTREF(__pyx_t_1);
      }
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

      /* "kivy/properties.pyx":1430
 *         p = ps.properties
 * 
 *         try:             # <<<<<<<<<<<<<<
 *             ps.value.__setslice__(0, len(p),
 *                     [prop.get(obj) for prop in p],
*/
    }
    __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
    __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
    __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
    goto __pyx_L9_try_end;
    __pyx_L4_error:;
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
    __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
    __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 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_4); __pyx_t_4 = 0;

    /* "kivy/properties.pyx":1434
 *                     [prop.get(obj) for prop in p],
 *                     update_properties=False)
 *         except AttributeError:             # <<<<<<<<<<<<<<
 *             ps.value.__setitem__(slice(len(p)),
 *                     [prop.get(obj) for prop in p],
*/
    __pyx_t_14 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(((PyTypeObject*)PyExc_AttributeError))));
    if (__pyx_t_14) {
      __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.trigger_change", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_11, &__pyx_t_3) < 0) __PYX_ERR(0, 1434, __pyx_L6_except_error)
      __Pyx_XGOTREF(__pyx_t_1);
      __Pyx_XGOTREF(__pyx_t_11);
      __Pyx_XGOTREF(__pyx_t_3);

      /* "kivy/properties.pyx":1435
 *                     update_properties=False)
 *         except AttributeError:
 *             ps.value.__setitem__(slice(len(p)),             # <<<<<<<<<<<<<<
 *                     [prop.get(obj) for prop in p],
 *                     update_properties=False)
*/
      __pyx_t_2 = __pyx_v_ps->__pyx_base.value;
      __Pyx_INCREF(__pyx_t_2);
      if (unlikely(__pyx_v_p == Py_None)) {
        PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
        __PYX_ERR(0, 1435, __pyx_L6_except_error)
      }
      __pyx_t_10 = __Pyx_PyTuple_GET_SIZE(__pyx_v_p); if (unlikely(__pyx_t_10 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1435, __pyx_L6_except_error)
      __pyx_t_12 = PyLong_FromSsize_t(__pyx_t_10); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1435, __pyx_L6_except_error)
      __Pyx_GOTREF(__pyx_t_12);
      __pyx_t_13 = PySlice_New(Py_None, __pyx_t_12, Py_None); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 1435, __pyx_L6_except_error)
      __Pyx_GOTREF(__pyx_t_13);
      __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
      { /* enter inner scope */

        /* "kivy/properties.pyx":1436
 *         except AttributeError:
 *             ps.value.__setitem__(slice(len(p)),
 *                     [prop.get(obj) for prop in p],             # <<<<<<<<<<<<<<
 *                     update_properties=False)
 * 
*/
        __pyx_t_12 = PyList_New(0); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1436, __pyx_L21_error)
        __Pyx_GOTREF(__pyx_t_12);
        if (unlikely(__pyx_v_p == Py_None)) {
          PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
          __PYX_ERR(0, 1436, __pyx_L21_error)
        }
        __pyx_t_15 = __pyx_v_p; __Pyx_INCREF(__pyx_t_15);
        __pyx_t_10 = 0;
        for (;;) {
          {
            Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_15);
            #if !CYTHON_ASSUME_SAFE_SIZE
            if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1436, __pyx_L21_error)
            #endif
            if (__pyx_t_10 >= __pyx_temp) break;
          }
          #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
          __pyx_t_16 = __Pyx_NewRef(PyTuple_GET_ITEM(__pyx_t_15, __pyx_t_10));
          #else
          __pyx_t_16 = __Pyx_PySequence_ITEM(__pyx_t_15, __pyx_t_10);
          #endif
          ++__pyx_t_10;
          if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 1436, __pyx_L21_error)
          __Pyx_GOTREF(__pyx_t_16);
          __Pyx_XDECREF_SET(__pyx_8genexpr1__pyx_v_prop, __pyx_t_16);
          __pyx_t_16 = 0;
          __pyx_t_17 = __pyx_8genexpr1__pyx_v_prop;
          __Pyx_INCREF(__pyx_t_17);
          __pyx_t_5 = 0;
          {
            PyObject *__pyx_callargs[2] = {__pyx_t_17, ((PyObject *)__pyx_v_obj)};
            __pyx_t_16 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
            __Pyx_XDECREF(__pyx_t_17); __pyx_t_17 = 0;
            if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 1436, __pyx_L21_error)
            __Pyx_GOTREF(__pyx_t_16);
          }
          if (unlikely(__Pyx_ListComp_Append(__pyx_t_12, (PyObject*)__pyx_t_16))) __PYX_ERR(0, 1436, __pyx_L21_error)
          __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0;
        }
        __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0;
        __Pyx_XDECREF(__pyx_8genexpr1__pyx_v_prop); __pyx_8genexpr1__pyx_v_prop = 0;
        goto __pyx_L25_exit_scope;
        __pyx_L21_error:;
        __Pyx_XDECREF(__pyx_8genexpr1__pyx_v_prop); __pyx_8genexpr1__pyx_v_prop = 0;
        goto __pyx_L6_except_error;
        __pyx_L25_exit_scope:;
      } /* exit inner scope */

      /* "kivy/properties.pyx":1437
 *             ps.value.__setitem__(slice(len(p)),
 *                     [prop.get(obj) for prop in p],
 *                     update_properties=False)             # <<<<<<<<<<<<<<
 * 
 *         self._dispatch(obj, ps)
*/
      __pyx_t_5 = 0;
      {
        PyObject *__pyx_callargs[3 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_2, __pyx_t_13, __pyx_t_12};
        __pyx_t_15 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1435, __pyx_L6_except_error)
        __Pyx_GOTREF(__pyx_t_15);
        if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_update_properties, Py_False, __pyx_t_15, __pyx_callargs+3, 0) < (0)) __PYX_ERR(0, 1435, __pyx_L6_except_error)
        __pyx_t_4 = __Pyx_Object_VectorcallMethod_CallFromBuilder((PyObject*)__pyx_mstate_global->__pyx_n_u_setitem, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_15);
        __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
        __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
        __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0;
        if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1435, __pyx_L6_except_error)
        __Pyx_GOTREF(__pyx_t_4);
      }
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      goto __pyx_L5_exception_handled;
    }
    goto __pyx_L6_except_error;

    /* "kivy/properties.pyx":1430
 *         p = ps.properties
 * 
 *         try:             # <<<<<<<<<<<<<<
 *             ps.value.__setslice__(0, len(p),
 *                     [prop.get(obj) for prop in p],
*/
    __pyx_L6_except_error:;
    __Pyx_XGIVEREF(__pyx_t_7);
    __Pyx_XGIVEREF(__pyx_t_8);
    __Pyx_XGIVEREF(__pyx_t_9);
    __Pyx_ExceptionReset(__pyx_t_7, __pyx_t_8, __pyx_t_9);
    goto __pyx_L1_error;
    __pyx_L5_exception_handled:;
    __Pyx_XGIVEREF(__pyx_t_7);
    __Pyx_XGIVEREF(__pyx_t_8);
    __Pyx_XGIVEREF(__pyx_t_9);
    __Pyx_ExceptionReset(__pyx_t_7, __pyx_t_8, __pyx_t_9);
    __pyx_L9_try_end:;
  }

  /* "kivy/properties.pyx":1439
 *                     update_properties=False)
 * 
 *         self._dispatch(obj, ps)             # <<<<<<<<<<<<<<
 * 
 *     cdef convert(self, EventDispatcher obj, value, PropertyStorage property_storage):
*/
  __pyx_t_3 = ((struct __pyx_vtabstruct_4kivy_10properties_ReferenceListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._dispatch(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_v_ps)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1439, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "kivy/properties.pyx":1424
 *             prop.fbind(obj, self.trigger_change, 0)
 * 
 *     cpdef trigger_change(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.stop_event:
*/

  /* 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_XDECREF(__pyx_t_11);
  __Pyx_XDECREF(__pyx_t_12);
  __Pyx_XDECREF(__pyx_t_13);
  __Pyx_XDECREF(__pyx_t_15);
  __Pyx_XDECREF(__pyx_t_16);
  __Pyx_XDECREF(__pyx_t_17);
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.trigger_change", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XDECREF(__pyx_v_p);
  __Pyx_XDECREF(__pyx_7genexpr__pyx_v_prop);
  __Pyx_XDECREF(__pyx_8genexpr1__pyx_v_prop);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_9trigger_change(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_21ReferenceListProperty_8trigger_change, "ReferenceListProperty.trigger_change(self, EventDispatcher obj, value)");
static PyMethodDef __pyx_mdef_4kivy_10properties_21ReferenceListProperty_9trigger_change = {"trigger_change", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_21ReferenceListProperty_9trigger_change, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_21ReferenceListProperty_8trigger_change};
static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_9trigger_change(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_value = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("trigger_change (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_value,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1424, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1424, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1424, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "trigger_change", 0) < (0)) __PYX_ERR(0, 1424, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("trigger_change", 1, 2, 2, i); __PYX_ERR(0, 1424, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1424, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1424, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_value = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("trigger_change", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 1424, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.trigger_change", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 1424, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_21ReferenceListProperty_8trigger_change(((struct __pyx_obj_4kivy_10properties_ReferenceListProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v_value);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_21ReferenceListProperty_8trigger_change(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value) {
  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("trigger_change", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_4kivy_10properties_21ReferenceListProperty_trigger_change(__pyx_v_self, __pyx_v_obj, __pyx_v_value, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1424, __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("kivy.properties.ReferenceListProperty.trigger_change", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1441
 *         self._dispatch(obj, ps)
 * 
 *     cdef convert(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         try:
 *             return list(value)
*/

static PyObject *__pyx_f_4kivy_10properties_21ReferenceListProperty_convert(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage) {
  PyObject *__pyx_v_e = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  int __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  PyObject *__pyx_t_9 = NULL;
  PyObject *__pyx_t_10 = NULL;
  PyObject *__pyx_t_11 = NULL;
  PyObject *__pyx_t_12 = NULL;
  PyObject *__pyx_t_13[4];
  size_t __pyx_t_14;
  int __pyx_t_15;
  char const *__pyx_t_16;
  PyObject *__pyx_t_17 = NULL;
  PyObject *__pyx_t_18 = NULL;
  PyObject *__pyx_t_19 = NULL;
  PyObject *__pyx_t_20 = NULL;
  PyObject *__pyx_t_21 = NULL;
  PyObject *__pyx_t_22 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("convert", 0);

  /* "kivy/properties.pyx":1442
 * 
 *     cdef convert(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         try:             # <<<<<<<<<<<<<<
 *             return list(value)
 *         except Exception as e:
*/
  {
    __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:*/ {

      /* "kivy/properties.pyx":1443
 *     cdef convert(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         try:
 *             return list(value)             # <<<<<<<<<<<<<<
 *         except Exception as e:
 *             raise ValueError('%s.%s must be a list or a tuple type' % (
*/
      __Pyx_XDECREF(__pyx_r);
      __pyx_t_4 = PySequence_List(__pyx_v_value); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1443, __pyx_L3_error)
      __Pyx_GOTREF(__pyx_t_4);
      __pyx_r = __pyx_t_4;
      __pyx_t_4 = 0;
      goto __pyx_L7_try_return;

      /* "kivy/properties.pyx":1442
 * 
 *     cdef convert(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         try:             # <<<<<<<<<<<<<<
 *             return list(value)
 *         except Exception as e:
*/
    }
    __pyx_L3_error:;
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;

    /* "kivy/properties.pyx":1444
 *         try:
 *             return list(value)
 *         except Exception as e:             # <<<<<<<<<<<<<<
 *             raise ValueError('%s.%s must be a list or a tuple type' % (
 *                 obj.__class__.__name__,
*/
    __pyx_t_5 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(((PyTypeObject*)PyExc_Exception))));
    if (__pyx_t_5) {
      __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.convert", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(0, 1444, __pyx_L5_except_error)
      __Pyx_XGOTREF(__pyx_t_4);
      __Pyx_XGOTREF(__pyx_t_6);
      __Pyx_XGOTREF(__pyx_t_7);
      __Pyx_INCREF(__pyx_t_6);
      __pyx_v_e = __pyx_t_6;
      /*try:*/ {

        /* "kivy/properties.pyx":1445
 *             return list(value)
 *         except Exception as e:
 *             raise ValueError('%s.%s must be a list or a tuple type' % (             # <<<<<<<<<<<<<<
 *                 obj.__class__.__name__,
 *                 self.name)) from e
*/
        __pyx_t_9 = NULL;

        /* "kivy/properties.pyx":1446
 *         except Exception as e:
 *             raise ValueError('%s.%s must be a list or a tuple type' % (
 *                 obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                 self.name)) from e
 * 
*/
        __pyx_t_10 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1446, __pyx_L14_error)
        __Pyx_GOTREF(__pyx_t_10);
        __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1446, __pyx_L14_error)
        __Pyx_GOTREF(__pyx_t_11);
        __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
        __pyx_t_10 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_11), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1446, __pyx_L14_error)
        __Pyx_GOTREF(__pyx_t_10);
        __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;

        /* "kivy/properties.pyx":1447
 *             raise ValueError('%s.%s must be a list or a tuple type' % (
 *                 obj.__class__.__name__,
 *                 self.name)) from e             # <<<<<<<<<<<<<<
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
*/
        __pyx_t_11 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1447, __pyx_L14_error)
        __Pyx_GOTREF(__pyx_t_11);
        __pyx_t_12 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_11), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1447, __pyx_L14_error)
        __Pyx_GOTREF(__pyx_t_12);
        __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
        __pyx_t_13[0] = __pyx_t_10;
        __pyx_t_13[1] = __pyx_mstate_global->__pyx_kp_u__4;
        __pyx_t_13[2] = __pyx_t_12;
        __pyx_t_13[3] = __pyx_mstate_global->__pyx_kp_u_must_be_a_list_or_a_tuple_type;

        /* "kivy/properties.pyx":1445
 *             return list(value)
 *         except Exception as e:
 *             raise ValueError('%s.%s must be a list or a tuple type' % (             # <<<<<<<<<<<<<<
 *                 obj.__class__.__name__,
 *                 self.name)) from e
*/
        __pyx_t_11 = __Pyx_PyUnicode_Join(__pyx_t_13, 4, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_10) + 1 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_12) + 31, 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_10) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_12));
        if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1445, __pyx_L14_error)
        __Pyx_GOTREF(__pyx_t_11);
        __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
        __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
        __pyx_t_14 = 1;
        {
          PyObject *__pyx_callargs[2] = {__pyx_t_9, __pyx_t_11};
          __pyx_t_8 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_14, (2-__pyx_t_14) | (__pyx_t_14*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
          __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
          if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1445, __pyx_L14_error)
          __Pyx_GOTREF(__pyx_t_8);
        }

        /* "kivy/properties.pyx":1447
 *             raise ValueError('%s.%s must be a list or a tuple type' % (
 *                 obj.__class__.__name__,
 *                 self.name)) from e             # <<<<<<<<<<<<<<
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
*/
        __Pyx_Raise(__pyx_t_8, 0, 0, __pyx_v_e);
        __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
        __PYX_ERR(0, 1445, __pyx_L14_error)
      }

      /* "kivy/properties.pyx":1444
 *         try:
 *             return list(value)
 *         except Exception as e:             # <<<<<<<<<<<<<<
 *             raise ValueError('%s.%s must be a list or a tuple type' % (
 *                 obj.__class__.__name__,
*/
      /*finally:*/ {
        __pyx_L14_error:;
        /*exception exit:*/{
          __Pyx_PyThreadState_declare
          __Pyx_PyThreadState_assign
          __pyx_t_17 = 0; __pyx_t_18 = 0; __pyx_t_19 = 0; __pyx_t_20 = 0; __pyx_t_21 = 0; __pyx_t_22 = 0;
          __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;
          __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
          __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
           __Pyx_ExceptionSwap(&__pyx_t_20, &__pyx_t_21, &__pyx_t_22);
          if ( unlikely(__Pyx_GetException(&__pyx_t_17, &__pyx_t_18, &__pyx_t_19) < 0)) __Pyx_ErrFetch(&__pyx_t_17, &__pyx_t_18, &__pyx_t_19);
          __Pyx_XGOTREF(__pyx_t_17);
          __Pyx_XGOTREF(__pyx_t_18);
          __Pyx_XGOTREF(__pyx_t_19);
          __Pyx_XGOTREF(__pyx_t_20);
          __Pyx_XGOTREF(__pyx_t_21);
          __Pyx_XGOTREF(__pyx_t_22);
          __pyx_t_5 = __pyx_lineno; __pyx_t_15 = __pyx_clineno; __pyx_t_16 = __pyx_filename;
          {
            __Pyx_DECREF(__pyx_v_e); __pyx_v_e = 0;
          }
          __Pyx_XGIVEREF(__pyx_t_20);
          __Pyx_XGIVEREF(__pyx_t_21);
          __Pyx_XGIVEREF(__pyx_t_22);
          __Pyx_ExceptionReset(__pyx_t_20, __pyx_t_21, __pyx_t_22);
          __Pyx_XGIVEREF(__pyx_t_17);
          __Pyx_XGIVEREF(__pyx_t_18);
          __Pyx_XGIVEREF(__pyx_t_19);
          __Pyx_ErrRestore(__pyx_t_17, __pyx_t_18, __pyx_t_19);
          __pyx_t_17 = 0; __pyx_t_18 = 0; __pyx_t_19 = 0; __pyx_t_20 = 0; __pyx_t_21 = 0; __pyx_t_22 = 0;
          __pyx_lineno = __pyx_t_5; __pyx_clineno = __pyx_t_15; __pyx_filename = __pyx_t_16;
          goto __pyx_L5_except_error;
        }
      }
    }
    goto __pyx_L5_except_error;

    /* "kivy/properties.pyx":1442
 * 
 *     cdef convert(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         try:             # <<<<<<<<<<<<<<
 *             return list(value)
 *         except Exception as e:
*/
    __pyx_L5_except_error:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    goto __pyx_L1_error;
    __pyx_L7_try_return:;
    __Pyx_XGIVEREF(__pyx_t_1);
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
    goto __pyx_L0;
  }

  /* "kivy/properties.pyx":1441
 *         self._dispatch(obj, ps)
 * 
 *     cdef convert(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         try:
 *             return list(value)
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_XDECREF(__pyx_t_10);
  __Pyx_XDECREF(__pyx_t_11);
  __Pyx_XDECREF(__pyx_t_12);
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.convert", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_e);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1449
 *                 self.name)) from e
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         cdef ReferenceListPropertyStorage ps = property_storage
 *         if len(value) != len(ps.properties):
*/

static PyObject *__pyx_f_4kivy_10properties_21ReferenceListProperty_check(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage) {
  struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *__pyx_v_ps = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  Py_ssize_t __pyx_t_2;
  Py_ssize_t __pyx_t_3;
  int __pyx_t_4;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  PyObject *__pyx_t_9[4];
  size_t __pyx_t_10;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("check", 0);

  /* "kivy/properties.pyx":1450
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         cdef ReferenceListPropertyStorage ps = property_storage             # <<<<<<<<<<<<<<
 *         if len(value) != len(ps.properties):
 *             raise ValueError('%s.%s value length is immutable' % (
*/
  __pyx_t_1 = ((PyObject *)__pyx_v_property_storage);
  __Pyx_INCREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage))))) __PYX_ERR(0, 1450, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1451
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         cdef ReferenceListPropertyStorage ps = property_storage
 *         if len(value) != len(ps.properties):             # <<<<<<<<<<<<<<
 *             raise ValueError('%s.%s value length is immutable' % (
 *                 obj.__class__.__name__,
*/
  __pyx_t_2 = PyObject_Length(__pyx_v_value); if (unlikely(__pyx_t_2 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1451, __pyx_L1_error)
  __pyx_t_1 = __pyx_v_ps->properties;
  __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, 1451, __pyx_L1_error)
  }
  __pyx_t_3 = __Pyx_PyTuple_GET_SIZE(__pyx_t_1); if (unlikely(__pyx_t_3 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1451, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_4 = (__pyx_t_2 != __pyx_t_3);
  if (unlikely(__pyx_t_4)) {

    /* "kivy/properties.pyx":1452
 *         cdef ReferenceListPropertyStorage ps = property_storage
 *         if len(value) != len(ps.properties):
 *             raise ValueError('%s.%s value length is immutable' % (             # <<<<<<<<<<<<<<
 *                 obj.__class__.__name__,
 *                 self.name))
*/
    __pyx_t_5 = NULL;

    /* "kivy/properties.pyx":1453
 *         if len(value) != len(ps.properties):
 *             raise ValueError('%s.%s value length is immutable' % (
 *                 obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                 self.name))
 * 
*/
    __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1453, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1453, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_7);
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
    __pyx_t_6 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_7), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1453, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;

    /* "kivy/properties.pyx":1454
 *             raise ValueError('%s.%s value length is immutable' % (
 *                 obj.__class__.__name__,
 *                 self.name))             # <<<<<<<<<<<<<<
 * 
 *     cpdef set(self, EventDispatcher obj, _value):
*/
    __pyx_t_7 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1454, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_7);
    __pyx_t_8 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_7), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1454, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_8);
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    __pyx_t_9[0] = __pyx_t_6;
    __pyx_t_9[1] = __pyx_mstate_global->__pyx_kp_u__4;
    __pyx_t_9[2] = __pyx_t_8;
    __pyx_t_9[3] = __pyx_mstate_global->__pyx_kp_u_value_length_is_immutable;

    /* "kivy/properties.pyx":1452
 *         cdef ReferenceListPropertyStorage ps = property_storage
 *         if len(value) != len(ps.properties):
 *             raise ValueError('%s.%s value length is immutable' % (             # <<<<<<<<<<<<<<
 *                 obj.__class__.__name__,
 *                 self.name))
*/
    __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_9, 4, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_6) + 1 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_8) + 26, 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_6) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_8));
    if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1452, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_7);
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
    __pyx_t_10 = 1;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_5, __pyx_t_7};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_10, (2-__pyx_t_10) | (__pyx_t_10*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1452, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_Raise(__pyx_t_1, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __PYX_ERR(0, 1452, __pyx_L1_error)

    /* "kivy/properties.pyx":1451
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         cdef ReferenceListPropertyStorage ps = property_storage
 *         if len(value) != len(ps.properties):             # <<<<<<<<<<<<<<
 *             raise ValueError('%s.%s value length is immutable' % (
 *                 obj.__class__.__name__,
*/
  }

  /* "kivy/properties.pyx":1449
 *                 self.name)) from e
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         cdef ReferenceListPropertyStorage ps = property_storage
 *         if len(value) != len(ps.properties):
*/

  /* 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_5);
  __Pyx_XDECREF(__pyx_t_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.check", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1456
 *                 self.name))
 * 
 *     cpdef set(self, EventDispatcher obj, _value):             # <<<<<<<<<<<<<<
 *         cdef int idx
 *         cdef list value
*/

static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_11set(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_21ReferenceListProperty_set(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v__value, int __pyx_skip_dispatch) {
  int __pyx_v_idx;
  PyObject *__pyx_v_value = 0;
  struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *__pyx_v_ps = 0;
  PyObject *__pyx_v_props = NULL;
  PyObject *__pyx_v_prop = NULL;
  PyObject *__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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  int __pyx_t_7;
  Py_ssize_t __pyx_t_8;
  Py_ssize_t __pyx_t_9;
  int __pyx_t_10;
  PyObject *__pyx_t_11 = NULL;
  PyObject *__pyx_t_12 = NULL;
  PyObject *__pyx_t_13 = NULL;
  PyObject *__pyx_t_14 = NULL;
  PyObject *__pyx_t_15 = NULL;
  PyObject *__pyx_t_16 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("set", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_set); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1456, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_21ReferenceListProperty_11set)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v__value};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1456, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":1459
 *         cdef int idx
 *         cdef list value
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         value = self.convert(obj, _value, ps)
 *         if not self.force_dispatch and self.compare_value(ps.value, value):
*/
  __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_ReferenceListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get_property_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1459, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage))))) __PYX_ERR(0, 1459, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1460
 *         cdef list value
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         value = self.convert(obj, _value, ps)             # <<<<<<<<<<<<<<
 *         if not self.force_dispatch and self.compare_value(ps.value, value):
 *             return False
*/
  __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_ReferenceListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.convert(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v__value, ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_v_ps)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1460, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(PyList_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("list", __pyx_t_1))) __PYX_ERR(0, 1460, __pyx_L1_error)
  __pyx_v_value = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1461
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         value = self.convert(obj, _value, ps)
 *         if not self.force_dispatch and self.compare_value(ps.value, value):             # <<<<<<<<<<<<<<
 *             return False
 *         self.check(obj, value, ps)
*/
  __pyx_t_7 = (!(__pyx_v_self->__pyx_base.force_dispatch != 0));
  if (__pyx_t_7) {
  } else {
    __pyx_t_6 = __pyx_t_7;
    goto __pyx_L4_bool_binop_done;
  }
  __pyx_t_1 = __pyx_v_ps->__pyx_base.value;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_t_2 = ((struct __pyx_vtabstruct_4kivy_10properties_ReferenceListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.compare_value(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_t_1, __pyx_v_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1461, __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, 1461, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_6 = __pyx_t_7;
  __pyx_L4_bool_binop_done:;
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":1462
 *         value = self.convert(obj, _value, ps)
 *         if not self.force_dispatch and self.compare_value(ps.value, value):
 *             return False             # <<<<<<<<<<<<<<
 *         self.check(obj, value, ps)
 *         # prevent dependency loop
*/
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(Py_False);
    __pyx_r = Py_False;
    goto __pyx_L0;

    /* "kivy/properties.pyx":1461
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         value = self.convert(obj, _value, ps)
 *         if not self.force_dispatch and self.compare_value(ps.value, value):             # <<<<<<<<<<<<<<
 *             return False
 *         self.check(obj, value, ps)
*/
  }

  /* "kivy/properties.pyx":1463
 *         if not self.force_dispatch and self.compare_value(ps.value, value):
 *             return False
 *         self.check(obj, value, ps)             # <<<<<<<<<<<<<<
 *         # prevent dependency loop
 *         ps.stop_event = 1
*/
  __pyx_t_2 = ((struct __pyx_vtabstruct_4kivy_10properties_ReferenceListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.check(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_value, ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_v_ps)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1463, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":1465
 *         self.check(obj, value, ps)
 *         # prevent dependency loop
 *         ps.stop_event = 1             # <<<<<<<<<<<<<<
 *         props = ps.properties
 *         for idx in xrange(len(props)):
*/
  __pyx_v_ps->stop_event = 1;

  /* "kivy/properties.pyx":1466
 *         # prevent dependency loop
 *         ps.stop_event = 1
 *         props = ps.properties             # <<<<<<<<<<<<<<
 *         for idx in xrange(len(props)):
 *             prop = props[idx]
*/
  __pyx_t_2 = __pyx_v_ps->properties;
  __Pyx_INCREF(__pyx_t_2);
  __pyx_v_props = ((PyObject*)__pyx_t_2);
  __pyx_t_2 = 0;

  /* "kivy/properties.pyx":1467
 *         ps.stop_event = 1
 *         props = ps.properties
 *         for idx in xrange(len(props)):             # <<<<<<<<<<<<<<
 *             prop = props[idx]
 *             x = value[idx]
*/
  if (unlikely(__pyx_v_props == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
    __PYX_ERR(0, 1467, __pyx_L1_error)
  }
  __pyx_t_8 = __Pyx_PyTuple_GET_SIZE(__pyx_v_props); if (unlikely(__pyx_t_8 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1467, __pyx_L1_error)
  __pyx_t_9 = __pyx_t_8;
  for (__pyx_t_10 = 0; __pyx_t_10 < __pyx_t_9; __pyx_t_10+=1) {
    __pyx_v_idx = __pyx_t_10;

    /* "kivy/properties.pyx":1468
 *         props = ps.properties
 *         for idx in xrange(len(props)):
 *             prop = props[idx]             # <<<<<<<<<<<<<<
 *             x = value[idx]
 *             prop.set(obj, x)
*/
    if (unlikely(__pyx_v_props == Py_None)) {
      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
      __PYX_ERR(0, 1468, __pyx_L1_error)
    }
    __pyx_t_2 = __Pyx_GetItemInt_Tuple(__pyx_v_props, __pyx_v_idx, int, 1, __Pyx_PyLong_From_int, 0, 1, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1468, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_XDECREF_SET(__pyx_v_prop, __pyx_t_2);
    __pyx_t_2 = 0;

    /* "kivy/properties.pyx":1469
 *         for idx in xrange(len(props)):
 *             prop = props[idx]
 *             x = value[idx]             # <<<<<<<<<<<<<<
 *             prop.set(obj, x)
 *         ps.stop_event = 0
*/
    if (unlikely(__pyx_v_value == Py_None)) {
      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
      __PYX_ERR(0, 1469, __pyx_L1_error)
    }
    __pyx_t_2 = __Pyx_GetItemInt_List(__pyx_v_value, __pyx_v_idx, int, 1, __Pyx_PyLong_From_int, 1, 1, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1469, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_XDECREF_SET(__pyx_v_x, __pyx_t_2);
    __pyx_t_2 = 0;

    /* "kivy/properties.pyx":1470
 *             prop = props[idx]
 *             x = value[idx]
 *             prop.set(obj, x)             # <<<<<<<<<<<<<<
 *         ps.stop_event = 0
 *         try:
*/
    __pyx_t_1 = __pyx_v_prop;
    __Pyx_INCREF(__pyx_t_1);
    __pyx_t_5 = 0;
    {
      PyObject *__pyx_callargs[3] = {__pyx_t_1, ((PyObject *)__pyx_v_obj), __pyx_v_x};
      __pyx_t_2 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_set, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
      if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1470, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_2);
    }
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  }

  /* "kivy/properties.pyx":1471
 *             x = value[idx]
 *             prop.set(obj, x)
 *         ps.stop_event = 0             # <<<<<<<<<<<<<<
 *         try:
 *             ps.value.__setslice__(0, len(value), value,
*/
  __pyx_v_ps->stop_event = 0;

  /* "kivy/properties.pyx":1472
 *             prop.set(obj, x)
 *         ps.stop_event = 0
 *         try:             # <<<<<<<<<<<<<<
 *             ps.value.__setslice__(0, len(value), value,
 *                     update_properties=False)
*/
  {
    __Pyx_PyThreadState_declare
    __Pyx_PyThreadState_assign
    __Pyx_ExceptionSave(&__pyx_t_11, &__pyx_t_12, &__pyx_t_13);
    __Pyx_XGOTREF(__pyx_t_11);
    __Pyx_XGOTREF(__pyx_t_12);
    __Pyx_XGOTREF(__pyx_t_13);
    /*try:*/ {

      /* "kivy/properties.pyx":1473
 *         ps.stop_event = 0
 *         try:
 *             ps.value.__setslice__(0, len(value), value,             # <<<<<<<<<<<<<<
 *                     update_properties=False)
 *         except AttributeError:
*/
      __pyx_t_1 = __pyx_v_ps->__pyx_base.value;
      __Pyx_INCREF(__pyx_t_1);
      if (unlikely(__pyx_v_value == Py_None)) {
        PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
        __PYX_ERR(0, 1473, __pyx_L8_error)
      }
      __pyx_t_8 = __Pyx_PyList_GET_SIZE(__pyx_v_value); if (unlikely(__pyx_t_8 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1473, __pyx_L8_error)
      __pyx_t_4 = PyLong_FromSsize_t(__pyx_t_8); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1473, __pyx_L8_error)
      __Pyx_GOTREF(__pyx_t_4);

      /* "kivy/properties.pyx":1474
 *         try:
 *             ps.value.__setslice__(0, len(value), value,
 *                     update_properties=False)             # <<<<<<<<<<<<<<
 *         except AttributeError:
 *             ps.value.__setitem__(slice(len(value)), value,
*/
      __pyx_t_5 = 0;
      {
        PyObject *__pyx_callargs[4 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_1, __pyx_mstate_global->__pyx_int_0, __pyx_t_4, __pyx_v_value};
        __pyx_t_3 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1473, __pyx_L8_error)
        __Pyx_GOTREF(__pyx_t_3);
        if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_update_properties, Py_False, __pyx_t_3, __pyx_callargs+4, 0) < (0)) __PYX_ERR(0, 1473, __pyx_L8_error)
        __pyx_t_2 = __Pyx_Object_VectorcallMethod_CallFromBuilder((PyObject*)__pyx_mstate_global->__pyx_n_u_setslice, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_3);
        __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
        if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1473, __pyx_L8_error)
        __Pyx_GOTREF(__pyx_t_2);
      }
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

      /* "kivy/properties.pyx":1472
 *             prop.set(obj, x)
 *         ps.stop_event = 0
 *         try:             # <<<<<<<<<<<<<<
 *             ps.value.__setslice__(0, len(value), value,
 *                     update_properties=False)
*/
    }
    __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
    __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
    __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0;
    goto __pyx_L13_try_end;
    __pyx_L8_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_4); __pyx_t_4 = 0;

    /* "kivy/properties.pyx":1475
 *             ps.value.__setslice__(0, len(value), value,
 *                     update_properties=False)
 *         except AttributeError:             # <<<<<<<<<<<<<<
 *             ps.value.__setitem__(slice(len(value)), value,
 *                     update_properties=False)
*/
    __pyx_t_10 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(((PyTypeObject*)PyExc_AttributeError))));
    if (__pyx_t_10) {
      __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_3, &__pyx_t_4) < 0) __PYX_ERR(0, 1475, __pyx_L10_except_error)
      __Pyx_XGOTREF(__pyx_t_2);
      __Pyx_XGOTREF(__pyx_t_3);
      __Pyx_XGOTREF(__pyx_t_4);

      /* "kivy/properties.pyx":1476
 *                     update_properties=False)
 *         except AttributeError:
 *             ps.value.__setitem__(slice(len(value)), value,             # <<<<<<<<<<<<<<
 *                     update_properties=False)
 *         self._dispatch(obj, ps)
*/
      __pyx_t_14 = __pyx_v_ps->__pyx_base.value;
      __Pyx_INCREF(__pyx_t_14);
      if (unlikely(__pyx_v_value == Py_None)) {
        PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
        __PYX_ERR(0, 1476, __pyx_L10_except_error)
      }
      __pyx_t_8 = __Pyx_PyList_GET_SIZE(__pyx_v_value); if (unlikely(__pyx_t_8 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1476, __pyx_L10_except_error)
      __pyx_t_15 = PyLong_FromSsize_t(__pyx_t_8); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1476, __pyx_L10_except_error)
      __Pyx_GOTREF(__pyx_t_15);
      __pyx_t_16 = PySlice_New(Py_None, __pyx_t_15, Py_None); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 1476, __pyx_L10_except_error)
      __Pyx_GOTREF(__pyx_t_16);
      __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0;

      /* "kivy/properties.pyx":1477
 *         except AttributeError:
 *             ps.value.__setitem__(slice(len(value)), value,
 *                     update_properties=False)             # <<<<<<<<<<<<<<
 *         self._dispatch(obj, ps)
 *         return True
*/
      __pyx_t_5 = 0;
      {
        PyObject *__pyx_callargs[3 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_14, __pyx_t_16, __pyx_v_value};
        __pyx_t_15 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1476, __pyx_L10_except_error)
        __Pyx_GOTREF(__pyx_t_15);
        if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_update_properties, Py_False, __pyx_t_15, __pyx_callargs+3, 0) < (0)) __PYX_ERR(0, 1476, __pyx_L10_except_error)
        __pyx_t_1 = __Pyx_Object_VectorcallMethod_CallFromBuilder((PyObject*)__pyx_mstate_global->__pyx_n_u_setitem, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_15);
        __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0;
        __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0;
        __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0;
        if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1476, __pyx_L10_except_error)
        __Pyx_GOTREF(__pyx_t_1);
      }
      __Pyx_DECREF(__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_4); __pyx_t_4 = 0;
      goto __pyx_L9_exception_handled;
    }
    goto __pyx_L10_except_error;

    /* "kivy/properties.pyx":1472
 *             prop.set(obj, x)
 *         ps.stop_event = 0
 *         try:             # <<<<<<<<<<<<<<
 *             ps.value.__setslice__(0, len(value), value,
 *                     update_properties=False)
*/
    __pyx_L10_except_error:;
    __Pyx_XGIVEREF(__pyx_t_11);
    __Pyx_XGIVEREF(__pyx_t_12);
    __Pyx_XGIVEREF(__pyx_t_13);
    __Pyx_ExceptionReset(__pyx_t_11, __pyx_t_12, __pyx_t_13);
    goto __pyx_L1_error;
    __pyx_L9_exception_handled:;
    __Pyx_XGIVEREF(__pyx_t_11);
    __Pyx_XGIVEREF(__pyx_t_12);
    __Pyx_XGIVEREF(__pyx_t_13);
    __Pyx_ExceptionReset(__pyx_t_11, __pyx_t_12, __pyx_t_13);
    __pyx_L13_try_end:;
  }

  /* "kivy/properties.pyx":1478
 *             ps.value.__setitem__(slice(len(value)), value,
 *                     update_properties=False)
 *         self._dispatch(obj, ps)             # <<<<<<<<<<<<<<
 *         return True
 * 
*/
  __pyx_t_4 = ((struct __pyx_vtabstruct_4kivy_10properties_ReferenceListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._dispatch(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_v_ps)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1478, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":1479
 *                     update_properties=False)
 *         self._dispatch(obj, ps)
 *         return True             # <<<<<<<<<<<<<<
 * 
 *     cpdef setitem(self, EventDispatcher obj, key, value):
*/
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(Py_True);
  __pyx_r = Py_True;
  goto __pyx_L0;

  /* "kivy/properties.pyx":1456
 *                 self.name))
 * 
 *     cpdef set(self, EventDispatcher obj, _value):             # <<<<<<<<<<<<<<
 *         cdef int idx
 *         cdef list value
*/

  /* 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_14);
  __Pyx_XDECREF(__pyx_t_15);
  __Pyx_XDECREF(__pyx_t_16);
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_value);
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XDECREF(__pyx_v_props);
  __Pyx_XDECREF(__pyx_v_prop);
  __Pyx_XDECREF(__pyx_v_x);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_11set(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_21ReferenceListProperty_10set, "ReferenceListProperty.set(self, EventDispatcher obj, _value)");
static PyMethodDef __pyx_mdef_4kivy_10properties_21ReferenceListProperty_11set = {"set", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_21ReferenceListProperty_11set, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_21ReferenceListProperty_10set};
static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_11set(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v__value = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("set (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_value_2,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1456, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1456, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1456, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "set", 0) < (0)) __PYX_ERR(0, 1456, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("set", 1, 2, 2, i); __PYX_ERR(0, 1456, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1456, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1456, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v__value = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("set", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 1456, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 1456, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_21ReferenceListProperty_10set(((struct __pyx_obj_4kivy_10properties_ReferenceListProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v__value);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_21ReferenceListProperty_10set(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v__value) {
  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("set", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_4kivy_10properties_21ReferenceListProperty_set(__pyx_v_self, __pyx_v_obj, __pyx_v__value, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1456, __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("kivy.properties.ReferenceListProperty.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1481
 *         return True
 * 
 *     cpdef setitem(self, EventDispatcher obj, key, value):             # <<<<<<<<<<<<<<
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         cdef bint res = False
*/

static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_13setitem(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_21ReferenceListProperty_setitem(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_key, PyObject *__pyx_v_value, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *__pyx_v_ps = 0;
  int __pyx_v_res;
  PyObject *__pyx_v_props = NULL;
  Py_ssize_t __pyx_v_index;
  PyObject *__pyx_v_prop = NULL;
  PyObject *__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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  Py_ssize_t __pyx_t_7;
  Py_ssize_t __pyx_t_8;
  Py_ssize_t __pyx_t_9;
  int __pyx_t_10;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("setitem", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_setitem_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1481, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_21ReferenceListProperty_13setitem)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[4] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_key, __pyx_v_value};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1481, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":1482
 * 
 *     cpdef setitem(self, EventDispatcher obj, key, value):
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         cdef bint res = False
 * 
*/
  __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_ReferenceListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get_property_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1482, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage))))) __PYX_ERR(0, 1482, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1483
 *     cpdef setitem(self, EventDispatcher obj, key, value):
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         cdef bint res = False             # <<<<<<<<<<<<<<
 * 
 *         ps.stop_event = 1
*/
  __pyx_v_res = 0;

  /* "kivy/properties.pyx":1485
 *         cdef bint res = False
 * 
 *         ps.stop_event = 1             # <<<<<<<<<<<<<<
 *         if isinstance(key, slice):
 *             props = ps.properties[key]
*/
  __pyx_v_ps->stop_event = 1;

  /* "kivy/properties.pyx":1486
 * 
 *         ps.stop_event = 1
 *         if isinstance(key, slice):             # <<<<<<<<<<<<<<
 *             props = ps.properties[key]
 *             for index in xrange(len(props)):
*/
  __pyx_t_6 = PySlice_Check(__pyx_v_key); 
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":1487
 *         ps.stop_event = 1
 *         if isinstance(key, slice):
 *             props = ps.properties[key]             # <<<<<<<<<<<<<<
 *             for index in xrange(len(props)):
 *                 prop = props[index]
*/
    if (unlikely(__pyx_v_ps->properties == Py_None)) {
      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
      __PYX_ERR(0, 1487, __pyx_L1_error)
    }
    __pyx_t_1 = __Pyx_PyObject_GetItem(__pyx_v_ps->properties, __pyx_v_key); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1487, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_v_props = __pyx_t_1;
    __pyx_t_1 = 0;

    /* "kivy/properties.pyx":1488
 *         if isinstance(key, slice):
 *             props = ps.properties[key]
 *             for index in xrange(len(props)):             # <<<<<<<<<<<<<<
 *                 prop = props[index]
 *                 x = value[index]
*/
    __pyx_t_7 = PyObject_Length(__pyx_v_props); if (unlikely(__pyx_t_7 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1488, __pyx_L1_error)
    __pyx_t_8 = __pyx_t_7;
    for (__pyx_t_9 = 0; __pyx_t_9 < __pyx_t_8; __pyx_t_9+=1) {
      __pyx_v_index = __pyx_t_9;

      /* "kivy/properties.pyx":1489
 *             props = ps.properties[key]
 *             for index in xrange(len(props)):
 *                 prop = props[index]             # <<<<<<<<<<<<<<
 *                 x = value[index]
 *                 res = prop.set(obj, x) or res
*/
      __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_props, __pyx_v_index, Py_ssize_t, 1, PyLong_FromSsize_t, 0, 1, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1489, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_XDECREF_SET(__pyx_v_prop, __pyx_t_1);
      __pyx_t_1 = 0;

      /* "kivy/properties.pyx":1490
 *             for index in xrange(len(props)):
 *                 prop = props[index]
 *                 x = value[index]             # <<<<<<<<<<<<<<
 *                 res = prop.set(obj, x) or res
 *         else:
*/
      __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_value, __pyx_v_index, Py_ssize_t, 1, PyLong_FromSsize_t, 0, 1, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1490, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_XDECREF_SET(__pyx_v_x, __pyx_t_1);
      __pyx_t_1 = 0;

      /* "kivy/properties.pyx":1491
 *                 prop = props[index]
 *                 x = value[index]
 *                 res = prop.set(obj, x) or res             # <<<<<<<<<<<<<<
 *         else:
 *             prop = ps.properties[key]
*/
      __pyx_t_2 = __pyx_v_prop;
      __Pyx_INCREF(__pyx_t_2);
      __pyx_t_5 = 0;
      {
        PyObject *__pyx_callargs[3] = {__pyx_t_2, ((PyObject *)__pyx_v_obj), __pyx_v_x};
        __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_set, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
        if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1491, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_1);
      }
      __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1491, __pyx_L1_error)
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      if (!__pyx_t_10) {
      } else {
        __pyx_t_6 = __pyx_t_10;
        goto __pyx_L6_bool_binop_done;
      }
      __pyx_t_6 = __pyx_v_res;
      __pyx_L6_bool_binop_done:;
      __pyx_v_res = __pyx_t_6;
    }

    /* "kivy/properties.pyx":1486
 * 
 *         ps.stop_event = 1
 *         if isinstance(key, slice):             # <<<<<<<<<<<<<<
 *             props = ps.properties[key]
 *             for index in xrange(len(props)):
*/
    goto __pyx_L3;
  }

  /* "kivy/properties.pyx":1493
 *                 res = prop.set(obj, x) or res
 *         else:
 *             prop = ps.properties[key]             # <<<<<<<<<<<<<<
 *             res = prop.set(obj, value)
 *         ps.stop_event = 0
*/
  /*else*/ {
    if (unlikely(__pyx_v_ps->properties == Py_None)) {
      PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
      __PYX_ERR(0, 1493, __pyx_L1_error)
    }
    __pyx_t_1 = __Pyx_PyObject_GetItem(__pyx_v_ps->properties, __pyx_v_key); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1493, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_v_prop = __pyx_t_1;
    __pyx_t_1 = 0;

    /* "kivy/properties.pyx":1494
 *         else:
 *             prop = ps.properties[key]
 *             res = prop.set(obj, value)             # <<<<<<<<<<<<<<
 *         ps.stop_event = 0
 *         if res:
*/
    __pyx_t_2 = __pyx_v_prop;
    __Pyx_INCREF(__pyx_t_2);
    __pyx_t_5 = 0;
    {
      PyObject *__pyx_callargs[3] = {__pyx_t_2, ((PyObject *)__pyx_v_obj), __pyx_v_value};
      __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_set, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1494, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1494, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __pyx_v_res = __pyx_t_6;
  }
  __pyx_L3:;

  /* "kivy/properties.pyx":1495
 *             prop = ps.properties[key]
 *             res = prop.set(obj, value)
 *         ps.stop_event = 0             # <<<<<<<<<<<<<<
 *         if res:
 *             self._dispatch(obj, ps)
*/
  __pyx_v_ps->stop_event = 0;

  /* "kivy/properties.pyx":1496
 *             res = prop.set(obj, value)
 *         ps.stop_event = 0
 *         if res:             # <<<<<<<<<<<<<<
 *             self._dispatch(obj, ps)
 * 
*/
  if (__pyx_v_res) {

    /* "kivy/properties.pyx":1497
 *         ps.stop_event = 0
 *         if res:
 *             self._dispatch(obj, ps)             # <<<<<<<<<<<<<<
 * 
 *     cpdef get(self, EventDispatcher obj):
*/
    __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_ReferenceListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._dispatch(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_v_ps)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1497, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "kivy/properties.pyx":1496
 *             res = prop.set(obj, value)
 *         ps.stop_event = 0
 *         if res:             # <<<<<<<<<<<<<<
 *             self._dispatch(obj, ps)
 * 
*/
  }

  /* "kivy/properties.pyx":1481
 *         return True
 * 
 *     cpdef setitem(self, EventDispatcher obj, key, value):             # <<<<<<<<<<<<<<
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         cdef bint res = False
*/

  /* 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("kivy.properties.ReferenceListProperty.setitem", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XDECREF(__pyx_v_props);
  __Pyx_XDECREF(__pyx_v_prop);
  __Pyx_XDECREF(__pyx_v_x);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_13setitem(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_21ReferenceListProperty_12setitem, "ReferenceListProperty.setitem(self, EventDispatcher obj, key, value)");
static PyMethodDef __pyx_mdef_4kivy_10properties_21ReferenceListProperty_13setitem = {"setitem", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_21ReferenceListProperty_13setitem, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_21ReferenceListProperty_12setitem};
static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_13setitem(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_key = 0;
  PyObject *__pyx_v_value = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[3] = {0,0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("setitem (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_key,&__pyx_mstate_global->__pyx_n_u_value,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1481, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 1481, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1481, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1481, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "setitem", 0) < (0)) __PYX_ERR(0, 1481, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 3; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("setitem", 1, 3, 3, i); __PYX_ERR(0, 1481, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 3)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1481, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1481, __pyx_L3_error)
      values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 1481, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_key = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("setitem", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 1481, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.setitem", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 1481, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_21ReferenceListProperty_12setitem(((struct __pyx_obj_4kivy_10properties_ReferenceListProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v_key, __pyx_v_value);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_21ReferenceListProperty_12setitem(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_key, PyObject *__pyx_v_value) {
  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("setitem", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_4kivy_10properties_21ReferenceListProperty_setitem(__pyx_v_self, __pyx_v_obj, __pyx_v_key, __pyx_v_value, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1481, __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("kivy.properties.ReferenceListProperty.setitem", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1499
 *             self._dispatch(obj, ps)
 * 
 *     cpdef get(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         cdef tuple p = ps.properties
*/

static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_15get(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_21ReferenceListProperty_get(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *__pyx_v_ps = 0;
  PyObject *__pyx_v_p = 0;
  PyObject *__pyx_8genexpr2__pyx_v_prop = NULL;
  PyObject *__pyx_8genexpr3__pyx_v_prop = 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;
  size_t __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  Py_ssize_t __pyx_t_9;
  PyObject *__pyx_t_10 = NULL;
  PyObject *__pyx_t_11 = NULL;
  PyObject *__pyx_t_12 = NULL;
  int __pyx_t_13;
  PyObject *__pyx_t_14 = NULL;
  PyObject *__pyx_t_15 = NULL;
  PyObject *__pyx_t_16 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1499, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_21ReferenceListProperty_15get)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[2] = {__pyx_t_3, ((PyObject *)__pyx_v_obj)};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1499, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":1500
 * 
 *     cpdef get(self, EventDispatcher obj):
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         cdef tuple p = ps.properties
 *         try:
*/
  __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_ReferenceListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get_property_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1500, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage))))) __PYX_ERR(0, 1500, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1501
 *     cpdef get(self, EventDispatcher obj):
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         cdef tuple p = ps.properties             # <<<<<<<<<<<<<<
 *         try:
 *             ps.value.__setslice__(0, len(p),
*/
  __pyx_t_1 = __pyx_v_ps->properties;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_v_p = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1502
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         cdef tuple p = ps.properties
 *         try:             # <<<<<<<<<<<<<<
 *             ps.value.__setslice__(0, len(p),
 *                     [prop.get(obj) for prop in p],
*/
  {
    __Pyx_PyThreadState_declare
    __Pyx_PyThreadState_assign
    __Pyx_ExceptionSave(&__pyx_t_6, &__pyx_t_7, &__pyx_t_8);
    __Pyx_XGOTREF(__pyx_t_6);
    __Pyx_XGOTREF(__pyx_t_7);
    __Pyx_XGOTREF(__pyx_t_8);
    /*try:*/ {

      /* "kivy/properties.pyx":1503
 *         cdef tuple p = ps.properties
 *         try:
 *             ps.value.__setslice__(0, len(p),             # <<<<<<<<<<<<<<
 *                     [prop.get(obj) for prop in p],
 *                     update_properties=False)
*/
      __pyx_t_2 = __pyx_v_ps->__pyx_base.value;
      __Pyx_INCREF(__pyx_t_2);
      if (unlikely(__pyx_v_p == Py_None)) {
        PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
        __PYX_ERR(0, 1503, __pyx_L3_error)
      }
      __pyx_t_9 = __Pyx_PyTuple_GET_SIZE(__pyx_v_p); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1503, __pyx_L3_error)
      __pyx_t_4 = PyLong_FromSsize_t(__pyx_t_9); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1503, __pyx_L3_error)
      __Pyx_GOTREF(__pyx_t_4);
      { /* enter inner scope */

        /* "kivy/properties.pyx":1504
 *         try:
 *             ps.value.__setslice__(0, len(p),
 *                     [prop.get(obj) for prop in p],             # <<<<<<<<<<<<<<
 *                     update_properties=False)
 *         except AttributeError:
*/
        __pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1504, __pyx_L11_error)
        __Pyx_GOTREF(__pyx_t_3);
        if (unlikely(__pyx_v_p == Py_None)) {
          PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
          __PYX_ERR(0, 1504, __pyx_L11_error)
        }
        __pyx_t_10 = __pyx_v_p; __Pyx_INCREF(__pyx_t_10);
        __pyx_t_9 = 0;
        for (;;) {
          {
            Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_10);
            #if !CYTHON_ASSUME_SAFE_SIZE
            if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1504, __pyx_L11_error)
            #endif
            if (__pyx_t_9 >= __pyx_temp) break;
          }
          #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
          __pyx_t_11 = __Pyx_NewRef(PyTuple_GET_ITEM(__pyx_t_10, __pyx_t_9));
          #else
          __pyx_t_11 = __Pyx_PySequence_ITEM(__pyx_t_10, __pyx_t_9);
          #endif
          ++__pyx_t_9;
          if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1504, __pyx_L11_error)
          __Pyx_GOTREF(__pyx_t_11);
          __Pyx_XDECREF_SET(__pyx_8genexpr2__pyx_v_prop, __pyx_t_11);
          __pyx_t_11 = 0;
          __pyx_t_12 = __pyx_8genexpr2__pyx_v_prop;
          __Pyx_INCREF(__pyx_t_12);
          __pyx_t_5 = 0;
          {
            PyObject *__pyx_callargs[2] = {__pyx_t_12, ((PyObject *)__pyx_v_obj)};
            __pyx_t_11 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
            __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
            if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1504, __pyx_L11_error)
            __Pyx_GOTREF(__pyx_t_11);
          }
          if (unlikely(__Pyx_ListComp_Append(__pyx_t_3, (PyObject*)__pyx_t_11))) __PYX_ERR(0, 1504, __pyx_L11_error)
          __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
        }
        __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
        __Pyx_XDECREF(__pyx_8genexpr2__pyx_v_prop); __pyx_8genexpr2__pyx_v_prop = 0;
        goto __pyx_L15_exit_scope;
        __pyx_L11_error:;
        __Pyx_XDECREF(__pyx_8genexpr2__pyx_v_prop); __pyx_8genexpr2__pyx_v_prop = 0;
        goto __pyx_L3_error;
        __pyx_L15_exit_scope:;
      } /* exit inner scope */

      /* "kivy/properties.pyx":1505
 *             ps.value.__setslice__(0, len(p),
 *                     [prop.get(obj) for prop in p],
 *                     update_properties=False)             # <<<<<<<<<<<<<<
 *         except AttributeError:
 *             ps.value.__setitem__(slice(len(p)),
*/
      __pyx_t_5 = 0;
      {
        PyObject *__pyx_callargs[4 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_2, __pyx_mstate_global->__pyx_int_0, __pyx_t_4, __pyx_t_3};
        __pyx_t_10 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1503, __pyx_L3_error)
        __Pyx_GOTREF(__pyx_t_10);
        if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_update_properties, Py_False, __pyx_t_10, __pyx_callargs+4, 0) < (0)) __PYX_ERR(0, 1503, __pyx_L3_error)
        __pyx_t_1 = __Pyx_Object_VectorcallMethod_CallFromBuilder((PyObject*)__pyx_mstate_global->__pyx_n_u_setslice, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_10);
        __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
        __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
        if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1503, __pyx_L3_error)
        __Pyx_GOTREF(__pyx_t_1);
      }
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

      /* "kivy/properties.pyx":1502
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         cdef tuple p = ps.properties
 *         try:             # <<<<<<<<<<<<<<
 *             ps.value.__setslice__(0, len(p),
 *                     [prop.get(obj) for prop in p],
*/
    }
    __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
    __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
    __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
    goto __pyx_L8_try_end;
    __pyx_L3_error:;
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
    __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;
    __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;

    /* "kivy/properties.pyx":1506
 *                     [prop.get(obj) for prop in p],
 *                     update_properties=False)
 *         except AttributeError:             # <<<<<<<<<<<<<<
 *             ps.value.__setitem__(slice(len(p)),
 *                     [prop.get(obj) for prop in p],
*/
    __pyx_t_13 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(((PyTypeObject*)PyExc_AttributeError))));
    if (__pyx_t_13) {
      __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.get", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_10, &__pyx_t_3) < 0) __PYX_ERR(0, 1506, __pyx_L5_except_error)
      __Pyx_XGOTREF(__pyx_t_1);
      __Pyx_XGOTREF(__pyx_t_10);
      __Pyx_XGOTREF(__pyx_t_3);

      /* "kivy/properties.pyx":1507
 *                     update_properties=False)
 *         except AttributeError:
 *             ps.value.__setitem__(slice(len(p)),             # <<<<<<<<<<<<<<
 *                     [prop.get(obj) for prop in p],
 *                     update_properties=False)
*/
      __pyx_t_2 = __pyx_v_ps->__pyx_base.value;
      __Pyx_INCREF(__pyx_t_2);
      if (unlikely(__pyx_v_p == Py_None)) {
        PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
        __PYX_ERR(0, 1507, __pyx_L5_except_error)
      }
      __pyx_t_9 = __Pyx_PyTuple_GET_SIZE(__pyx_v_p); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1507, __pyx_L5_except_error)
      __pyx_t_11 = PyLong_FromSsize_t(__pyx_t_9); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1507, __pyx_L5_except_error)
      __Pyx_GOTREF(__pyx_t_11);
      __pyx_t_12 = PySlice_New(Py_None, __pyx_t_11, Py_None); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1507, __pyx_L5_except_error)
      __Pyx_GOTREF(__pyx_t_12);
      __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
      { /* enter inner scope */

        /* "kivy/properties.pyx":1508
 *         except AttributeError:
 *             ps.value.__setitem__(slice(len(p)),
 *                     [prop.get(obj) for prop in p],             # <<<<<<<<<<<<<<
 *                     update_properties=False)
 *         return ps.value
*/
        __pyx_t_11 = PyList_New(0); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1508, __pyx_L20_error)
        __Pyx_GOTREF(__pyx_t_11);
        if (unlikely(__pyx_v_p == Py_None)) {
          PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
          __PYX_ERR(0, 1508, __pyx_L20_error)
        }
        __pyx_t_14 = __pyx_v_p; __Pyx_INCREF(__pyx_t_14);
        __pyx_t_9 = 0;
        for (;;) {
          {
            Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_14);
            #if !CYTHON_ASSUME_SAFE_SIZE
            if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1508, __pyx_L20_error)
            #endif
            if (__pyx_t_9 >= __pyx_temp) break;
          }
          #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
          __pyx_t_15 = __Pyx_NewRef(PyTuple_GET_ITEM(__pyx_t_14, __pyx_t_9));
          #else
          __pyx_t_15 = __Pyx_PySequence_ITEM(__pyx_t_14, __pyx_t_9);
          #endif
          ++__pyx_t_9;
          if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1508, __pyx_L20_error)
          __Pyx_GOTREF(__pyx_t_15);
          __Pyx_XDECREF_SET(__pyx_8genexpr3__pyx_v_prop, __pyx_t_15);
          __pyx_t_15 = 0;
          __pyx_t_16 = __pyx_8genexpr3__pyx_v_prop;
          __Pyx_INCREF(__pyx_t_16);
          __pyx_t_5 = 0;
          {
            PyObject *__pyx_callargs[2] = {__pyx_t_16, ((PyObject *)__pyx_v_obj)};
            __pyx_t_15 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
            __Pyx_XDECREF(__pyx_t_16); __pyx_t_16 = 0;
            if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1508, __pyx_L20_error)
            __Pyx_GOTREF(__pyx_t_15);
          }
          if (unlikely(__Pyx_ListComp_Append(__pyx_t_11, (PyObject*)__pyx_t_15))) __PYX_ERR(0, 1508, __pyx_L20_error)
          __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0;
        }
        __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
        __Pyx_XDECREF(__pyx_8genexpr3__pyx_v_prop); __pyx_8genexpr3__pyx_v_prop = 0;
        goto __pyx_L24_exit_scope;
        __pyx_L20_error:;
        __Pyx_XDECREF(__pyx_8genexpr3__pyx_v_prop); __pyx_8genexpr3__pyx_v_prop = 0;
        goto __pyx_L5_except_error;
        __pyx_L24_exit_scope:;
      } /* exit inner scope */

      /* "kivy/properties.pyx":1509
 *             ps.value.__setitem__(slice(len(p)),
 *                     [prop.get(obj) for prop in p],
 *                     update_properties=False)             # <<<<<<<<<<<<<<
 *         return ps.value
 * 
*/
      __pyx_t_5 = 0;
      {
        PyObject *__pyx_callargs[3 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_2, __pyx_t_12, __pyx_t_11};
        __pyx_t_14 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1507, __pyx_L5_except_error)
        __Pyx_GOTREF(__pyx_t_14);
        if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_update_properties, Py_False, __pyx_t_14, __pyx_callargs+3, 0) < (0)) __PYX_ERR(0, 1507, __pyx_L5_except_error)
        __pyx_t_4 = __Pyx_Object_VectorcallMethod_CallFromBuilder((PyObject*)__pyx_mstate_global->__pyx_n_u_setitem, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_14);
        __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
        __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
        __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
        if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1507, __pyx_L5_except_error)
        __Pyx_GOTREF(__pyx_t_4);
      }
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      goto __pyx_L4_exception_handled;
    }
    goto __pyx_L5_except_error;

    /* "kivy/properties.pyx":1502
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         cdef tuple p = ps.properties
 *         try:             # <<<<<<<<<<<<<<
 *             ps.value.__setslice__(0, len(p),
 *                     [prop.get(obj) for prop in p],
*/
    __pyx_L5_except_error:;
    __Pyx_XGIVEREF(__pyx_t_6);
    __Pyx_XGIVEREF(__pyx_t_7);
    __Pyx_XGIVEREF(__pyx_t_8);
    __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
    goto __pyx_L1_error;
    __pyx_L4_exception_handled:;
    __Pyx_XGIVEREF(__pyx_t_6);
    __Pyx_XGIVEREF(__pyx_t_7);
    __Pyx_XGIVEREF(__pyx_t_8);
    __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
    __pyx_L8_try_end:;
  }

  /* "kivy/properties.pyx":1510
 *                     [prop.get(obj) for prop in p],
 *                     update_properties=False)
 *         return ps.value             # <<<<<<<<<<<<<<
 * 
 * cdef class AliasProperty(Property):
*/
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_ps->__pyx_base.value);
  __pyx_r = __pyx_v_ps->__pyx_base.value;
  goto __pyx_L0;

  /* "kivy/properties.pyx":1499
 *             self._dispatch(obj, ps)
 * 
 *     cpdef get(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         cdef tuple p = ps.properties
*/

  /* 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_10);
  __Pyx_XDECREF(__pyx_t_11);
  __Pyx_XDECREF(__pyx_t_12);
  __Pyx_XDECREF(__pyx_t_14);
  __Pyx_XDECREF(__pyx_t_15);
  __Pyx_XDECREF(__pyx_t_16);
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XDECREF(__pyx_v_p);
  __Pyx_XDECREF(__pyx_8genexpr2__pyx_v_prop);
  __Pyx_XDECREF(__pyx_8genexpr3__pyx_v_prop);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_15get(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_21ReferenceListProperty_14get, "ReferenceListProperty.get(self, EventDispatcher obj)");
static PyMethodDef __pyx_mdef_4kivy_10properties_21ReferenceListProperty_15get = {"get", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_21ReferenceListProperty_15get, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_21ReferenceListProperty_14get};
static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_15get(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1499, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1499, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "get", 0) < (0)) __PYX_ERR(0, 1499, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("get", 1, 1, 1, i); __PYX_ERR(0, 1499, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1499, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("get", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 1499, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 1499, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_21ReferenceListProperty_14get(((struct __pyx_obj_4kivy_10properties_ReferenceListProperty *)__pyx_v_self), __pyx_v_obj);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_21ReferenceListProperty_14get(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj) {
  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_f_4kivy_10properties_21ReferenceListProperty_get(__pyx_v_self, __pyx_v_obj, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1499, __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("kivy.properties.ReferenceListProperty.get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_17__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_21ReferenceListProperty_16__reduce_cython__, "ReferenceListProperty.__reduce_cython__(self)");
static PyMethodDef __pyx_mdef_4kivy_10properties_21ReferenceListProperty_17__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_21ReferenceListProperty_17__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_21ReferenceListProperty_16__reduce_cython__};
static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_17__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return NULL;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__reduce_cython__", __pyx_kwds); return NULL;}
  __pyx_r = __pyx_pf_4kivy_10properties_21ReferenceListProperty_16__reduce_cython__(((struct __pyx_obj_4kivy_10properties_ReferenceListProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_21ReferenceListProperty_16__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_19__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_21ReferenceListProperty_18__setstate_cython__, "ReferenceListProperty.__setstate_cython__(self, __pyx_state)");
static PyMethodDef __pyx_mdef_4kivy_10properties_21ReferenceListProperty_19__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_21ReferenceListProperty_19__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_21ReferenceListProperty_18__setstate_cython__};
static PyObject *__pyx_pw_4kivy_10properties_21ReferenceListProperty_19__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  CYTHON_UNUSED PyObject *__pyx_v___pyx_state = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 3, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 3, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
    }
    __pyx_v___pyx_state = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_21ReferenceListProperty_18__setstate_cython__(((struct __pyx_obj_4kivy_10properties_ReferenceListProperty *)__pyx_v_self), __pyx_v___pyx_state);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_21ReferenceListProperty_18__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ReferenceListProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.ReferenceListProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1589
 *         Parameter `cache` added.
 *     '''
 *     def __cinit__(self):             # <<<<<<<<<<<<<<
 *         self.getter = None
 *         self.setter = None
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_13AliasProperty_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_13AliasProperty_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__cinit__", 1, 0, 0, __pyx_nargs); return -1; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return -1;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__cinit__", __pyx_kwds); return -1;}
  __pyx_r = __pyx_pf_4kivy_10properties_13AliasProperty___cinit__(((struct __pyx_obj_4kivy_10properties_AliasProperty *)__pyx_v_self));

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

static int __pyx_pf_4kivy_10properties_13AliasProperty___cinit__(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self) {
  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("__cinit__", 0);

  /* "kivy/properties.pyx":1590
 *     '''
 *     def __cinit__(self):
 *         self.getter = None             # <<<<<<<<<<<<<<
 *         self.setter = None
 *         self.use_cache = 0
*/
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->getter);
  __Pyx_DECREF(__pyx_v_self->getter);
  __pyx_v_self->getter = Py_None;

  /* "kivy/properties.pyx":1591
 *     def __cinit__(self):
 *         self.getter = None
 *         self.setter = None             # <<<<<<<<<<<<<<
 *         self.use_cache = 0
 *         self.bind_objects = list()
*/
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->setter);
  __Pyx_DECREF(__pyx_v_self->setter);
  __pyx_v_self->setter = Py_None;

  /* "kivy/properties.pyx":1592
 *         self.getter = None
 *         self.setter = None
 *         self.use_cache = 0             # <<<<<<<<<<<<<<
 *         self.bind_objects = list()
 * 
*/
  __pyx_v_self->use_cache = 0;

  /* "kivy/properties.pyx":1593
 *         self.setter = None
 *         self.use_cache = 0
 *         self.bind_objects = list()             # <<<<<<<<<<<<<<
 * 
 *     def __init__(
*/
  __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1593, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->bind_objects);
  __Pyx_DECREF(__pyx_v_self->bind_objects);
  __pyx_v_self->bind_objects = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1589
 *         Parameter `cache` added.
 *     '''
 *     def __cinit__(self):             # <<<<<<<<<<<<<<
 *         self.getter = None
 *         self.setter = None
*/

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.AliasProperty.__cinit__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1595
 *         self.bind_objects = list()
 * 
 *     def __init__(             # <<<<<<<<<<<<<<
 *             self, getter, setter=None, rebind=False, watch_before_use=True,
 *             **kwargs):
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_13AliasProperty_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_13AliasProperty_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_getter = 0;
  PyObject *__pyx_v_setter = 0;
  PyObject *__pyx_v_rebind = 0;
  PyObject *__pyx_v_watch_before_use = 0;
  PyObject *__pyx_v_kwargs = 0;
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[4] = {0,0,0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_v_kwargs = PyDict_New(); if (unlikely(!__pyx_v_kwargs)) return -1;
  __Pyx_GOTREF(__pyx_v_kwargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_getter,&__pyx_mstate_global->__pyx_n_u_setter,&__pyx_mstate_global->__pyx_n_u_rebind,&__pyx_mstate_global->__pyx_n_u_watch_before_use,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1595, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  4:
        values[3] = __Pyx_ArgRef_VARARGS(__pyx_args, 3);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 1595, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  3:
        values[2] = __Pyx_ArgRef_VARARGS(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 1595, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_VARARGS(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1595, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1595, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, __pyx_v_kwargs, values, kwd_pos_args, __pyx_kwds_len, "__init__", 1) < (0)) __PYX_ERR(0, 1595, __pyx_L3_error)

      /* "kivy/properties.pyx":1596
 * 
 *     def __init__(
 *             self, getter, setter=None, rebind=False, watch_before_use=True,             # <<<<<<<<<<<<<<
 *             **kwargs):
 *         Property.__init__(self, None, **kwargs)
*/
      if (!values[1]) values[1] = __Pyx_NewRef(((PyObject *)Py_None));
      if (!values[2]) values[2] = __Pyx_NewRef(((PyObject *)Py_False));
      if (!values[3]) values[3] = __Pyx_NewRef(((PyObject *)Py_True));
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__init__", 0, 1, 4, i); __PYX_ERR(0, 1595, __pyx_L3_error) }
      }
    } else {
      switch (__pyx_nargs) {
        case  4:
        values[3] = __Pyx_ArgRef_VARARGS(__pyx_args, 3);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 1595, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  3:
        values[2] = __Pyx_ArgRef_VARARGS(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 1595, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_VARARGS(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1595, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1595, __pyx_L3_error)
        break;
        default: goto __pyx_L5_argtuple_error;
      }
      if (!values[1]) values[1] = __Pyx_NewRef(((PyObject *)Py_None));
      if (!values[2]) values[2] = __Pyx_NewRef(((PyObject *)Py_False));
      if (!values[3]) values[3] = __Pyx_NewRef(((PyObject *)Py_True));
    }
    __pyx_v_getter = values[0];
    __pyx_v_setter = values[1];
    __pyx_v_rebind = values[2];
    __pyx_v_watch_before_use = values[3];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 1, 4, __pyx_nargs); __PYX_ERR(0, 1595, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kwargs); __pyx_v_kwargs = 0;
  __Pyx_AddTraceback("kivy.properties.AliasProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_13AliasProperty_2__init__(((struct __pyx_obj_4kivy_10properties_AliasProperty *)__pyx_v_self), __pyx_v_getter, __pyx_v_setter, __pyx_v_rebind, __pyx_v_watch_before_use, __pyx_v_kwargs);

  /* "kivy/properties.pyx":1595
 *         self.bind_objects = list()
 * 
 *     def __init__(             # <<<<<<<<<<<<<<
 *             self, getter, setter=None, rebind=False, watch_before_use=True,
 *             **kwargs):
*/

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kwargs);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_4kivy_10properties_13AliasProperty_2__init__(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, PyObject *__pyx_v_getter, PyObject *__pyx_v_setter, PyObject *__pyx_v_rebind, PyObject *__pyx_v_watch_before_use, PyObject *__pyx_v_kwargs) {
  PyObject *__pyx_v_v = NULL;
  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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  int __pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "kivy/properties.pyx":1598
 *             self, getter, setter=None, rebind=False, watch_before_use=True,
 *             **kwargs):
 *         Property.__init__(self, None, **kwargs)             # <<<<<<<<<<<<<<
 *         self.getter = getter
 *         self.setter = setter or self.__read_only
*/
  __pyx_t_2 = NULL;
  __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property), __pyx_mstate_global->__pyx_n_u_init); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1598, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = PyDict_Copy(__pyx_v_kwargs); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1598, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (likely(PyMethod_Check(__pyx_t_3))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_3);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_3, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_2, ((PyObject *)__pyx_v_self), Py_None};
    __pyx_t_1 = __Pyx_PyObject_FastCallDict((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_4);
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1598, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1599
 *             **kwargs):
 *         Property.__init__(self, None, **kwargs)
 *         self.getter = getter             # <<<<<<<<<<<<<<
 *         self.setter = setter or self.__read_only
 *         self.rebind = rebind
*/
  __Pyx_INCREF(__pyx_v_getter);
  __Pyx_GIVEREF(__pyx_v_getter);
  __Pyx_GOTREF(__pyx_v_self->getter);
  __Pyx_DECREF(__pyx_v_self->getter);
  __pyx_v_self->getter = __pyx_v_getter;

  /* "kivy/properties.pyx":1600
 *         Property.__init__(self, None, **kwargs)
 *         self.getter = getter
 *         self.setter = setter or self.__read_only             # <<<<<<<<<<<<<<
 *         self.rebind = rebind
 *         self.watch_before_use = watch_before_use
*/
  __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_setter); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1600, __pyx_L1_error)
  if (!__pyx_t_6) {
  } else {
    __Pyx_INCREF(__pyx_v_setter);
    __pyx_t_1 = __pyx_v_setter;
    goto __pyx_L3_bool_binop_done;
  }
  __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_AliasProperty__read_only); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1600, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_INCREF(__pyx_t_3);
  __pyx_t_1 = __pyx_t_3;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_L3_bool_binop_done:;
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->setter);
  __Pyx_DECREF(__pyx_v_self->setter);
  __pyx_v_self->setter = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1601
 *         self.getter = getter
 *         self.setter = setter or self.__read_only
 *         self.rebind = rebind             # <<<<<<<<<<<<<<
 *         self.watch_before_use = watch_before_use
 *         v = kwargs.get('bind')
*/
  __pyx_t_7 = __Pyx_PyLong_As_int(__pyx_v_rebind); if (unlikely((__pyx_t_7 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1601, __pyx_L1_error)
  __pyx_v_self->rebind = __pyx_t_7;

  /* "kivy/properties.pyx":1602
 *         self.setter = setter or self.__read_only
 *         self.rebind = rebind
 *         self.watch_before_use = watch_before_use             # <<<<<<<<<<<<<<
 *         v = kwargs.get('bind')
 *         self.bind_objects = list(v) if v is not None else []
*/
  __pyx_t_7 = __Pyx_PyLong_As_int(__pyx_v_watch_before_use); if (unlikely((__pyx_t_7 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1602, __pyx_L1_error)
  __pyx_v_self->watch_before_use = __pyx_t_7;

  /* "kivy/properties.pyx":1603
 *         self.rebind = rebind
 *         self.watch_before_use = watch_before_use
 *         v = kwargs.get('bind')             # <<<<<<<<<<<<<<
 *         self.bind_objects = list(v) if v is not None else []
 *         if kwargs.get('cache'):
*/
  __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_kwargs, __pyx_mstate_global->__pyx_n_u_bind, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1603, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_v = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1604
 *         self.watch_before_use = watch_before_use
 *         v = kwargs.get('bind')
 *         self.bind_objects = list(v) if v is not None else []             # <<<<<<<<<<<<<<
 *         if kwargs.get('cache'):
 *             self.use_cache = 1
*/
  __pyx_t_6 = (__pyx_v_v != Py_None);
  if (__pyx_t_6) {
    __pyx_t_3 = PySequence_List(__pyx_v_v); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1604, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_1 = __pyx_t_3;
    __pyx_t_3 = 0;
  } else {
    __pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1604, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_1 = __pyx_t_3;
    __pyx_t_3 = 0;
  }
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->bind_objects);
  __Pyx_DECREF(__pyx_v_self->bind_objects);
  __pyx_v_self->bind_objects = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1605
 *         v = kwargs.get('bind')
 *         self.bind_objects = list(v) if v is not None else []
 *         if kwargs.get('cache'):             # <<<<<<<<<<<<<<
 *             self.use_cache = 1
 * 
*/
  __pyx_t_1 = __Pyx_PyDict_GetItemDefault(__pyx_v_kwargs, __pyx_mstate_global->__pyx_n_u_cache, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1605, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1605, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":1606
 *         self.bind_objects = list(v) if v is not None else []
 *         if kwargs.get('cache'):
 *             self.use_cache = 1             # <<<<<<<<<<<<<<
 * 
 *     def __read_only(self, _obj, _value):
*/
    __pyx_v_self->use_cache = 1;

    /* "kivy/properties.pyx":1605
 *         v = kwargs.get('bind')
 *         self.bind_objects = list(v) if v is not None else []
 *         if kwargs.get('cache'):             # <<<<<<<<<<<<<<
 *             self.use_cache = 1
 * 
*/
  }

  /* "kivy/properties.pyx":1595
 *         self.bind_objects = list()
 * 
 *     def __init__(             # <<<<<<<<<<<<<<
 *             self, getter, setter=None, rebind=False, watch_before_use=True,
 *             **kwargs):
*/

  /* 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_AddTraceback("kivy.properties.AliasProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_v);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1608
 *             self.use_cache = 1
 * 
 *     def __read_only(self, _obj, _value):             # <<<<<<<<<<<<<<
 *         raise AttributeError(
 *             '"{}.{}" property is readonly'.format(
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_5_AliasProperty__read_only(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_13AliasProperty_4__read_only, "AliasProperty.__read_only(self, _obj, _value)");
static PyMethodDef __pyx_mdef_4kivy_10properties_13AliasProperty_5_AliasProperty__read_only = {"_AliasProperty__read_only", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_13AliasProperty_5_AliasProperty__read_only, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_13AliasProperty_4__read_only};
static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_5_AliasProperty__read_only(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v__obj = 0;
  CYTHON_UNUSED PyObject *__pyx_v__value = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("_AliasProperty__read_only (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj_2,&__pyx_mstate_global->__pyx_n_u_value_2,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1608, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1608, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1608, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "_AliasProperty__read_only", 0) < (0)) __PYX_ERR(0, 1608, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("_AliasProperty__read_only", 1, 2, 2, i); __PYX_ERR(0, 1608, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1608, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1608, __pyx_L3_error)
    }
    __pyx_v__obj = values[0];
    __pyx_v__value = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("_AliasProperty__read_only", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 1608, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.AliasProperty._AliasProperty__read_only", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_13AliasProperty_4__read_only(((struct __pyx_obj_4kivy_10properties_AliasProperty *)__pyx_v_self), __pyx_v__obj, __pyx_v__value);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_13AliasProperty_4__read_only(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, PyObject *__pyx_v__obj, CYTHON_UNUSED PyObject *__pyx_v__value) {
  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;
  size_t __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("_AliasProperty__read_only", 0);

  /* "kivy/properties.pyx":1609
 * 
 *     def __read_only(self, _obj, _value):
 *         raise AttributeError(             # <<<<<<<<<<<<<<
 *             '"{}.{}" property is readonly'.format(
 *                 type(_obj).__name__,
*/
  __pyx_t_2 = NULL;

  /* "kivy/properties.pyx":1610
 *     def __read_only(self, _obj, _value):
 *         raise AttributeError(
 *             '"{}.{}" property is readonly'.format(             # <<<<<<<<<<<<<<
 *                 type(_obj).__name__,
 *                 self._name
*/
  __pyx_t_4 = __pyx_mstate_global->__pyx_kp_u_property_is_readonly;
  __Pyx_INCREF(__pyx_t_4);

  /* "kivy/properties.pyx":1611
 *         raise AttributeError(
 *             '"{}.{}" property is readonly'.format(
 *                 type(_obj).__name__,             # <<<<<<<<<<<<<<
 *                 self._name
 *             )
*/
  __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)Py_TYPE(__pyx_v__obj)), __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1611, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);

  /* "kivy/properties.pyx":1612
 *             '"{}.{}" property is readonly'.format(
 *                 type(_obj).__name__,
 *                 self._name             # <<<<<<<<<<<<<<
 *             )
 *         )
*/
  __pyx_t_6 = 0;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_4, __pyx_t_5, __pyx_v_self->__pyx_base._name};
    __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_format, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1610, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
  }
  __pyx_t_6 = 1;
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_t_3};
    __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_AttributeError)), __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1609, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_Raise(__pyx_t_1, 0, 0, 0);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __PYX_ERR(0, 1609, __pyx_L1_error)

  /* "kivy/properties.pyx":1608
 *             self.use_cache = 1
 * 
 *     def __read_only(self, _obj, _value):             # <<<<<<<<<<<<<<
 *         raise AttributeError(
 *             '"{}.{}" property is readonly'.format(
*/

  /* 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("kivy.properties.AliasProperty._AliasProperty__read_only", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1616
 *         )
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):             # <<<<<<<<<<<<<<
 *         Property.init_storage(self, obj, storage)
 *         cdef AliasPropertyStorage s = storage
*/

static PyObject *__pyx_f_4kivy_10properties_13AliasProperty_init_storage(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_storage) {
  struct __pyx_obj_4kivy_10properties_AliasPropertyStorage *__pyx_v_s = 0;
  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("init_storage", 0);

  /* "kivy/properties.pyx":1617
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):
 *         Property.init_storage(self, obj, storage)             # <<<<<<<<<<<<<<
 *         cdef AliasPropertyStorage s = storage
 *         s.getter = self.getter
*/
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_init_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_storage); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1617, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1618
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):
 *         Property.init_storage(self, obj, storage)
 *         cdef AliasPropertyStorage s = storage             # <<<<<<<<<<<<<<
 *         s.getter = self.getter
 *         s.setter = self.setter
*/
  __pyx_t_1 = ((PyObject *)__pyx_v_storage);
  __Pyx_INCREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_AliasPropertyStorage))))) __PYX_ERR(0, 1618, __pyx_L1_error)
  __pyx_v_s = ((struct __pyx_obj_4kivy_10properties_AliasPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1619
 *         Property.init_storage(self, obj, storage)
 *         cdef AliasPropertyStorage s = storage
 *         s.getter = self.getter             # <<<<<<<<<<<<<<
 *         s.setter = self.setter
 *         s.alias_initial = 1
*/
  __pyx_t_1 = __pyx_v_self->getter;
  __Pyx_INCREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_s->getter);
  __Pyx_DECREF(__pyx_v_s->getter);
  __pyx_v_s->getter = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1620
 *         cdef AliasPropertyStorage s = storage
 *         s.getter = self.getter
 *         s.setter = self.setter             # <<<<<<<<<<<<<<
 *         s.alias_initial = 1
 * 
*/
  __pyx_t_1 = __pyx_v_self->setter;
  __Pyx_INCREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_s->setter);
  __Pyx_DECREF(__pyx_v_s->setter);
  __pyx_v_s->setter = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1621
 *         s.getter = self.getter
 *         s.setter = self.setter
 *         s.alias_initial = 1             # <<<<<<<<<<<<<<
 * 
 *     cdef PropertyStorage create_property_storage(self):
*/
  __pyx_v_s->alias_initial = 1;

  /* "kivy/properties.pyx":1616
 *         )
 * 
 *     cdef init_storage(self, EventDispatcher obj, PropertyStorage storage):             # <<<<<<<<<<<<<<
 *         Property.init_storage(self, obj, storage)
 *         cdef AliasPropertyStorage s = storage
*/

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.AliasProperty.init_storage", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_s);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1623
 *         s.alias_initial = 1
 * 
 *     cdef PropertyStorage create_property_storage(self):             # <<<<<<<<<<<<<<
 *         return AliasPropertyStorage.__new__(AliasPropertyStorage)
 * 
*/

static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_13AliasProperty_create_property_storage(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__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("create_property_storage", 0);

  /* "kivy/properties.pyx":1624
 * 
 *     cdef PropertyStorage create_property_storage(self):
 *         return AliasPropertyStorage.__new__(AliasPropertyStorage)             # <<<<<<<<<<<<<<
 * 
 *     cpdef PropertyStorage link_eagerly(self, EventDispatcher obj):
*/
  __Pyx_XDECREF((PyObject *)__pyx_r);
  __pyx_t_1 = ((PyObject *)__pyx_tp_new_4kivy_10properties_AliasPropertyStorage(((PyTypeObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_AliasPropertyStorage), __pyx_mstate_global->__pyx_empty_tuple, NULL)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1624, __pyx_L1_error)
  __Pyx_GOTREF((PyObject *)__pyx_t_1);
  if (!(likely(__Pyx_TypeTest(((PyObject *)__pyx_t_1), __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage)))) __PYX_ERR(0, 1624, __pyx_L1_error)
  __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "kivy/properties.pyx":1623
 *         s.alias_initial = 1
 * 
 *     cdef PropertyStorage create_property_storage(self):             # <<<<<<<<<<<<<<
 *         return AliasPropertyStorage.__new__(AliasPropertyStorage)
 * 
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.AliasProperty.create_property_storage", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1626
 *         return AliasPropertyStorage.__new__(AliasPropertyStorage)
 * 
 *     cpdef PropertyStorage link_eagerly(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         # only init linking early if the getter could be executed due to bound
 *         # object before we do lazy linking and requested
*/

static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_7link_eagerly(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_13AliasProperty_link_eagerly(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  int __pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("link_eagerly", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_AliasProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_link_eagerly); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1626, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_13AliasProperty_7link_eagerly)) {
        __Pyx_XDECREF((PyObject *)__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[2] = {__pyx_t_3, ((PyObject *)__pyx_v_obj)};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1626, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage))))) __PYX_ERR(0, 1626, __pyx_L1_error)
        __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_2);
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":1629
 *         # only init linking early if the getter could be executed due to bound
 *         # object before we do lazy linking and requested
 *         if self.watch_before_use and self.bind_objects:             # <<<<<<<<<<<<<<
 *             return self.get_property_storage(obj)
 *         return None
*/
  __pyx_t_7 = (__pyx_v_self->watch_before_use != 0);
  if (__pyx_t_7) {
  } else {
    __pyx_t_6 = __pyx_t_7;
    goto __pyx_L4_bool_binop_done;
  }
  if (__pyx_v_self->bind_objects == Py_None) __pyx_t_7 = 0;
  else
  {
    Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_v_self->bind_objects);
    if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 1629, __pyx_L1_error)
    __pyx_t_7 = (__pyx_temp != 0);
  }

  __pyx_t_6 = __pyx_t_7;
  __pyx_L4_bool_binop_done:;
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":1630
 *         # object before we do lazy linking and requested
 *         if self.watch_before_use and self.bind_objects:
 *             return self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         return None
 * 
*/
    __Pyx_XDECREF((PyObject *)__pyx_r);
    __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_AliasProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get_property_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1630, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
    __pyx_t_1 = 0;
    goto __pyx_L0;

    /* "kivy/properties.pyx":1629
 *         # only init linking early if the getter could be executed due to bound
 *         # object before we do lazy linking and requested
 *         if self.watch_before_use and self.bind_objects:             # <<<<<<<<<<<<<<
 *             return self.get_property_storage(obj)
 *         return None
*/
  }

  /* "kivy/properties.pyx":1631
 *         if self.watch_before_use and self.bind_objects:
 *             return self.get_property_storage(obj)
 *         return None             # <<<<<<<<<<<<<<
 * 
 *     cpdef link_deps(self, EventDispatcher obj, str name):
*/
  __Pyx_XDECREF((PyObject *)__pyx_r);
  __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)Py_None); __Pyx_INCREF(Py_None);
  goto __pyx_L0;

  /* "kivy/properties.pyx":1626
 *         return AliasPropertyStorage.__new__(AliasPropertyStorage)
 * 
 *     cpdef PropertyStorage link_eagerly(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         # only init linking early if the getter could be executed due to bound
 *         # object before we do lazy linking and requested
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("kivy.properties.AliasProperty.link_eagerly", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_7link_eagerly(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_13AliasProperty_6link_eagerly, "AliasProperty.link_eagerly(self, EventDispatcher obj) -> PropertyStorage");
static PyMethodDef __pyx_mdef_4kivy_10properties_13AliasProperty_7link_eagerly = {"link_eagerly", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_13AliasProperty_7link_eagerly, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_13AliasProperty_6link_eagerly};
static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_7link_eagerly(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("link_eagerly (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1626, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1626, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "link_eagerly", 0) < (0)) __PYX_ERR(0, 1626, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("link_eagerly", 1, 1, 1, i); __PYX_ERR(0, 1626, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1626, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("link_eagerly", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 1626, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.AliasProperty.link_eagerly", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 1626, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_13AliasProperty_6link_eagerly(((struct __pyx_obj_4kivy_10properties_AliasProperty *)__pyx_v_self), __pyx_v_obj);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_13AliasProperty_6link_eagerly(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj) {
  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("link_eagerly", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_13AliasProperty_link_eagerly(__pyx_v_self, __pyx_v_obj, 1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1626, __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("kivy.properties.AliasProperty.link_eagerly", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1633
 *         return None
 * 
 *     cpdef link_deps(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         cdef Property oprop
 *         for prop in self.bind_objects:
*/

static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_9link_deps(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_13AliasProperty_link_deps(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_name, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_Property *__pyx_v_oprop = 0;
  PyObject *__pyx_v_prop = 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;
  size_t __pyx_t_5;
  Py_ssize_t __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("link_deps", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_AliasProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_link_deps); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1633, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_13AliasProperty_9link_deps)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_name};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1633, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":1635
 *     cpdef link_deps(self, EventDispatcher obj, str name):
 *         cdef Property oprop
 *         for prop in self.bind_objects:             # <<<<<<<<<<<<<<
 *             oprop = getattr(obj.__class__, prop)
 *             oprop.fbind(obj, self.trigger_change, 0)
*/
  if (unlikely(__pyx_v_self->bind_objects == Py_None)) {
    PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
    __PYX_ERR(0, 1635, __pyx_L1_error)
  }
  __pyx_t_1 = __pyx_v_self->bind_objects; __Pyx_INCREF(__pyx_t_1);
  __pyx_t_6 = 0;
  for (;;) {
    {
      Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_1);
      #if !CYTHON_ASSUME_SAFE_SIZE
      if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1635, __pyx_L1_error)
      #endif
      if (__pyx_t_6 >= __pyx_temp) break;
    }
    __pyx_t_2 = __Pyx_PyList_GetItemRefFast(__pyx_t_1, __pyx_t_6, __Pyx_ReferenceSharing_OwnStrongReference);
    ++__pyx_t_6;
    if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1635, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_XDECREF_SET(__pyx_v_prop, __pyx_t_2);
    __pyx_t_2 = 0;

    /* "kivy/properties.pyx":1636
 *         cdef Property oprop
 *         for prop in self.bind_objects:
 *             oprop = getattr(obj.__class__, prop)             # <<<<<<<<<<<<<<
 *             oprop.fbind(obj, self.trigger_change, 0)
 * 
*/
    __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1636, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_4 = __Pyx_GetAttr(__pyx_t_2, __pyx_v_prop); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1636, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    if (!(likely(((__pyx_t_4) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_4, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property))))) __PYX_ERR(0, 1636, __pyx_L1_error)
    __Pyx_XDECREF_SET(__pyx_v_oprop, ((struct __pyx_obj_4kivy_10properties_Property *)__pyx_t_4));
    __pyx_t_4 = 0;

    /* "kivy/properties.pyx":1637
 *         for prop in self.bind_objects:
 *             oprop = getattr(obj.__class__, prop)
 *             oprop.fbind(obj, self.trigger_change, 0)             # <<<<<<<<<<<<<<
 * 
 *     cpdef trigger_change(self, EventDispatcher obj, value):
*/
    __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trigger_change); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1637, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_2 = ((struct __pyx_vtabstruct_4kivy_10properties_Property *)__pyx_v_oprop->__pyx_vtab)->fbind(__pyx_v_oprop, __pyx_v_obj, __pyx_t_4, 0, 0, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1637, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

    /* "kivy/properties.pyx":1635
 *     cpdef link_deps(self, EventDispatcher obj, str name):
 *         cdef Property oprop
 *         for prop in self.bind_objects:             # <<<<<<<<<<<<<<
 *             oprop = getattr(obj.__class__, prop)
 *             oprop.fbind(obj, self.trigger_change, 0)
*/
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1633
 *         return None
 * 
 *     cpdef link_deps(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         cdef Property oprop
 *         for prop in self.bind_objects:
*/

  /* 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("kivy.properties.AliasProperty.link_deps", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_oprop);
  __Pyx_XDECREF(__pyx_v_prop);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_9link_deps(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_13AliasProperty_8link_deps, "AliasProperty.link_deps(self, EventDispatcher obj, str name)");
static PyMethodDef __pyx_mdef_4kivy_10properties_13AliasProperty_9link_deps = {"link_deps", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_13AliasProperty_9link_deps, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_13AliasProperty_8link_deps};
static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_9link_deps(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_name = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("link_deps (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_name_3,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1633, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1633, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1633, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "link_deps", 0) < (0)) __PYX_ERR(0, 1633, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("link_deps", 1, 2, 2, i); __PYX_ERR(0, 1633, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1633, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1633, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_name = ((PyObject*)values[1]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("link_deps", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 1633, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.AliasProperty.link_deps", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 1633, __pyx_L1_error)
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_name), (&PyUnicode_Type), 1, "name", 1))) __PYX_ERR(0, 1633, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_13AliasProperty_8link_deps(((struct __pyx_obj_4kivy_10properties_AliasProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v_name);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_13AliasProperty_8link_deps(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, 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("link_deps", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_4kivy_10properties_13AliasProperty_link_deps(__pyx_v_self, __pyx_v_obj, __pyx_v_name, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1633, __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("kivy.properties.AliasProperty.link_deps", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1639
 *             oprop.fbind(obj, self.trigger_change, 0)
 * 
 *     cpdef trigger_change(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         dvalue = ps.getter(obj)
*/

static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_11trigger_change(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_13AliasProperty_trigger_change(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_value, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_AliasPropertyStorage *__pyx_v_ps = 0;
  PyObject *__pyx_v_dvalue = 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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("trigger_change", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_AliasProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_trigger_change); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1639, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_13AliasProperty_11trigger_change)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_value};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1639, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":1640
 * 
 *     cpdef trigger_change(self, EventDispatcher obj, value):
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         dvalue = ps.getter(obj)
 *         if ps.value != dvalue:
*/
  __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_AliasProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get_property_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1640, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_AliasPropertyStorage))))) __PYX_ERR(0, 1640, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_AliasPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1641
 *     cpdef trigger_change(self, EventDispatcher obj, value):
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         dvalue = ps.getter(obj)             # <<<<<<<<<<<<<<
 *         if ps.value != dvalue:
 *             if self.use_cache:
*/
  __pyx_t_2 = NULL;
  __Pyx_INCREF(__pyx_v_ps->getter);
  __pyx_t_4 = __pyx_v_ps->getter; 
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (likely(PyMethod_Check(__pyx_t_4))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_2, ((PyObject *)__pyx_v_obj)};
    __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1641, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __pyx_v_dvalue = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1642
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         dvalue = ps.getter(obj)
 *         if ps.value != dvalue:             # <<<<<<<<<<<<<<
 *             if self.use_cache:
 *                 ps.alias_initial = 0
*/
  __pyx_t_1 = PyObject_RichCompare(__pyx_v_ps->__pyx_base.value, __pyx_v_dvalue, Py_NE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1642, __pyx_L1_error)
  __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1642, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":1643
 *         dvalue = ps.getter(obj)
 *         if ps.value != dvalue:
 *             if self.use_cache:             # <<<<<<<<<<<<<<
 *                 ps.alias_initial = 0
 *                 ps.value = dvalue
*/
    __pyx_t_6 = (__pyx_v_self->use_cache != 0);
    if (__pyx_t_6) {

      /* "kivy/properties.pyx":1644
 *         if ps.value != dvalue:
 *             if self.use_cache:
 *                 ps.alias_initial = 0             # <<<<<<<<<<<<<<
 *                 ps.value = dvalue
 *             self._dispatch(obj, ps)
*/
      __pyx_v_ps->alias_initial = 0;

      /* "kivy/properties.pyx":1645
 *             if self.use_cache:
 *                 ps.alias_initial = 0
 *                 ps.value = dvalue             # <<<<<<<<<<<<<<
 *             self._dispatch(obj, ps)
 * 
*/
      __Pyx_INCREF(__pyx_v_dvalue);
      __Pyx_GIVEREF(__pyx_v_dvalue);
      __Pyx_GOTREF(__pyx_v_ps->__pyx_base.value);
      __Pyx_DECREF(__pyx_v_ps->__pyx_base.value);
      __pyx_v_ps->__pyx_base.value = __pyx_v_dvalue;

      /* "kivy/properties.pyx":1643
 *         dvalue = ps.getter(obj)
 *         if ps.value != dvalue:
 *             if self.use_cache:             # <<<<<<<<<<<<<<
 *                 ps.alias_initial = 0
 *                 ps.value = dvalue
*/
    }

    /* "kivy/properties.pyx":1646
 *                 ps.alias_initial = 0
 *                 ps.value = dvalue
 *             self._dispatch(obj, ps)             # <<<<<<<<<<<<<<
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
*/
    __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_AliasProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._dispatch(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_v_ps)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1646, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "kivy/properties.pyx":1642
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         dvalue = ps.getter(obj)
 *         if ps.value != dvalue:             # <<<<<<<<<<<<<<
 *             if self.use_cache:
 *                 ps.alias_initial = 0
*/
  }

  /* "kivy/properties.pyx":1639
 *             oprop.fbind(obj, self.trigger_change, 0)
 * 
 *     cpdef trigger_change(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         dvalue = ps.getter(obj)
*/

  /* 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("kivy.properties.AliasProperty.trigger_change", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XDECREF(__pyx_v_dvalue);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_11trigger_change(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_13AliasProperty_10trigger_change, "AliasProperty.trigger_change(self, EventDispatcher obj, value)");
static PyMethodDef __pyx_mdef_4kivy_10properties_13AliasProperty_11trigger_change = {"trigger_change", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_13AliasProperty_11trigger_change, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_13AliasProperty_10trigger_change};
static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_11trigger_change(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_value = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("trigger_change (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_value,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1639, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1639, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1639, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "trigger_change", 0) < (0)) __PYX_ERR(0, 1639, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("trigger_change", 1, 2, 2, i); __PYX_ERR(0, 1639, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1639, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1639, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_value = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("trigger_change", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 1639, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.AliasProperty.trigger_change", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 1639, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_13AliasProperty_10trigger_change(((struct __pyx_obj_4kivy_10properties_AliasProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v_value);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_13AliasProperty_10trigger_change(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value) {
  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("trigger_change", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_4kivy_10properties_13AliasProperty_trigger_change(__pyx_v_self, __pyx_v_obj, __pyx_v_value, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1639, __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("kivy.properties.AliasProperty.trigger_change", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1648
 *             self._dispatch(obj, ps)
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         return True
 * 
*/

static PyObject *__pyx_f_4kivy_10properties_13AliasProperty_check(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v_value, CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("check", 0);

  /* "kivy/properties.pyx":1649
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         return True             # <<<<<<<<<<<<<<
 * 
 *     cpdef get(self, EventDispatcher obj):
*/
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(Py_True);
  __pyx_r = Py_True;
  goto __pyx_L0;

  /* "kivy/properties.pyx":1648
 *             self._dispatch(obj, ps)
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         return True
 * 
*/

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

/* "kivy/properties.pyx":1651
 *         return True
 * 
 *     cpdef get(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         if self.use_cache:
*/

static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_13get(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_13AliasProperty_get(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_AliasPropertyStorage *__pyx_v_ps = 0;
  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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("get", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_AliasProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1651, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_13AliasProperty_13get)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[2] = {__pyx_t_3, ((PyObject *)__pyx_v_obj)};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1651, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":1652
 * 
 *     cpdef get(self, EventDispatcher obj):
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         if self.use_cache:
 *             if ps.alias_initial:
*/
  __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_AliasProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get_property_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1652, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_AliasPropertyStorage))))) __PYX_ERR(0, 1652, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_AliasPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1653
 *     cpdef get(self, EventDispatcher obj):
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         if self.use_cache:             # <<<<<<<<<<<<<<
 *             if ps.alias_initial:
 *                 ps.alias_initial = 0
*/
  __pyx_t_6 = (__pyx_v_self->use_cache != 0);
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":1654
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         if self.use_cache:
 *             if ps.alias_initial:             # <<<<<<<<<<<<<<
 *                 ps.alias_initial = 0
 *                 ps.value = ps.getter(obj)
*/
    __pyx_t_6 = (__pyx_v_ps->alias_initial != 0);
    if (__pyx_t_6) {

      /* "kivy/properties.pyx":1655
 *         if self.use_cache:
 *             if ps.alias_initial:
 *                 ps.alias_initial = 0             # <<<<<<<<<<<<<<
 *                 ps.value = ps.getter(obj)
 *             return ps.value
*/
      __pyx_v_ps->alias_initial = 0;

      /* "kivy/properties.pyx":1656
 *             if ps.alias_initial:
 *                 ps.alias_initial = 0
 *                 ps.value = ps.getter(obj)             # <<<<<<<<<<<<<<
 *             return ps.value
 *         return ps.getter(obj)
*/
      __pyx_t_2 = NULL;
      __Pyx_INCREF(__pyx_v_ps->getter);
      __pyx_t_4 = __pyx_v_ps->getter; 
      __pyx_t_5 = 1;
      #if CYTHON_UNPACK_METHODS
      if (likely(PyMethod_Check(__pyx_t_4))) {
        __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
        assert(__pyx_t_2);
        PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
        __Pyx_INCREF(__pyx_t_2);
        __Pyx_INCREF(__pyx__function);
        __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
        __pyx_t_5 = 0;
      }
      #endif
      {
        PyObject *__pyx_callargs[2] = {__pyx_t_2, ((PyObject *)__pyx_v_obj)};
        __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
        if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1656, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_1);
      }
      __Pyx_GIVEREF(__pyx_t_1);
      __Pyx_GOTREF(__pyx_v_ps->__pyx_base.value);
      __Pyx_DECREF(__pyx_v_ps->__pyx_base.value);
      __pyx_v_ps->__pyx_base.value = __pyx_t_1;
      __pyx_t_1 = 0;

      /* "kivy/properties.pyx":1654
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         if self.use_cache:
 *             if ps.alias_initial:             # <<<<<<<<<<<<<<
 *                 ps.alias_initial = 0
 *                 ps.value = ps.getter(obj)
*/
    }

    /* "kivy/properties.pyx":1657
 *                 ps.alias_initial = 0
 *                 ps.value = ps.getter(obj)
 *             return ps.value             # <<<<<<<<<<<<<<
 *         return ps.getter(obj)
 * 
*/
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(__pyx_v_ps->__pyx_base.value);
    __pyx_r = __pyx_v_ps->__pyx_base.value;
    goto __pyx_L0;

    /* "kivy/properties.pyx":1653
 *     cpdef get(self, EventDispatcher obj):
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         if self.use_cache:             # <<<<<<<<<<<<<<
 *             if ps.alias_initial:
 *                 ps.alias_initial = 0
*/
  }

  /* "kivy/properties.pyx":1658
 *                 ps.value = ps.getter(obj)
 *             return ps.value
 *         return ps.getter(obj)             # <<<<<<<<<<<<<<
 * 
 *     cpdef set(self, EventDispatcher obj, value):
*/
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_4 = NULL;
  __Pyx_INCREF(__pyx_v_ps->getter);
  __pyx_t_2 = __pyx_v_ps->getter; 
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (likely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
    assert(__pyx_t_4);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_2);
    __Pyx_INCREF(__pyx_t_4);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_2, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_4, ((PyObject *)__pyx_v_obj)};
    __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_2, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1658, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __pyx_r = __pyx_t_1;
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "kivy/properties.pyx":1651
 *         return True
 * 
 *     cpdef get(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         if self.use_cache:
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("kivy.properties.AliasProperty.get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_13get(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_13AliasProperty_12get, "AliasProperty.get(self, EventDispatcher obj)");
static PyMethodDef __pyx_mdef_4kivy_10properties_13AliasProperty_13get = {"get", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_13AliasProperty_13get, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_13AliasProperty_12get};
static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_13get(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("get (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1651, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1651, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "get", 0) < (0)) __PYX_ERR(0, 1651, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("get", 1, 1, 1, i); __PYX_ERR(0, 1651, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1651, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("get", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 1651, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.AliasProperty.get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 1651, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_13AliasProperty_12get(((struct __pyx_obj_4kivy_10properties_AliasProperty *)__pyx_v_self), __pyx_v_obj);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_13AliasProperty_12get(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj) {
  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_f_4kivy_10properties_13AliasProperty_get(__pyx_v_self, __pyx_v_obj, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1651, __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("kivy.properties.AliasProperty.get", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1660
 *         return ps.getter(obj)
 * 
 *     cpdef set(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.setter(obj, value):
*/

static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_15set(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_13AliasProperty_set(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_AliasPropertyStorage *__pyx_v_ps = 0;
  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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("set", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_AliasProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_set); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1660, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_13AliasProperty_15set)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_value};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1660, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":1661
 * 
 *     cpdef set(self, EventDispatcher obj, value):
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         if ps.setter(obj, value):
 *             if self.use_cache:
*/
  __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_AliasProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get_property_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1661, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_AliasPropertyStorage))))) __PYX_ERR(0, 1661, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_AliasPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1662
 *     cpdef set(self, EventDispatcher obj, value):
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.setter(obj, value):             # <<<<<<<<<<<<<<
 *             if self.use_cache:
 *                 if ps.alias_initial:
*/
  __pyx_t_2 = NULL;
  __Pyx_INCREF(__pyx_v_ps->setter);
  __pyx_t_4 = __pyx_v_ps->setter; 
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (likely(PyMethod_Check(__pyx_t_4))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_2, ((PyObject *)__pyx_v_obj), __pyx_v_value};
    __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1662, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1662, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":1663
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.setter(obj, value):
 *             if self.use_cache:             # <<<<<<<<<<<<<<
 *                 if ps.alias_initial:
 *                     ps.alias_initial = 0
*/
    __pyx_t_6 = (__pyx_v_self->use_cache != 0);
    if (__pyx_t_6) {

      /* "kivy/properties.pyx":1664
 *         if ps.setter(obj, value):
 *             if self.use_cache:
 *                 if ps.alias_initial:             # <<<<<<<<<<<<<<
 *                     ps.alias_initial = 0
 *                 ps.value = ps.getter(obj)
*/
      __pyx_t_6 = (__pyx_v_ps->alias_initial != 0);
      if (__pyx_t_6) {

        /* "kivy/properties.pyx":1665
 *             if self.use_cache:
 *                 if ps.alias_initial:
 *                     ps.alias_initial = 0             # <<<<<<<<<<<<<<
 *                 ps.value = ps.getter(obj)
 *             self._dispatch(obj, ps)
*/
        __pyx_v_ps->alias_initial = 0;

        /* "kivy/properties.pyx":1664
 *         if ps.setter(obj, value):
 *             if self.use_cache:
 *                 if ps.alias_initial:             # <<<<<<<<<<<<<<
 *                     ps.alias_initial = 0
 *                 ps.value = ps.getter(obj)
*/
      }

      /* "kivy/properties.pyx":1666
 *                 if ps.alias_initial:
 *                     ps.alias_initial = 0
 *                 ps.value = ps.getter(obj)             # <<<<<<<<<<<<<<
 *             self._dispatch(obj, ps)
 *         elif self.force_dispatch:
*/
      __pyx_t_4 = NULL;
      __Pyx_INCREF(__pyx_v_ps->getter);
      __pyx_t_2 = __pyx_v_ps->getter; 
      __pyx_t_5 = 1;
      #if CYTHON_UNPACK_METHODS
      if (likely(PyMethod_Check(__pyx_t_2))) {
        __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
        assert(__pyx_t_4);
        PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_2);
        __Pyx_INCREF(__pyx_t_4);
        __Pyx_INCREF(__pyx__function);
        __Pyx_DECREF_SET(__pyx_t_2, __pyx__function);
        __pyx_t_5 = 0;
      }
      #endif
      {
        PyObject *__pyx_callargs[2] = {__pyx_t_4, ((PyObject *)__pyx_v_obj)};
        __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_2, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
        __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
        if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1666, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_1);
      }
      __Pyx_GIVEREF(__pyx_t_1);
      __Pyx_GOTREF(__pyx_v_ps->__pyx_base.value);
      __Pyx_DECREF(__pyx_v_ps->__pyx_base.value);
      __pyx_v_ps->__pyx_base.value = __pyx_t_1;
      __pyx_t_1 = 0;

      /* "kivy/properties.pyx":1663
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.setter(obj, value):
 *             if self.use_cache:             # <<<<<<<<<<<<<<
 *                 if ps.alias_initial:
 *                     ps.alias_initial = 0
*/
    }

    /* "kivy/properties.pyx":1667
 *                     ps.alias_initial = 0
 *                 ps.value = ps.getter(obj)
 *             self._dispatch(obj, ps)             # <<<<<<<<<<<<<<
 *         elif self.force_dispatch:
 *             self._dispatch(obj, ps)
*/
    __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_AliasProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._dispatch(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_v_ps)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1667, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "kivy/properties.pyx":1662
 *     cpdef set(self, EventDispatcher obj, value):
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.setter(obj, value):             # <<<<<<<<<<<<<<
 *             if self.use_cache:
 *                 if ps.alias_initial:
*/
    goto __pyx_L3;
  }

  /* "kivy/properties.pyx":1668
 *                 ps.value = ps.getter(obj)
 *             self._dispatch(obj, ps)
 *         elif self.force_dispatch:             # <<<<<<<<<<<<<<
 *             self._dispatch(obj, ps)
 * 
*/
  __pyx_t_6 = (__pyx_v_self->__pyx_base.force_dispatch != 0);
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":1669
 *             self._dispatch(obj, ps)
 *         elif self.force_dispatch:
 *             self._dispatch(obj, ps)             # <<<<<<<<<<<<<<
 * 
 *     cdef _dispatch(self, EventDispatcher obj, PropertyStorage ps):
*/
    __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_AliasProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._dispatch(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_v_ps)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1669, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "kivy/properties.pyx":1668
 *                 ps.value = ps.getter(obj)
 *             self._dispatch(obj, ps)
 *         elif self.force_dispatch:             # <<<<<<<<<<<<<<
 *             self._dispatch(obj, ps)
 * 
*/
  }
  __pyx_L3:;

  /* "kivy/properties.pyx":1660
 *         return ps.getter(obj)
 * 
 *     cpdef set(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.setter(obj, value):
*/

  /* 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("kivy.properties.AliasProperty.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_15set(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_13AliasProperty_14set, "AliasProperty.set(self, EventDispatcher obj, value)");
static PyMethodDef __pyx_mdef_4kivy_10properties_13AliasProperty_15set = {"set", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_13AliasProperty_15set, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_13AliasProperty_14set};
static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_15set(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_value = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("set (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_value,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1660, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1660, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1660, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "set", 0) < (0)) __PYX_ERR(0, 1660, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("set", 1, 2, 2, i); __PYX_ERR(0, 1660, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1660, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1660, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_value = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("set", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 1660, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.AliasProperty.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 1660, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_13AliasProperty_14set(((struct __pyx_obj_4kivy_10properties_AliasProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v_value);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_13AliasProperty_14set(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value) {
  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("set", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_4kivy_10properties_13AliasProperty_set(__pyx_v_self, __pyx_v_obj, __pyx_v_value, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1660, __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("kivy.properties.AliasProperty.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1671
 *             self._dispatch(obj, ps)
 * 
 *     cdef _dispatch(self, EventDispatcher obj, PropertyStorage ps):             # <<<<<<<<<<<<<<
 *         ps.observers.dispatch(obj, self.get(obj), None, None, 0)
 * 
*/

static PyObject *__pyx_f_4kivy_10properties_13AliasProperty__dispatch(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps) {
  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("_dispatch", 0);

  /* "kivy/properties.pyx":1672
 * 
 *     cdef _dispatch(self, EventDispatcher obj, PropertyStorage ps):
 *         ps.observers.dispatch(obj, self.get(obj), None, None, 0)             # <<<<<<<<<<<<<<
 * 
 * 
*/
  __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_AliasProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1672, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = ((struct __pyx_vtabstruct_4kivy_6_event_EventObservers *)__pyx_v_ps->observers->__pyx_vtab)->dispatch(__pyx_v_ps->observers, ((PyObject *)__pyx_v_obj), __pyx_t_1, ((PyObject*)Py_None), ((PyObject*)Py_None), 0); if (unlikely(__pyx_t_2 == ((int)2))) __PYX_ERR(0, 1672, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1671
 *             self._dispatch(obj, ps)
 * 
 *     cdef _dispatch(self, EventDispatcher obj, PropertyStorage ps):             # <<<<<<<<<<<<<<
 *         ps.observers.dispatch(obj, self.get(obj), None, None, 0)
 * 
*/

  /* function exit code */
  __pyx_r = Py_None; __Pyx_INCREF(Py_None);
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.AliasProperty._dispatch", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pxd":119
 *     cdef list bind_objects
 *     cdef int use_cache
 *     cdef public int rebind             # <<<<<<<<<<<<<<
 *     cpdef trigger_change(self, EventDispatcher obj, value)
 * 
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_6rebind_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_6rebind_1__get__(PyObject *__pyx_v_self) {
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_r = __pyx_pf_4kivy_10properties_13AliasProperty_6rebind___get__(((struct __pyx_obj_4kivy_10properties_AliasProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_13AliasProperty_6rebind___get__(struct __pyx_obj_4kivy_10properties_AliasProperty *__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_PyLong_From_int(__pyx_v_self->rebind); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 119, __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("kivy.properties.AliasProperty.rebind.__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_4kivy_10properties_13AliasProperty_6rebind_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_4kivy_10properties_13AliasProperty_6rebind_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_r = __pyx_pf_4kivy_10properties_13AliasProperty_6rebind_2__set__(((struct __pyx_obj_4kivy_10properties_AliasProperty *)__pyx_v_self), ((PyObject *)__pyx_v_value));

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

static int __pyx_pf_4kivy_10properties_13AliasProperty_6rebind_2__set__(struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __pyx_t_1 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 119, __pyx_L1_error)
  __pyx_v_self->rebind = __pyx_t_1;

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.AliasProperty.rebind.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  return __pyx_r;
}

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_17__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_13AliasProperty_16__reduce_cython__, "AliasProperty.__reduce_cython__(self)");
static PyMethodDef __pyx_mdef_4kivy_10properties_13AliasProperty_17__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_13AliasProperty_17__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_13AliasProperty_16__reduce_cython__};
static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_17__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return NULL;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__reduce_cython__", __pyx_kwds); return NULL;}
  __pyx_r = __pyx_pf_4kivy_10properties_13AliasProperty_16__reduce_cython__(((struct __pyx_obj_4kivy_10properties_AliasProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_13AliasProperty_16__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.AliasProperty.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_19__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_13AliasProperty_18__setstate_cython__, "AliasProperty.__setstate_cython__(self, __pyx_state)");
static PyMethodDef __pyx_mdef_4kivy_10properties_13AliasProperty_19__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_13AliasProperty_19__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_13AliasProperty_18__setstate_cython__};
static PyObject *__pyx_pw_4kivy_10properties_13AliasProperty_19__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  CYTHON_UNUSED PyObject *__pyx_v___pyx_state = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 3, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 3, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
    }
    __pyx_v___pyx_state = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.AliasProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_13AliasProperty_18__setstate_cython__(((struct __pyx_obj_4kivy_10properties_AliasProperty *)__pyx_v_self), __pyx_v___pyx_state);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_13AliasProperty_18__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_AliasProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.AliasProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1706
 *     '''
 * 
 *     def __init__(self, defaultvalue=None, length=4, **kw):             # <<<<<<<<<<<<<<
 *         if length == 4:
 *             defaultvalue = defaultvalue or [0, 0, 0, 0]
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_20VariableListProperty_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_20VariableListProperty_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_defaultvalue = 0;
  PyObject *__pyx_v_length = 0;
  PyObject *__pyx_v_kw = 0;
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_v_kw = PyDict_New(); if (unlikely(!__pyx_v_kw)) return -1;
  __Pyx_GOTREF(__pyx_v_kw);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_defaultvalue,&__pyx_mstate_global->__pyx_n_u_length,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1706, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_VARARGS(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1706, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1706, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, __pyx_v_kw, values, kwd_pos_args, __pyx_kwds_len, "__init__", 1) < (0)) __PYX_ERR(0, 1706, __pyx_L3_error)
      if (!values[0]) values[0] = __Pyx_NewRef(((PyObject *)Py_None));
      if (!values[1]) values[1] = __Pyx_NewRef(((PyObject *)__pyx_mstate_global->__pyx_int_4));
    } else {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_VARARGS(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1706, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1706, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      if (!values[0]) values[0] = __Pyx_NewRef(((PyObject *)Py_None));
      if (!values[1]) values[1] = __Pyx_NewRef(((PyObject *)__pyx_mstate_global->__pyx_int_4));
    }
    __pyx_v_defaultvalue = values[0];
    __pyx_v_length = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 0, 2, __pyx_nargs); __PYX_ERR(0, 1706, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw); __pyx_v_kw = 0;
  __Pyx_AddTraceback("kivy.properties.VariableListProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_20VariableListProperty___init__(((struct __pyx_obj_4kivy_10properties_VariableListProperty *)__pyx_v_self), __pyx_v_defaultvalue, __pyx_v_length, __pyx_v_kw);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_4kivy_10properties_20VariableListProperty___init__(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_length, PyObject *__pyx_v_kw) {
  PyObject *__pyx_v_err = NULL;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  size_t __pyx_t_5;
  int __pyx_t_6;
  PyObject *__pyx_t_7 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);
  __Pyx_INCREF(__pyx_v_defaultvalue);

  /* "kivy/properties.pyx":1707
 * 
 *     def __init__(self, defaultvalue=None, length=4, **kw):
 *         if length == 4:             # <<<<<<<<<<<<<<
 *             defaultvalue = defaultvalue or [0, 0, 0, 0]
 *         elif length == 2:
*/
  __pyx_t_1 = (__Pyx_PyLong_BoolEqObjC(__pyx_v_length, __pyx_mstate_global->__pyx_int_4, 4, 0)); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1707, __pyx_L1_error)
  if (__pyx_t_1) {

    /* "kivy/properties.pyx":1708
 *     def __init__(self, defaultvalue=None, length=4, **kw):
 *         if length == 4:
 *             defaultvalue = defaultvalue or [0, 0, 0, 0]             # <<<<<<<<<<<<<<
 *         elif length == 2:
 *             defaultvalue = defaultvalue or [0, 0]
*/
    __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_defaultvalue); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1708, __pyx_L1_error)
    if (!__pyx_t_1) {
    } else {
      __Pyx_INCREF(__pyx_v_defaultvalue);
      __pyx_t_2 = __pyx_v_defaultvalue;
      goto __pyx_L4_bool_binop_done;
    }
    __pyx_t_3 = PyList_New(4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1708, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_INCREF(__pyx_mstate_global->__pyx_int_0);
    __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_0);
    if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 0, __pyx_mstate_global->__pyx_int_0) != (0)) __PYX_ERR(0, 1708, __pyx_L1_error);
    __Pyx_INCREF(__pyx_mstate_global->__pyx_int_0);
    __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_0);
    if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 1, __pyx_mstate_global->__pyx_int_0) != (0)) __PYX_ERR(0, 1708, __pyx_L1_error);
    __Pyx_INCREF(__pyx_mstate_global->__pyx_int_0);
    __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_0);
    if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 2, __pyx_mstate_global->__pyx_int_0) != (0)) __PYX_ERR(0, 1708, __pyx_L1_error);
    __Pyx_INCREF(__pyx_mstate_global->__pyx_int_0);
    __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_0);
    if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 3, __pyx_mstate_global->__pyx_int_0) != (0)) __PYX_ERR(0, 1708, __pyx_L1_error);
    __Pyx_INCREF(__pyx_t_3);
    __pyx_t_2 = __pyx_t_3;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __pyx_L4_bool_binop_done:;
    __Pyx_DECREF_SET(__pyx_v_defaultvalue, __pyx_t_2);
    __pyx_t_2 = 0;

    /* "kivy/properties.pyx":1707
 * 
 *     def __init__(self, defaultvalue=None, length=4, **kw):
 *         if length == 4:             # <<<<<<<<<<<<<<
 *             defaultvalue = defaultvalue or [0, 0, 0, 0]
 *         elif length == 2:
*/
    goto __pyx_L3;
  }

  /* "kivy/properties.pyx":1709
 *         if length == 4:
 *             defaultvalue = defaultvalue or [0, 0, 0, 0]
 *         elif length == 2:             # <<<<<<<<<<<<<<
 *             defaultvalue = defaultvalue or [0, 0]
 *         else:
*/
  __pyx_t_1 = (__Pyx_PyLong_BoolEqObjC(__pyx_v_length, __pyx_mstate_global->__pyx_int_2, 2, 0)); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1709, __pyx_L1_error)
  if (likely(__pyx_t_1)) {

    /* "kivy/properties.pyx":1710
 *             defaultvalue = defaultvalue or [0, 0, 0, 0]
 *         elif length == 2:
 *             defaultvalue = defaultvalue or [0, 0]             # <<<<<<<<<<<<<<
 *         else:
 *             err = 'VariableListProperty requires a length of 2 or 4 (got %r)'
*/
    __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_defaultvalue); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1710, __pyx_L1_error)
    if (!__pyx_t_1) {
    } else {
      __Pyx_INCREF(__pyx_v_defaultvalue);
      __pyx_t_2 = __pyx_v_defaultvalue;
      goto __pyx_L6_bool_binop_done;
    }
    __pyx_t_3 = PyList_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1710, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_INCREF(__pyx_mstate_global->__pyx_int_0);
    __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_0);
    if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 0, __pyx_mstate_global->__pyx_int_0) != (0)) __PYX_ERR(0, 1710, __pyx_L1_error);
    __Pyx_INCREF(__pyx_mstate_global->__pyx_int_0);
    __Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_0);
    if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 1, __pyx_mstate_global->__pyx_int_0) != (0)) __PYX_ERR(0, 1710, __pyx_L1_error);
    __Pyx_INCREF(__pyx_t_3);
    __pyx_t_2 = __pyx_t_3;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __pyx_L6_bool_binop_done:;
    __Pyx_DECREF_SET(__pyx_v_defaultvalue, __pyx_t_2);
    __pyx_t_2 = 0;

    /* "kivy/properties.pyx":1709
 *         if length == 4:
 *             defaultvalue = defaultvalue or [0, 0, 0, 0]
 *         elif length == 2:             # <<<<<<<<<<<<<<
 *             defaultvalue = defaultvalue or [0, 0]
 *         else:
*/
    goto __pyx_L3;
  }

  /* "kivy/properties.pyx":1712
 *             defaultvalue = defaultvalue or [0, 0]
 *         else:
 *             err = 'VariableListProperty requires a length of 2 or 4 (got %r)'             # <<<<<<<<<<<<<<
 *             raise ValueError(err % length)
 * 
*/
  /*else*/ {
    __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u_VariableListProperty_requires_a);
    __pyx_v_err = __pyx_mstate_global->__pyx_kp_u_VariableListProperty_requires_a;

    /* "kivy/properties.pyx":1713
 *         else:
 *             err = 'VariableListProperty requires a length of 2 or 4 (got %r)'
 *             raise ValueError(err % length)             # <<<<<<<<<<<<<<
 * 
 *         self.length = length
*/
    __pyx_t_3 = NULL;
    __pyx_t_4 = __Pyx_PyUnicode_FormatSafe(__pyx_v_err, __pyx_v_length); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1713, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = 1;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_t_4};
      __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1713, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_2);
    }
    __Pyx_Raise(__pyx_t_2, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    __PYX_ERR(0, 1713, __pyx_L1_error)
  }
  __pyx_L3:;

  /* "kivy/properties.pyx":1715
 *             raise ValueError(err % length)
 * 
 *         self.length = length             # <<<<<<<<<<<<<<
 *         super(VariableListProperty, self).__init__(defaultvalue, **kw)
 * 
*/
  __pyx_t_6 = __Pyx_PyLong_As_int(__pyx_v_length); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1715, __pyx_L1_error)
  __pyx_v_self->length = __pyx_t_6;

  /* "kivy/properties.pyx":1716
 * 
 *         self.length = length
 *         super(VariableListProperty, self).__init__(defaultvalue, **kw)             # <<<<<<<<<<<<<<
 * 
 *     cdef PropertyStorage create_property_storage(self):
*/
  __pyx_t_4 = NULL;
  __pyx_t_7 = NULL;
  __pyx_t_5 = 1;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_7, ((PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_VariableListProperty), ((PyObject *)__pyx_v_self)};
    __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)__pyx_builtin_super, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
    if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1716, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
  }
  __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_init); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1716, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_7);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = PyDict_Copy(__pyx_v_kw); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1716, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (likely(PyMethod_Check(__pyx_t_7))) {
    __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_7);
    assert(__pyx_t_4);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_7);
    __Pyx_INCREF(__pyx_t_4);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_7, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_v_defaultvalue};
    __pyx_t_2 = __Pyx_PyObject_FastCallDict((PyObject*)__pyx_t_7, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_3);
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1716, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
  }
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":1706
 *     '''
 * 
 *     def __init__(self, defaultvalue=None, length=4, **kw):             # <<<<<<<<<<<<<<
 *         if length == 4:
 *             defaultvalue = defaultvalue or [0, 0, 0, 0]
*/

  /* function exit code */
  __pyx_r = 0;
  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("kivy.properties.VariableListProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_err);
  __Pyx_XDECREF(__pyx_v_defaultvalue);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1718
 *         super(VariableListProperty, self).__init__(defaultvalue, **kw)
 * 
 *     cdef PropertyStorage create_property_storage(self):             # <<<<<<<<<<<<<<
 *         """Returns a new property storage used by this property."""
 *         cdef VariableListPropertyStorage ps = VariableListPropertyStorage.__new__(
*/

static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_20VariableListProperty_create_property_storage(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self) {
  struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *__pyx_v_ps = 0;
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__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("create_property_storage", 0);

  /* "kivy/properties.pyx":1720
 *     cdef PropertyStorage create_property_storage(self):
 *         """Returns a new property storage used by this property."""
 *         cdef VariableListPropertyStorage ps = VariableListPropertyStorage.__new__(             # <<<<<<<<<<<<<<
 *             VariableListPropertyStorage)
 *         ps.uses_scaling = 0
*/
  __pyx_t_1 = ((PyObject *)__pyx_tp_new_4kivy_10properties_VariableListPropertyStorage(((PyTypeObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_VariableListPropertyStorage), __pyx_mstate_global->__pyx_empty_tuple, NULL)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1720, __pyx_L1_error)
  __Pyx_GOTREF((PyObject *)__pyx_t_1);
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1722
 *         cdef VariableListPropertyStorage ps = VariableListPropertyStorage.__new__(
 *             VariableListPropertyStorage)
 *         ps.uses_scaling = 0             # <<<<<<<<<<<<<<
 *         ps.original_num = self.defaultvalue
 *         return ps
*/
  __pyx_v_ps->uses_scaling = 0;

  /* "kivy/properties.pyx":1723
 *             VariableListPropertyStorage)
 *         ps.uses_scaling = 0
 *         ps.original_num = self.defaultvalue             # <<<<<<<<<<<<<<
 *         return ps
 * 
*/
  __pyx_t_1 = __pyx_v_self->__pyx_base.defaultvalue;
  __Pyx_INCREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_ps->original_num);
  __Pyx_DECREF(__pyx_v_ps->original_num);
  __pyx_v_ps->original_num = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1724
 *         ps.uses_scaling = 0
 *         ps.original_num = self.defaultvalue
 *         return ps             # <<<<<<<<<<<<<<
 * 
 *     def _dpi_callback(self, obj, _obj, _value):
*/
  __Pyx_XDECREF((PyObject *)__pyx_r);
  __Pyx_INCREF((PyObject *)__pyx_v_ps);
  __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_v_ps);
  goto __pyx_L0;

  /* "kivy/properties.pyx":1718
 *         super(VariableListProperty, self).__init__(defaultvalue, **kw)
 * 
 *     cdef PropertyStorage create_property_storage(self):             # <<<<<<<<<<<<<<
 *         """Returns a new property storage used by this property."""
 *         cdef VariableListPropertyStorage ps = VariableListPropertyStorage.__new__(
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_AddTraceback("kivy.properties.VariableListProperty.create_property_storage", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1726
 *         return ps
 * 
 *     def _dpi_callback(self, obj, _obj, _value):             # <<<<<<<<<<<<<<
 *         cdef EventDispatcher event_dispatcher = obj()
 *         if event_dispatcher is None:
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_20VariableListProperty_3_dpi_callback(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_20VariableListProperty_2_dpi_callback, "VariableListProperty._dpi_callback(self, obj, _obj, _value)");
static PyMethodDef __pyx_mdef_4kivy_10properties_20VariableListProperty_3_dpi_callback = {"_dpi_callback", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_20VariableListProperty_3_dpi_callback, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_20VariableListProperty_2_dpi_callback};
static PyObject *__pyx_pw_4kivy_10properties_20VariableListProperty_3_dpi_callback(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_obj = 0;
  CYTHON_UNUSED PyObject *__pyx_v__obj = 0;
  CYTHON_UNUSED PyObject *__pyx_v__value = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[3] = {0,0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("_dpi_callback (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_obj_2,&__pyx_mstate_global->__pyx_n_u_value_2,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1726, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 1726, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1726, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1726, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "_dpi_callback", 0) < (0)) __PYX_ERR(0, 1726, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 3; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("_dpi_callback", 1, 3, 3, i); __PYX_ERR(0, 1726, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 3)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1726, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1726, __pyx_L3_error)
      values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 1726, __pyx_L3_error)
    }
    __pyx_v_obj = values[0];
    __pyx_v__obj = values[1];
    __pyx_v__value = values[2];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("_dpi_callback", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 1726, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.VariableListProperty._dpi_callback", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_20VariableListProperty_2_dpi_callback(((struct __pyx_obj_4kivy_10properties_VariableListProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v__obj, __pyx_v__value);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_20VariableListProperty_2_dpi_callback(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, PyObject *__pyx_v_obj, CYTHON_UNUSED PyObject *__pyx_v__obj, CYTHON_UNUSED PyObject *__pyx_v__value) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_event_dispatcher = 0;
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps_ = 0;
  struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *__pyx_v_ps = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  size_t __pyx_t_4;
  int __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("_dpi_callback", 0);

  /* "kivy/properties.pyx":1727
 * 
 *     def _dpi_callback(self, obj, _obj, _value):
 *         cdef EventDispatcher event_dispatcher = obj()             # <<<<<<<<<<<<<<
 *         if event_dispatcher is None:
 *             return
*/
  __pyx_t_2 = NULL;
  __Pyx_INCREF(__pyx_v_obj);
  __pyx_t_3 = __pyx_v_obj; 
  __pyx_t_4 = 1;
  #if CYTHON_UNPACK_METHODS
  if (unlikely(PyMethod_Check(__pyx_t_3))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_3);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_3, __pyx__function);
    __pyx_t_4 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL};
    __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_4, (1-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1727, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher))))) __PYX_ERR(0, 1727, __pyx_L1_error)
  __pyx_v_event_dispatcher = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1728
 *     def _dpi_callback(self, obj, _obj, _value):
 *         cdef EventDispatcher event_dispatcher = obj()
 *         if event_dispatcher is None:             # <<<<<<<<<<<<<<
 *             return
 * 
*/
  __pyx_t_5 = (((PyObject *)__pyx_v_event_dispatcher) == Py_None);
  if (__pyx_t_5) {

    /* "kivy/properties.pyx":1729
 *         cdef EventDispatcher event_dispatcher = obj()
 *         if event_dispatcher is None:
 *             return             # <<<<<<<<<<<<<<
 * 
 *         cdef PropertyStorage ps_ = self.get_property_storage(event_dispatcher)
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_r = Py_None; __Pyx_INCREF(Py_None);
    goto __pyx_L0;

    /* "kivy/properties.pyx":1728
 *     def _dpi_callback(self, obj, _obj, _value):
 *         cdef EventDispatcher event_dispatcher = obj()
 *         if event_dispatcher is None:             # <<<<<<<<<<<<<<
 *             return
 * 
*/
  }

  /* "kivy/properties.pyx":1731
 *             return
 * 
 *         cdef PropertyStorage ps_ = self.get_property_storage(event_dispatcher)             # <<<<<<<<<<<<<<
 *         if ps_.property_obj is not self:
 *             # this can happen if we bind for a prop with name x, but then the
*/
  __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_VariableListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get_property_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_event_dispatcher)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1731, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_ps_ = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1732
 * 
 *         cdef PropertyStorage ps_ = self.get_property_storage(event_dispatcher)
 *         if ps_.property_obj is not self:             # <<<<<<<<<<<<<<
 *             # this can happen if we bind for a prop with name x, but then the
 *             # widget is set a different kivy prop also with name x. So when we
*/
  __pyx_t_5 = (((PyObject *)__pyx_v_ps_->property_obj) != ((PyObject *)__pyx_v_self));
  if (__pyx_t_5) {

    /* "kivy/properties.pyx":1737
 *             # callback, __storage[self._name] returns the new prop storage,
 *             # which is inappropriate
 *             return             # <<<<<<<<<<<<<<
 * 
 *         cdef VariableListPropertyStorage ps = ps_
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_r = Py_None; __Pyx_INCREF(Py_None);
    goto __pyx_L0;

    /* "kivy/properties.pyx":1732
 * 
 *         cdef PropertyStorage ps_ = self.get_property_storage(event_dispatcher)
 *         if ps_.property_obj is not self:             # <<<<<<<<<<<<<<
 *             # this can happen if we bind for a prop with name x, but then the
 *             # widget is set a different kivy prop also with name x. So when we
*/
  }

  /* "kivy/properties.pyx":1739
 *             return
 * 
 *         cdef VariableListPropertyStorage ps = ps_             # <<<<<<<<<<<<<<
 *         if not ps.uses_scaling:
 *             return
*/
  __pyx_t_1 = ((PyObject *)__pyx_v_ps_);
  __Pyx_INCREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_VariableListPropertyStorage))))) __PYX_ERR(0, 1739, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1740
 * 
 *         cdef VariableListPropertyStorage ps = ps_
 *         if not ps.uses_scaling:             # <<<<<<<<<<<<<<
 *             return
 *         self.set(event_dispatcher, ps.original_num)
*/
  __pyx_t_5 = (!(__pyx_v_ps->uses_scaling != 0));
  if (__pyx_t_5) {

    /* "kivy/properties.pyx":1741
 *         cdef VariableListPropertyStorage ps = ps_
 *         if not ps.uses_scaling:
 *             return             # <<<<<<<<<<<<<<
 *         self.set(event_dispatcher, ps.original_num)
 * 
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_r = Py_None; __Pyx_INCREF(Py_None);
    goto __pyx_L0;

    /* "kivy/properties.pyx":1740
 * 
 *         cdef VariableListPropertyStorage ps = ps_
 *         if not ps.uses_scaling:             # <<<<<<<<<<<<<<
 *             return
 *         self.set(event_dispatcher, ps.original_num)
*/
  }

  /* "kivy/properties.pyx":1742
 *         if not ps.uses_scaling:
 *             return
 *         self.set(event_dispatcher, ps.original_num)             # <<<<<<<<<<<<<<
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):
*/
  __pyx_t_1 = __pyx_v_ps->original_num;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_t_3 = ((struct __pyx_vtabstruct_4kivy_10properties_VariableListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.set(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_event_dispatcher, __pyx_t_1, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1742, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

  /* "kivy/properties.pyx":1726
 *         return ps
 * 
 *     def _dpi_callback(self, obj, _obj, _value):             # <<<<<<<<<<<<<<
 *         cdef EventDispatcher event_dispatcher = obj()
 *         if event_dispatcher is None:
*/

  /* 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("kivy.properties.VariableListProperty._dpi_callback", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_event_dispatcher);
  __Pyx_XDECREF((PyObject *)__pyx_v_ps_);
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1744
 *         self.set(event_dispatcher, ps.original_num)
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         # this calls convert
 *         cdef VariableListPropertyStorage ps = Property.link(self, obj, name)
*/

static PyObject *__pyx_pw_4kivy_10properties_20VariableListProperty_5link(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_f_4kivy_10properties_20VariableListProperty_link(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *__pyx_v_ps = 0;
  struct __pyx_obj_4kivy_6_event_BoundCallback *__pyx_v_callback = 0;
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__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;
  size_t __pyx_t_5;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("link", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_VariableListProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_link); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1744, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_20VariableListProperty_5link)) {
        __Pyx_XDECREF((PyObject *)__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_name};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1744, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage))))) __PYX_ERR(0, 1744, __pyx_L1_error)
        __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_2);
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":1746
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):
 *         # this calls convert
 *         cdef VariableListPropertyStorage ps = Property.link(self, obj, name)             # <<<<<<<<<<<<<<
 *         # todo: are we supposed to use observable list? It doesn't happen below
 *         ps.value = ObservableList(self, obj, ps.value)
*/
  __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_8Property_link(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_name, 1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1746, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_VariableListPropertyStorage))))) __PYX_ERR(0, 1746, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1748
 *         cdef VariableListPropertyStorage ps = Property.link(self, obj, name)
 *         # todo: are we supposed to use observable list? It doesn't happen below
 *         ps.value = ObservableList(self, obj, ps.value)             # <<<<<<<<<<<<<<
 * 
 *         # this prop is stored in the class of obj. So, the class will never be
*/
  __pyx_t_2 = NULL;
  __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_ObservableList); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1748, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (unlikely(PyMethod_Check(__pyx_t_4))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[4] = {__pyx_t_2, ((PyObject *)__pyx_v_self), ((PyObject *)__pyx_v_obj), __pyx_v_ps->__pyx_base.value};
    __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1748, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_ps->__pyx_base.value);
  __Pyx_DECREF(__pyx_v_ps->__pyx_base.value);
  __pyx_v_ps->__pyx_base.value = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1756
 *         # to the class either
 *         cdef BoundCallback callback = pixel_scale_observers.make_callback(
 *             self._dpi_callback, None, None, 0)             # <<<<<<<<<<<<<<
 *         # the ref must be saved somewhere, but also need it anyway. Unbind only
 *         # happens when obj dies, so no double unbind
*/
  __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_dpi_callback); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1756, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);

  /* "kivy/properties.pyx":1755
 *         # when the obj dies it'll remove the observer so there will not be a ref
 *         # to the class either
 *         cdef BoundCallback callback = pixel_scale_observers.make_callback(             # <<<<<<<<<<<<<<
 *             self._dpi_callback, None, None, 0)
 *         # the ref must be saved somewhere, but also need it anyway. Unbind only
*/
  __pyx_t_4 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_6_event_EventObservers *)__pyx_v_4kivy_8_metrics_pixel_scale_observers->__pyx_vtab)->make_callback(__pyx_v_4kivy_8_metrics_pixel_scale_observers, __pyx_t_1, ((PyObject*)Py_None), ((PyObject*)Py_None), 0, NULL)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1755, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_v_callback = ((struct __pyx_obj_4kivy_6_event_BoundCallback *)__pyx_t_4);
  __pyx_t_4 = 0;

  /* "kivy/properties.pyx":1759
 *         # the ref must be saved somewhere, but also need it anyway. Unbind only
 *         # happens when obj dies, so no double unbind
 *         callback.set_largs((ref(obj, callback.unbind_callback), ))             # <<<<<<<<<<<<<<
 * 
 *         # obj for sure won't be garbage collected until this exits
*/
  __pyx_t_1 = NULL;
  __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_ref); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1759, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_callback), __pyx_mstate_global->__pyx_n_u_unbind_callback); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1759, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (unlikely(PyMethod_Check(__pyx_t_2))) {
    __pyx_t_1 = PyMethod_GET_SELF(__pyx_t_2);
    assert(__pyx_t_1);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_2);
    __Pyx_INCREF(__pyx_t_1);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_2, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_1, ((PyObject *)__pyx_v_obj), __pyx_t_3};
    __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_2, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__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;
    if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1759, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
  }
  __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1759, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_4);
  if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_4) != (0)) __PYX_ERR(0, 1759, __pyx_L1_error);
  __pyx_t_4 = 0;
  ((struct __pyx_vtabstruct_4kivy_6_event_BoundCallback *)__pyx_v_callback->__pyx_vtab)->set_largs(__pyx_v_callback, ((PyObject*)__pyx_t_2)); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1759, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":1762
 * 
 *         # obj for sure won't be garbage collected until this exits
 *         pixel_scale_observers.fbind_existing_callback(callback)             # <<<<<<<<<<<<<<
 *         return ps
 * 
*/
  ((struct __pyx_vtabstruct_4kivy_6_event_EventObservers *)__pyx_v_4kivy_8_metrics_pixel_scale_observers->__pyx_vtab)->fbind_existing_callback(__pyx_v_4kivy_8_metrics_pixel_scale_observers, __pyx_v_callback); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1762, __pyx_L1_error)

  /* "kivy/properties.pyx":1763
 *         # obj for sure won't be garbage collected until this exits
 *         pixel_scale_observers.fbind_existing_callback(callback)
 *         return ps             # <<<<<<<<<<<<<<
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
*/
  __Pyx_XDECREF((PyObject *)__pyx_r);
  __Pyx_INCREF((PyObject *)__pyx_v_ps);
  __pyx_r = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_v_ps);
  goto __pyx_L0;

  /* "kivy/properties.pyx":1744
 *         self.set(event_dispatcher, ps.original_num)
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         # this calls convert
 *         cdef VariableListPropertyStorage ps = Property.link(self, obj, name)
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("kivy.properties.VariableListProperty.link", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XDECREF((PyObject *)__pyx_v_callback);
  __Pyx_XGIVEREF((PyObject *)__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_20VariableListProperty_5link(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_20VariableListProperty_4link, "VariableListProperty.link(self, EventDispatcher obj, str name) -> PropertyStorage");
static PyMethodDef __pyx_mdef_4kivy_10properties_20VariableListProperty_5link = {"link", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_20VariableListProperty_5link, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_20VariableListProperty_4link};
static PyObject *__pyx_pw_4kivy_10properties_20VariableListProperty_5link(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_name = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("link (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_name_3,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 1744, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1744, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1744, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "link", 0) < (0)) __PYX_ERR(0, 1744, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("link", 1, 2, 2, i); __PYX_ERR(0, 1744, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 1744, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 1744, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_name = ((PyObject*)values[1]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("link", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 1744, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.VariableListProperty.link", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 1744, __pyx_L1_error)
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_name), (&PyUnicode_Type), 1, "name", 1))) __PYX_ERR(0, 1744, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_20VariableListProperty_4link(((struct __pyx_obj_4kivy_10properties_VariableListProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v_name);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_20VariableListProperty_4link(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, 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("link", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = ((PyObject *)__pyx_f_4kivy_10properties_20VariableListProperty_link(__pyx_v_self, __pyx_v_obj, __pyx_v_name, 1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1744, __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("kivy.properties.VariableListProperty.link", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1765
 *         return ps
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         if Property.check(self, obj, value, property_storage):
 *             return True
*/

static PyObject *__pyx_f_4kivy_10properties_20VariableListProperty_check(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage) {
  PyObject *__pyx_v_err = 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;
  int __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  size_t __pyx_t_9;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("check", 0);

  /* "kivy/properties.pyx":1766
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):             # <<<<<<<<<<<<<<
 *             return True
 *         if type(value) not in (int, float, list, tuple, str) \
*/
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_check(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_value, __pyx_v_property_storage); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1766, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1766, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":1767
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):
 *             return True             # <<<<<<<<<<<<<<
 *         if type(value) not in (int, float, list, tuple, str) \
 *                 and not isinstance(value, str):
*/
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(Py_True);
    __pyx_r = Py_True;
    goto __pyx_L0;

    /* "kivy/properties.pyx":1766
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):
 *         if Property.check(self, obj, value, property_storage):             # <<<<<<<<<<<<<<
 *             return True
 *         if type(value) not in (int, float, list, tuple, str) \
*/
  }

  /* "kivy/properties.pyx":1768
 *         if Property.check(self, obj, value, property_storage):
 *             return True
 *         if type(value) not in (int, float, list, tuple, str) \             # <<<<<<<<<<<<<<
 *                 and not isinstance(value, str):
 *             err = '%s.%s accepts only int/float/list/tuple/str (got %r)'
*/
  __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_value)));
  __pyx_t_1 = ((PyObject *)Py_TYPE(__pyx_v_value));
  __pyx_t_4 = PyObject_RichCompare(((PyObject *)__pyx_t_1), ((PyObject *)(&PyLong_Type)), Py_NE); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1768, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1768, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  if (__pyx_t_5) {
  } else {
    __pyx_t_3 = __pyx_t_5;
    goto __pyx_L7_bool_binop_done;
  }
  __pyx_t_4 = PyObject_RichCompare(((PyObject *)__pyx_t_1), ((PyObject *)(&PyFloat_Type)), Py_NE); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1768, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1768, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  if (__pyx_t_5) {
  } else {
    __pyx_t_3 = __pyx_t_5;
    goto __pyx_L7_bool_binop_done;
  }
  __pyx_t_4 = PyObject_RichCompare(((PyObject *)__pyx_t_1), ((PyObject *)(&PyList_Type)), Py_NE); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1768, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1768, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  if (__pyx_t_5) {
  } else {
    __pyx_t_3 = __pyx_t_5;
    goto __pyx_L7_bool_binop_done;
  }
  __pyx_t_4 = PyObject_RichCompare(((PyObject *)__pyx_t_1), ((PyObject *)(&PyTuple_Type)), Py_NE); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1768, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1768, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  if (__pyx_t_5) {
  } else {
    __pyx_t_3 = __pyx_t_5;
    goto __pyx_L7_bool_binop_done;
  }
  __pyx_t_4 = PyObject_RichCompare(((PyObject *)__pyx_t_1), ((PyObject *)(&PyUnicode_Type)), Py_NE); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1768, __pyx_L1_error)
  __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1768, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __pyx_t_3 = __pyx_t_5;
  __pyx_L7_bool_binop_done:;
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_5 = __pyx_t_3;
  if (__pyx_t_5) {
  } else {
    __pyx_t_2 = __pyx_t_5;
    goto __pyx_L5_bool_binop_done;
  }

  /* "kivy/properties.pyx":1769
 *             return True
 *         if type(value) not in (int, float, list, tuple, str) \
 *                 and not isinstance(value, str):             # <<<<<<<<<<<<<<
 *             err = '%s.%s accepts only int/float/list/tuple/str (got %r)'
 *             raise ValueError(err % (obj.__class__.__name__, self.name, value))
*/
  __pyx_t_5 = PyUnicode_Check(__pyx_v_value); 
  __pyx_t_3 = (!__pyx_t_5);
  __pyx_t_2 = __pyx_t_3;
  __pyx_L5_bool_binop_done:;

  /* "kivy/properties.pyx":1768
 *         if Property.check(self, obj, value, property_storage):
 *             return True
 *         if type(value) not in (int, float, list, tuple, str) \             # <<<<<<<<<<<<<<
 *                 and not isinstance(value, str):
 *             err = '%s.%s accepts only int/float/list/tuple/str (got %r)'
*/
  if (unlikely(__pyx_t_2)) {

    /* "kivy/properties.pyx":1770
 *         if type(value) not in (int, float, list, tuple, str) \
 *                 and not isinstance(value, str):
 *             err = '%s.%s accepts only int/float/list/tuple/str (got %r)'             # <<<<<<<<<<<<<<
 *             raise ValueError(err % (obj.__class__.__name__, self.name, value))
 * 
*/
    __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u_s_s_accepts_only_int_float_list);
    __pyx_v_err = __pyx_mstate_global->__pyx_kp_u_s_s_accepts_only_int_float_list;

    /* "kivy/properties.pyx":1771
 *                 and not isinstance(value, str):
 *             err = '%s.%s accepts only int/float/list/tuple/str (got %r)'
 *             raise ValueError(err % (obj.__class__.__name__, self.name, value))             # <<<<<<<<<<<<<<
 * 
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):
*/
    __pyx_t_4 = NULL;
    __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1771, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1771, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_7);
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
    __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1771, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __pyx_t_8 = PyTuple_New(3); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1771, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_8);
    __Pyx_GIVEREF(__pyx_t_7);
    if (__Pyx_PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_t_7) != (0)) __PYX_ERR(0, 1771, __pyx_L1_error);
    __Pyx_GIVEREF(__pyx_t_6);
    if (__Pyx_PyTuple_SET_ITEM(__pyx_t_8, 1, __pyx_t_6) != (0)) __PYX_ERR(0, 1771, __pyx_L1_error);
    __Pyx_INCREF(__pyx_v_value);
    __Pyx_GIVEREF(__pyx_v_value);
    if (__Pyx_PyTuple_SET_ITEM(__pyx_t_8, 2, __pyx_v_value) != (0)) __PYX_ERR(0, 1771, __pyx_L1_error);
    __pyx_t_7 = 0;
    __pyx_t_6 = 0;
    __pyx_t_6 = PyUnicode_Format(__pyx_v_err, __pyx_t_8); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1771, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
    __pyx_t_9 = 1;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_6};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_9, (2-__pyx_t_9) | (__pyx_t_9*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1771, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_Raise(__pyx_t_1, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __PYX_ERR(0, 1771, __pyx_L1_error)

    /* "kivy/properties.pyx":1768
 *         if Property.check(self, obj, value, property_storage):
 *             return True
 *         if type(value) not in (int, float, list, tuple, str) \             # <<<<<<<<<<<<<<
 *                 and not isinstance(value, str):
 *             err = '%s.%s accepts only int/float/list/tuple/str (got %r)'
*/
  }

  /* "kivy/properties.pyx":1765
 *         return ps
 * 
 *     cdef check(self, EventDispatcher obj, value, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         if Property.check(self, obj, value, property_storage):
 *             return True
*/

  /* 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_6);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_AddTraceback("kivy.properties.VariableListProperty.check", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_err);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1773
 *             raise ValueError(err % (obj.__class__.__name__, self.name, value))
 * 
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         cdef VariableListPropertyStorage ps = property_storage
 *         if x is None:
*/

static PyObject *__pyx_f_4kivy_10properties_20VariableListProperty_convert(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_x, struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage) {
  struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *__pyx_v_ps = 0;
  PyTypeObject *__pyx_v_tp = NULL;
  PyObject *__pyx_v_original = NULL;
  int __pyx_v_failed;
  int __pyx_v_uses_scaling;
  PyObject *__pyx_v_y = NULL;
  PyObject *__pyx_v_e = NULL;
  Py_ssize_t __pyx_v_l;
  PyObject *__pyx_v_z = NULL;
  PyObject *__pyx_v_err = NULL;
  PyObject *__pyx_8genexpr4__pyx_v_y = 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_t_7;
  PyObject *__pyx_t_8 = NULL;
  PyObject *__pyx_t_9 = NULL;
  PyObject *__pyx_t_10 = NULL;
  PyObject *__pyx_t_11 = NULL;
  PyObject *__pyx_t_12 = NULL;
  PyObject *__pyx_t_13 = NULL;
  PyObject *__pyx_t_14 = NULL;
  PyObject *__pyx_t_15 = NULL;
  PyObject *__pyx_t_16 = NULL;
  PyObject *__pyx_t_17 = NULL;
  PyObject *__pyx_t_18[6];
  PyObject *__pyx_t_19 = NULL;
  size_t __pyx_t_20;
  int __pyx_t_21;
  char const *__pyx_t_22;
  PyObject *__pyx_t_23 = NULL;
  PyObject *__pyx_t_24 = NULL;
  PyObject *__pyx_t_25 = NULL;
  PyObject *__pyx_t_26 = NULL;
  PyObject *__pyx_t_27 = NULL;
  PyObject *__pyx_t_28 = NULL;
  Py_ssize_t __pyx_t_29;
  PyObject *(*__pyx_t_30)(PyObject *);
  char const *__pyx_t_31;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("convert", 0);

  /* "kivy/properties.pyx":1774
 * 
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):
 *         cdef VariableListPropertyStorage ps = property_storage             # <<<<<<<<<<<<<<
 *         if x is None:
 *             if self.allownone:
*/
  __pyx_t_1 = ((PyObject *)__pyx_v_property_storage);
  __Pyx_INCREF(__pyx_t_1);
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_10properties_VariableListPropertyStorage))))) __PYX_ERR(0, 1774, __pyx_L1_error)
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":1775
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):
 *         cdef VariableListPropertyStorage ps = property_storage
 *         if x is None:             # <<<<<<<<<<<<<<
 *             if self.allownone:
 *                 # it'll only reset if allow none
*/
  __pyx_t_2 = (__pyx_v_x == Py_None);
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":1776
 *         cdef VariableListPropertyStorage ps = property_storage
 *         if x is None:
 *             if self.allownone:             # <<<<<<<<<<<<<<
 *                 # it'll only reset if allow none
 *                 ps.uses_scaling = 0
*/
    __pyx_t_2 = (__pyx_v_self->__pyx_base.allownone != 0);
    if (__pyx_t_2) {

      /* "kivy/properties.pyx":1778
 *             if self.allownone:
 *                 # it'll only reset if allow none
 *                 ps.uses_scaling = 0             # <<<<<<<<<<<<<<
 *                 ps.original_num = None
 *             return x
*/
      __pyx_v_ps->uses_scaling = 0;

      /* "kivy/properties.pyx":1779
 *                 # it'll only reset if allow none
 *                 ps.uses_scaling = 0
 *                 ps.original_num = None             # <<<<<<<<<<<<<<
 *             return x
 * 
*/
      __Pyx_INCREF(Py_None);
      __Pyx_GIVEREF(Py_None);
      __Pyx_GOTREF(__pyx_v_ps->original_num);
      __Pyx_DECREF(__pyx_v_ps->original_num);
      __pyx_v_ps->original_num = Py_None;

      /* "kivy/properties.pyx":1776
 *         cdef VariableListPropertyStorage ps = property_storage
 *         if x is None:
 *             if self.allownone:             # <<<<<<<<<<<<<<
 *                 # it'll only reset if allow none
 *                 ps.uses_scaling = 0
*/
    }

    /* "kivy/properties.pyx":1780
 *                 ps.uses_scaling = 0
 *                 ps.original_num = None
 *             return x             # <<<<<<<<<<<<<<
 * 
 *         tp = type(x)
*/
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(__pyx_v_x);
    __pyx_r = __pyx_v_x;
    goto __pyx_L0;

    /* "kivy/properties.pyx":1775
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):
 *         cdef VariableListPropertyStorage ps = property_storage
 *         if x is None:             # <<<<<<<<<<<<<<
 *             if self.allownone:
 *                 # it'll only reset if allow none
*/
  }

  /* "kivy/properties.pyx":1782
 *             return x
 * 
 *         tp = type(x)             # <<<<<<<<<<<<<<
 *         original = x
 *         failed = False
*/
  __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_x)));
  __pyx_v_tp = ((PyTypeObject*)((PyObject *)Py_TYPE(__pyx_v_x)));

  /* "kivy/properties.pyx":1783
 * 
 *         tp = type(x)
 *         original = x             # <<<<<<<<<<<<<<
 *         failed = False
 *         # keep backup in case we need to restore if convert fails
*/
  __Pyx_INCREF(__pyx_v_x);
  __pyx_v_original = __pyx_v_x;

  /* "kivy/properties.pyx":1784
 *         tp = type(x)
 *         original = x
 *         failed = False             # <<<<<<<<<<<<<<
 *         # keep backup in case we need to restore if convert fails
 *         uses_scaling = ps.uses_scaling
*/
  __pyx_v_failed = 0;

  /* "kivy/properties.pyx":1786
 *         failed = False
 *         # keep backup in case we need to restore if convert fails
 *         uses_scaling = ps.uses_scaling             # <<<<<<<<<<<<<<
 *         # reset here, it'll be changed in parse is we use anything that is not px
 *         ps.uses_scaling = 0
*/
  __pyx_t_3 = __pyx_v_ps->uses_scaling;
  __pyx_v_uses_scaling = __pyx_t_3;

  /* "kivy/properties.pyx":1788
 *         uses_scaling = ps.uses_scaling
 *         # reset here, it'll be changed in parse is we use anything that is not px
 *         ps.uses_scaling = 0             # <<<<<<<<<<<<<<
 *         try:
 *             if tp is int or tp is float or isinstance(x, str):
*/
  __pyx_v_ps->uses_scaling = 0;

  /* "kivy/properties.pyx":1789
 *         # reset here, it'll be changed in parse is we use anything that is not px
 *         ps.uses_scaling = 0
 *         try:             # <<<<<<<<<<<<<<
 *             if tp is int or tp is float or isinstance(x, str):
 *                 y = self._convert_numeric(obj, x, ps)
*/
  /*try:*/ {
    {
      __Pyx_PyThreadState_declare
      __Pyx_PyThreadState_assign
      __Pyx_ExceptionSave(&__pyx_t_4, &__pyx_t_5, &__pyx_t_6);
      __Pyx_XGOTREF(__pyx_t_4);
      __Pyx_XGOTREF(__pyx_t_5);
      __Pyx_XGOTREF(__pyx_t_6);
      /*try:*/ {

        /* "kivy/properties.pyx":1790
 *         ps.uses_scaling = 0
 *         try:
 *             if tp is int or tp is float or isinstance(x, str):             # <<<<<<<<<<<<<<
 *                 y = self._convert_numeric(obj, x, ps)
 *                 if self.length == 4:
*/
        __pyx_t_7 = (__pyx_v_tp == (&PyLong_Type));
        if (!__pyx_t_7) {
        } else {
          __pyx_t_2 = __pyx_t_7;
          goto __pyx_L15_bool_binop_done;
        }
        __pyx_t_7 = (__pyx_v_tp == (&PyFloat_Type));
        if (!__pyx_t_7) {
        } else {
          __pyx_t_2 = __pyx_t_7;
          goto __pyx_L15_bool_binop_done;
        }
        __pyx_t_7 = PyUnicode_Check(__pyx_v_x); 
        __pyx_t_2 = __pyx_t_7;
        __pyx_L15_bool_binop_done:;
        if (__pyx_t_2) {

          /* "kivy/properties.pyx":1791
 *         try:
 *             if tp is int or tp is float or isinstance(x, str):
 *                 y = self._convert_numeric(obj, x, ps)             # <<<<<<<<<<<<<<
 *                 if self.length == 4:
 *                     return [y, y, y, y]
*/
          __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_VariableListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->_convert_numeric(__pyx_v_self, __pyx_v_obj, __pyx_v_x, __pyx_v_ps); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1791, __pyx_L8_error)
          __Pyx_GOTREF(__pyx_t_1);
          __pyx_v_y = __pyx_t_1;
          __pyx_t_1 = 0;

          /* "kivy/properties.pyx":1792
 *             if tp is int or tp is float or isinstance(x, str):
 *                 y = self._convert_numeric(obj, x, ps)
 *                 if self.length == 4:             # <<<<<<<<<<<<<<
 *                     return [y, y, y, y]
 *                 return [y, y]
*/
          __pyx_t_2 = (__pyx_v_self->length == 4);
          if (__pyx_t_2) {

            /* "kivy/properties.pyx":1793
 *                 y = self._convert_numeric(obj, x, ps)
 *                 if self.length == 4:
 *                     return [y, y, y, y]             # <<<<<<<<<<<<<<
 *                 return [y, y]
 * 
*/
            __Pyx_XDECREF(__pyx_r);
            __pyx_t_1 = PyList_New(4); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1793, __pyx_L8_error)
            __Pyx_GOTREF(__pyx_t_1);
            __Pyx_INCREF(__pyx_v_y);
            __Pyx_GIVEREF(__pyx_v_y);
            if (__Pyx_PyList_SET_ITEM(__pyx_t_1, 0, __pyx_v_y) != (0)) __PYX_ERR(0, 1793, __pyx_L8_error);
            __Pyx_INCREF(__pyx_v_y);
            __Pyx_GIVEREF(__pyx_v_y);
            if (__Pyx_PyList_SET_ITEM(__pyx_t_1, 1, __pyx_v_y) != (0)) __PYX_ERR(0, 1793, __pyx_L8_error);
            __Pyx_INCREF(__pyx_v_y);
            __Pyx_GIVEREF(__pyx_v_y);
            if (__Pyx_PyList_SET_ITEM(__pyx_t_1, 2, __pyx_v_y) != (0)) __PYX_ERR(0, 1793, __pyx_L8_error);
            __Pyx_INCREF(__pyx_v_y);
            __Pyx_GIVEREF(__pyx_v_y);
            if (__Pyx_PyList_SET_ITEM(__pyx_t_1, 3, __pyx_v_y) != (0)) __PYX_ERR(0, 1793, __pyx_L8_error);
            __pyx_r = __pyx_t_1;
            __pyx_t_1 = 0;
            goto __pyx_L12_try_return;

            /* "kivy/properties.pyx":1792
 *             if tp is int or tp is float or isinstance(x, str):
 *                 y = self._convert_numeric(obj, x, ps)
 *                 if self.length == 4:             # <<<<<<<<<<<<<<
 *                     return [y, y, y, y]
 *                 return [y, y]
*/
          }

          /* "kivy/properties.pyx":1794
 *                 if self.length == 4:
 *                     return [y, y, y, y]
 *                 return [y, y]             # <<<<<<<<<<<<<<
 * 
 *             try:
*/
          __Pyx_XDECREF(__pyx_r);
          __pyx_t_1 = PyList_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1794, __pyx_L8_error)
          __Pyx_GOTREF(__pyx_t_1);
          __Pyx_INCREF(__pyx_v_y);
          __Pyx_GIVEREF(__pyx_v_y);
          if (__Pyx_PyList_SET_ITEM(__pyx_t_1, 0, __pyx_v_y) != (0)) __PYX_ERR(0, 1794, __pyx_L8_error);
          __Pyx_INCREF(__pyx_v_y);
          __Pyx_GIVEREF(__pyx_v_y);
          if (__Pyx_PyList_SET_ITEM(__pyx_t_1, 1, __pyx_v_y) != (0)) __PYX_ERR(0, 1794, __pyx_L8_error);
          __pyx_r = __pyx_t_1;
          __pyx_t_1 = 0;
          goto __pyx_L12_try_return;

          /* "kivy/properties.pyx":1790
 *         ps.uses_scaling = 0
 *         try:
 *             if tp is int or tp is float or isinstance(x, str):             # <<<<<<<<<<<<<<
 *                 y = self._convert_numeric(obj, x, ps)
 *                 if self.length == 4:
*/
        }

        /* "kivy/properties.pyx":1796
 *                 return [y, y]
 * 
 *             try:             # <<<<<<<<<<<<<<
 *                 original = list(x)
 *             except Exception as e:
*/
        {
          __Pyx_PyThreadState_declare
          __Pyx_PyThreadState_assign
          __Pyx_ExceptionSave(&__pyx_t_8, &__pyx_t_9, &__pyx_t_10);
          __Pyx_XGOTREF(__pyx_t_8);
          __Pyx_XGOTREF(__pyx_t_9);
          __Pyx_XGOTREF(__pyx_t_10);
          /*try:*/ {

            /* "kivy/properties.pyx":1797
 * 
 *             try:
 *                 original = list(x)             # <<<<<<<<<<<<<<
 *             except Exception as e:
 *                 raise ValueError('%s.%s has an invalid format (got %r)' % (
*/
            __pyx_t_1 = PySequence_List(__pyx_v_x); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1797, __pyx_L19_error)
            __Pyx_GOTREF(__pyx_t_1);
            __Pyx_DECREF_SET(__pyx_v_original, __pyx_t_1);
            __pyx_t_1 = 0;

            /* "kivy/properties.pyx":1796
 *                 return [y, y]
 * 
 *             try:             # <<<<<<<<<<<<<<
 *                 original = list(x)
 *             except Exception as e:
*/
          }
          __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
          __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
          __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
          goto __pyx_L24_try_end;
          __pyx_L19_error:;
          __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;

          /* "kivy/properties.pyx":1798
 *             try:
 *                 original = list(x)
 *             except Exception as e:             # <<<<<<<<<<<<<<
 *                 raise ValueError('%s.%s has an invalid format (got %r)' % (
 *                     obj.__class__.__name__,
*/
          __pyx_t_3 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(((PyTypeObject*)PyExc_Exception))));
          if (__pyx_t_3) {
            __Pyx_AddTraceback("kivy.properties.VariableListProperty.convert", __pyx_clineno, __pyx_lineno, __pyx_filename);
            if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_11, &__pyx_t_12) < 0) __PYX_ERR(0, 1798, __pyx_L21_except_error)
            __Pyx_XGOTREF(__pyx_t_1);
            __Pyx_XGOTREF(__pyx_t_11);
            __Pyx_XGOTREF(__pyx_t_12);
            __Pyx_INCREF(__pyx_t_11);
            __pyx_v_e = __pyx_t_11;
            /*try:*/ {

              /* "kivy/properties.pyx":1799
 *                 original = list(x)
 *             except Exception as e:
 *                 raise ValueError('%s.%s has an invalid format (got %r)' % (             # <<<<<<<<<<<<<<
 *                     obj.__class__.__name__,
 *                     self.name, x)) from e
*/
              __pyx_t_14 = NULL;

              /* "kivy/properties.pyx":1800
 *             except Exception as e:
 *                 raise ValueError('%s.%s has an invalid format (got %r)' % (
 *                     obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                     self.name, x)) from e
 * 
*/
              __pyx_t_15 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1800, __pyx_L30_error)
              __Pyx_GOTREF(__pyx_t_15);
              __pyx_t_16 = __Pyx_PyObject_GetAttrStr(__pyx_t_15, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 1800, __pyx_L30_error)
              __Pyx_GOTREF(__pyx_t_16);
              __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0;
              __pyx_t_15 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_16), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 1800, __pyx_L30_error)
              __Pyx_GOTREF(__pyx_t_15);
              __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0;

              /* "kivy/properties.pyx":1801
 *                 raise ValueError('%s.%s has an invalid format (got %r)' % (
 *                     obj.__class__.__name__,
 *                     self.name, x)) from e             # <<<<<<<<<<<<<<
 * 
 *             l = len(original)
*/
              __pyx_t_16 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 1801, __pyx_L30_error)
              __Pyx_GOTREF(__pyx_t_16);
              __pyx_t_17 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_16), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1801, __pyx_L30_error)
              __Pyx_GOTREF(__pyx_t_17);
              __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0;
              __pyx_t_16 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Repr(__pyx_v_x), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 1801, __pyx_L30_error)
              __Pyx_GOTREF(__pyx_t_16);
              __pyx_t_18[0] = __pyx_t_15;
              __pyx_t_18[1] = __pyx_mstate_global->__pyx_kp_u__4;
              __pyx_t_18[2] = __pyx_t_17;
              __pyx_t_18[3] = __pyx_mstate_global->__pyx_kp_u_has_an_invalid_format_got;
              __pyx_t_18[4] = __pyx_t_16;
              __pyx_t_18[5] = __pyx_mstate_global->__pyx_kp_u__5;

              /* "kivy/properties.pyx":1799
 *                 original = list(x)
 *             except Exception as e:
 *                 raise ValueError('%s.%s has an invalid format (got %r)' % (             # <<<<<<<<<<<<<<
 *                     obj.__class__.__name__,
 *                     self.name, x)) from e
*/
              __pyx_t_19 = __Pyx_PyUnicode_Join(__pyx_t_18, 6, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_15) + 1 * 2 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_17) + 28 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_16), 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_15) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_17) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_16));
              if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 1799, __pyx_L30_error)
              __Pyx_GOTREF(__pyx_t_19);
              __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0;
              __Pyx_DECREF(__pyx_t_17); __pyx_t_17 = 0;
              __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0;
              __pyx_t_20 = 1;
              {
                PyObject *__pyx_callargs[2] = {__pyx_t_14, __pyx_t_19};
                __pyx_t_13 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_20, (2-__pyx_t_20) | (__pyx_t_20*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
                __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0;
                __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0;
                if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 1799, __pyx_L30_error)
                __Pyx_GOTREF(__pyx_t_13);
              }

              /* "kivy/properties.pyx":1801
 *                 raise ValueError('%s.%s has an invalid format (got %r)' % (
 *                     obj.__class__.__name__,
 *                     self.name, x)) from e             # <<<<<<<<<<<<<<
 * 
 *             l = len(original)
*/
              __Pyx_Raise(__pyx_t_13, 0, 0, __pyx_v_e);
              __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
              __PYX_ERR(0, 1799, __pyx_L30_error)
            }

            /* "kivy/properties.pyx":1798
 *             try:
 *                 original = list(x)
 *             except Exception as e:             # <<<<<<<<<<<<<<
 *                 raise ValueError('%s.%s has an invalid format (got %r)' % (
 *                     obj.__class__.__name__,
*/
            /*finally:*/ {
              __pyx_L30_error:;
              /*exception exit:*/{
                __Pyx_PyThreadState_declare
                __Pyx_PyThreadState_assign
                __pyx_t_23 = 0; __pyx_t_24 = 0; __pyx_t_25 = 0; __pyx_t_26 = 0; __pyx_t_27 = 0; __pyx_t_28 = 0;
                __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0;
                __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0;
                __Pyx_XDECREF(__pyx_t_15); __pyx_t_15 = 0;
                __Pyx_XDECREF(__pyx_t_16); __pyx_t_16 = 0;
                __Pyx_XDECREF(__pyx_t_17); __pyx_t_17 = 0;
                __Pyx_XDECREF(__pyx_t_19); __pyx_t_19 = 0;
                 __Pyx_ExceptionSwap(&__pyx_t_26, &__pyx_t_27, &__pyx_t_28);
                if ( unlikely(__Pyx_GetException(&__pyx_t_23, &__pyx_t_24, &__pyx_t_25) < 0)) __Pyx_ErrFetch(&__pyx_t_23, &__pyx_t_24, &__pyx_t_25);
                __Pyx_XGOTREF(__pyx_t_23);
                __Pyx_XGOTREF(__pyx_t_24);
                __Pyx_XGOTREF(__pyx_t_25);
                __Pyx_XGOTREF(__pyx_t_26);
                __Pyx_XGOTREF(__pyx_t_27);
                __Pyx_XGOTREF(__pyx_t_28);
                __pyx_t_3 = __pyx_lineno; __pyx_t_21 = __pyx_clineno; __pyx_t_22 = __pyx_filename;
                {
                  __Pyx_DECREF(__pyx_v_e); __pyx_v_e = 0;
                }
                __Pyx_XGIVEREF(__pyx_t_26);
                __Pyx_XGIVEREF(__pyx_t_27);
                __Pyx_XGIVEREF(__pyx_t_28);
                __Pyx_ExceptionReset(__pyx_t_26, __pyx_t_27, __pyx_t_28);
                __Pyx_XGIVEREF(__pyx_t_23);
                __Pyx_XGIVEREF(__pyx_t_24);
                __Pyx_XGIVEREF(__pyx_t_25);
                __Pyx_ErrRestore(__pyx_t_23, __pyx_t_24, __pyx_t_25);
                __pyx_t_23 = 0; __pyx_t_24 = 0; __pyx_t_25 = 0; __pyx_t_26 = 0; __pyx_t_27 = 0; __pyx_t_28 = 0;
                __pyx_lineno = __pyx_t_3; __pyx_clineno = __pyx_t_21; __pyx_filename = __pyx_t_22;
                goto __pyx_L21_except_error;
              }
            }
          }
          goto __pyx_L21_except_error;

          /* "kivy/properties.pyx":1796
 *                 return [y, y]
 * 
 *             try:             # <<<<<<<<<<<<<<
 *                 original = list(x)
 *             except Exception as e:
*/
          __pyx_L21_except_error:;
          __Pyx_XGIVEREF(__pyx_t_8);
          __Pyx_XGIVEREF(__pyx_t_9);
          __Pyx_XGIVEREF(__pyx_t_10);
          __Pyx_ExceptionReset(__pyx_t_8, __pyx_t_9, __pyx_t_10);
          goto __pyx_L8_error;
          __pyx_L24_try_end:;
        }

        /* "kivy/properties.pyx":1803
 *                     self.name, x)) from e
 * 
 *             l = len(original)             # <<<<<<<<<<<<<<
 *             if l == 1:
 *                 y = self._convert_numeric(obj, original[0], ps)
*/
        __pyx_t_29 = PyObject_Length(__pyx_v_original); if (unlikely(__pyx_t_29 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1803, __pyx_L8_error)
        __pyx_v_l = __pyx_t_29;

        /* "kivy/properties.pyx":1804
 * 
 *             l = len(original)
 *             if l == 1:             # <<<<<<<<<<<<<<
 *                 y = self._convert_numeric(obj, original[0], ps)
 *                 if self.length == 4:
*/
        switch (__pyx_v_l) {
          case 1:

          /* "kivy/properties.pyx":1805
 *             l = len(original)
 *             if l == 1:
 *                 y = self._convert_numeric(obj, original[0], ps)             # <<<<<<<<<<<<<<
 *                 if self.length == 4:
 *                     return [y, y, y, y]
*/
          __pyx_t_12 = __Pyx_GetItemInt(__pyx_v_original, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1805, __pyx_L8_error)
          __Pyx_GOTREF(__pyx_t_12);
          __pyx_t_11 = ((struct __pyx_vtabstruct_4kivy_10properties_VariableListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->_convert_numeric(__pyx_v_self, __pyx_v_obj, __pyx_t_12, __pyx_v_ps); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1805, __pyx_L8_error)
          __Pyx_GOTREF(__pyx_t_11);
          __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
          __pyx_v_y = __pyx_t_11;
          __pyx_t_11 = 0;

          /* "kivy/properties.pyx":1806
 *             if l == 1:
 *                 y = self._convert_numeric(obj, original[0], ps)
 *                 if self.length == 4:             # <<<<<<<<<<<<<<
 *                     return [y, y, y, y]
 *                 elif self.length == 2:
*/
          switch (__pyx_v_self->length) {
            case 4:

            /* "kivy/properties.pyx":1807
 *                 y = self._convert_numeric(obj, original[0], ps)
 *                 if self.length == 4:
 *                     return [y, y, y, y]             # <<<<<<<<<<<<<<
 *                 elif self.length == 2:
 *                     return [y, y]
*/
            __Pyx_XDECREF(__pyx_r);
            __pyx_t_11 = PyList_New(4); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1807, __pyx_L8_error)
            __Pyx_GOTREF(__pyx_t_11);
            __Pyx_INCREF(__pyx_v_y);
            __Pyx_GIVEREF(__pyx_v_y);
            if (__Pyx_PyList_SET_ITEM(__pyx_t_11, 0, __pyx_v_y) != (0)) __PYX_ERR(0, 1807, __pyx_L8_error);
            __Pyx_INCREF(__pyx_v_y);
            __Pyx_GIVEREF(__pyx_v_y);
            if (__Pyx_PyList_SET_ITEM(__pyx_t_11, 1, __pyx_v_y) != (0)) __PYX_ERR(0, 1807, __pyx_L8_error);
            __Pyx_INCREF(__pyx_v_y);
            __Pyx_GIVEREF(__pyx_v_y);
            if (__Pyx_PyList_SET_ITEM(__pyx_t_11, 2, __pyx_v_y) != (0)) __PYX_ERR(0, 1807, __pyx_L8_error);
            __Pyx_INCREF(__pyx_v_y);
            __Pyx_GIVEREF(__pyx_v_y);
            if (__Pyx_PyList_SET_ITEM(__pyx_t_11, 3, __pyx_v_y) != (0)) __PYX_ERR(0, 1807, __pyx_L8_error);
            __pyx_r = __pyx_t_11;
            __pyx_t_11 = 0;
            goto __pyx_L12_try_return;

            /* "kivy/properties.pyx":1806
 *             if l == 1:
 *                 y = self._convert_numeric(obj, original[0], ps)
 *                 if self.length == 4:             # <<<<<<<<<<<<<<
 *                     return [y, y, y, y]
 *                 elif self.length == 2:
*/
            break;
            case 2:

            /* "kivy/properties.pyx":1809
 *                     return [y, y, y, y]
 *                 elif self.length == 2:
 *                     return [y, y]             # <<<<<<<<<<<<<<
 *             elif l == 2:
 *                 if original[1] in NUMERIC_FORMATS:
*/
            __Pyx_XDECREF(__pyx_r);
            __pyx_t_11 = PyList_New(2); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1809, __pyx_L8_error)
            __Pyx_GOTREF(__pyx_t_11);
            __Pyx_INCREF(__pyx_v_y);
            __Pyx_GIVEREF(__pyx_v_y);
            if (__Pyx_PyList_SET_ITEM(__pyx_t_11, 0, __pyx_v_y) != (0)) __PYX_ERR(0, 1809, __pyx_L8_error);
            __Pyx_INCREF(__pyx_v_y);
            __Pyx_GIVEREF(__pyx_v_y);
            if (__Pyx_PyList_SET_ITEM(__pyx_t_11, 1, __pyx_v_y) != (0)) __PYX_ERR(0, 1809, __pyx_L8_error);
            __pyx_r = __pyx_t_11;
            __pyx_t_11 = 0;
            goto __pyx_L12_try_return;

            /* "kivy/properties.pyx":1808
 *                 if self.length == 4:
 *                     return [y, y, y, y]
 *                 elif self.length == 2:             # <<<<<<<<<<<<<<
 *                     return [y, y]
 *             elif l == 2:
*/
            break;
            default: break;
          }

          /* "kivy/properties.pyx":1804
 * 
 *             l = len(original)
 *             if l == 1:             # <<<<<<<<<<<<<<
 *                 y = self._convert_numeric(obj, original[0], ps)
 *                 if self.length == 4:
*/
          break;
          case 2:

          /* "kivy/properties.pyx":1811
 *                     return [y, y]
 *             elif l == 2:
 *                 if original[1] in NUMERIC_FORMATS:             # <<<<<<<<<<<<<<
 *                     # defaultvalue is a list or tuple representing one value
 *                     y = self._convert_numeric(obj, original, ps)
*/
          __pyx_t_11 = __Pyx_GetItemInt(__pyx_v_original, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1811, __pyx_L8_error)
          __Pyx_GOTREF(__pyx_t_11);
          __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_NUMERIC_FORMATS); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1811, __pyx_L8_error)
          __Pyx_GOTREF(__pyx_t_12);
          __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_t_11, __pyx_t_12, Py_EQ)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1811, __pyx_L8_error)
          __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
          __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
          if (__pyx_t_2) {

            /* "kivy/properties.pyx":1813
 *                 if original[1] in NUMERIC_FORMATS:
 *                     # defaultvalue is a list or tuple representing one value
 *                     y = self._convert_numeric(obj, original, ps)             # <<<<<<<<<<<<<<
 *                     if self.length == 4:
 *                         return [y, y, y, y]
*/
            __pyx_t_12 = ((struct __pyx_vtabstruct_4kivy_10properties_VariableListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->_convert_numeric(__pyx_v_self, __pyx_v_obj, __pyx_v_original, __pyx_v_ps); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1813, __pyx_L8_error)
            __Pyx_GOTREF(__pyx_t_12);
            __pyx_v_y = __pyx_t_12;
            __pyx_t_12 = 0;

            /* "kivy/properties.pyx":1814
 *                     # defaultvalue is a list or tuple representing one value
 *                     y = self._convert_numeric(obj, original, ps)
 *                     if self.length == 4:             # <<<<<<<<<<<<<<
 *                         return [y, y, y, y]
 *                     elif self.length == 2:
*/
            switch (__pyx_v_self->length) {
              case 4:

              /* "kivy/properties.pyx":1815
 *                     y = self._convert_numeric(obj, original, ps)
 *                     if self.length == 4:
 *                         return [y, y, y, y]             # <<<<<<<<<<<<<<
 *                     elif self.length == 2:
 *                         return [y, y]
*/
              __Pyx_XDECREF(__pyx_r);
              __pyx_t_12 = PyList_New(4); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1815, __pyx_L8_error)
              __Pyx_GOTREF(__pyx_t_12);
              __Pyx_INCREF(__pyx_v_y);
              __Pyx_GIVEREF(__pyx_v_y);
              if (__Pyx_PyList_SET_ITEM(__pyx_t_12, 0, __pyx_v_y) != (0)) __PYX_ERR(0, 1815, __pyx_L8_error);
              __Pyx_INCREF(__pyx_v_y);
              __Pyx_GIVEREF(__pyx_v_y);
              if (__Pyx_PyList_SET_ITEM(__pyx_t_12, 1, __pyx_v_y) != (0)) __PYX_ERR(0, 1815, __pyx_L8_error);
              __Pyx_INCREF(__pyx_v_y);
              __Pyx_GIVEREF(__pyx_v_y);
              if (__Pyx_PyList_SET_ITEM(__pyx_t_12, 2, __pyx_v_y) != (0)) __PYX_ERR(0, 1815, __pyx_L8_error);
              __Pyx_INCREF(__pyx_v_y);
              __Pyx_GIVEREF(__pyx_v_y);
              if (__Pyx_PyList_SET_ITEM(__pyx_t_12, 3, __pyx_v_y) != (0)) __PYX_ERR(0, 1815, __pyx_L8_error);
              __pyx_r = __pyx_t_12;
              __pyx_t_12 = 0;
              goto __pyx_L12_try_return;

              /* "kivy/properties.pyx":1814
 *                     # defaultvalue is a list or tuple representing one value
 *                     y = self._convert_numeric(obj, original, ps)
 *                     if self.length == 4:             # <<<<<<<<<<<<<<
 *                         return [y, y, y, y]
 *                     elif self.length == 2:
*/
              break;
              case 2:

              /* "kivy/properties.pyx":1817
 *                         return [y, y, y, y]
 *                     elif self.length == 2:
 *                         return [y, y]             # <<<<<<<<<<<<<<
 *                 else:
 *                     y = self._convert_numeric(obj, original[0], ps)
*/
              __Pyx_XDECREF(__pyx_r);
              __pyx_t_12 = PyList_New(2); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1817, __pyx_L8_error)
              __Pyx_GOTREF(__pyx_t_12);
              __Pyx_INCREF(__pyx_v_y);
              __Pyx_GIVEREF(__pyx_v_y);
              if (__Pyx_PyList_SET_ITEM(__pyx_t_12, 0, __pyx_v_y) != (0)) __PYX_ERR(0, 1817, __pyx_L8_error);
              __Pyx_INCREF(__pyx_v_y);
              __Pyx_GIVEREF(__pyx_v_y);
              if (__Pyx_PyList_SET_ITEM(__pyx_t_12, 1, __pyx_v_y) != (0)) __PYX_ERR(0, 1817, __pyx_L8_error);
              __pyx_r = __pyx_t_12;
              __pyx_t_12 = 0;
              goto __pyx_L12_try_return;

              /* "kivy/properties.pyx":1816
 *                     if self.length == 4:
 *                         return [y, y, y, y]
 *                     elif self.length == 2:             # <<<<<<<<<<<<<<
 *                         return [y, y]
 *                 else:
*/
              break;
              default: break;
            }

            /* "kivy/properties.pyx":1811
 *                     return [y, y]
 *             elif l == 2:
 *                 if original[1] in NUMERIC_FORMATS:             # <<<<<<<<<<<<<<
 *                     # defaultvalue is a list or tuple representing one value
 *                     y = self._convert_numeric(obj, original, ps)
*/
            goto __pyx_L36;
          }

          /* "kivy/properties.pyx":1819
 *                         return [y, y]
 *                 else:
 *                     y = self._convert_numeric(obj, original[0], ps)             # <<<<<<<<<<<<<<
 *                     z = self._convert_numeric(obj, original[1], ps)
 *                     if self.length == 4:
*/
          /*else*/ {
            __pyx_t_12 = __Pyx_GetItemInt(__pyx_v_original, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1819, __pyx_L8_error)
            __Pyx_GOTREF(__pyx_t_12);
            __pyx_t_11 = ((struct __pyx_vtabstruct_4kivy_10properties_VariableListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->_convert_numeric(__pyx_v_self, __pyx_v_obj, __pyx_t_12, __pyx_v_ps); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1819, __pyx_L8_error)
            __Pyx_GOTREF(__pyx_t_11);
            __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
            __pyx_v_y = __pyx_t_11;
            __pyx_t_11 = 0;

            /* "kivy/properties.pyx":1820
 *                 else:
 *                     y = self._convert_numeric(obj, original[0], ps)
 *                     z = self._convert_numeric(obj, original[1], ps)             # <<<<<<<<<<<<<<
 *                     if self.length == 4:
 *                         return [y, z, y, z]
*/
            __pyx_t_11 = __Pyx_GetItemInt(__pyx_v_original, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_OwnStrongReference); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1820, __pyx_L8_error)
            __Pyx_GOTREF(__pyx_t_11);
            __pyx_t_12 = ((struct __pyx_vtabstruct_4kivy_10properties_VariableListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->_convert_numeric(__pyx_v_self, __pyx_v_obj, __pyx_t_11, __pyx_v_ps); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1820, __pyx_L8_error)
            __Pyx_GOTREF(__pyx_t_12);
            __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
            __pyx_v_z = __pyx_t_12;
            __pyx_t_12 = 0;

            /* "kivy/properties.pyx":1821
 *                     y = self._convert_numeric(obj, original[0], ps)
 *                     z = self._convert_numeric(obj, original[1], ps)
 *                     if self.length == 4:             # <<<<<<<<<<<<<<
 *                         return [y, z, y, z]
 *                     elif self.length == 2:
*/
            switch (__pyx_v_self->length) {
              case 4:

              /* "kivy/properties.pyx":1822
 *                     z = self._convert_numeric(obj, original[1], ps)
 *                     if self.length == 4:
 *                         return [y, z, y, z]             # <<<<<<<<<<<<<<
 *                     elif self.length == 2:
 *                         return [y, z]
*/
              __Pyx_XDECREF(__pyx_r);
              __pyx_t_12 = PyList_New(4); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1822, __pyx_L8_error)
              __Pyx_GOTREF(__pyx_t_12);
              __Pyx_INCREF(__pyx_v_y);
              __Pyx_GIVEREF(__pyx_v_y);
              if (__Pyx_PyList_SET_ITEM(__pyx_t_12, 0, __pyx_v_y) != (0)) __PYX_ERR(0, 1822, __pyx_L8_error);
              __Pyx_INCREF(__pyx_v_z);
              __Pyx_GIVEREF(__pyx_v_z);
              if (__Pyx_PyList_SET_ITEM(__pyx_t_12, 1, __pyx_v_z) != (0)) __PYX_ERR(0, 1822, __pyx_L8_error);
              __Pyx_INCREF(__pyx_v_y);
              __Pyx_GIVEREF(__pyx_v_y);
              if (__Pyx_PyList_SET_ITEM(__pyx_t_12, 2, __pyx_v_y) != (0)) __PYX_ERR(0, 1822, __pyx_L8_error);
              __Pyx_INCREF(__pyx_v_z);
              __Pyx_GIVEREF(__pyx_v_z);
              if (__Pyx_PyList_SET_ITEM(__pyx_t_12, 3, __pyx_v_z) != (0)) __PYX_ERR(0, 1822, __pyx_L8_error);
              __pyx_r = __pyx_t_12;
              __pyx_t_12 = 0;
              goto __pyx_L12_try_return;

              /* "kivy/properties.pyx":1821
 *                     y = self._convert_numeric(obj, original[0], ps)
 *                     z = self._convert_numeric(obj, original[1], ps)
 *                     if self.length == 4:             # <<<<<<<<<<<<<<
 *                         return [y, z, y, z]
 *                     elif self.length == 2:
*/
              break;
              case 2:

              /* "kivy/properties.pyx":1824
 *                         return [y, z, y, z]
 *                     elif self.length == 2:
 *                         return [y, z]             # <<<<<<<<<<<<<<
 *             elif l == 4:
 *                 if self.length == 4:
*/
              __Pyx_XDECREF(__pyx_r);
              __pyx_t_12 = PyList_New(2); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1824, __pyx_L8_error)
              __Pyx_GOTREF(__pyx_t_12);
              __Pyx_INCREF(__pyx_v_y);
              __Pyx_GIVEREF(__pyx_v_y);
              if (__Pyx_PyList_SET_ITEM(__pyx_t_12, 0, __pyx_v_y) != (0)) __PYX_ERR(0, 1824, __pyx_L8_error);
              __Pyx_INCREF(__pyx_v_z);
              __Pyx_GIVEREF(__pyx_v_z);
              if (__Pyx_PyList_SET_ITEM(__pyx_t_12, 1, __pyx_v_z) != (0)) __PYX_ERR(0, 1824, __pyx_L8_error);
              __pyx_r = __pyx_t_12;
              __pyx_t_12 = 0;
              goto __pyx_L12_try_return;

              /* "kivy/properties.pyx":1823
 *                     if self.length == 4:
 *                         return [y, z, y, z]
 *                     elif self.length == 2:             # <<<<<<<<<<<<<<
 *                         return [y, z]
 *             elif l == 4:
*/
              break;
              default: break;
            }
          }
          __pyx_L36:;

          /* "kivy/properties.pyx":1810
 *                 elif self.length == 2:
 *                     return [y, y]
 *             elif l == 2:             # <<<<<<<<<<<<<<
 *                 if original[1] in NUMERIC_FORMATS:
 *                     # defaultvalue is a list or tuple representing one value
*/
          break;
          case 4:

          /* "kivy/properties.pyx":1826
 *                         return [y, z]
 *             elif l == 4:
 *                 if self.length == 4:             # <<<<<<<<<<<<<<
 *                     return [self._convert_numeric(obj, y, ps) for y in original]
 *                 else:
*/
          __pyx_t_2 = (__pyx_v_self->length == 4);
          if (likely(__pyx_t_2)) {

            /* "kivy/properties.pyx":1827
 *             elif l == 4:
 *                 if self.length == 4:
 *                     return [self._convert_numeric(obj, y, ps) for y in original]             # <<<<<<<<<<<<<<
 *                 else:
 *                     err = '%s.%s must have 1 or 2 components (got %r)'
*/
            __Pyx_XDECREF(__pyx_r);
            { /* enter inner scope */
              __pyx_t_12 = PyList_New(0); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1827, __pyx_L40_error)
              __Pyx_GOTREF(__pyx_t_12);
              if (likely(PyList_CheckExact(__pyx_v_original)) || PyTuple_CheckExact(__pyx_v_original)) {
                __pyx_t_11 = __pyx_v_original; __Pyx_INCREF(__pyx_t_11);
                __pyx_t_29 = 0;
                __pyx_t_30 = NULL;
              } else {
                __pyx_t_29 = -1; __pyx_t_11 = PyObject_GetIter(__pyx_v_original); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1827, __pyx_L40_error)
                __Pyx_GOTREF(__pyx_t_11);
                __pyx_t_30 = (CYTHON_COMPILING_IN_LIMITED_API) ? PyIter_Next : __Pyx_PyObject_GetIterNextFunc(__pyx_t_11); if (unlikely(!__pyx_t_30)) __PYX_ERR(0, 1827, __pyx_L40_error)
              }
              for (;;) {
                if (likely(!__pyx_t_30)) {
                  if (likely(PyList_CheckExact(__pyx_t_11))) {
                    {
                      Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_11);
                      #if !CYTHON_ASSUME_SAFE_SIZE
                      if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1827, __pyx_L40_error)
                      #endif
                      if (__pyx_t_29 >= __pyx_temp) break;
                    }
                    __pyx_t_1 = __Pyx_PyList_GetItemRefFast(__pyx_t_11, __pyx_t_29, __Pyx_ReferenceSharing_OwnStrongReference);
                    ++__pyx_t_29;
                  } else {
                    {
                      Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_11);
                      #if !CYTHON_ASSUME_SAFE_SIZE
                      if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1827, __pyx_L40_error)
                      #endif
                      if (__pyx_t_29 >= __pyx_temp) break;
                    }
                    #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
                    __pyx_t_1 = __Pyx_NewRef(PyTuple_GET_ITEM(__pyx_t_11, __pyx_t_29));
                    #else
                    __pyx_t_1 = __Pyx_PySequence_ITEM(__pyx_t_11, __pyx_t_29);
                    #endif
                    ++__pyx_t_29;
                  }
                  if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1827, __pyx_L40_error)
                } else {
                  __pyx_t_1 = __pyx_t_30(__pyx_t_11);
                  if (unlikely(!__pyx_t_1)) {
                    PyObject* exc_type = PyErr_Occurred();
                    if (exc_type) {
                      if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) __PYX_ERR(0, 1827, __pyx_L40_error)
                      PyErr_Clear();
                    }
                    break;
                  }
                }
                __Pyx_GOTREF(__pyx_t_1);
                __Pyx_XDECREF_SET(__pyx_8genexpr4__pyx_v_y, __pyx_t_1);
                __pyx_t_1 = 0;
                __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_VariableListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->_convert_numeric(__pyx_v_self, __pyx_v_obj, __pyx_8genexpr4__pyx_v_y, __pyx_v_ps); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1827, __pyx_L40_error)
                __Pyx_GOTREF(__pyx_t_1);
                if (unlikely(__Pyx_ListComp_Append(__pyx_t_12, (PyObject*)__pyx_t_1))) __PYX_ERR(0, 1827, __pyx_L40_error)
                __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
              }
              __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
              __Pyx_XDECREF(__pyx_8genexpr4__pyx_v_y); __pyx_8genexpr4__pyx_v_y = 0;
              goto __pyx_L44_exit_scope;
              __pyx_L40_error:;
              __Pyx_XDECREF(__pyx_8genexpr4__pyx_v_y); __pyx_8genexpr4__pyx_v_y = 0;
              goto __pyx_L8_error;
              __pyx_L44_exit_scope:;
            } /* exit inner scope */
            __pyx_r = __pyx_t_12;
            __pyx_t_12 = 0;
            goto __pyx_L12_try_return;

            /* "kivy/properties.pyx":1826
 *                         return [y, z]
 *             elif l == 4:
 *                 if self.length == 4:             # <<<<<<<<<<<<<<
 *                     return [self._convert_numeric(obj, y, ps) for y in original]
 *                 else:
*/
          }

          /* "kivy/properties.pyx":1829
 *                     return [self._convert_numeric(obj, y, ps) for y in original]
 *                 else:
 *                     err = '%s.%s must have 1 or 2 components (got %r)'             # <<<<<<<<<<<<<<
 *                     raise ValueError(err % (obj.__class__.__name__,
 *                         self.name, x))
*/
          /*else*/ {
            __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u_s_s_must_have_1_or_2_components);
            __pyx_v_err = __pyx_mstate_global->__pyx_kp_u_s_s_must_have_1_or_2_components;

            /* "kivy/properties.pyx":1830
 *                 else:
 *                     err = '%s.%s must have 1 or 2 components (got %r)'
 *                     raise ValueError(err % (obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                         self.name, x))
 *             else:
*/
            __pyx_t_11 = NULL;
            __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1830, __pyx_L8_error)
            __Pyx_GOTREF(__pyx_t_1);
            __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 1830, __pyx_L8_error)
            __Pyx_GOTREF(__pyx_t_13);
            __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

            /* "kivy/properties.pyx":1831
 *                     err = '%s.%s must have 1 or 2 components (got %r)'
 *                     raise ValueError(err % (obj.__class__.__name__,
 *                         self.name, x))             # <<<<<<<<<<<<<<
 *             else:
 *                 if self.length == 4:
*/
            __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1831, __pyx_L8_error)
            __Pyx_GOTREF(__pyx_t_1);

            /* "kivy/properties.pyx":1830
 *                 else:
 *                     err = '%s.%s must have 1 or 2 components (got %r)'
 *                     raise ValueError(err % (obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                         self.name, x))
 *             else:
*/
            __pyx_t_19 = PyTuple_New(3); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 1830, __pyx_L8_error)
            __Pyx_GOTREF(__pyx_t_19);
            __Pyx_GIVEREF(__pyx_t_13);
            if (__Pyx_PyTuple_SET_ITEM(__pyx_t_19, 0, __pyx_t_13) != (0)) __PYX_ERR(0, 1830, __pyx_L8_error);
            __Pyx_GIVEREF(__pyx_t_1);
            if (__Pyx_PyTuple_SET_ITEM(__pyx_t_19, 1, __pyx_t_1) != (0)) __PYX_ERR(0, 1830, __pyx_L8_error);
            __Pyx_INCREF(__pyx_v_x);
            __Pyx_GIVEREF(__pyx_v_x);
            if (__Pyx_PyTuple_SET_ITEM(__pyx_t_19, 2, __pyx_v_x) != (0)) __PYX_ERR(0, 1830, __pyx_L8_error);
            __pyx_t_13 = 0;
            __pyx_t_1 = 0;
            __pyx_t_1 = PyUnicode_Format(__pyx_v_err, __pyx_t_19); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1830, __pyx_L8_error)
            __Pyx_GOTREF(__pyx_t_1);
            __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0;
            __pyx_t_20 = 1;
            {
              PyObject *__pyx_callargs[2] = {__pyx_t_11, __pyx_t_1};
              __pyx_t_12 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_20, (2-__pyx_t_20) | (__pyx_t_20*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
              __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
              __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
              if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1830, __pyx_L8_error)
              __Pyx_GOTREF(__pyx_t_12);
            }
            __Pyx_Raise(__pyx_t_12, 0, 0, 0);
            __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
            __PYX_ERR(0, 1830, __pyx_L8_error)
          }

          /* "kivy/properties.pyx":1825
 *                     elif self.length == 2:
 *                         return [y, z]
 *             elif l == 4:             # <<<<<<<<<<<<<<
 *                 if self.length == 4:
 *                     return [self._convert_numeric(obj, y, ps) for y in original]
*/
          break;
          default:

          /* "kivy/properties.pyx":1833
 *                         self.name, x))
 *             else:
 *                 if self.length == 4:             # <<<<<<<<<<<<<<
 *                     err = '%s.%s must have 1, 2 or 4 components (got %r)'
 *                 elif self.length == 2:
*/
          switch (__pyx_v_self->length) {
            case 4:

            /* "kivy/properties.pyx":1834
 *             else:
 *                 if self.length == 4:
 *                     err = '%s.%s must have 1, 2 or 4 components (got %r)'             # <<<<<<<<<<<<<<
 *                 elif self.length == 2:
 *                     err = '%s.%s must have 1 or 2 components (got %r)'
*/
            __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u_s_s_must_have_1_2_or_4_componen);
            __pyx_v_err = __pyx_mstate_global->__pyx_kp_u_s_s_must_have_1_2_or_4_componen;

            /* "kivy/properties.pyx":1833
 *                         self.name, x))
 *             else:
 *                 if self.length == 4:             # <<<<<<<<<<<<<<
 *                     err = '%s.%s must have 1, 2 or 4 components (got %r)'
 *                 elif self.length == 2:
*/
            break;
            case 2:

            /* "kivy/properties.pyx":1836
 *                     err = '%s.%s must have 1, 2 or 4 components (got %r)'
 *                 elif self.length == 2:
 *                     err = '%s.%s must have 1 or 2 components (got %r)'             # <<<<<<<<<<<<<<
 *                 raise ValueError(err % (obj.__class__.__name__, self.name, x))
 *         except BaseException:
*/
            __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u_s_s_must_have_1_or_2_components);
            __pyx_v_err = __pyx_mstate_global->__pyx_kp_u_s_s_must_have_1_or_2_components;

            /* "kivy/properties.pyx":1835
 *                 if self.length == 4:
 *                     err = '%s.%s must have 1, 2 or 4 components (got %r)'
 *                 elif self.length == 2:             # <<<<<<<<<<<<<<
 *                     err = '%s.%s must have 1 or 2 components (got %r)'
 *                 raise ValueError(err % (obj.__class__.__name__, self.name, x))
*/
            break;
            default: break;
          }

          /* "kivy/properties.pyx":1837
 *                 elif self.length == 2:
 *                     err = '%s.%s must have 1 or 2 components (got %r)'
 *                 raise ValueError(err % (obj.__class__.__name__, self.name, x))             # <<<<<<<<<<<<<<
 *         except BaseException:
 *             # restore to previous because we won't update the value
*/
          __pyx_t_1 = NULL;
          if (unlikely(!__pyx_v_err)) { __Pyx_RaiseUnboundLocalError("err"); __PYX_ERR(0, 1837, __pyx_L8_error) }
          __pyx_t_11 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1837, __pyx_L8_error)
          __Pyx_GOTREF(__pyx_t_11);
          __pyx_t_19 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 1837, __pyx_L8_error)
          __Pyx_GOTREF(__pyx_t_19);
          __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
          __pyx_t_11 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1837, __pyx_L8_error)
          __Pyx_GOTREF(__pyx_t_11);
          __pyx_t_13 = PyTuple_New(3); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 1837, __pyx_L8_error)
          __Pyx_GOTREF(__pyx_t_13);
          __Pyx_GIVEREF(__pyx_t_19);
          if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 0, __pyx_t_19) != (0)) __PYX_ERR(0, 1837, __pyx_L8_error);
          __Pyx_GIVEREF(__pyx_t_11);
          if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 1, __pyx_t_11) != (0)) __PYX_ERR(0, 1837, __pyx_L8_error);
          __Pyx_INCREF(__pyx_v_x);
          __Pyx_GIVEREF(__pyx_v_x);
          if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 2, __pyx_v_x) != (0)) __PYX_ERR(0, 1837, __pyx_L8_error);
          __pyx_t_19 = 0;
          __pyx_t_11 = 0;
          __pyx_t_11 = PyUnicode_Format(__pyx_v_err, __pyx_t_13); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1837, __pyx_L8_error)
          __Pyx_GOTREF(__pyx_t_11);
          __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
          __pyx_t_20 = 1;
          {
            PyObject *__pyx_callargs[2] = {__pyx_t_1, __pyx_t_11};
            __pyx_t_12 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_20, (2-__pyx_t_20) | (__pyx_t_20*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
            __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
            __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
            if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1837, __pyx_L8_error)
            __Pyx_GOTREF(__pyx_t_12);
          }
          __Pyx_Raise(__pyx_t_12, 0, 0, 0);
          __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
          __PYX_ERR(0, 1837, __pyx_L8_error)
          break;
        }

        /* "kivy/properties.pyx":1789
 *         # reset here, it'll be changed in parse is we use anything that is not px
 *         ps.uses_scaling = 0
 *         try:             # <<<<<<<<<<<<<<
 *             if tp is int or tp is float or isinstance(x, str):
 *                 y = self._convert_numeric(obj, x, ps)
*/
      }
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
      goto __pyx_L13_try_end;
      __pyx_L8_error:;
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
      __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
      __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0;
      __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0;
      __Pyx_XDECREF(__pyx_t_15); __pyx_t_15 = 0;
      __Pyx_XDECREF(__pyx_t_16); __pyx_t_16 = 0;
      __Pyx_XDECREF(__pyx_t_17); __pyx_t_17 = 0;
      __Pyx_XDECREF(__pyx_t_19); __pyx_t_19 = 0;

      /* "kivy/properties.pyx":1838
 *                     err = '%s.%s must have 1 or 2 components (got %r)'
 *                 raise ValueError(err % (obj.__class__.__name__, self.name, x))
 *         except BaseException:             # <<<<<<<<<<<<<<
 *             # restore to previous because we won't update the value
 *             ps.uses_scaling = uses_scaling
*/
      __pyx_t_21 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(((PyTypeObject*)PyExc_BaseException))));
      if (__pyx_t_21) {
        __Pyx_AddTraceback("kivy.properties.VariableListProperty.convert", __pyx_clineno, __pyx_lineno, __pyx_filename);
        if (__Pyx_GetException(&__pyx_t_12, &__pyx_t_11, &__pyx_t_1) < 0) __PYX_ERR(0, 1838, __pyx_L10_except_error)
        __Pyx_XGOTREF(__pyx_t_12);
        __Pyx_XGOTREF(__pyx_t_11);
        __Pyx_XGOTREF(__pyx_t_1);

        /* "kivy/properties.pyx":1840
 *         except BaseException:
 *             # restore to previous because we won't update the value
 *             ps.uses_scaling = uses_scaling             # <<<<<<<<<<<<<<
 *             failed = True
 *             raise
*/
        __pyx_v_ps->uses_scaling = __pyx_v_uses_scaling;

        /* "kivy/properties.pyx":1841
 *             # restore to previous because we won't update the value
 *             ps.uses_scaling = uses_scaling
 *             failed = True             # <<<<<<<<<<<<<<
 *             raise
 *         finally:
*/
        __pyx_v_failed = 1;

        /* "kivy/properties.pyx":1842
 *             ps.uses_scaling = uses_scaling
 *             failed = True
 *             raise             # <<<<<<<<<<<<<<
 *         finally:
 *             # it worked, so we can update original
*/
        __Pyx_GIVEREF(__pyx_t_12);
        __Pyx_GIVEREF(__pyx_t_11);
        __Pyx_XGIVEREF(__pyx_t_1);
        __Pyx_ErrRestoreWithState(__pyx_t_12, __pyx_t_11, __pyx_t_1);
        __pyx_t_12 = 0;  __pyx_t_11 = 0;  __pyx_t_1 = 0; 
        __PYX_ERR(0, 1842, __pyx_L10_except_error)
      }
      goto __pyx_L10_except_error;

      /* "kivy/properties.pyx":1789
 *         # reset here, it'll be changed in parse is we use anything that is not px
 *         ps.uses_scaling = 0
 *         try:             # <<<<<<<<<<<<<<
 *             if tp is int or tp is float or isinstance(x, str):
 *                 y = self._convert_numeric(obj, x, ps)
*/
      __pyx_L10_except_error:;
      __Pyx_XGIVEREF(__pyx_t_4);
      __Pyx_XGIVEREF(__pyx_t_5);
      __Pyx_XGIVEREF(__pyx_t_6);
      __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
      goto __pyx_L6_error;
      __pyx_L12_try_return:;
      __Pyx_XGIVEREF(__pyx_t_4);
      __Pyx_XGIVEREF(__pyx_t_5);
      __Pyx_XGIVEREF(__pyx_t_6);
      __Pyx_ExceptionReset(__pyx_t_4, __pyx_t_5, __pyx_t_6);
      goto __pyx_L5_return;
      __pyx_L13_try_end:;
    }
  }

  /* "kivy/properties.pyx":1845
 *         finally:
 *             # it worked, so we can update original
 *             if not failed:             # <<<<<<<<<<<<<<
 *                 ps.original_num = original
 * 
*/
  /*finally:*/ {
    /*normal exit:*/{
      __pyx_t_2 = (!__pyx_v_failed);
      if (__pyx_t_2) {

        /* "kivy/properties.pyx":1846
 *             # it worked, so we can update original
 *             if not failed:
 *                 ps.original_num = original             # <<<<<<<<<<<<<<
 * 
 *     cdef _convert_numeric(
*/
        __Pyx_INCREF(__pyx_v_original);
        __Pyx_GIVEREF(__pyx_v_original);
        __Pyx_GOTREF(__pyx_v_ps->original_num);
        __Pyx_DECREF(__pyx_v_ps->original_num);
        __pyx_v_ps->original_num = __pyx_v_original;

        /* "kivy/properties.pyx":1845
 *         finally:
 *             # it worked, so we can update original
 *             if not failed:             # <<<<<<<<<<<<<<
 *                 ps.original_num = original
 * 
*/
      }
      goto __pyx_L7;
    }
    __pyx_L6_error:;
    /*exception exit:*/{
      __Pyx_PyThreadState_declare
      __Pyx_PyThreadState_assign
      __pyx_t_6 = 0; __pyx_t_5 = 0; __pyx_t_4 = 0; __pyx_t_10 = 0; __pyx_t_9 = 0; __pyx_t_8 = 0;
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
      __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
      __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0;
      __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0;
      __Pyx_XDECREF(__pyx_t_15); __pyx_t_15 = 0;
      __Pyx_XDECREF(__pyx_t_16); __pyx_t_16 = 0;
      __Pyx_XDECREF(__pyx_t_17); __pyx_t_17 = 0;
      __Pyx_XDECREF(__pyx_t_19); __pyx_t_19 = 0;
       __Pyx_ExceptionSwap(&__pyx_t_10, &__pyx_t_9, &__pyx_t_8);
      if ( unlikely(__Pyx_GetException(&__pyx_t_6, &__pyx_t_5, &__pyx_t_4) < 0)) __Pyx_ErrFetch(&__pyx_t_6, &__pyx_t_5, &__pyx_t_4);
      __Pyx_XGOTREF(__pyx_t_6);
      __Pyx_XGOTREF(__pyx_t_5);
      __Pyx_XGOTREF(__pyx_t_4);
      __Pyx_XGOTREF(__pyx_t_10);
      __Pyx_XGOTREF(__pyx_t_9);
      __Pyx_XGOTREF(__pyx_t_8);
      __pyx_t_21 = __pyx_lineno; __pyx_t_3 = __pyx_clineno; __pyx_t_31 = __pyx_filename;
      {
        __pyx_t_2 = (!__pyx_v_failed);
        if (__pyx_t_2) {

          /* "kivy/properties.pyx":1846
 *             # it worked, so we can update original
 *             if not failed:
 *                 ps.original_num = original             # <<<<<<<<<<<<<<
 * 
 *     cdef _convert_numeric(
*/
          __Pyx_INCREF(__pyx_v_original);
          __Pyx_GIVEREF(__pyx_v_original);
          __Pyx_GOTREF(__pyx_v_ps->original_num);
          __Pyx_DECREF(__pyx_v_ps->original_num);
          __pyx_v_ps->original_num = __pyx_v_original;

          /* "kivy/properties.pyx":1845
 *         finally:
 *             # it worked, so we can update original
 *             if not failed:             # <<<<<<<<<<<<<<
 *                 ps.original_num = original
 * 
*/
        }
      }
      __Pyx_XGIVEREF(__pyx_t_10);
      __Pyx_XGIVEREF(__pyx_t_9);
      __Pyx_XGIVEREF(__pyx_t_8);
      __Pyx_ExceptionReset(__pyx_t_10, __pyx_t_9, __pyx_t_8);
      __Pyx_XGIVEREF(__pyx_t_6);
      __Pyx_XGIVEREF(__pyx_t_5);
      __Pyx_XGIVEREF(__pyx_t_4);
      __Pyx_ErrRestore(__pyx_t_6, __pyx_t_5, __pyx_t_4);
      __pyx_t_6 = 0; __pyx_t_5 = 0; __pyx_t_4 = 0; __pyx_t_10 = 0; __pyx_t_9 = 0; __pyx_t_8 = 0;
      __pyx_lineno = __pyx_t_21; __pyx_clineno = __pyx_t_3; __pyx_filename = __pyx_t_31;
      goto __pyx_L1_error;
    }
    __pyx_L5_return: {
      __pyx_t_8 = __pyx_r;
      __pyx_r = 0;
      __pyx_t_2 = (!__pyx_v_failed);
      if (__pyx_t_2) {

        /* "kivy/properties.pyx":1846
 *             # it worked, so we can update original
 *             if not failed:
 *                 ps.original_num = original             # <<<<<<<<<<<<<<
 * 
 *     cdef _convert_numeric(
*/
        __Pyx_INCREF(__pyx_v_original);
        __Pyx_GIVEREF(__pyx_v_original);
        __Pyx_GOTREF(__pyx_v_ps->original_num);
        __Pyx_DECREF(__pyx_v_ps->original_num);
        __pyx_v_ps->original_num = __pyx_v_original;

        /* "kivy/properties.pyx":1845
 *         finally:
 *             # it worked, so we can update original
 *             if not failed:             # <<<<<<<<<<<<<<
 *                 ps.original_num = original
 * 
*/
      }
      __pyx_r = __pyx_t_8;
      __pyx_t_8 = 0;
      goto __pyx_L0;
    }
    __pyx_L7:;
  }

  /* "kivy/properties.pyx":1773
 *             raise ValueError(err % (obj.__class__.__name__, self.name, value))
 * 
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         cdef VariableListPropertyStorage ps = property_storage
 *         if x is None:
*/

  /* 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_11);
  __Pyx_XDECREF(__pyx_t_12);
  __Pyx_XDECREF(__pyx_t_13);
  __Pyx_XDECREF(__pyx_t_14);
  __Pyx_XDECREF(__pyx_t_15);
  __Pyx_XDECREF(__pyx_t_16);
  __Pyx_XDECREF(__pyx_t_17);
  __Pyx_XDECREF(__pyx_t_19);
  __Pyx_AddTraceback("kivy.properties.VariableListProperty.convert", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XDECREF((PyObject *)__pyx_v_tp);
  __Pyx_XDECREF(__pyx_v_original);
  __Pyx_XDECREF(__pyx_v_y);
  __Pyx_XDECREF(__pyx_v_e);
  __Pyx_XDECREF(__pyx_v_z);
  __Pyx_XDECREF(__pyx_v_err);
  __Pyx_XDECREF(__pyx_8genexpr4__pyx_v_y);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1848
 *                 ps.original_num = original
 * 
 *     cdef _convert_numeric(             # <<<<<<<<<<<<<<
 *             self, EventDispatcher obj, x, VariableListPropertyStorage ps):
 *         tp = type(x)
*/

static PyObject *__pyx_f_4kivy_10properties_20VariableListProperty__convert_numeric(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_x, struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *__pyx_v_ps) {
  PyTypeObject *__pyx_v_tp = NULL;
  PyObject *__pyx_v_e = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  int __pyx_t_2;
  float __pyx_t_3;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  Py_ssize_t __pyx_t_8;
  PyObject *__pyx_t_9 = NULL;
  PyObject *__pyx_t_10 = NULL;
  PyObject *__pyx_t_11 = NULL;
  PyObject *__pyx_t_12 = NULL;
  PyObject *__pyx_t_13[6];
  PyObject *__pyx_t_14 = NULL;
  size_t __pyx_t_15;
  int __pyx_t_16;
  PyObject *__pyx_t_17 = NULL;
  PyObject *__pyx_t_18 = NULL;
  PyObject *__pyx_t_19 = NULL;
  int __pyx_t_20;
  char const *__pyx_t_21;
  PyObject *__pyx_t_22 = NULL;
  PyObject *__pyx_t_23 = NULL;
  PyObject *__pyx_t_24 = NULL;
  PyObject *__pyx_t_25 = NULL;
  PyObject *__pyx_t_26 = NULL;
  PyObject *__pyx_t_27 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("_convert_numeric", 0);

  /* "kivy/properties.pyx":1850
 *     cdef _convert_numeric(
 *             self, EventDispatcher obj, x, VariableListPropertyStorage ps):
 *         tp = type(x)             # <<<<<<<<<<<<<<
 *         if tp is int or tp is float:
 *             return x
*/
  __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_x)));
  __pyx_v_tp = ((PyTypeObject*)((PyObject *)Py_TYPE(__pyx_v_x)));

  /* "kivy/properties.pyx":1851
 *             self, EventDispatcher obj, x, VariableListPropertyStorage ps):
 *         tp = type(x)
 *         if tp is int or tp is float:             # <<<<<<<<<<<<<<
 *             return x
 *         if isinstance(x, str):
*/
  __pyx_t_2 = (__pyx_v_tp == (&PyLong_Type));
  if (!__pyx_t_2) {
  } else {
    __pyx_t_1 = __pyx_t_2;
    goto __pyx_L4_bool_binop_done;
  }
  __pyx_t_2 = (__pyx_v_tp == (&PyFloat_Type));
  __pyx_t_1 = __pyx_t_2;
  __pyx_L4_bool_binop_done:;
  if (__pyx_t_1) {

    /* "kivy/properties.pyx":1852
 *         tp = type(x)
 *         if tp is int or tp is float:
 *             return x             # <<<<<<<<<<<<<<
 *         if isinstance(x, str):
 *             return self.parse_str(obj, x, ps)
*/
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(__pyx_v_x);
    __pyx_r = __pyx_v_x;
    goto __pyx_L0;

    /* "kivy/properties.pyx":1851
 *             self, EventDispatcher obj, x, VariableListPropertyStorage ps):
 *         tp = type(x)
 *         if tp is int or tp is float:             # <<<<<<<<<<<<<<
 *             return x
 *         if isinstance(x, str):
*/
  }

  /* "kivy/properties.pyx":1853
 *         if tp is int or tp is float:
 *             return x
 *         if isinstance(x, str):             # <<<<<<<<<<<<<<
 *             return self.parse_str(obj, x, ps)
 * 
*/
  __pyx_t_1 = PyUnicode_Check(__pyx_v_x); 
  if (__pyx_t_1) {

    /* "kivy/properties.pyx":1854
 *             return x
 *         if isinstance(x, str):
 *             return self.parse_str(obj, x, ps)             # <<<<<<<<<<<<<<
 * 
 *         try:
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_t_3 = ((struct __pyx_vtabstruct_4kivy_10properties_VariableListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->parse_str(__pyx_v_self, __pyx_v_obj, __pyx_v_x, __pyx_v_ps); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1854, __pyx_L1_error)
    __pyx_t_4 = PyFloat_FromDouble(__pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1854, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_r = __pyx_t_4;
    __pyx_t_4 = 0;
    goto __pyx_L0;

    /* "kivy/properties.pyx":1853
 *         if tp is int or tp is float:
 *             return x
 *         if isinstance(x, str):             # <<<<<<<<<<<<<<
 *             return self.parse_str(obj, x, ps)
 * 
*/
  }

  /* "kivy/properties.pyx":1856
 *             return self.parse_str(obj, x, ps)
 * 
 *         try:             # <<<<<<<<<<<<<<
 *             if len(x) != 2:
 *                 raise ValueError('%s.%s must have 2 components (got %r)' % (
*/
  {
    __Pyx_PyThreadState_declare
    __Pyx_PyThreadState_assign
    __Pyx_ExceptionSave(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7);
    __Pyx_XGOTREF(__pyx_t_5);
    __Pyx_XGOTREF(__pyx_t_6);
    __Pyx_XGOTREF(__pyx_t_7);
    /*try:*/ {

      /* "kivy/properties.pyx":1857
 * 
 *         try:
 *             if len(x) != 2:             # <<<<<<<<<<<<<<
 *                 raise ValueError('%s.%s must have 2 components (got %r)' % (
 *                     obj.__class__.__name__,
*/
      __pyx_t_8 = PyObject_Length(__pyx_v_x); if (unlikely(__pyx_t_8 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1857, __pyx_L7_error)
      __pyx_t_1 = (__pyx_t_8 != 2);
      if (unlikely(__pyx_t_1)) {

        /* "kivy/properties.pyx":1858
 *         try:
 *             if len(x) != 2:
 *                 raise ValueError('%s.%s must have 2 components (got %r)' % (             # <<<<<<<<<<<<<<
 *                     obj.__class__.__name__,
 *                     self.name, x))
*/
        __pyx_t_9 = NULL;

        /* "kivy/properties.pyx":1859
 *             if len(x) != 2:
 *                 raise ValueError('%s.%s must have 2 components (got %r)' % (
 *                     obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                     self.name, x))
 *             return self.parse_list(obj, x[0], x[1], ps)
*/
        __pyx_t_10 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1859, __pyx_L7_error)
        __Pyx_GOTREF(__pyx_t_10);
        __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1859, __pyx_L7_error)
        __Pyx_GOTREF(__pyx_t_11);
        __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
        __pyx_t_10 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_11), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1859, __pyx_L7_error)
        __Pyx_GOTREF(__pyx_t_10);
        __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;

        /* "kivy/properties.pyx":1860
 *                 raise ValueError('%s.%s must have 2 components (got %r)' % (
 *                     obj.__class__.__name__,
 *                     self.name, x))             # <<<<<<<<<<<<<<
 *             return self.parse_list(obj, x[0], x[1], ps)
 *         except Exception as e:
*/
        __pyx_t_11 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1860, __pyx_L7_error)
        __Pyx_GOTREF(__pyx_t_11);
        __pyx_t_12 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_11), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 1860, __pyx_L7_error)
        __Pyx_GOTREF(__pyx_t_12);
        __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
        __pyx_t_11 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Repr(__pyx_v_x), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1860, __pyx_L7_error)
        __Pyx_GOTREF(__pyx_t_11);
        __pyx_t_13[0] = __pyx_t_10;
        __pyx_t_13[1] = __pyx_mstate_global->__pyx_kp_u__4;
        __pyx_t_13[2] = __pyx_t_12;
        __pyx_t_13[3] = __pyx_mstate_global->__pyx_kp_u_must_have_2_components_got;
        __pyx_t_13[4] = __pyx_t_11;
        __pyx_t_13[5] = __pyx_mstate_global->__pyx_kp_u__5;

        /* "kivy/properties.pyx":1858
 *         try:
 *             if len(x) != 2:
 *                 raise ValueError('%s.%s must have 2 components (got %r)' % (             # <<<<<<<<<<<<<<
 *                     obj.__class__.__name__,
 *                     self.name, x))
*/
        __pyx_t_14 = __Pyx_PyUnicode_Join(__pyx_t_13, 6, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_10) + 1 * 2 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_12) + 29 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_11), 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_10) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_12) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_11));
        if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1858, __pyx_L7_error)
        __Pyx_GOTREF(__pyx_t_14);
        __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
        __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
        __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
        __pyx_t_15 = 1;
        {
          PyObject *__pyx_callargs[2] = {__pyx_t_9, __pyx_t_14};
          __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_15, (2-__pyx_t_15) | (__pyx_t_15*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
          __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
          if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1858, __pyx_L7_error)
          __Pyx_GOTREF(__pyx_t_4);
        }
        __Pyx_Raise(__pyx_t_4, 0, 0, 0);
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
        __PYX_ERR(0, 1858, __pyx_L7_error)

        /* "kivy/properties.pyx":1857
 * 
 *         try:
 *             if len(x) != 2:             # <<<<<<<<<<<<<<
 *                 raise ValueError('%s.%s must have 2 components (got %r)' % (
 *                     obj.__class__.__name__,
*/
      }

      /* "kivy/properties.pyx":1861
 *                     obj.__class__.__name__,
 *                     self.name, x))
 *             return self.parse_list(obj, x[0], x[1], ps)             # <<<<<<<<<<<<<<
 *         except Exception as e:
 *             raise ValueError('%s.%s has an invalid format (got %r)' % (
*/
      __Pyx_XDECREF(__pyx_r);
      __pyx_t_4 = __Pyx_GetItemInt(__pyx_v_x, 0, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1861, __pyx_L7_error)
      __Pyx_GOTREF(__pyx_t_4);
      __pyx_t_14 = __Pyx_GetItemInt(__pyx_v_x, 1, long, 1, __Pyx_PyLong_From_long, 0, 0, 1, 1, __Pyx_ReferenceSharing_FunctionArgument); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1861, __pyx_L7_error)
      __Pyx_GOTREF(__pyx_t_14);
      __pyx_t_3 = ((struct __pyx_vtabstruct_4kivy_10properties_VariableListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->parse_list(__pyx_v_self, __pyx_v_obj, __pyx_t_4, __pyx_t_14, __pyx_v_ps); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1861, __pyx_L7_error)
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
      __pyx_t_14 = PyFloat_FromDouble(__pyx_t_3); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1861, __pyx_L7_error)
      __Pyx_GOTREF(__pyx_t_14);
      __pyx_r = __pyx_t_14;
      __pyx_t_14 = 0;
      goto __pyx_L11_try_return;

      /* "kivy/properties.pyx":1856
 *             return self.parse_str(obj, x, ps)
 * 
 *         try:             # <<<<<<<<<<<<<<
 *             if len(x) != 2:
 *                 raise ValueError('%s.%s must have 2 components (got %r)' % (
*/
    }
    __pyx_L7_error:;
    __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;
    __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0;
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;

    /* "kivy/properties.pyx":1862
 *                     self.name, x))
 *             return self.parse_list(obj, x[0], x[1], ps)
 *         except Exception as e:             # <<<<<<<<<<<<<<
 *             raise ValueError('%s.%s has an invalid format (got %r)' % (
 *                 obj.__class__.__name__,
*/
    __pyx_t_16 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(((PyTypeObject*)PyExc_Exception))));
    if (__pyx_t_16) {
      __Pyx_AddTraceback("kivy.properties.VariableListProperty._convert_numeric", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_14, &__pyx_t_4, &__pyx_t_9) < 0) __PYX_ERR(0, 1862, __pyx_L9_except_error)
      __Pyx_XGOTREF(__pyx_t_14);
      __Pyx_XGOTREF(__pyx_t_4);
      __Pyx_XGOTREF(__pyx_t_9);
      __Pyx_INCREF(__pyx_t_4);
      __pyx_v_e = __pyx_t_4;
      /*try:*/ {

        /* "kivy/properties.pyx":1863
 *             return self.parse_list(obj, x[0], x[1], ps)
 *         except Exception as e:
 *             raise ValueError('%s.%s has an invalid format (got %r)' % (             # <<<<<<<<<<<<<<
 *                 obj.__class__.__name__,
 *                 self.name, x)) from e
*/
        __pyx_t_12 = NULL;

        /* "kivy/properties.pyx":1864
 *         except Exception as e:
 *             raise ValueError('%s.%s has an invalid format (got %r)' % (
 *                 obj.__class__.__name__,             # <<<<<<<<<<<<<<
 *                 self.name, x)) from e
 * 
*/
        __pyx_t_10 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1864, __pyx_L19_error)
        __Pyx_GOTREF(__pyx_t_10);
        __pyx_t_17 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1864, __pyx_L19_error)
        __Pyx_GOTREF(__pyx_t_17);
        __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
        __pyx_t_10 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_17), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1864, __pyx_L19_error)
        __Pyx_GOTREF(__pyx_t_10);
        __Pyx_DECREF(__pyx_t_17); __pyx_t_17 = 0;

        /* "kivy/properties.pyx":1865
 *             raise ValueError('%s.%s has an invalid format (got %r)' % (
 *                 obj.__class__.__name__,
 *                 self.name, x)) from e             # <<<<<<<<<<<<<<
 * 
 *     cdef float parse_str(
*/
        __pyx_t_17 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1865, __pyx_L19_error)
        __Pyx_GOTREF(__pyx_t_17);
        __pyx_t_18 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Str(__pyx_t_17), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_18)) __PYX_ERR(0, 1865, __pyx_L19_error)
        __Pyx_GOTREF(__pyx_t_18);
        __Pyx_DECREF(__pyx_t_17); __pyx_t_17 = 0;
        __pyx_t_17 = __Pyx_PyObject_FormatSimpleAndDecref(PyObject_Repr(__pyx_v_x), __pyx_mstate_global->__pyx_empty_unicode); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 1865, __pyx_L19_error)
        __Pyx_GOTREF(__pyx_t_17);
        __pyx_t_13[0] = __pyx_t_10;
        __pyx_t_13[1] = __pyx_mstate_global->__pyx_kp_u__4;
        __pyx_t_13[2] = __pyx_t_18;
        __pyx_t_13[3] = __pyx_mstate_global->__pyx_kp_u_has_an_invalid_format_got;
        __pyx_t_13[4] = __pyx_t_17;
        __pyx_t_13[5] = __pyx_mstate_global->__pyx_kp_u__5;

        /* "kivy/properties.pyx":1863
 *             return self.parse_list(obj, x[0], x[1], ps)
 *         except Exception as e:
 *             raise ValueError('%s.%s has an invalid format (got %r)' % (             # <<<<<<<<<<<<<<
 *                 obj.__class__.__name__,
 *                 self.name, x)) from e
*/
        __pyx_t_19 = __Pyx_PyUnicode_Join(__pyx_t_13, 6, __Pyx_PyUnicode_GET_LENGTH(__pyx_t_10) + 1 * 2 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_18) + 28 + __Pyx_PyUnicode_GET_LENGTH(__pyx_t_17), 127 | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_10) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_18) | __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_17));
        if (unlikely(!__pyx_t_19)) __PYX_ERR(0, 1863, __pyx_L19_error)
        __Pyx_GOTREF(__pyx_t_19);
        __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
        __Pyx_DECREF(__pyx_t_18); __pyx_t_18 = 0;
        __Pyx_DECREF(__pyx_t_17); __pyx_t_17 = 0;
        __pyx_t_15 = 1;
        {
          PyObject *__pyx_callargs[2] = {__pyx_t_12, __pyx_t_19};
          __pyx_t_11 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_15, (2-__pyx_t_15) | (__pyx_t_15*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
          __Pyx_DECREF(__pyx_t_19); __pyx_t_19 = 0;
          if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1863, __pyx_L19_error)
          __Pyx_GOTREF(__pyx_t_11);
        }

        /* "kivy/properties.pyx":1865
 *             raise ValueError('%s.%s has an invalid format (got %r)' % (
 *                 obj.__class__.__name__,
 *                 self.name, x)) from e             # <<<<<<<<<<<<<<
 * 
 *     cdef float parse_str(
*/
        __Pyx_Raise(__pyx_t_11, 0, 0, __pyx_v_e);
        __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
        __PYX_ERR(0, 1863, __pyx_L19_error)
      }

      /* "kivy/properties.pyx":1862
 *                     self.name, x))
 *             return self.parse_list(obj, x[0], x[1], ps)
 *         except Exception as e:             # <<<<<<<<<<<<<<
 *             raise ValueError('%s.%s has an invalid format (got %r)' % (
 *                 obj.__class__.__name__,
*/
      /*finally:*/ {
        __pyx_L19_error:;
        /*exception exit:*/{
          __Pyx_PyThreadState_declare
          __Pyx_PyThreadState_assign
          __pyx_t_22 = 0; __pyx_t_23 = 0; __pyx_t_24 = 0; __pyx_t_25 = 0; __pyx_t_26 = 0; __pyx_t_27 = 0;
          __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;
          __Pyx_XDECREF(__pyx_t_17); __pyx_t_17 = 0;
          __Pyx_XDECREF(__pyx_t_18); __pyx_t_18 = 0;
          __Pyx_XDECREF(__pyx_t_19); __pyx_t_19 = 0;
           __Pyx_ExceptionSwap(&__pyx_t_25, &__pyx_t_26, &__pyx_t_27);
          if ( unlikely(__Pyx_GetException(&__pyx_t_22, &__pyx_t_23, &__pyx_t_24) < 0)) __Pyx_ErrFetch(&__pyx_t_22, &__pyx_t_23, &__pyx_t_24);
          __Pyx_XGOTREF(__pyx_t_22);
          __Pyx_XGOTREF(__pyx_t_23);
          __Pyx_XGOTREF(__pyx_t_24);
          __Pyx_XGOTREF(__pyx_t_25);
          __Pyx_XGOTREF(__pyx_t_26);
          __Pyx_XGOTREF(__pyx_t_27);
          __pyx_t_16 = __pyx_lineno; __pyx_t_20 = __pyx_clineno; __pyx_t_21 = __pyx_filename;
          {
            __Pyx_DECREF(__pyx_v_e); __pyx_v_e = 0;
          }
          __Pyx_XGIVEREF(__pyx_t_25);
          __Pyx_XGIVEREF(__pyx_t_26);
          __Pyx_XGIVEREF(__pyx_t_27);
          __Pyx_ExceptionReset(__pyx_t_25, __pyx_t_26, __pyx_t_27);
          __Pyx_XGIVEREF(__pyx_t_22);
          __Pyx_XGIVEREF(__pyx_t_23);
          __Pyx_XGIVEREF(__pyx_t_24);
          __Pyx_ErrRestore(__pyx_t_22, __pyx_t_23, __pyx_t_24);
          __pyx_t_22 = 0; __pyx_t_23 = 0; __pyx_t_24 = 0; __pyx_t_25 = 0; __pyx_t_26 = 0; __pyx_t_27 = 0;
          __pyx_lineno = __pyx_t_16; __pyx_clineno = __pyx_t_20; __pyx_filename = __pyx_t_21;
          goto __pyx_L9_except_error;
        }
      }
    }
    goto __pyx_L9_except_error;

    /* "kivy/properties.pyx":1856
 *             return self.parse_str(obj, x, ps)
 * 
 *         try:             # <<<<<<<<<<<<<<
 *             if len(x) != 2:
 *                 raise ValueError('%s.%s must have 2 components (got %r)' % (
*/
    __pyx_L9_except_error:;
    __Pyx_XGIVEREF(__pyx_t_5);
    __Pyx_XGIVEREF(__pyx_t_6);
    __Pyx_XGIVEREF(__pyx_t_7);
    __Pyx_ExceptionReset(__pyx_t_5, __pyx_t_6, __pyx_t_7);
    goto __pyx_L1_error;
    __pyx_L11_try_return:;
    __Pyx_XGIVEREF(__pyx_t_5);
    __Pyx_XGIVEREF(__pyx_t_6);
    __Pyx_XGIVEREF(__pyx_t_7);
    __Pyx_ExceptionReset(__pyx_t_5, __pyx_t_6, __pyx_t_7);
    goto __pyx_L0;
  }

  /* "kivy/properties.pyx":1848
 *                 ps.original_num = original
 * 
 *     cdef _convert_numeric(             # <<<<<<<<<<<<<<
 *             self, EventDispatcher obj, x, VariableListPropertyStorage ps):
 *         tp = type(x)
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_XDECREF(__pyx_t_10);
  __Pyx_XDECREF(__pyx_t_11);
  __Pyx_XDECREF(__pyx_t_12);
  __Pyx_XDECREF(__pyx_t_14);
  __Pyx_XDECREF(__pyx_t_17);
  __Pyx_XDECREF(__pyx_t_18);
  __Pyx_XDECREF(__pyx_t_19);
  __Pyx_AddTraceback("kivy.properties.VariableListProperty._convert_numeric", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_tp);
  __Pyx_XDECREF(__pyx_v_e);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1867
 *                 self.name, x)) from e
 * 
 *     cdef float parse_str(             # <<<<<<<<<<<<<<
 *             self, EventDispatcher obj, value, VariableListPropertyStorage ps
 *     ) except *:
*/

static float __pyx_f_4kivy_10properties_20VariableListProperty_parse_str(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *__pyx_v_ps) {
  float __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  float __pyx_t_3;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("parse_str", 0);

  /* "kivy/properties.pyx":1870
 *             self, EventDispatcher obj, value, VariableListPropertyStorage ps
 *     ) except *:
 *         return self.parse_list(obj, value[:-2], value[-2:], ps)             # <<<<<<<<<<<<<<
 * 
 *     cdef float parse_list(
*/
  __pyx_t_1 = __Pyx_PyObject_GetSlice(__pyx_v_value, 0, -2L, NULL, NULL, &__pyx_mstate_global->__pyx_slice[1], 0, 1, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1870, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_2 = __Pyx_PyObject_GetSlice(__pyx_v_value, -2L, 0, NULL, NULL, &__pyx_mstate_global->__pyx_slice[0], 1, 0, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1870, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_3 = ((struct __pyx_vtabstruct_4kivy_10properties_VariableListProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->parse_list(__pyx_v_self, __pyx_v_obj, __pyx_t_1, __pyx_t_2, __pyx_v_ps); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1870, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_r = __pyx_t_3;
  goto __pyx_L0;

  /* "kivy/properties.pyx":1867
 *                 self.name, x)) from e
 * 
 *     cdef float parse_str(             # <<<<<<<<<<<<<<
 *             self, EventDispatcher obj, value, VariableListPropertyStorage ps
 *     ) except *:
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("kivy.properties.VariableListProperty.parse_str", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":1872
 *         return self.parse_list(obj, value[:-2], value[-2:], ps)
 * 
 *     cdef float parse_list(             # <<<<<<<<<<<<<<
 *             self, EventDispatcher obj, value, ext,
 *             VariableListPropertyStorage ps) except *:
*/

static float __pyx_f_4kivy_10properties_20VariableListProperty_parse_list(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, PyObject *__pyx_v_ext, struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *__pyx_v_ps) {
  float __pyx_r;
  __Pyx_RefNannyDeclarations
  int __pyx_t_1;
  PyObject *__pyx_t_2 = NULL;
  int __pyx_t_3;
  float __pyx_t_4;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("parse_list", 0);

  /* "kivy/properties.pyx":1875
 *             self, EventDispatcher obj, value, ext,
 *             VariableListPropertyStorage ps) except *:
 *         ps.uses_scaling = ps.uses_scaling or ext != 'px'             # <<<<<<<<<<<<<<
 *         return dpi2px(value, ext)
 * 
*/
  if (!__pyx_v_ps->uses_scaling) {
  } else {
    __pyx_t_1 = __pyx_v_ps->uses_scaling;
    goto __pyx_L3_bool_binop_done;
  }
  __pyx_t_2 = PyObject_RichCompare(__pyx_v_ext, __pyx_mstate_global->__pyx_n_u_px, Py_NE); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1875, __pyx_L1_error)
  __pyx_t_3 = __Pyx_PyLong_As_int(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1875, __pyx_L1_error)
  __pyx_t_1 = __pyx_t_3;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_L3_bool_binop_done:;
  __pyx_v_ps->uses_scaling = __pyx_t_1;

  /* "kivy/properties.pyx":1876
 *             VariableListPropertyStorage ps) except *:
 *         ps.uses_scaling = ps.uses_scaling or ext != 'px'
 *         return dpi2px(value, ext)             # <<<<<<<<<<<<<<
 * 
 * 
*/
  __pyx_t_2 = __pyx_v_ext;
  __Pyx_INCREF(__pyx_t_2);
  if (!(likely(PyUnicode_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_2))) __PYX_ERR(0, 1876, __pyx_L1_error)
  __pyx_t_4 = __pyx_f_4kivy_8_metrics_dpi2px(__pyx_v_value, ((PyObject*)__pyx_t_2), 0); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1876, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_r = __pyx_t_4;
  goto __pyx_L0;

  /* "kivy/properties.pyx":1872
 *         return self.parse_list(obj, value[:-2], value[-2:], ps)
 * 
 *     cdef float parse_list(             # <<<<<<<<<<<<<<
 *             self, EventDispatcher obj, value, ext,
 *             VariableListPropertyStorage ps) except *:
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_AddTraceback("kivy.properties.VariableListProperty.parse_list", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pxd":129
 * 
 * cdef class VariableListProperty(Property):
 *     cdef public int length             # <<<<<<<<<<<<<<
 *     cdef _convert_numeric(self, EventDispatcher obj, x, VariableListPropertyStorage ps)
 *     cdef float parse_str(
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_20VariableListProperty_6length_1__get__(PyObject *__pyx_v_self); /*proto*/
static PyObject *__pyx_pw_4kivy_10properties_20VariableListProperty_6length_1__get__(PyObject *__pyx_v_self) {
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__get__ (wrapper)", 0);
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_r = __pyx_pf_4kivy_10properties_20VariableListProperty_6length___get__(((struct __pyx_obj_4kivy_10properties_VariableListProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_20VariableListProperty_6length___get__(struct __pyx_obj_4kivy_10properties_VariableListProperty *__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_PyLong_From_int(__pyx_v_self->length); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 129, __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("kivy.properties.VariableListProperty.length.__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_4kivy_10properties_20VariableListProperty_6length_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value); /*proto*/
static int __pyx_pw_4kivy_10properties_20VariableListProperty_6length_3__set__(PyObject *__pyx_v_self, PyObject *__pyx_v_value) {
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__set__ (wrapper)", 0);
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_r = __pyx_pf_4kivy_10properties_20VariableListProperty_6length_2__set__(((struct __pyx_obj_4kivy_10properties_VariableListProperty *)__pyx_v_self), ((PyObject *)__pyx_v_value));

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

static int __pyx_pf_4kivy_10properties_20VariableListProperty_6length_2__set__(struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, PyObject *__pyx_v_value) {
  int __pyx_r;
  int __pyx_t_1;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __pyx_t_1 = __Pyx_PyLong_As_int(__pyx_v_value); if (unlikely((__pyx_t_1 == (int)-1) && PyErr_Occurred())) __PYX_ERR(2, 129, __pyx_L1_error)
  __pyx_v_self->length = __pyx_t_1;

  /* function exit code */
  __pyx_r = 0;
  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.VariableListProperty.length.__set__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  return __pyx_r;
}

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_20VariableListProperty_7__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_20VariableListProperty_6__reduce_cython__, "VariableListProperty.__reduce_cython__(self)");
static PyMethodDef __pyx_mdef_4kivy_10properties_20VariableListProperty_7__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_20VariableListProperty_7__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_20VariableListProperty_6__reduce_cython__};
static PyObject *__pyx_pw_4kivy_10properties_20VariableListProperty_7__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return NULL;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__reduce_cython__", __pyx_kwds); return NULL;}
  __pyx_r = __pyx_pf_4kivy_10properties_20VariableListProperty_6__reduce_cython__(((struct __pyx_obj_4kivy_10properties_VariableListProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_20VariableListProperty_6__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.VariableListProperty.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_20VariableListProperty_9__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_20VariableListProperty_8__setstate_cython__, "VariableListProperty.__setstate_cython__(self, __pyx_state)");
static PyMethodDef __pyx_mdef_4kivy_10properties_20VariableListProperty_9__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_20VariableListProperty_9__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_20VariableListProperty_8__setstate_cython__};
static PyObject *__pyx_pw_4kivy_10properties_20VariableListProperty_9__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  CYTHON_UNUSED PyObject *__pyx_v___pyx_state = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 3, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 3, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
    }
    __pyx_v___pyx_state = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.VariableListProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_20VariableListProperty_8__setstate_cython__(((struct __pyx_obj_4kivy_10properties_VariableListProperty *)__pyx_v_self), __pyx_v___pyx_state);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_20VariableListProperty_8__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_VariableListProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.VariableListProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":2000
 *     '''
 * 
 *     def __cinit__(self):             # <<<<<<<<<<<<<<
 *         self.config = None
 *         self.config_name = ''
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_20ConfigParserProperty_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_20ConfigParserProperty_1__cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__cinit__", 1, 0, 0, __pyx_nargs); return -1; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return -1;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__cinit__", __pyx_kwds); return -1;}
  __pyx_r = __pyx_pf_4kivy_10properties_20ConfigParserProperty___cinit__(((struct __pyx_obj_4kivy_10properties_ConfigParserProperty *)__pyx_v_self));

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

static int __pyx_pf_4kivy_10properties_20ConfigParserProperty___cinit__(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__cinit__", 0);

  /* "kivy/properties.pyx":2001
 * 
 *     def __cinit__(self):
 *         self.config = None             # <<<<<<<<<<<<<<
 *         self.config_name = ''
 *         self.section = ''
*/
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->config);
  __Pyx_DECREF(__pyx_v_self->config);
  __pyx_v_self->config = Py_None;

  /* "kivy/properties.pyx":2002
 *     def __cinit__(self):
 *         self.config = None
 *         self.config_name = ''             # <<<<<<<<<<<<<<
 *         self.section = ''
 *         self.key = ''
*/
  __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u_);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_kp_u_);
  __Pyx_GOTREF(__pyx_v_self->config_name);
  __Pyx_DECREF(__pyx_v_self->config_name);
  __pyx_v_self->config_name = __pyx_mstate_global->__pyx_kp_u_;

  /* "kivy/properties.pyx":2003
 *         self.config = None
 *         self.config_name = ''
 *         self.section = ''             # <<<<<<<<<<<<<<
 *         self.key = ''
 *         self.val_type = None
*/
  __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u_);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_kp_u_);
  __Pyx_GOTREF(__pyx_v_self->section);
  __Pyx_DECREF(__pyx_v_self->section);
  __pyx_v_self->section = __pyx_mstate_global->__pyx_kp_u_;

  /* "kivy/properties.pyx":2004
 *         self.config_name = ''
 *         self.section = ''
 *         self.key = ''             # <<<<<<<<<<<<<<
 *         self.val_type = None
 *         self.verify = None
*/
  __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u_);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_kp_u_);
  __Pyx_GOTREF(__pyx_v_self->key);
  __Pyx_DECREF(__pyx_v_self->key);
  __pyx_v_self->key = __pyx_mstate_global->__pyx_kp_u_;

  /* "kivy/properties.pyx":2005
 *         self.section = ''
 *         self.key = ''
 *         self.val_type = None             # <<<<<<<<<<<<<<
 *         self.verify = None
 *         self.last_value = None  # the last string value in the config for this
*/
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->val_type);
  __Pyx_DECREF(__pyx_v_self->val_type);
  __pyx_v_self->val_type = Py_None;

  /* "kivy/properties.pyx":2006
 *         self.key = ''
 *         self.val_type = None
 *         self.verify = None             # <<<<<<<<<<<<<<
 *         self.last_value = None  # the last string value in the config for this
 * 
*/
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->verify);
  __Pyx_DECREF(__pyx_v_self->verify);
  __pyx_v_self->verify = Py_None;

  /* "kivy/properties.pyx":2007
 *         self.val_type = None
 *         self.verify = None
 *         self.last_value = None  # the last string value in the config for this             # <<<<<<<<<<<<<<
 * 
 *     def __init__(self, defaultvalue, section, key, config, **kw):
*/
  __Pyx_INCREF(Py_None);
  __Pyx_GIVEREF(Py_None);
  __Pyx_GOTREF(__pyx_v_self->last_value);
  __Pyx_DECREF(__pyx_v_self->last_value);
  __pyx_v_self->last_value = Py_None;

  /* "kivy/properties.pyx":2000
 *     '''
 * 
 *     def __cinit__(self):             # <<<<<<<<<<<<<<
 *         self.config = None
 *         self.config_name = ''
*/

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

/* "kivy/properties.pyx":2009
 *         self.last_value = None  # the last string value in the config for this
 * 
 *     def __init__(self, defaultvalue, section, key, config, **kw):             # <<<<<<<<<<<<<<
 *         self.val_type = kw.pop('val_type', None)
 *         self.verify = kw.pop('verify', None)
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_20ConfigParserProperty_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_20ConfigParserProperty_3__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_defaultvalue = 0;
  PyObject *__pyx_v_section = 0;
  PyObject *__pyx_v_key = 0;
  PyObject *__pyx_v_config = 0;
  PyObject *__pyx_v_kw = 0;
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[4] = {0,0,0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_v_kw = PyDict_New(); if (unlikely(!__pyx_v_kw)) return -1;
  __Pyx_GOTREF(__pyx_v_kw);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_defaultvalue,&__pyx_mstate_global->__pyx_n_u_section,&__pyx_mstate_global->__pyx_n_u_key,&__pyx_mstate_global->__pyx_n_u_config,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 2009, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  4:
        values[3] = __Pyx_ArgRef_VARARGS(__pyx_args, 3);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 2009, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  3:
        values[2] = __Pyx_ArgRef_VARARGS(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 2009, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_VARARGS(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 2009, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 2009, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, __pyx_v_kw, values, kwd_pos_args, __pyx_kwds_len, "__init__", 1) < (0)) __PYX_ERR(0, 2009, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 4; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, i); __PYX_ERR(0, 2009, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 4)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 2009, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_VARARGS(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 2009, __pyx_L3_error)
      values[2] = __Pyx_ArgRef_VARARGS(__pyx_args, 2);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 2009, __pyx_L3_error)
      values[3] = __Pyx_ArgRef_VARARGS(__pyx_args, 3);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[3])) __PYX_ERR(0, 2009, __pyx_L3_error)
    }
    __pyx_v_defaultvalue = values[0];
    __pyx_v_section = values[1];
    __pyx_v_key = values[2];
    __pyx_v_config = values[3];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, __pyx_nargs); __PYX_ERR(0, 2009, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw); __pyx_v_kw = 0;
  __Pyx_AddTraceback("kivy.properties.ConfigParserProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_20ConfigParserProperty_2__init__(((struct __pyx_obj_4kivy_10properties_ConfigParserProperty *)__pyx_v_self), __pyx_v_defaultvalue, __pyx_v_section, __pyx_v_key, __pyx_v_config, __pyx_v_kw);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_4kivy_10properties_20ConfigParserProperty_2__init__(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_section, PyObject *__pyx_v_key, PyObject *__pyx_v_config, PyObject *__pyx_v_kw) {
  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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  int __pyx_t_7;
  int __pyx_t_8;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__init__", 0);

  /* "kivy/properties.pyx":2010
 * 
 *     def __init__(self, defaultvalue, section, key, config, **kw):
 *         self.val_type = kw.pop('val_type', None)             # <<<<<<<<<<<<<<
 *         self.verify = kw.pop('verify', None)
 *         super(ConfigParserProperty, self).__init__(defaultvalue, **kw)
*/
  __pyx_t_1 = __Pyx_PyDict_Pop(__pyx_v_kw, __pyx_mstate_global->__pyx_n_u_val_type, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2010, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->val_type);
  __Pyx_DECREF(__pyx_v_self->val_type);
  __pyx_v_self->val_type = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":2011
 *     def __init__(self, defaultvalue, section, key, config, **kw):
 *         self.val_type = kw.pop('val_type', None)
 *         self.verify = kw.pop('verify', None)             # <<<<<<<<<<<<<<
 *         super(ConfigParserProperty, self).__init__(defaultvalue, **kw)
 *         self.section = section
*/
  __pyx_t_1 = __Pyx_PyDict_Pop(__pyx_v_kw, __pyx_mstate_global->__pyx_n_u_verify, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2011, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->verify);
  __Pyx_DECREF(__pyx_v_self->verify);
  __pyx_v_self->verify = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":2012
 *         self.val_type = kw.pop('val_type', None)
 *         self.verify = kw.pop('verify', None)
 *         super(ConfigParserProperty, self).__init__(defaultvalue, **kw)             # <<<<<<<<<<<<<<
 *         self.section = section
 *         self.key = key
*/
  __pyx_t_2 = NULL;
  __pyx_t_4 = NULL;
  __pyx_t_5 = 1;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_4, ((PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_ConfigParserProperty), ((PyObject *)__pyx_v_self)};
    __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)__pyx_builtin_super, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2012, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
  }
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_init); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2012, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_3 = PyDict_Copy(__pyx_v_kw); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2012, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (likely(PyMethod_Check(__pyx_t_4))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_defaultvalue};
    __pyx_t_1 = __Pyx_PyObject_FastCallDict((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_3);
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2012, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":2013
 *         self.verify = kw.pop('verify', None)
 *         super(ConfigParserProperty, self).__init__(defaultvalue, **kw)
 *         self.section = section             # <<<<<<<<<<<<<<
 *         self.key = key
 * 
*/
  __Pyx_INCREF(__pyx_v_section);
  __Pyx_GIVEREF(__pyx_v_section);
  __Pyx_GOTREF(__pyx_v_self->section);
  __Pyx_DECREF(__pyx_v_self->section);
  __pyx_v_self->section = __pyx_v_section;

  /* "kivy/properties.pyx":2014
 *         super(ConfigParserProperty, self).__init__(defaultvalue, **kw)
 *         self.section = section
 *         self.key = key             # <<<<<<<<<<<<<<
 * 
 *         if isinstance(config, str) and config:
*/
  __Pyx_INCREF(__pyx_v_key);
  __Pyx_GIVEREF(__pyx_v_key);
  __Pyx_GOTREF(__pyx_v_self->key);
  __Pyx_DECREF(__pyx_v_self->key);
  __pyx_v_self->key = __pyx_v_key;

  /* "kivy/properties.pyx":2016
 *         self.key = key
 * 
 *         if isinstance(config, str) and config:             # <<<<<<<<<<<<<<
 *             self.config_name = config
 *         elif isinstance(config, ConfigParser):
*/
  __pyx_t_7 = PyUnicode_Check(__pyx_v_config); 
  if (__pyx_t_7) {
  } else {
    __pyx_t_6 = __pyx_t_7;
    goto __pyx_L4_bool_binop_done;
  }
  __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_config); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 2016, __pyx_L1_error)
  __pyx_t_6 = __pyx_t_7;
  __pyx_L4_bool_binop_done:;
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":2017
 * 
 *         if isinstance(config, str) and config:
 *             self.config_name = config             # <<<<<<<<<<<<<<
 *         elif isinstance(config, ConfigParser):
 *             self.config = config
*/
    __Pyx_INCREF(__pyx_v_config);
    __Pyx_GIVEREF(__pyx_v_config);
    __Pyx_GOTREF(__pyx_v_self->config_name);
    __Pyx_DECREF(__pyx_v_self->config_name);
    __pyx_v_self->config_name = __pyx_v_config;

    /* "kivy/properties.pyx":2016
 *         self.key = key
 * 
 *         if isinstance(config, str) and config:             # <<<<<<<<<<<<<<
 *             self.config_name = config
 *         elif isinstance(config, ConfigParser):
*/
    goto __pyx_L3;
  }

  /* "kivy/properties.pyx":2018
 *         if isinstance(config, str) and config:
 *             self.config_name = config
 *         elif isinstance(config, ConfigParser):             # <<<<<<<<<<<<<<
 *             self.config = config
 *         elif config is not None:
*/
  __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_ConfigParser); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2018, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_6 = PyObject_IsInstance(__pyx_v_config, __pyx_t_1); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(0, 2018, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":2019
 *             self.config_name = config
 *         elif isinstance(config, ConfigParser):
 *             self.config = config             # <<<<<<<<<<<<<<
 *         elif config is not None:
 *             raise ValueError(
*/
    __Pyx_INCREF(__pyx_v_config);
    __Pyx_GIVEREF(__pyx_v_config);
    __Pyx_GOTREF(__pyx_v_self->config);
    __Pyx_DECREF(__pyx_v_self->config);
    __pyx_v_self->config = __pyx_v_config;

    /* "kivy/properties.pyx":2018
 *         if isinstance(config, str) and config:
 *             self.config_name = config
 *         elif isinstance(config, ConfigParser):             # <<<<<<<<<<<<<<
 *             self.config = config
 *         elif config is not None:
*/
    goto __pyx_L3;
  }

  /* "kivy/properties.pyx":2020
 *         elif isinstance(config, ConfigParser):
 *             self.config = config
 *         elif config is not None:             # <<<<<<<<<<<<<<
 *             raise ValueError(
 *             'config {}, is not a ConfigParser instance or a non-empty string'.
*/
  __pyx_t_6 = (__pyx_v_config != Py_None);
  if (unlikely(__pyx_t_6)) {

    /* "kivy/properties.pyx":2021
 *             self.config = config
 *         elif config is not None:
 *             raise ValueError(             # <<<<<<<<<<<<<<
 *             'config {}, is not a ConfigParser instance or a non-empty string'.
 *             format(config))
*/
    __pyx_t_4 = NULL;

    /* "kivy/properties.pyx":2023
 *             raise ValueError(
 *             'config {}, is not a ConfigParser instance or a non-empty string'.
 *             format(config))             # <<<<<<<<<<<<<<
 * 
 *         if not self.section or not isinstance(section, str):
*/
    __pyx_t_2 = __pyx_mstate_global->__pyx_kp_u_config_is_not_a_ConfigParser_ins;
    __Pyx_INCREF(__pyx_t_2);
    __pyx_t_5 = 0;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_config};
      __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_format, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2023, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_3);
    }
    __pyx_t_5 = 1;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_3};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2021, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_Raise(__pyx_t_1, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __PYX_ERR(0, 2021, __pyx_L1_error)

    /* "kivy/properties.pyx":2020
 *         elif isinstance(config, ConfigParser):
 *             self.config = config
 *         elif config is not None:             # <<<<<<<<<<<<<<
 *             raise ValueError(
 *             'config {}, is not a ConfigParser instance or a non-empty string'.
*/
  }
  __pyx_L3:;

  /* "kivy/properties.pyx":2025
 *             format(config))
 * 
 *         if not self.section or not isinstance(section, str):             # <<<<<<<<<<<<<<
 *             raise ValueError('section {}, is not a non-empty string'.
 *                              format(section))
*/
  __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_self->section); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 2025, __pyx_L1_error)
  __pyx_t_8 = (!__pyx_t_7);
  if (!__pyx_t_8) {
  } else {
    __pyx_t_6 = __pyx_t_8;
    goto __pyx_L7_bool_binop_done;
  }
  __pyx_t_8 = PyUnicode_Check(__pyx_v_section); 
  __pyx_t_7 = (!__pyx_t_8);
  __pyx_t_6 = __pyx_t_7;
  __pyx_L7_bool_binop_done:;
  if (unlikely(__pyx_t_6)) {

    /* "kivy/properties.pyx":2026
 * 
 *         if not self.section or not isinstance(section, str):
 *             raise ValueError('section {}, is not a non-empty string'.             # <<<<<<<<<<<<<<
 *                              format(section))
 *         if not self.key or not isinstance(key, str):
*/
    __pyx_t_3 = NULL;

    /* "kivy/properties.pyx":2027
 *         if not self.section or not isinstance(section, str):
 *             raise ValueError('section {}, is not a non-empty string'.
 *                              format(section))             # <<<<<<<<<<<<<<
 *         if not self.key or not isinstance(key, str):
 *             raise ValueError('key {}, is not a non-empty string'.
*/
    __pyx_t_2 = __pyx_mstate_global->__pyx_kp_u_section_is_not_a_non_empty_strin;
    __Pyx_INCREF(__pyx_t_2);
    __pyx_t_5 = 0;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_section};
      __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_format, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2027, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
    }
    __pyx_t_5 = 1;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_t_4};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2026, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_Raise(__pyx_t_1, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __PYX_ERR(0, 2026, __pyx_L1_error)

    /* "kivy/properties.pyx":2025
 *             format(config))
 * 
 *         if not self.section or not isinstance(section, str):             # <<<<<<<<<<<<<<
 *             raise ValueError('section {}, is not a non-empty string'.
 *                              format(section))
*/
  }

  /* "kivy/properties.pyx":2028
 *             raise ValueError('section {}, is not a non-empty string'.
 *                              format(section))
 *         if not self.key or not isinstance(key, str):             # <<<<<<<<<<<<<<
 *             raise ValueError('key {}, is not a non-empty string'.
 *                              format(key))
*/
  __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_v_self->key); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 2028, __pyx_L1_error)
  __pyx_t_8 = (!__pyx_t_7);
  if (!__pyx_t_8) {
  } else {
    __pyx_t_6 = __pyx_t_8;
    goto __pyx_L10_bool_binop_done;
  }
  __pyx_t_8 = PyUnicode_Check(__pyx_v_key); 
  __pyx_t_7 = (!__pyx_t_8);
  __pyx_t_6 = __pyx_t_7;
  __pyx_L10_bool_binop_done:;
  if (unlikely(__pyx_t_6)) {

    /* "kivy/properties.pyx":2029
 *                              format(section))
 *         if not self.key or not isinstance(key, str):
 *             raise ValueError('key {}, is not a non-empty string'.             # <<<<<<<<<<<<<<
 *                              format(key))
 *         if self.val_type is not None and not callable(self.val_type):
*/
    __pyx_t_4 = NULL;

    /* "kivy/properties.pyx":2030
 *         if not self.key or not isinstance(key, str):
 *             raise ValueError('key {}, is not a non-empty string'.
 *                              format(key))             # <<<<<<<<<<<<<<
 *         if self.val_type is not None and not callable(self.val_type):
 *             raise ValueError(
*/
    __pyx_t_2 = __pyx_mstate_global->__pyx_kp_u_key_is_not_a_non_empty_string;
    __Pyx_INCREF(__pyx_t_2);
    __pyx_t_5 = 0;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_key};
      __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_format, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2030, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_3);
    }
    __pyx_t_5 = 1;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_3};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2029, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_Raise(__pyx_t_1, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __PYX_ERR(0, 2029, __pyx_L1_error)

    /* "kivy/properties.pyx":2028
 *             raise ValueError('section {}, is not a non-empty string'.
 *                              format(section))
 *         if not self.key or not isinstance(key, str):             # <<<<<<<<<<<<<<
 *             raise ValueError('key {}, is not a non-empty string'.
 *                              format(key))
*/
  }

  /* "kivy/properties.pyx":2031
 *             raise ValueError('key {}, is not a non-empty string'.
 *                              format(key))
 *         if self.val_type is not None and not callable(self.val_type):             # <<<<<<<<<<<<<<
 *             raise ValueError(
 *                 'val_type {} is not callable'.format(self.val_type))
*/
  __pyx_t_7 = (__pyx_v_self->val_type != Py_None);
  if (__pyx_t_7) {
  } else {
    __pyx_t_6 = __pyx_t_7;
    goto __pyx_L13_bool_binop_done;
  }
  __pyx_t_1 = __pyx_v_self->val_type;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_t_7 = __Pyx_PyCallable_Check(__pyx_t_1); if (unlikely(__pyx_t_7 == ((int)-1))) __PYX_ERR(0, 2031, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_8 = (!__pyx_t_7);
  __pyx_t_6 = __pyx_t_8;
  __pyx_L13_bool_binop_done:;
  if (unlikely(__pyx_t_6)) {

    /* "kivy/properties.pyx":2032
 *                              format(key))
 *         if self.val_type is not None and not callable(self.val_type):
 *             raise ValueError(             # <<<<<<<<<<<<<<
 *                 'val_type {} is not callable'.format(self.val_type))
 *         if self.verify is not None and not callable(self.verify):
*/
    __pyx_t_3 = NULL;

    /* "kivy/properties.pyx":2033
 *         if self.val_type is not None and not callable(self.val_type):
 *             raise ValueError(
 *                 'val_type {} is not callable'.format(self.val_type))             # <<<<<<<<<<<<<<
 *         if self.verify is not None and not callable(self.verify):
 *             raise ValueError(
*/
    __pyx_t_2 = __pyx_mstate_global->__pyx_kp_u_val_type_is_not_callable;
    __Pyx_INCREF(__pyx_t_2);
    __pyx_t_5 = 0;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_self->val_type};
      __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_format, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2033, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
    }
    __pyx_t_5 = 1;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_t_4};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2032, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_Raise(__pyx_t_1, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __PYX_ERR(0, 2032, __pyx_L1_error)

    /* "kivy/properties.pyx":2031
 *             raise ValueError('key {}, is not a non-empty string'.
 *                              format(key))
 *         if self.val_type is not None and not callable(self.val_type):             # <<<<<<<<<<<<<<
 *             raise ValueError(
 *                 'val_type {} is not callable'.format(self.val_type))
*/
  }

  /* "kivy/properties.pyx":2034
 *             raise ValueError(
 *                 'val_type {} is not callable'.format(self.val_type))
 *         if self.verify is not None and not callable(self.verify):             # <<<<<<<<<<<<<<
 *             raise ValueError(
 *                 'verify {} is not callable'.format(self.verify))
*/
  __pyx_t_8 = (__pyx_v_self->verify != Py_None);
  if (__pyx_t_8) {
  } else {
    __pyx_t_6 = __pyx_t_8;
    goto __pyx_L16_bool_binop_done;
  }
  __pyx_t_1 = __pyx_v_self->verify;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_t_8 = __Pyx_PyCallable_Check(__pyx_t_1); if (unlikely(__pyx_t_8 == ((int)-1))) __PYX_ERR(0, 2034, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_7 = (!__pyx_t_8);
  __pyx_t_6 = __pyx_t_7;
  __pyx_L16_bool_binop_done:;
  if (unlikely(__pyx_t_6)) {

    /* "kivy/properties.pyx":2035
 *                 'val_type {} is not callable'.format(self.val_type))
 *         if self.verify is not None and not callable(self.verify):
 *             raise ValueError(             # <<<<<<<<<<<<<<
 *                 'verify {} is not callable'.format(self.verify))
 * 
*/
    __pyx_t_4 = NULL;

    /* "kivy/properties.pyx":2036
 *         if self.verify is not None and not callable(self.verify):
 *             raise ValueError(
 *                 'verify {} is not callable'.format(self.verify))             # <<<<<<<<<<<<<<
 * 
 *     cpdef link_deps(self, EventDispatcher obj, str name):
*/
    __pyx_t_2 = __pyx_mstate_global->__pyx_kp_u_verify_is_not_callable;
    __Pyx_INCREF(__pyx_t_2);
    __pyx_t_5 = 0;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_self->verify};
      __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_format, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2036, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_3);
    }
    __pyx_t_5 = 1;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_3};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2035, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_Raise(__pyx_t_1, 0, 0, 0);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __PYX_ERR(0, 2035, __pyx_L1_error)

    /* "kivy/properties.pyx":2034
 *             raise ValueError(
 *                 'val_type {} is not callable'.format(self.val_type))
 *         if self.verify is not None and not callable(self.verify):             # <<<<<<<<<<<<<<
 *             raise ValueError(
 *                 'verify {} is not callable'.format(self.verify))
*/
  }

  /* "kivy/properties.pyx":2009
 *         self.last_value = None  # the last string value in the config for this
 * 
 *     def __init__(self, defaultvalue, section, key, config, **kw):             # <<<<<<<<<<<<<<
 *         self.val_type = kw.pop('val_type', None)
 *         self.verify = kw.pop('verify', None)
*/

  /* 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_AddTraceback("kivy.properties.ConfigParserProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":2038
 *                 'verify {} is not callable'.format(self.verify))
 * 
 *     cpdef link_deps(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         # initialize the config objects
 *         cdef PropertyStorage ps
*/

static PyObject *__pyx_pw_4kivy_10properties_20ConfigParserProperty_5link_deps(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_20ConfigParserProperty_link_deps(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_name, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps = 0;
  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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  PyObject *__pyx_t_9 = NULL;
  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("link_deps", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ConfigParserProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_link_deps); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2038, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_20ConfigParserProperty_5link_deps)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_name};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2038, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":2041
 *         # initialize the config objects
 *         cdef PropertyStorage ps
 *         Property.link_deps(self, obj, name)             # <<<<<<<<<<<<<<
 *         self.obj = ref(obj)
 * 
*/
  __pyx_t_1 = __pyx_f_4kivy_10properties_8Property_link_deps(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_name, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2041, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":2042
 *         cdef PropertyStorage ps
 *         Property.link_deps(self, obj, name)
 *         self.obj = ref(obj)             # <<<<<<<<<<<<<<
 * 
 *         # if the parser already exists, get it now
*/
  __pyx_t_2 = NULL;
  __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_ref); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2042, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (unlikely(PyMethod_Check(__pyx_t_4))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_2, ((PyObject *)__pyx_v_obj)};
    __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2042, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_GIVEREF(__pyx_t_1);
  __Pyx_GOTREF(__pyx_v_self->obj);
  __Pyx_DECREF(__pyx_v_self->obj);
  __pyx_v_self->obj = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":2045
 * 
 *         # if the parser already exists, get it now
 *         if self.config is None:             # <<<<<<<<<<<<<<
 *             self.config = ConfigParser.get_configparser(self.config_name)
 *         if self.config is not None:
*/
  __pyx_t_6 = (__pyx_v_self->config == Py_None);
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":2046
 *         # if the parser already exists, get it now
 *         if self.config is None:
 *             self.config = ConfigParser.get_configparser(self.config_name)             # <<<<<<<<<<<<<<
 *         if self.config is not None:
 *             self.config.adddefaultsection(self.section)
*/
    __pyx_t_4 = NULL;
    __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_ConfigParser); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2046, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_get_configparser); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2046, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    __pyx_t_5 = 1;
    #if CYTHON_UNPACK_METHODS
    if (unlikely(PyMethod_Check(__pyx_t_3))) {
      __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
      assert(__pyx_t_4);
      PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_3);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(__pyx__function);
      __Pyx_DECREF_SET(__pyx_t_3, __pyx__function);
      __pyx_t_5 = 0;
    }
    #endif
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_v_self->config_name};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2046, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_GIVEREF(__pyx_t_1);
    __Pyx_GOTREF(__pyx_v_self->config);
    __Pyx_DECREF(__pyx_v_self->config);
    __pyx_v_self->config = __pyx_t_1;
    __pyx_t_1 = 0;

    /* "kivy/properties.pyx":2045
 * 
 *         # if the parser already exists, get it now
 *         if self.config is None:             # <<<<<<<<<<<<<<
 *             self.config = ConfigParser.get_configparser(self.config_name)
 *         if self.config is not None:
*/
  }

  /* "kivy/properties.pyx":2047
 *         if self.config is None:
 *             self.config = ConfigParser.get_configparser(self.config_name)
 *         if self.config is not None:             # <<<<<<<<<<<<<<
 *             self.config.adddefaultsection(self.section)
 *             self.config.setdefault(self.section, self.key, self.defaultvalue)
*/
  __pyx_t_6 = (__pyx_v_self->config != Py_None);
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":2048
 *             self.config = ConfigParser.get_configparser(self.config_name)
 *         if self.config is not None:
 *             self.config.adddefaultsection(self.section)             # <<<<<<<<<<<<<<
 *             self.config.setdefault(self.section, self.key, self.defaultvalue)
 * 
*/
    __pyx_t_3 = __pyx_v_self->config;
    __Pyx_INCREF(__pyx_t_3);
    __pyx_t_5 = 0;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_v_self->section};
      __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_adddefaultsection, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2048, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "kivy/properties.pyx":2049
 *         if self.config is not None:
 *             self.config.adddefaultsection(self.section)
 *             self.config.setdefault(self.section, self.key, self.defaultvalue)             # <<<<<<<<<<<<<<
 * 
 *             ps = self.get_property_storage(obj)
*/
    __pyx_t_3 = __pyx_v_self->config;
    __Pyx_INCREF(__pyx_t_3);
    __pyx_t_5 = 0;
    {
      PyObject *__pyx_callargs[4] = {__pyx_t_3, __pyx_v_self->section, __pyx_v_self->key, __pyx_v_self->__pyx_base.defaultvalue};
      __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_setdefault, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2049, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "kivy/properties.pyx":2051
 *             self.config.setdefault(self.section, self.key, self.defaultvalue)
 * 
 *             ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *             ps.value = self._parse_str(self.config.get(self.section, self.key))
 *             # in case the value changed, save it
*/
    __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_ConfigParserProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get_property_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2051, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
    __pyx_t_1 = 0;

    /* "kivy/properties.pyx":2052
 * 
 *             ps = self.get_property_storage(obj)
 *             ps.value = self._parse_str(self.config.get(self.section, self.key))             # <<<<<<<<<<<<<<
 *             # in case the value changed, save it
 *             self.config.set(self.section, self.key, ps.value)
*/
    __pyx_t_3 = __pyx_v_self->config;
    __Pyx_INCREF(__pyx_t_3);
    __pyx_t_5 = 0;
    {
      PyObject *__pyx_callargs[3] = {__pyx_t_3, __pyx_v_self->section, __pyx_v_self->key};
      __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2052, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __pyx_t_3 = __pyx_f_4kivy_10properties_20ConfigParserProperty__parse_str(__pyx_v_self, __pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2052, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __Pyx_GIVEREF(__pyx_t_3);
    __Pyx_GOTREF(__pyx_v_ps->value);
    __Pyx_DECREF(__pyx_v_ps->value);
    __pyx_v_ps->value = __pyx_t_3;
    __pyx_t_3 = 0;

    /* "kivy/properties.pyx":2054
 *             ps.value = self._parse_str(self.config.get(self.section, self.key))
 *             # in case the value changed, save it
 *             self.config.set(self.section, self.key, ps.value)             # <<<<<<<<<<<<<<
 *             self.last_value = self.config.get(self.section, self.key)
 *             self.config.add_callback(self._edit_setting, self.section, self.key)
*/
    __pyx_t_1 = __pyx_v_self->config;
    __Pyx_INCREF(__pyx_t_1);
    __pyx_t_5 = 0;
    {
      PyObject *__pyx_callargs[4] = {__pyx_t_1, __pyx_v_self->section, __pyx_v_self->key, __pyx_v_ps->value};
      __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_set, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
      if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2054, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_3);
    }
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

    /* "kivy/properties.pyx":2055
 *             # in case the value changed, save it
 *             self.config.set(self.section, self.key, ps.value)
 *             self.last_value = self.config.get(self.section, self.key)             # <<<<<<<<<<<<<<
 *             self.config.add_callback(self._edit_setting, self.section, self.key)
 *             self.config.write()
*/
    __pyx_t_1 = __pyx_v_self->config;
    __Pyx_INCREF(__pyx_t_1);
    __pyx_t_5 = 0;
    {
      PyObject *__pyx_callargs[3] = {__pyx_t_1, __pyx_v_self->section, __pyx_v_self->key};
      __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
      if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2055, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_3);
    }
    __Pyx_GIVEREF(__pyx_t_3);
    __Pyx_GOTREF(__pyx_v_self->last_value);
    __Pyx_DECREF(__pyx_v_self->last_value);
    __pyx_v_self->last_value = __pyx_t_3;
    __pyx_t_3 = 0;

    /* "kivy/properties.pyx":2056
 *             self.config.set(self.section, self.key, ps.value)
 *             self.last_value = self.config.get(self.section, self.key)
 *             self.config.add_callback(self._edit_setting, self.section, self.key)             # <<<<<<<<<<<<<<
 *             self.config.write()
 *             #self.dispatch(obj)  # we need to dispatch, so not overwritten
*/
    __pyx_t_1 = __pyx_v_self->config;
    __Pyx_INCREF(__pyx_t_1);
    __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_edit_setting); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2056, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_5 = 0;
    {
      PyObject *__pyx_callargs[4] = {__pyx_t_1, __pyx_t_4, __pyx_v_self->section, __pyx_v_self->key};
      __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_add_callback, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2056, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_3);
    }
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

    /* "kivy/properties.pyx":2057
 *             self.last_value = self.config.get(self.section, self.key)
 *             self.config.add_callback(self._edit_setting, self.section, self.key)
 *             self.config.write()             # <<<<<<<<<<<<<<
 *             #self.dispatch(obj)  # we need to dispatch, so not overwritten
 *         elif self.config_name:
*/
    __pyx_t_4 = __pyx_v_self->config;
    __Pyx_INCREF(__pyx_t_4);
    __pyx_t_5 = 0;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_4, NULL};
      __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_write, __pyx_callargs+__pyx_t_5, (1-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2057, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_3);
    }
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

    /* "kivy/properties.pyx":2047
 *         if self.config is None:
 *             self.config = ConfigParser.get_configparser(self.config_name)
 *         if self.config is not None:             # <<<<<<<<<<<<<<
 *             self.config.adddefaultsection(self.section)
 *             self.config.setdefault(self.section, self.key, self.defaultvalue)
*/
    goto __pyx_L4;
  }

  /* "kivy/properties.pyx":2059
 *             self.config.write()
 *             #self.dispatch(obj)  # we need to dispatch, so not overwritten
 *         elif self.config_name:             # <<<<<<<<<<<<<<
 *             # ConfigParser will set_config when one named config is created
 *             Clock.schedule_once(partial(ConfigParser._register_named_property,
*/
  __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_self->config_name); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 2059, __pyx_L1_error)
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":2061
 *         elif self.config_name:
 *             # ConfigParser will set_config when one named config is created
 *             Clock.schedule_once(partial(ConfigParser._register_named_property,             # <<<<<<<<<<<<<<
 *             self.config_name, (self.obj, self.name)), 0)
 * 
*/
    __pyx_t_4 = NULL;
    __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_Clock); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2061, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_schedule_once); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2061, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __pyx_t_7 = NULL;
    __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_partial); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2061, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_8);
    __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_ConfigParser); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2061, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_9);
    __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_mstate_global->__pyx_n_u_register_named_property); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 2061, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_10);
    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;

    /* "kivy/properties.pyx":2062
 *             # ConfigParser will set_config when one named config is created
 *             Clock.schedule_once(partial(ConfigParser._register_named_property,
 *             self.config_name, (self.obj, self.name)), 0)             # <<<<<<<<<<<<<<
 * 
 *     cpdef _edit_setting(self, section, key, value):
*/
    __pyx_t_9 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2062, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_9);
    __pyx_t_11 = PyTuple_New(2); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2062, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_11);
    __Pyx_INCREF(__pyx_v_self->obj);
    __Pyx_GIVEREF(__pyx_v_self->obj);
    if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_v_self->obj) != (0)) __PYX_ERR(0, 2062, __pyx_L1_error);
    __Pyx_GIVEREF(__pyx_t_9);
    if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 1, __pyx_t_9) != (0)) __PYX_ERR(0, 2062, __pyx_L1_error);
    __pyx_t_9 = 0;
    __pyx_t_5 = 1;
    #if CYTHON_UNPACK_METHODS
    if (unlikely(PyMethod_Check(__pyx_t_8))) {
      __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_8);
      assert(__pyx_t_7);
      PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_8);
      __Pyx_INCREF(__pyx_t_7);
      __Pyx_INCREF(__pyx__function);
      __Pyx_DECREF_SET(__pyx_t_8, __pyx__function);
      __pyx_t_5 = 0;
    }
    #endif
    {
      PyObject *__pyx_callargs[4] = {__pyx_t_7, __pyx_t_10, __pyx_v_self->config_name, __pyx_t_11};
      __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_8, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
      __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
      __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
      __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2061, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __pyx_t_5 = 1;
    #if CYTHON_UNPACK_METHODS
    if (unlikely(PyMethod_Check(__pyx_t_2))) {
      __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2);
      assert(__pyx_t_4);
      PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_2);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(__pyx__function);
      __Pyx_DECREF_SET(__pyx_t_2, __pyx__function);
      __pyx_t_5 = 0;
    }
    #endif
    {
      PyObject *__pyx_callargs[3] = {__pyx_t_4, __pyx_t_1, __pyx_mstate_global->__pyx_int_0};
      __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_2, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__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;
      if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2061, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_3);
    }
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;

    /* "kivy/properties.pyx":2059
 *             self.config.write()
 *             #self.dispatch(obj)  # we need to dispatch, so not overwritten
 *         elif self.config_name:             # <<<<<<<<<<<<<<
 *             # ConfigParser will set_config when one named config is created
 *             Clock.schedule_once(partial(ConfigParser._register_named_property,
*/
  }
  __pyx_L4:;

  /* "kivy/properties.pyx":2038
 *                 'verify {} is not callable'.format(self.verify))
 * 
 *     cpdef link_deps(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         # initialize the config objects
 *         cdef PropertyStorage ps
*/

  /* 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_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_XDECREF(__pyx_t_10);
  __Pyx_XDECREF(__pyx_t_11);
  __Pyx_AddTraceback("kivy.properties.ConfigParserProperty.link_deps", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_20ConfigParserProperty_5link_deps(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_20ConfigParserProperty_4link_deps, "ConfigParserProperty.link_deps(self, EventDispatcher obj, str name)");
static PyMethodDef __pyx_mdef_4kivy_10properties_20ConfigParserProperty_5link_deps = {"link_deps", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_20ConfigParserProperty_5link_deps, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_20ConfigParserProperty_4link_deps};
static PyObject *__pyx_pw_4kivy_10properties_20ConfigParserProperty_5link_deps(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_name = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("link_deps (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_name_3,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 2038, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 2038, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 2038, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "link_deps", 0) < (0)) __PYX_ERR(0, 2038, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("link_deps", 1, 2, 2, i); __PYX_ERR(0, 2038, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 2038, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 2038, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_name = ((PyObject*)values[1]);
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("link_deps", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 2038, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ConfigParserProperty.link_deps", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 2038, __pyx_L1_error)
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_name), (&PyUnicode_Type), 1, "name", 1))) __PYX_ERR(0, 2038, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_20ConfigParserProperty_4link_deps(((struct __pyx_obj_4kivy_10properties_ConfigParserProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v_name);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_20ConfigParserProperty_4link_deps(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, 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("link_deps", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_4kivy_10properties_20ConfigParserProperty_link_deps(__pyx_v_self, __pyx_v_obj, __pyx_v_name, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2038, __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("kivy.properties.ConfigParserProperty.link_deps", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":2064
 *             self.config_name, (self.obj, self.name)), 0)
 * 
 *     cpdef _edit_setting(self, section, key, value):             # <<<<<<<<<<<<<<
 *         # callback of ConfigParser
 *         cdef object obj = self.obj()
*/

static PyObject *__pyx_pw_4kivy_10properties_20ConfigParserProperty_7_edit_setting(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_20ConfigParserProperty__edit_setting(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v_section, CYTHON_UNUSED PyObject *__pyx_v_key, PyObject *__pyx_v_value, int __pyx_skip_dispatch) {
  PyObject *__pyx_v_obj = 0;
  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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  int __pyx_t_7;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("_edit_setting", 0);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ConfigParserProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_edit_setting); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2064, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_20ConfigParserProperty_7_edit_setting)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[4] = {__pyx_t_3, __pyx_v_section, __pyx_v_key, __pyx_v_value};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2064, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":2066
 *     cpdef _edit_setting(self, section, key, value):
 *         # callback of ConfigParser
 *         cdef object obj = self.obj()             # <<<<<<<<<<<<<<
 *         if obj is None or self.last_value == value:
 *             return
*/
  __pyx_t_2 = NULL;
  __Pyx_INCREF(__pyx_v_self->obj);
  __pyx_t_4 = __pyx_v_self->obj; 
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (likely(PyMethod_Check(__pyx_t_4))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL};
    __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (1-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2066, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __pyx_v_obj = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":2067
 *         # callback of ConfigParser
 *         cdef object obj = self.obj()
 *         if obj is None or self.last_value == value:             # <<<<<<<<<<<<<<
 *             return
 * 
*/
  __pyx_t_7 = (__pyx_v_obj == Py_None);
  if (!__pyx_t_7) {
  } else {
    __pyx_t_6 = __pyx_t_7;
    goto __pyx_L4_bool_binop_done;
  }
  __pyx_t_1 = PyObject_RichCompare(__pyx_v_self->last_value, __pyx_v_value, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2067, __pyx_L1_error)
  __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 2067, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_6 = __pyx_t_7;
  __pyx_L4_bool_binop_done:;
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":2068
 *         cdef object obj = self.obj()
 *         if obj is None or self.last_value == value:
 *             return             # <<<<<<<<<<<<<<
 * 
 *         self.last_value = value
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_r = Py_None; __Pyx_INCREF(Py_None);
    goto __pyx_L0;

    /* "kivy/properties.pyx":2067
 *         # callback of ConfigParser
 *         cdef object obj = self.obj()
 *         if obj is None or self.last_value == value:             # <<<<<<<<<<<<<<
 *             return
 * 
*/
  }

  /* "kivy/properties.pyx":2070
 *             return
 * 
 *         self.last_value = value             # <<<<<<<<<<<<<<
 *         self.set(obj, value)
 * 
*/
  __Pyx_INCREF(__pyx_v_value);
  __Pyx_GIVEREF(__pyx_v_value);
  __Pyx_GOTREF(__pyx_v_self->last_value);
  __Pyx_DECREF(__pyx_v_self->last_value);
  __pyx_v_self->last_value = __pyx_v_value;

  /* "kivy/properties.pyx":2071
 * 
 *         self.last_value = value
 *         self.set(obj, value)             # <<<<<<<<<<<<<<
 * 
 *     cdef inline object _parse_str(self, object value):
*/
  if (!(likely(((__pyx_v_obj) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_obj, __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher))))) __PYX_ERR(0, 2071, __pyx_L1_error)
  __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_ConfigParserProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.set(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)__pyx_v_obj), __pyx_v_value, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2071, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":2064
 *             self.config_name, (self.obj, self.name)), 0)
 * 
 *     cpdef _edit_setting(self, section, key, value):             # <<<<<<<<<<<<<<
 *         # callback of ConfigParser
 *         cdef object obj = self.obj()
*/

  /* 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("kivy.properties.ConfigParserProperty._edit_setting", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_obj);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_20ConfigParserProperty_7_edit_setting(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_20ConfigParserProperty_6_edit_setting, "ConfigParserProperty._edit_setting(self, section, key, value)");
static PyMethodDef __pyx_mdef_4kivy_10properties_20ConfigParserProperty_7_edit_setting = {"_edit_setting", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_20ConfigParserProperty_7_edit_setting, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_20ConfigParserProperty_6_edit_setting};
static PyObject *__pyx_pw_4kivy_10properties_20ConfigParserProperty_7_edit_setting(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_section = 0;
  PyObject *__pyx_v_key = 0;
  PyObject *__pyx_v_value = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[3] = {0,0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("_edit_setting (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_section,&__pyx_mstate_global->__pyx_n_u_key,&__pyx_mstate_global->__pyx_n_u_value,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 2064, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  3:
        values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 2064, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 2064, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 2064, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "_edit_setting", 0) < (0)) __PYX_ERR(0, 2064, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 3; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("_edit_setting", 1, 3, 3, i); __PYX_ERR(0, 2064, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 3)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 2064, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 2064, __pyx_L3_error)
      values[2] = __Pyx_ArgRef_FASTCALL(__pyx_args, 2);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[2])) __PYX_ERR(0, 2064, __pyx_L3_error)
    }
    __pyx_v_section = values[0];
    __pyx_v_key = values[1];
    __pyx_v_value = values[2];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("_edit_setting", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 2064, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ConfigParserProperty._edit_setting", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_20ConfigParserProperty_6_edit_setting(((struct __pyx_obj_4kivy_10properties_ConfigParserProperty *)__pyx_v_self), __pyx_v_section, __pyx_v_key, __pyx_v_value);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_20ConfigParserProperty_6_edit_setting(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, PyObject *__pyx_v_section, PyObject *__pyx_v_key, PyObject *__pyx_v_value) {
  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("_edit_setting", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_4kivy_10properties_20ConfigParserProperty__edit_setting(__pyx_v_self, __pyx_v_section, __pyx_v_key, __pyx_v_value, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2064, __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("kivy.properties.ConfigParserProperty._edit_setting", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":2073
 *         self.set(obj, value)
 * 
 *     cdef inline object _parse_str(self, object value):             # <<<<<<<<<<<<<<
 *         ''' Takes a ConfigParser's string (or any value supplied by the user),
 *         and converts it to the python type that this property represents
*/

static CYTHON_INLINE PyObject *__pyx_f_4kivy_10properties_20ConfigParserProperty__parse_str(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, PyObject *__pyx_v_value) {
  PyObject *__pyx_v_val = 0;
  PyObject *__pyx_v_obj = 0;
  PyObject *__pyx_v_name = 0;
  PyObject *__pyx_v_e = NULL;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  size_t __pyx_t_4;
  int __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  int __pyx_t_9;
  int __pyx_t_10;
  PyObject *__pyx_t_11 = NULL;
  PyObject *__pyx_t_12 = NULL;
  int __pyx_t_13;
  PyObject *__pyx_t_14 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("_parse_str", 0);

  /* "kivy/properties.pyx":2078
 *         (with :attr:`val_type` and :attr:`verify`).
 *         '''
 *         cdef object val = value             # <<<<<<<<<<<<<<
 *         cdef object obj = self.obj()
 *         cdef object name = obj.__class__.__name__ if obj else ''
*/
  __Pyx_INCREF(__pyx_v_value);
  __pyx_v_val = __pyx_v_value;

  /* "kivy/properties.pyx":2079
 *         '''
 *         cdef object val = value
 *         cdef object obj = self.obj()             # <<<<<<<<<<<<<<
 *         cdef object name = obj.__class__.__name__ if obj else ''
 * 
*/
  __pyx_t_2 = NULL;
  __Pyx_INCREF(__pyx_v_self->obj);
  __pyx_t_3 = __pyx_v_self->obj; 
  __pyx_t_4 = 1;
  #if CYTHON_UNPACK_METHODS
  if (likely(PyMethod_Check(__pyx_t_3))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_3);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_3, __pyx__function);
    __pyx_t_4 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL};
    __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_4, (1-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2079, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __pyx_v_obj = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":2080
 *         cdef object val = value
 *         cdef object obj = self.obj()
 *         cdef object name = obj.__class__.__name__ if obj else ''             # <<<<<<<<<<<<<<
 * 
 *         if self.val_type is not None:
*/
  __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_v_obj); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 2080, __pyx_L1_error)
  if (__pyx_t_5) {
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_obj, __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2080, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2080, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    __pyx_t_1 = __pyx_t_2;
    __pyx_t_2 = 0;
  } else {
    __Pyx_INCREF(__pyx_mstate_global->__pyx_kp_u_);
    __pyx_t_1 = __pyx_mstate_global->__pyx_kp_u_;
  }
  __pyx_v_name = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":2082
 *         cdef object name = obj.__class__.__name__ if obj else ''
 * 
 *         if self.val_type is not None:             # <<<<<<<<<<<<<<
 *             try:
 *                 val = self.val_type(value)
*/
  __pyx_t_5 = (__pyx_v_self->val_type != Py_None);
  if (__pyx_t_5) {

    /* "kivy/properties.pyx":2083
 * 
 *         if self.val_type is not None:
 *             try:             # <<<<<<<<<<<<<<
 *                 val = self.val_type(value)
 *                 if self.verify is not None and not self.verify(val):
*/
    {
      __Pyx_PyThreadState_declare
      __Pyx_PyThreadState_assign
      __Pyx_ExceptionSave(&__pyx_t_6, &__pyx_t_7, &__pyx_t_8);
      __Pyx_XGOTREF(__pyx_t_6);
      __Pyx_XGOTREF(__pyx_t_7);
      __Pyx_XGOTREF(__pyx_t_8);
      /*try:*/ {

        /* "kivy/properties.pyx":2084
 *         if self.val_type is not None:
 *             try:
 *                 val = self.val_type(value)             # <<<<<<<<<<<<<<
 *                 if self.verify is not None and not self.verify(val):
 *                     raise ValueError('{} is not allowed for {}.{}'. format(
*/
        __pyx_t_2 = NULL;
        __Pyx_INCREF(__pyx_v_self->val_type);
        __pyx_t_3 = __pyx_v_self->val_type; 
        __pyx_t_4 = 1;
        #if CYTHON_UNPACK_METHODS
        if (likely(PyMethod_Check(__pyx_t_3))) {
          __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3);
          assert(__pyx_t_2);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_3);
          __Pyx_INCREF(__pyx_t_2);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_3, __pyx__function);
          __pyx_t_4 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_value};
          __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_4, (2-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
          __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
          if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2084, __pyx_L4_error)
          __Pyx_GOTREF(__pyx_t_1);
        }
        __Pyx_DECREF_SET(__pyx_v_val, __pyx_t_1);
        __pyx_t_1 = 0;

        /* "kivy/properties.pyx":2085
 *             try:
 *                 val = self.val_type(value)
 *                 if self.verify is not None and not self.verify(val):             # <<<<<<<<<<<<<<
 *                     raise ValueError('{} is not allowed for {}.{}'. format(
 *                         val, name, self.name))
*/
        __pyx_t_9 = (__pyx_v_self->verify != Py_None);
        if (__pyx_t_9) {
        } else {
          __pyx_t_5 = __pyx_t_9;
          goto __pyx_L11_bool_binop_done;
        }
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_v_self->verify);
        __pyx_t_2 = __pyx_v_self->verify; 
        __pyx_t_4 = 1;
        #if CYTHON_UNPACK_METHODS
        if (likely(PyMethod_Check(__pyx_t_2))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_2);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_2, __pyx__function);
          __pyx_t_4 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_v_val};
          __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_2, __pyx_callargs+__pyx_t_4, (2-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
          if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2085, __pyx_L4_error)
          __Pyx_GOTREF(__pyx_t_1);
        }
        __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 2085, __pyx_L4_error)
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        __pyx_t_10 = (!__pyx_t_9);
        __pyx_t_5 = __pyx_t_10;
        __pyx_L11_bool_binop_done:;
        if (unlikely(__pyx_t_5)) {

          /* "kivy/properties.pyx":2086
 *                 val = self.val_type(value)
 *                 if self.verify is not None and not self.verify(val):
 *                     raise ValueError('{} is not allowed for {}.{}'. format(             # <<<<<<<<<<<<<<
 *                         val, name, self.name))
 *                 return val
*/
          __pyx_t_2 = NULL;
          __pyx_t_11 = __pyx_mstate_global->__pyx_kp_u_is_not_allowed_for;
          __Pyx_INCREF(__pyx_t_11);

          /* "kivy/properties.pyx":2087
 *                 if self.verify is not None and not self.verify(val):
 *                     raise ValueError('{} is not allowed for {}.{}'. format(
 *                         val, name, self.name))             # <<<<<<<<<<<<<<
 *                 return val
 *             except ValueError, e:
*/
          __pyx_t_12 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 2087, __pyx_L4_error)
          __Pyx_GOTREF(__pyx_t_12);
          __pyx_t_4 = 0;
          {
            PyObject *__pyx_callargs[4] = {__pyx_t_11, __pyx_v_val, __pyx_v_name, __pyx_t_12};
            __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_format, __pyx_callargs+__pyx_t_4, (4-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
            __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
            __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
            if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2086, __pyx_L4_error)
            __Pyx_GOTREF(__pyx_t_3);
          }
          __pyx_t_4 = 1;
          {
            PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_t_3};
            __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_4, (2-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
            __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
            __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
            if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2086, __pyx_L4_error)
            __Pyx_GOTREF(__pyx_t_1);
          }
          __Pyx_Raise(__pyx_t_1, 0, 0, 0);
          __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
          __PYX_ERR(0, 2086, __pyx_L4_error)

          /* "kivy/properties.pyx":2085
 *             try:
 *                 val = self.val_type(value)
 *                 if self.verify is not None and not self.verify(val):             # <<<<<<<<<<<<<<
 *                     raise ValueError('{} is not allowed for {}.{}'. format(
 *                         val, name, self.name))
*/
        }

        /* "kivy/properties.pyx":2088
 *                     raise ValueError('{} is not allowed for {}.{}'. format(
 *                         val, name, self.name))
 *                 return val             # <<<<<<<<<<<<<<
 *             except ValueError, e:
 *                 if self.errorvalue_set == 1:
*/
        __Pyx_XDECREF(__pyx_r);
        __Pyx_INCREF(__pyx_v_val);
        __pyx_r = __pyx_v_val;
        goto __pyx_L8_try_return;

        /* "kivy/properties.pyx":2083
 * 
 *         if self.val_type is not None:
 *             try:             # <<<<<<<<<<<<<<
 *                 val = self.val_type(value)
 *                 if self.verify is not None and not self.verify(val):
*/
      }
      __pyx_L4_error:;
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
      __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;

      /* "kivy/properties.pyx":2089
 *                         val, name, self.name))
 *                 return val
 *             except ValueError, e:             # <<<<<<<<<<<<<<
 *                 if self.errorvalue_set == 1:
 *                     val = self.errorvalue
*/
      __pyx_t_13 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(((PyTypeObject*)PyExc_ValueError))));
      if (__pyx_t_13) {
        __Pyx_AddTraceback("kivy.properties.ConfigParserProperty._parse_str", __pyx_clineno, __pyx_lineno, __pyx_filename);
        if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_3, &__pyx_t_2) < 0) __PYX_ERR(0, 2089, __pyx_L6_except_error)
        __Pyx_XGOTREF(__pyx_t_1);
        __Pyx_XGOTREF(__pyx_t_3);
        __Pyx_XGOTREF(__pyx_t_2);
        __Pyx_INCREF(__pyx_t_3);
        __pyx_v_e = __pyx_t_3;

        /* "kivy/properties.pyx":2090
 *                 return val
 *             except ValueError, e:
 *                 if self.errorvalue_set == 1:             # <<<<<<<<<<<<<<
 *                     val = self.errorvalue
 *                 elif self.errorhandler is not None:
*/
        __pyx_t_5 = (__pyx_v_self->__pyx_base.errorvalue_set == 1);
        if (__pyx_t_5) {

          /* "kivy/properties.pyx":2091
 *             except ValueError, e:
 *                 if self.errorvalue_set == 1:
 *                     val = self.errorvalue             # <<<<<<<<<<<<<<
 *                 elif self.errorhandler is not None:
 *                     val = self.errorhandler(val)
*/
          __pyx_t_12 = __pyx_v_self->__pyx_base.errorvalue;
          __Pyx_INCREF(__pyx_t_12);
          __Pyx_DECREF_SET(__pyx_v_val, __pyx_t_12);
          __pyx_t_12 = 0;

          /* "kivy/properties.pyx":2090
 *                 return val
 *             except ValueError, e:
 *                 if self.errorvalue_set == 1:             # <<<<<<<<<<<<<<
 *                     val = self.errorvalue
 *                 elif self.errorhandler is not None:
*/
          goto __pyx_L15;
        }

        /* "kivy/properties.pyx":2092
 *                 if self.errorvalue_set == 1:
 *                     val = self.errorvalue
 *                 elif self.errorhandler is not None:             # <<<<<<<<<<<<<<
 *                     val = self.errorhandler(val)
 *                 else:
*/
        __pyx_t_5 = (__pyx_v_self->__pyx_base.errorhandler != Py_None);
        if (likely(__pyx_t_5)) {

          /* "kivy/properties.pyx":2093
 *                     val = self.errorvalue
 *                 elif self.errorhandler is not None:
 *                     val = self.errorhandler(val)             # <<<<<<<<<<<<<<
 *                 else:
 *                     raise e
*/
          __pyx_t_11 = NULL;
          __Pyx_INCREF(__pyx_v_self->__pyx_base.errorhandler);
          __pyx_t_14 = __pyx_v_self->__pyx_base.errorhandler; 
          __pyx_t_4 = 1;
          #if CYTHON_UNPACK_METHODS
          if (likely(PyMethod_Check(__pyx_t_14))) {
            __pyx_t_11 = PyMethod_GET_SELF(__pyx_t_14);
            assert(__pyx_t_11);
            PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_14);
            __Pyx_INCREF(__pyx_t_11);
            __Pyx_INCREF(__pyx__function);
            __Pyx_DECREF_SET(__pyx_t_14, __pyx__function);
            __pyx_t_4 = 0;
          }
          #endif
          {
            PyObject *__pyx_callargs[2] = {__pyx_t_11, __pyx_v_val};
            __pyx_t_12 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_14, __pyx_callargs+__pyx_t_4, (2-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
            __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
            __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
            if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 2093, __pyx_L6_except_error)
            __Pyx_GOTREF(__pyx_t_12);
          }
          __Pyx_DECREF_SET(__pyx_v_val, __pyx_t_12);
          __pyx_t_12 = 0;

          /* "kivy/properties.pyx":2092
 *                 if self.errorvalue_set == 1:
 *                     val = self.errorvalue
 *                 elif self.errorhandler is not None:             # <<<<<<<<<<<<<<
 *                     val = self.errorhandler(val)
 *                 else:
*/
          goto __pyx_L15;
        }

        /* "kivy/properties.pyx":2095
 *                     val = self.errorhandler(val)
 *                 else:
 *                     raise e             # <<<<<<<<<<<<<<
 * 
 *         if self.verify is not None:
*/
        /*else*/ {
          __Pyx_Raise(__pyx_v_e, 0, 0, 0);
          __PYX_ERR(0, 2095, __pyx_L6_except_error)
        }
        __pyx_L15:;
        __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
        __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
        __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
        goto __pyx_L5_exception_handled;
      }
      goto __pyx_L6_except_error;

      /* "kivy/properties.pyx":2083
 * 
 *         if self.val_type is not None:
 *             try:             # <<<<<<<<<<<<<<
 *                 val = self.val_type(value)
 *                 if self.verify is not None and not self.verify(val):
*/
      __pyx_L6_except_error:;
      __Pyx_XGIVEREF(__pyx_t_6);
      __Pyx_XGIVEREF(__pyx_t_7);
      __Pyx_XGIVEREF(__pyx_t_8);
      __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
      goto __pyx_L1_error;
      __pyx_L8_try_return:;
      __Pyx_XGIVEREF(__pyx_t_6);
      __Pyx_XGIVEREF(__pyx_t_7);
      __Pyx_XGIVEREF(__pyx_t_8);
      __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
      goto __pyx_L0;
      __pyx_L5_exception_handled:;
      __Pyx_XGIVEREF(__pyx_t_6);
      __Pyx_XGIVEREF(__pyx_t_7);
      __Pyx_XGIVEREF(__pyx_t_8);
      __Pyx_ExceptionReset(__pyx_t_6, __pyx_t_7, __pyx_t_8);
    }

    /* "kivy/properties.pyx":2082
 *         cdef object name = obj.__class__.__name__ if obj else ''
 * 
 *         if self.val_type is not None:             # <<<<<<<<<<<<<<
 *             try:
 *                 val = self.val_type(value)
*/
  }

  /* "kivy/properties.pyx":2097
 *                     raise e
 * 
 *         if self.verify is not None:             # <<<<<<<<<<<<<<
 *             if not self.verify(val):
 *                 raise ValueError('{} is not allowed for {}.{}'.format(val,
*/
  __pyx_t_5 = (__pyx_v_self->verify != Py_None);
  if (__pyx_t_5) {

    /* "kivy/properties.pyx":2098
 * 
 *         if self.verify is not None:
 *             if not self.verify(val):             # <<<<<<<<<<<<<<
 *                 raise ValueError('{} is not allowed for {}.{}'.format(val,
 *                     name, self.name))
*/
    __pyx_t_3 = NULL;
    __Pyx_INCREF(__pyx_v_self->verify);
    __pyx_t_1 = __pyx_v_self->verify; 
    __pyx_t_4 = 1;
    #if CYTHON_UNPACK_METHODS
    if (likely(PyMethod_Check(__pyx_t_1))) {
      __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_1);
      assert(__pyx_t_3);
      PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_1);
      __Pyx_INCREF(__pyx_t_3);
      __Pyx_INCREF(__pyx__function);
      __Pyx_DECREF_SET(__pyx_t_1, __pyx__function);
      __pyx_t_4 = 0;
    }
    #endif
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_v_val};
      __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_1, __pyx_callargs+__pyx_t_4, (2-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2098, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_2);
    }
    __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 2098, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
    __pyx_t_10 = (!__pyx_t_5);
    if (unlikely(__pyx_t_10)) {

      /* "kivy/properties.pyx":2099
 *         if self.verify is not None:
 *             if not self.verify(val):
 *                 raise ValueError('{} is not allowed for {}.{}'.format(val,             # <<<<<<<<<<<<<<
 *                     name, self.name))
 *         return val
*/
      __pyx_t_1 = NULL;
      __pyx_t_12 = __pyx_mstate_global->__pyx_kp_u_is_not_allowed_for;
      __Pyx_INCREF(__pyx_t_12);

      /* "kivy/properties.pyx":2100
 *             if not self.verify(val):
 *                 raise ValueError('{} is not allowed for {}.{}'.format(val,
 *                     name, self.name))             # <<<<<<<<<<<<<<
 *         return val
 * 
*/
      __pyx_t_14 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 2100, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_14);
      __pyx_t_4 = 0;
      {
        PyObject *__pyx_callargs[4] = {__pyx_t_12, __pyx_v_val, __pyx_v_name, __pyx_t_14};
        __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_format, __pyx_callargs+__pyx_t_4, (4-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
        __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
        if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2099, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_3);
      }
      __pyx_t_4 = 1;
      {
        PyObject *__pyx_callargs[2] = {__pyx_t_1, __pyx_t_3};
        __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_4, (2-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
        __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
        if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2099, __pyx_L1_error)
        __Pyx_GOTREF(__pyx_t_2);
      }
      __Pyx_Raise(__pyx_t_2, 0, 0, 0);
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
      __PYX_ERR(0, 2099, __pyx_L1_error)

      /* "kivy/properties.pyx":2098
 * 
 *         if self.verify is not None:
 *             if not self.verify(val):             # <<<<<<<<<<<<<<
 *                 raise ValueError('{} is not allowed for {}.{}'.format(val,
 *                     name, self.name))
*/
    }

    /* "kivy/properties.pyx":2097
 *                     raise e
 * 
 *         if self.verify is not None:             # <<<<<<<<<<<<<<
 *             if not self.verify(val):
 *                 raise ValueError('{} is not allowed for {}.{}'.format(val,
*/
  }

  /* "kivy/properties.pyx":2101
 *                 raise ValueError('{} is not allowed for {}.{}'.format(val,
 *                     name, self.name))
 *         return val             # <<<<<<<<<<<<<<
 * 
 *     cpdef set(self, EventDispatcher obj, value):
*/
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_val);
  __pyx_r = __pyx_v_val;
  goto __pyx_L0;

  /* "kivy/properties.pyx":2073
 *         self.set(obj, value)
 * 
 *     cdef inline object _parse_str(self, object value):             # <<<<<<<<<<<<<<
 *         ''' Takes a ConfigParser's string (or any value supplied by the user),
 *         and converts it to the python type that this property represents
*/

  /* 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_11);
  __Pyx_XDECREF(__pyx_t_12);
  __Pyx_XDECREF(__pyx_t_14);
  __Pyx_AddTraceback("kivy.properties.ConfigParserProperty._parse_str", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_val);
  __Pyx_XDECREF(__pyx_v_obj);
  __Pyx_XDECREF(__pyx_v_name);
  __Pyx_XDECREF(__pyx_v_e);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":2103
 *         return val
 * 
 *     cpdef set(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         # Takes the a python object of the type used by this property
 *         # (see :attr:`val_type`), and saves it as a string in the config parser
*/

static PyObject *__pyx_pw_4kivy_10properties_20ConfigParserProperty_9set(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
static PyObject *__pyx_f_4kivy_10properties_20ConfigParserProperty_set(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value, int __pyx_skip_dispatch) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps = 0;
  PyObject *__pyx_v_orig_value = 0;
  PyObject *__pyx_v_realvalue = NULL;
  int __pyx_v_fd;
  PyObject *__pyx_v_e = 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;
  size_t __pyx_t_5;
  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;
  int __pyx_t_12;
  PyObject *__pyx_t_13 = NULL;
  PyObject *__pyx_t_14 = NULL;
  PyObject *__pyx_t_15 = NULL;
  PyObject *__pyx_t_16 = NULL;
  PyObject *__pyx_t_17 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("set", 0);
  __Pyx_INCREF(__pyx_v_value);
  /* Check if called by wrapper */
  if (unlikely(__pyx_skip_dispatch)) ;
  /* Check if overridden in Python */
  else if (
  #if !CYTHON_USE_TYPE_SLOTS
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self)) != __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ConfigParserProperty &&
  __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), Py_TPFLAGS_HAVE_GC))
  #else
  unlikely(Py_TYPE(((PyObject *)__pyx_v_self))->tp_dictoffset != 0 || __Pyx_PyType_HasFeature(Py_TYPE(((PyObject *)__pyx_v_self)), (Py_TPFLAGS_IS_ABSTRACT | Py_TPFLAGS_HEAPTYPE)))
  #endif
  ) {
    #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    static PY_UINT64_T __pyx_tp_dict_version = __PYX_DICT_VERSION_INIT, __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
    if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
      PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      #endif
      __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_set); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2103, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      if (!__Pyx_IsSameCFunction(__pyx_t_1, (void(*)(void)) __pyx_pw_4kivy_10properties_20ConfigParserProperty_9set)) {
        __Pyx_XDECREF(__pyx_r);
        __pyx_t_3 = NULL;
        __Pyx_INCREF(__pyx_t_1);
        __pyx_t_4 = __pyx_t_1; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (unlikely(PyMethod_Check(__pyx_t_4))) {
          __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
          assert(__pyx_t_3);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
          __Pyx_INCREF(__pyx_t_3);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[3] = {__pyx_t_3, ((PyObject *)__pyx_v_obj), __pyx_v_value};
          __pyx_t_2 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (3-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2103, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_r = __pyx_t_2;
        __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        goto __pyx_L0;
      }
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
      __pyx_tp_dict_version = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
      __pyx_obj_dict_version = __Pyx_get_object_dict_version(((PyObject *)__pyx_v_self));
      if (unlikely(__pyx_typedict_guard != __pyx_tp_dict_version)) {
        __pyx_tp_dict_version = __pyx_obj_dict_version = __PYX_DICT_VERSION_INIT;
      }
      #endif
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
    }
    #endif
  }

  /* "kivy/properties.pyx":2107
 *         # (see :attr:`val_type`), and saves it as a string in the config parser
 *         # (if available) and sets itself to this value.
 *         cdef PropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         cdef object orig_value = value
 * 
*/
  __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_ConfigParserProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get_property_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2107, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":2108
 *         # (if available) and sets itself to this value.
 *         cdef PropertyStorage ps = self.get_property_storage(obj)
 *         cdef object orig_value = value             # <<<<<<<<<<<<<<
 * 
 *         value = self._parse_str(value)
*/
  __Pyx_INCREF(__pyx_v_value);
  __pyx_v_orig_value = __pyx_v_value;

  /* "kivy/properties.pyx":2110
 *         cdef object orig_value = value
 * 
 *         value = self._parse_str(value)             # <<<<<<<<<<<<<<
 *         realvalue = ps.value
 *         if self.compare_value(realvalue, value):
*/
  __pyx_t_1 = __pyx_f_4kivy_10properties_20ConfigParserProperty__parse_str(__pyx_v_self, __pyx_v_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2110, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __Pyx_DECREF_SET(__pyx_v_value, __pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":2111
 * 
 *         value = self._parse_str(value)
 *         realvalue = ps.value             # <<<<<<<<<<<<<<
 *         if self.compare_value(realvalue, value):
 *             fd = self.force_dispatch
*/
  __pyx_t_1 = __pyx_v_ps->value;
  __Pyx_INCREF(__pyx_t_1);
  __pyx_v_realvalue = __pyx_t_1;
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":2112
 *         value = self._parse_str(value)
 *         realvalue = ps.value
 *         if self.compare_value(realvalue, value):             # <<<<<<<<<<<<<<
 *             fd = self.force_dispatch
 *             if not fd and self.compare_value(orig_value, value):
*/
  __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_ConfigParserProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.compare_value(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_realvalue, __pyx_v_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2112, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 2112, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":2113
 *         realvalue = ps.value
 *         if self.compare_value(realvalue, value):
 *             fd = self.force_dispatch             # <<<<<<<<<<<<<<
 *             if not fd and self.compare_value(orig_value, value):
 *                 return False
*/
    __pyx_t_7 = __pyx_v_self->__pyx_base.force_dispatch;
    __pyx_v_fd = __pyx_t_7;

    /* "kivy/properties.pyx":2114
 *         if self.compare_value(realvalue, value):
 *             fd = self.force_dispatch
 *             if not fd and self.compare_value(orig_value, value):             # <<<<<<<<<<<<<<
 *                 return False
 *             else:
*/
    __pyx_t_8 = (!(__pyx_v_fd != 0));
    if (__pyx_t_8) {
    } else {
      __pyx_t_6 = __pyx_t_8;
      goto __pyx_L5_bool_binop_done;
    }
    __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_ConfigParserProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.compare_value(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_orig_value, __pyx_v_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2114, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 2114, __pyx_L1_error)
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
    __pyx_t_6 = __pyx_t_8;
    __pyx_L5_bool_binop_done:;
    if (__pyx_t_6) {

      /* "kivy/properties.pyx":2115
 *             fd = self.force_dispatch
 *             if not fd and self.compare_value(orig_value, value):
 *                 return False             # <<<<<<<<<<<<<<
 *             else:
 *                 # even if the resolved parsed value is the same, the original
*/
      __Pyx_XDECREF(__pyx_r);
      __Pyx_INCREF(Py_False);
      __pyx_r = Py_False;
      goto __pyx_L0;

      /* "kivy/properties.pyx":2114
 *         if self.compare_value(realvalue, value):
 *             fd = self.force_dispatch
 *             if not fd and self.compare_value(orig_value, value):             # <<<<<<<<<<<<<<
 *                 return False
 *             else:
*/
    }

    /* "kivy/properties.pyx":2121
 *                 # invalid value might have been different, so we have to
 *                 # change to the resolved value.
 *                 if self.config:             # <<<<<<<<<<<<<<
 *                     self.config.set(self.section, self.key, value)
 *                     self.config.write()
*/
    /*else*/ {
      __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_self->config); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 2121, __pyx_L1_error)
      if (__pyx_t_6) {

        /* "kivy/properties.pyx":2122
 *                 # change to the resolved value.
 *                 if self.config:
 *                     self.config.set(self.section, self.key, value)             # <<<<<<<<<<<<<<
 *                     self.config.write()
 *                 self._dispatch(obj, ps)
*/
        __pyx_t_2 = __pyx_v_self->config;
        __Pyx_INCREF(__pyx_t_2);
        __pyx_t_5 = 0;
        {
          PyObject *__pyx_callargs[4] = {__pyx_t_2, __pyx_v_self->section, __pyx_v_self->key, __pyx_v_value};
          __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_set, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
          if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2122, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_1);
        }
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

        /* "kivy/properties.pyx":2123
 *                 if self.config:
 *                     self.config.set(self.section, self.key, value)
 *                     self.config.write()             # <<<<<<<<<<<<<<
 *                 self._dispatch(obj, ps)
 *                 return True
*/
        __pyx_t_2 = __pyx_v_self->config;
        __Pyx_INCREF(__pyx_t_2);
        __pyx_t_5 = 0;
        {
          PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL};
          __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_write, __pyx_callargs+__pyx_t_5, (1-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
          if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2123, __pyx_L1_error)
          __Pyx_GOTREF(__pyx_t_1);
        }
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

        /* "kivy/properties.pyx":2121
 *                 # invalid value might have been different, so we have to
 *                 # change to the resolved value.
 *                 if self.config:             # <<<<<<<<<<<<<<
 *                     self.config.set(self.section, self.key, value)
 *                     self.config.write()
*/
      }

      /* "kivy/properties.pyx":2124
 *                     self.config.set(self.section, self.key, value)
 *                     self.config.write()
 *                 self._dispatch(obj, ps)             # <<<<<<<<<<<<<<
 *                 return True
 * 
*/
      __pyx_t_1 = ((struct __pyx_vtabstruct_4kivy_10properties_ConfigParserProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._dispatch(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_ps); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2124, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

      /* "kivy/properties.pyx":2125
 *                     self.config.write()
 *                 self._dispatch(obj, ps)
 *                 return True             # <<<<<<<<<<<<<<
 * 
 *         try:
*/
      __Pyx_XDECREF(__pyx_r);
      __Pyx_INCREF(Py_True);
      __pyx_r = Py_True;
      goto __pyx_L0;
    }

    /* "kivy/properties.pyx":2112
 *         value = self._parse_str(value)
 *         realvalue = ps.value
 *         if self.compare_value(realvalue, value):             # <<<<<<<<<<<<<<
 *             fd = self.force_dispatch
 *             if not fd and self.compare_value(orig_value, value):
*/
  }

  /* "kivy/properties.pyx":2127
 *                 return True
 * 
 *         try:             # <<<<<<<<<<<<<<
 *             if self.verify is not None and not self.verify(value):
 *                 raise ValueError('{} is not allowed for {}.{}'.
*/
  {
    __Pyx_PyThreadState_declare
    __Pyx_PyThreadState_assign
    __Pyx_ExceptionSave(&__pyx_t_9, &__pyx_t_10, &__pyx_t_11);
    __Pyx_XGOTREF(__pyx_t_9);
    __Pyx_XGOTREF(__pyx_t_10);
    __Pyx_XGOTREF(__pyx_t_11);
    /*try:*/ {

      /* "kivy/properties.pyx":2128
 * 
 *         try:
 *             if self.verify is not None and not self.verify(value):             # <<<<<<<<<<<<<<
 *                 raise ValueError('{} is not allowed for {}.{}'.
 *                 format(value, obj.__class__.__name__, self.name))
*/
      __pyx_t_8 = (__pyx_v_self->verify != Py_None);
      if (__pyx_t_8) {
      } else {
        __pyx_t_6 = __pyx_t_8;
        goto __pyx_L15_bool_binop_done;
      }
      __pyx_t_2 = NULL;
      __Pyx_INCREF(__pyx_v_self->verify);
      __pyx_t_4 = __pyx_v_self->verify; 
      __pyx_t_5 = 1;
      #if CYTHON_UNPACK_METHODS
      if (likely(PyMethod_Check(__pyx_t_4))) {
        __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
        assert(__pyx_t_2);
        PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
        __Pyx_INCREF(__pyx_t_2);
        __Pyx_INCREF(__pyx__function);
        __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
        __pyx_t_5 = 0;
      }
      #endif
      {
        PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_value};
        __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
        __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
        if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2128, __pyx_L8_error)
        __Pyx_GOTREF(__pyx_t_1);
      }
      __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 2128, __pyx_L8_error)
      __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
      __pyx_t_12 = (!__pyx_t_8);
      __pyx_t_6 = __pyx_t_12;
      __pyx_L15_bool_binop_done:;
      if (unlikely(__pyx_t_6)) {

        /* "kivy/properties.pyx":2129
 *         try:
 *             if self.verify is not None and not self.verify(value):
 *                 raise ValueError('{} is not allowed for {}.{}'.             # <<<<<<<<<<<<<<
 *                 format(value, obj.__class__.__name__, self.name))
 *         except ValueError, e:
*/
        __pyx_t_4 = NULL;

        /* "kivy/properties.pyx":2130
 *             if self.verify is not None and not self.verify(value):
 *                 raise ValueError('{} is not allowed for {}.{}'.
 *                 format(value, obj.__class__.__name__, self.name))             # <<<<<<<<<<<<<<
 *         except ValueError, e:
 *             if self.errorvalue_set == 1:
*/
        __pyx_t_3 = __pyx_mstate_global->__pyx_kp_u_is_not_allowed_for;
        __Pyx_INCREF(__pyx_t_3);
        __pyx_t_13 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 2130, __pyx_L8_error)
        __Pyx_GOTREF(__pyx_t_13);
        __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_13, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 2130, __pyx_L8_error)
        __Pyx_GOTREF(__pyx_t_14);
        __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
        __pyx_t_13 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 2130, __pyx_L8_error)
        __Pyx_GOTREF(__pyx_t_13);
        __pyx_t_5 = 0;
        {
          PyObject *__pyx_callargs[4] = {__pyx_t_3, __pyx_v_value, __pyx_t_14, __pyx_t_13};
          __pyx_t_2 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_format, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
          __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
          __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
          if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2130, __pyx_L8_error)
          __Pyx_GOTREF(__pyx_t_2);
        }
        __pyx_t_5 = 1;
        {
          PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_2};
          __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
          __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
          if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2129, __pyx_L8_error)
          __Pyx_GOTREF(__pyx_t_1);
        }
        __Pyx_Raise(__pyx_t_1, 0, 0, 0);
        __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
        __PYX_ERR(0, 2129, __pyx_L8_error)

        /* "kivy/properties.pyx":2128
 * 
 *         try:
 *             if self.verify is not None and not self.verify(value):             # <<<<<<<<<<<<<<
 *                 raise ValueError('{} is not allowed for {}.{}'.
 *                 format(value, obj.__class__.__name__, self.name))
*/
      }

      /* "kivy/properties.pyx":2127
 *                 return True
 * 
 *         try:             # <<<<<<<<<<<<<<
 *             if self.verify is not None and not self.verify(value):
 *                 raise ValueError('{} is not allowed for {}.{}'.
*/
    }
    __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
    __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
    __Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
    goto __pyx_L13_try_end;
    __pyx_L8_error:;
    __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
    __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0;
    __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0;
    __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;

    /* "kivy/properties.pyx":2131
 *                 raise ValueError('{} is not allowed for {}.{}'.
 *                 format(value, obj.__class__.__name__, self.name))
 *         except ValueError, e:             # <<<<<<<<<<<<<<
 *             if self.errorvalue_set == 1:
 *                 value = self.errorvalue
*/
    __pyx_t_7 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(((PyTypeObject*)PyExc_ValueError))));
    if (__pyx_t_7) {
      __Pyx_AddTraceback("kivy.properties.ConfigParserProperty.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_2, &__pyx_t_4) < 0) __PYX_ERR(0, 2131, __pyx_L10_except_error)
      __Pyx_XGOTREF(__pyx_t_1);
      __Pyx_XGOTREF(__pyx_t_2);
      __Pyx_XGOTREF(__pyx_t_4);
      __Pyx_INCREF(__pyx_t_2);
      __pyx_v_e = __pyx_t_2;

      /* "kivy/properties.pyx":2132
 *                 format(value, obj.__class__.__name__, self.name))
 *         except ValueError, e:
 *             if self.errorvalue_set == 1:             # <<<<<<<<<<<<<<
 *                 value = self.errorvalue
 *             elif self.errorhandler is not None:
*/
      __pyx_t_6 = (__pyx_v_self->__pyx_base.errorvalue_set == 1);
      if (__pyx_t_6) {

        /* "kivy/properties.pyx":2133
 *         except ValueError, e:
 *             if self.errorvalue_set == 1:
 *                 value = self.errorvalue             # <<<<<<<<<<<<<<
 *             elif self.errorhandler is not None:
 *                 value = self.errorhandler(value)
*/
        __pyx_t_13 = __pyx_v_self->__pyx_base.errorvalue;
        __Pyx_INCREF(__pyx_t_13);
        __Pyx_DECREF_SET(__pyx_v_value, __pyx_t_13);
        __pyx_t_13 = 0;

        /* "kivy/properties.pyx":2132
 *                 format(value, obj.__class__.__name__, self.name))
 *         except ValueError, e:
 *             if self.errorvalue_set == 1:             # <<<<<<<<<<<<<<
 *                 value = self.errorvalue
 *             elif self.errorhandler is not None:
*/
        goto __pyx_L19;
      }

      /* "kivy/properties.pyx":2134
 *             if self.errorvalue_set == 1:
 *                 value = self.errorvalue
 *             elif self.errorhandler is not None:             # <<<<<<<<<<<<<<
 *                 value = self.errorhandler(value)
 *             else:
*/
      __pyx_t_6 = (__pyx_v_self->__pyx_base.errorhandler != Py_None);
      if (likely(__pyx_t_6)) {

        /* "kivy/properties.pyx":2135
 *                 value = self.errorvalue
 *             elif self.errorhandler is not None:
 *                 value = self.errorhandler(value)             # <<<<<<<<<<<<<<
 *             else:
 *                 raise e
*/
        __pyx_t_14 = NULL;
        __Pyx_INCREF(__pyx_v_self->__pyx_base.errorhandler);
        __pyx_t_3 = __pyx_v_self->__pyx_base.errorhandler; 
        __pyx_t_5 = 1;
        #if CYTHON_UNPACK_METHODS
        if (likely(PyMethod_Check(__pyx_t_3))) {
          __pyx_t_14 = PyMethod_GET_SELF(__pyx_t_3);
          assert(__pyx_t_14);
          PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_3);
          __Pyx_INCREF(__pyx_t_14);
          __Pyx_INCREF(__pyx__function);
          __Pyx_DECREF_SET(__pyx_t_3, __pyx__function);
          __pyx_t_5 = 0;
        }
        #endif
        {
          PyObject *__pyx_callargs[2] = {__pyx_t_14, __pyx_v_value};
          __pyx_t_13 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0;
          __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
          if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 2135, __pyx_L10_except_error)
          __Pyx_GOTREF(__pyx_t_13);
        }
        __Pyx_DECREF_SET(__pyx_v_value, __pyx_t_13);
        __pyx_t_13 = 0;

        /* "kivy/properties.pyx":2134
 *             if self.errorvalue_set == 1:
 *                 value = self.errorvalue
 *             elif self.errorhandler is not None:             # <<<<<<<<<<<<<<
 *                 value = self.errorhandler(value)
 *             else:
*/
        goto __pyx_L19;
      }

      /* "kivy/properties.pyx":2137
 *                 value = self.errorhandler(value)
 *             else:
 *                 raise e             # <<<<<<<<<<<<<<
 * 
 *             if self.verify is not None and not self.verify(value):
*/
      /*else*/ {
        __Pyx_Raise(__pyx_v_e, 0, 0, 0);
        __PYX_ERR(0, 2137, __pyx_L10_except_error)
      }
      __pyx_L19:;

      /* "kivy/properties.pyx":2139
 *                 raise e
 * 
 *             if self.verify is not None and not self.verify(value):             # <<<<<<<<<<<<<<
 *                 raise ValueError('{} is not allowed for {}.{}'.
 *                 format(value, obj.__class__.__name__, self.name))
*/
      __pyx_t_12 = (__pyx_v_self->verify != Py_None);
      if (__pyx_t_12) {
      } else {
        __pyx_t_6 = __pyx_t_12;
        goto __pyx_L21_bool_binop_done;
      }
      __pyx_t_3 = NULL;
      __Pyx_INCREF(__pyx_v_self->verify);
      __pyx_t_14 = __pyx_v_self->verify; 
      __pyx_t_5 = 1;
      #if CYTHON_UNPACK_METHODS
      if (likely(PyMethod_Check(__pyx_t_14))) {
        __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_14);
        assert(__pyx_t_3);
        PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_14);
        __Pyx_INCREF(__pyx_t_3);
        __Pyx_INCREF(__pyx__function);
        __Pyx_DECREF_SET(__pyx_t_14, __pyx__function);
        __pyx_t_5 = 0;
      }
      #endif
      {
        PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_v_value};
        __pyx_t_13 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_14, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
        __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
        __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
        if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 2139, __pyx_L10_except_error)
        __Pyx_GOTREF(__pyx_t_13);
      }
      __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_13); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 2139, __pyx_L10_except_error)
      __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
      __pyx_t_8 = (!__pyx_t_12);
      __pyx_t_6 = __pyx_t_8;
      __pyx_L21_bool_binop_done:;
      if (unlikely(__pyx_t_6)) {

        /* "kivy/properties.pyx":2140
 * 
 *             if self.verify is not None and not self.verify(value):
 *                 raise ValueError('{} is not allowed for {}.{}'.             # <<<<<<<<<<<<<<
 *                 format(value, obj.__class__.__name__, self.name))
 * 
*/
        __pyx_t_14 = NULL;

        /* "kivy/properties.pyx":2141
 *             if self.verify is not None and not self.verify(value):
 *                 raise ValueError('{} is not allowed for {}.{}'.
 *                 format(value, obj.__class__.__name__, self.name))             # <<<<<<<<<<<<<<
 * 
 *         ps.value = value
*/
        __pyx_t_15 = __pyx_mstate_global->__pyx_kp_u_is_not_allowed_for;
        __Pyx_INCREF(__pyx_t_15);
        __pyx_t_16 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 2141, __pyx_L10_except_error)
        __Pyx_GOTREF(__pyx_t_16);
        __pyx_t_17 = __Pyx_PyObject_GetAttrStr(__pyx_t_16, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_17)) __PYX_ERR(0, 2141, __pyx_L10_except_error)
        __Pyx_GOTREF(__pyx_t_17);
        __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0;
        __pyx_t_16 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 2141, __pyx_L10_except_error)
        __Pyx_GOTREF(__pyx_t_16);
        __pyx_t_5 = 0;
        {
          PyObject *__pyx_callargs[4] = {__pyx_t_15, __pyx_v_value, __pyx_t_17, __pyx_t_16};
          __pyx_t_3 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_format, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_15); __pyx_t_15 = 0;
          __Pyx_DECREF(__pyx_t_17); __pyx_t_17 = 0;
          __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0;
          if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2141, __pyx_L10_except_error)
          __Pyx_GOTREF(__pyx_t_3);
        }
        __pyx_t_5 = 1;
        {
          PyObject *__pyx_callargs[2] = {__pyx_t_14, __pyx_t_3};
          __pyx_t_13 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0;
          __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
          if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 2140, __pyx_L10_except_error)
          __Pyx_GOTREF(__pyx_t_13);
        }
        __Pyx_Raise(__pyx_t_13, 0, 0, 0);
        __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
        __PYX_ERR(0, 2140, __pyx_L10_except_error)

        /* "kivy/properties.pyx":2139
 *                 raise e
 * 
 *             if self.verify is not None and not self.verify(value):             # <<<<<<<<<<<<<<
 *                 raise ValueError('{} is not allowed for {}.{}'.
 *                 format(value, obj.__class__.__name__, self.name))
*/
      }
      __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      goto __pyx_L9_exception_handled;
    }
    goto __pyx_L10_except_error;

    /* "kivy/properties.pyx":2127
 *                 return True
 * 
 *         try:             # <<<<<<<<<<<<<<
 *             if self.verify is not None and not self.verify(value):
 *                 raise ValueError('{} is not allowed for {}.{}'.
*/
    __pyx_L10_except_error:;
    __Pyx_XGIVEREF(__pyx_t_9);
    __Pyx_XGIVEREF(__pyx_t_10);
    __Pyx_XGIVEREF(__pyx_t_11);
    __Pyx_ExceptionReset(__pyx_t_9, __pyx_t_10, __pyx_t_11);
    goto __pyx_L1_error;
    __pyx_L9_exception_handled:;
    __Pyx_XGIVEREF(__pyx_t_9);
    __Pyx_XGIVEREF(__pyx_t_10);
    __Pyx_XGIVEREF(__pyx_t_11);
    __Pyx_ExceptionReset(__pyx_t_9, __pyx_t_10, __pyx_t_11);
    __pyx_L13_try_end:;
  }

  /* "kivy/properties.pyx":2143
 *                 format(value, obj.__class__.__name__, self.name))
 * 
 *         ps.value = value             # <<<<<<<<<<<<<<
 *         if self.config is not None:
 *             self.config.set(self.section, self.key, value)
*/
  __Pyx_INCREF(__pyx_v_value);
  __Pyx_GIVEREF(__pyx_v_value);
  __Pyx_GOTREF(__pyx_v_ps->value);
  __Pyx_DECREF(__pyx_v_ps->value);
  __pyx_v_ps->value = __pyx_v_value;

  /* "kivy/properties.pyx":2144
 * 
 *         ps.value = value
 *         if self.config is not None:             # <<<<<<<<<<<<<<
 *             self.config.set(self.section, self.key, value)
 *             self.config.write()
*/
  __pyx_t_6 = (__pyx_v_self->config != Py_None);
  if (__pyx_t_6) {

    /* "kivy/properties.pyx":2145
 *         ps.value = value
 *         if self.config is not None:
 *             self.config.set(self.section, self.key, value)             # <<<<<<<<<<<<<<
 *             self.config.write()
 *         self._dispatch(obj, ps)
*/
    __pyx_t_2 = __pyx_v_self->config;
    __Pyx_INCREF(__pyx_t_2);
    __pyx_t_5 = 0;
    {
      PyObject *__pyx_callargs[4] = {__pyx_t_2, __pyx_v_self->section, __pyx_v_self->key, __pyx_v_value};
      __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_set, __pyx_callargs+__pyx_t_5, (4-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2145, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
    }
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

    /* "kivy/properties.pyx":2146
 *         if self.config is not None:
 *             self.config.set(self.section, self.key, value)
 *             self.config.write()             # <<<<<<<<<<<<<<
 *         self._dispatch(obj, ps)
 *         return True
*/
    __pyx_t_2 = __pyx_v_self->config;
    __Pyx_INCREF(__pyx_t_2);
    __pyx_t_5 = 0;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL};
      __pyx_t_4 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_write, __pyx_callargs+__pyx_t_5, (1-__pyx_t_5) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2146, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
    }
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

    /* "kivy/properties.pyx":2144
 * 
 *         ps.value = value
 *         if self.config is not None:             # <<<<<<<<<<<<<<
 *             self.config.set(self.section, self.key, value)
 *             self.config.write()
*/
  }

  /* "kivy/properties.pyx":2147
 *             self.config.set(self.section, self.key, value)
 *             self.config.write()
 *         self._dispatch(obj, ps)             # <<<<<<<<<<<<<<
 *         return True
 * 
*/
  __pyx_t_4 = ((struct __pyx_vtabstruct_4kivy_10properties_ConfigParserProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base._dispatch(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj, __pyx_v_ps); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2147, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":2148
 *             self.config.write()
 *         self._dispatch(obj, ps)
 *         return True             # <<<<<<<<<<<<<<
 * 
 *     def set_config(self, config):
*/
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(Py_True);
  __pyx_r = Py_True;
  goto __pyx_L0;

  /* "kivy/properties.pyx":2103
 *         return val
 * 
 *     cpdef set(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         # Takes the a python object of the type used by this property
 *         # (see :attr:`val_type`), and saves it as a string in the config parser
*/

  /* 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_13);
  __Pyx_XDECREF(__pyx_t_14);
  __Pyx_XDECREF(__pyx_t_15);
  __Pyx_XDECREF(__pyx_t_16);
  __Pyx_XDECREF(__pyx_t_17);
  __Pyx_AddTraceback("kivy.properties.ConfigParserProperty.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XDECREF(__pyx_v_orig_value);
  __Pyx_XDECREF(__pyx_v_realvalue);
  __Pyx_XDECREF(__pyx_v_e);
  __Pyx_XDECREF(__pyx_v_value);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_20ConfigParserProperty_9set(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_20ConfigParserProperty_8set, "ConfigParserProperty.set(self, EventDispatcher obj, value)");
static PyMethodDef __pyx_mdef_4kivy_10properties_20ConfigParserProperty_9set = {"set", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_20ConfigParserProperty_9set, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_20ConfigParserProperty_8set};
static PyObject *__pyx_pw_4kivy_10properties_20ConfigParserProperty_9set(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  PyObject *__pyx_v_value = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[2] = {0,0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("set (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_obj,&__pyx_mstate_global->__pyx_n_u_value,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 2103, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  2:
        values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 2103, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 2103, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "set", 0) < (0)) __PYX_ERR(0, 2103, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 2; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("set", 1, 2, 2, i); __PYX_ERR(0, 2103, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 2)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 2103, __pyx_L3_error)
      values[1] = __Pyx_ArgRef_FASTCALL(__pyx_args, 1);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[1])) __PYX_ERR(0, 2103, __pyx_L3_error)
    }
    __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)values[0]);
    __pyx_v_value = values[1];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("set", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 2103, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ConfigParserProperty.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher, 1, "obj", 0))) __PYX_ERR(0, 2103, __pyx_L1_error)
  __pyx_r = __pyx_pf_4kivy_10properties_20ConfigParserProperty_8set(((struct __pyx_obj_4kivy_10properties_ConfigParserProperty *)__pyx_v_self), __pyx_v_obj, __pyx_v_value);

  /* function exit code */
  goto __pyx_L0;
  __pyx_L1_error:;
  __pyx_r = NULL;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  goto __pyx_L7_cleaned_up;
  __pyx_L0:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __pyx_L7_cleaned_up:;
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_20ConfigParserProperty_8set(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value) {
  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("set", 0);
  __Pyx_XDECREF(__pyx_r);
  __pyx_t_1 = __pyx_f_4kivy_10properties_20ConfigParserProperty_set(__pyx_v_self, __pyx_v_obj, __pyx_v_value, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2103, __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("kivy.properties.ConfigParserProperty.set", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":2150
 *         return True
 * 
 *     def set_config(self, config):             # <<<<<<<<<<<<<<
 *         ''' Sets the ConfigParser object to be used by this property. Normally,
 *         the ConfigParser is set when initializing the Property using the
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_20ConfigParserProperty_11set_config(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_20ConfigParserProperty_10set_config, "ConfigParserProperty.set_config(self, config)\n\nSets the ConfigParser object to be used by this property. Normally,\nthe ConfigParser is set when initializing the Property using the\n`config` parameter.\n\n:Parameters:\n    `config`: A :class:`~kivy.config.ConfigParser` instance.\n        The instance to use for listening to and saving property value\n        changes. If None, it disconnects the currently used\n        `ConfigParser`.\n\n::\n\n    class MyWidget(Widget):\n        username = ConfigParserProperty('', 'info', 'name', None)\n\n    widget = MyWidget()\n    widget.property('username').set_config(ConfigParser())");
static PyMethodDef __pyx_mdef_4kivy_10properties_20ConfigParserProperty_11set_config = {"set_config", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_20ConfigParserProperty_11set_config, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_20ConfigParserProperty_10set_config};
static PyObject *__pyx_pw_4kivy_10properties_20ConfigParserProperty_11set_config(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  PyObject *__pyx_v_config = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("set_config (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_config,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 2150, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 2150, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "set_config", 0) < (0)) __PYX_ERR(0, 2150, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("set_config", 1, 1, 1, i); __PYX_ERR(0, 2150, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 2150, __pyx_L3_error)
    }
    __pyx_v_config = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("set_config", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 2150, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ConfigParserProperty.set_config", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_20ConfigParserProperty_10set_config(((struct __pyx_obj_4kivy_10properties_ConfigParserProperty *)__pyx_v_self), __pyx_v_config);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_20ConfigParserProperty_10set_config(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, PyObject *__pyx_v_config) {
  struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj = 0;
  struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_ps = 0;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  PyObject *__pyx_t_3 = NULL;
  size_t __pyx_t_4;
  int __pyx_t_5;
  PyObject *__pyx_t_6 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("set_config", 0);

  /* "kivy/properties.pyx":2169
 *             widget.property('username').set_config(ConfigParser())
 *         '''
 *         cdef EventDispatcher obj = self.obj()             # <<<<<<<<<<<<<<
 *         cdef object value
 *         cdef PropertyStorage ps = self.get_property_storage(obj)
*/
  __pyx_t_2 = NULL;
  __Pyx_INCREF(__pyx_v_self->obj);
  __pyx_t_3 = __pyx_v_self->obj; 
  __pyx_t_4 = 1;
  #if CYTHON_UNPACK_METHODS
  if (likely(PyMethod_Check(__pyx_t_3))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_3);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_3, __pyx__function);
    __pyx_t_4 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL};
    __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_4, (1-__pyx_t_4) | (__pyx_t_4*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2169, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_4kivy_6_event_EventDispatcher))))) __PYX_ERR(0, 2169, __pyx_L1_error)
  __pyx_v_obj = ((struct __pyx_obj_4kivy_6_event_EventDispatcher *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":2171
 *         cdef EventDispatcher obj = self.obj()
 *         cdef object value
 *         cdef PropertyStorage ps = self.get_property_storage(obj)             # <<<<<<<<<<<<<<
 *         if self.config is config:
 *             return
*/
  __pyx_t_1 = ((PyObject *)((struct __pyx_vtabstruct_4kivy_10properties_ConfigParserProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->__pyx_base.get_property_storage(((struct __pyx_obj_4kivy_10properties_Property *)__pyx_v_self), __pyx_v_obj)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2171, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_v_ps = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":2172
 *         cdef object value
 *         cdef PropertyStorage ps = self.get_property_storage(obj)
 *         if self.config is config:             # <<<<<<<<<<<<<<
 *             return
 * 
*/
  __pyx_t_5 = (__pyx_v_self->config == __pyx_v_config);
  if (__pyx_t_5) {

    /* "kivy/properties.pyx":2173
 *         cdef PropertyStorage ps = self.get_property_storage(obj)
 *         if self.config is config:
 *             return             # <<<<<<<<<<<<<<
 * 
 *         if self.config is not None:
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_r = Py_None; __Pyx_INCREF(Py_None);
    goto __pyx_L0;

    /* "kivy/properties.pyx":2172
 *         cdef object value
 *         cdef PropertyStorage ps = self.get_property_storage(obj)
 *         if self.config is config:             # <<<<<<<<<<<<<<
 *             return
 * 
*/
  }

  /* "kivy/properties.pyx":2175
 *             return
 * 
 *         if self.config is not None:             # <<<<<<<<<<<<<<
 *             self.config.remove_callback(self._edit_setting, self.section,
 *                                         self.key)
*/
  __pyx_t_5 = (__pyx_v_self->config != Py_None);
  if (__pyx_t_5) {

    /* "kivy/properties.pyx":2176
 * 
 *         if self.config is not None:
 *             self.config.remove_callback(self._edit_setting, self.section,             # <<<<<<<<<<<<<<
 *                                         self.key)
 *         self.config = config
*/
    __pyx_t_3 = __pyx_v_self->config;
    __Pyx_INCREF(__pyx_t_3);
    __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_edit_setting); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2176, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_2);

    /* "kivy/properties.pyx":2177
 *         if self.config is not None:
 *             self.config.remove_callback(self._edit_setting, self.section,
 *                                         self.key)             # <<<<<<<<<<<<<<
 *         self.config = config
 *         if self.config is not None:
*/
    __pyx_t_4 = 0;
    {
      PyObject *__pyx_callargs[4] = {__pyx_t_3, __pyx_t_2, __pyx_v_self->section, __pyx_v_self->key};
      __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_remove_callback, __pyx_callargs+__pyx_t_4, (4-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
      __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2176, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "kivy/properties.pyx":2175
 *             return
 * 
 *         if self.config is not None:             # <<<<<<<<<<<<<<
 *             self.config.remove_callback(self._edit_setting, self.section,
 *                                         self.key)
*/
  }

  /* "kivy/properties.pyx":2178
 *             self.config.remove_callback(self._edit_setting, self.section,
 *                                         self.key)
 *         self.config = config             # <<<<<<<<<<<<<<
 *         if self.config is not None:
 *             self.config.adddefaultsection(self.section)
*/
  __Pyx_INCREF(__pyx_v_config);
  __Pyx_GIVEREF(__pyx_v_config);
  __Pyx_GOTREF(__pyx_v_self->config);
  __Pyx_DECREF(__pyx_v_self->config);
  __pyx_v_self->config = __pyx_v_config;

  /* "kivy/properties.pyx":2179
 *                                         self.key)
 *         self.config = config
 *         if self.config is not None:             # <<<<<<<<<<<<<<
 *             self.config.adddefaultsection(self.section)
 *             self.config.setdefault(self.section, self.key, ps.value)
*/
  __pyx_t_5 = (__pyx_v_self->config != Py_None);
  if (__pyx_t_5) {

    /* "kivy/properties.pyx":2180
 *         self.config = config
 *         if self.config is not None:
 *             self.config.adddefaultsection(self.section)             # <<<<<<<<<<<<<<
 *             self.config.setdefault(self.section, self.key, ps.value)
 *             self.config.write()
*/
    __pyx_t_2 = __pyx_v_self->config;
    __Pyx_INCREF(__pyx_t_2);
    __pyx_t_4 = 0;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_self->section};
      __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_adddefaultsection, __pyx_callargs+__pyx_t_4, (2-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2180, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "kivy/properties.pyx":2181
 *         if self.config is not None:
 *             self.config.adddefaultsection(self.section)
 *             self.config.setdefault(self.section, self.key, ps.value)             # <<<<<<<<<<<<<<
 *             self.config.write()
 *             self.config.add_callback(self._edit_setting, self.section,
*/
    __pyx_t_2 = __pyx_v_self->config;
    __Pyx_INCREF(__pyx_t_2);
    __pyx_t_4 = 0;
    {
      PyObject *__pyx_callargs[4] = {__pyx_t_2, __pyx_v_self->section, __pyx_v_self->key, __pyx_v_ps->value};
      __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_setdefault, __pyx_callargs+__pyx_t_4, (4-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2181, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "kivy/properties.pyx":2182
 *             self.config.adddefaultsection(self.section)
 *             self.config.setdefault(self.section, self.key, ps.value)
 *             self.config.write()             # <<<<<<<<<<<<<<
 *             self.config.add_callback(self._edit_setting, self.section,
 *                                      self.key)
*/
    __pyx_t_2 = __pyx_v_self->config;
    __Pyx_INCREF(__pyx_t_2);
    __pyx_t_4 = 0;
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL};
      __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_write, __pyx_callargs+__pyx_t_4, (1-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2182, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "kivy/properties.pyx":2183
 *             self.config.setdefault(self.section, self.key, ps.value)
 *             self.config.write()
 *             self.config.add_callback(self._edit_setting, self.section,             # <<<<<<<<<<<<<<
 *                                      self.key)
 *             self.last_value = None
*/
    __pyx_t_2 = __pyx_v_self->config;
    __Pyx_INCREF(__pyx_t_2);
    __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_edit_setting); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2183, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);

    /* "kivy/properties.pyx":2184
 *             self.config.write()
 *             self.config.add_callback(self._edit_setting, self.section,
 *                                      self.key)             # <<<<<<<<<<<<<<
 *             self.last_value = None
 *             self._edit_setting(self.section, self.key,
*/
    __pyx_t_4 = 0;
    {
      PyObject *__pyx_callargs[4] = {__pyx_t_2, __pyx_t_3, __pyx_v_self->section, __pyx_v_self->key};
      __pyx_t_1 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_add_callback, __pyx_callargs+__pyx_t_4, (4-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
      if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2183, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_1);
    }
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

    /* "kivy/properties.pyx":2185
 *             self.config.add_callback(self._edit_setting, self.section,
 *                                      self.key)
 *             self.last_value = None             # <<<<<<<<<<<<<<
 *             self._edit_setting(self.section, self.key,
 *                                self.config.get(self.section, self.key))
*/
    __Pyx_INCREF(Py_None);
    __Pyx_GIVEREF(Py_None);
    __Pyx_GOTREF(__pyx_v_self->last_value);
    __Pyx_DECREF(__pyx_v_self->last_value);
    __pyx_v_self->last_value = Py_None;

    /* "kivy/properties.pyx":2186
 *                                      self.key)
 *             self.last_value = None
 *             self._edit_setting(self.section, self.key,             # <<<<<<<<<<<<<<
 *                                self.config.get(self.section, self.key))
 * 
*/
    __pyx_t_1 = __pyx_v_self->section;
    __Pyx_INCREF(__pyx_t_1);
    __pyx_t_3 = __pyx_v_self->key;
    __Pyx_INCREF(__pyx_t_3);

    /* "kivy/properties.pyx":2187
 *             self.last_value = None
 *             self._edit_setting(self.section, self.key,
 *                                self.config.get(self.section, self.key))             # <<<<<<<<<<<<<<
 * 
 * 
*/
    __pyx_t_6 = __pyx_v_self->config;
    __Pyx_INCREF(__pyx_t_6);
    __pyx_t_4 = 0;
    {
      PyObject *__pyx_callargs[3] = {__pyx_t_6, __pyx_v_self->section, __pyx_v_self->key};
      __pyx_t_2 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_get, __pyx_callargs+__pyx_t_4, (3-__pyx_t_4) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
      if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2187, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_2);
    }

    /* "kivy/properties.pyx":2186
 *                                      self.key)
 *             self.last_value = None
 *             self._edit_setting(self.section, self.key,             # <<<<<<<<<<<<<<
 *                                self.config.get(self.section, self.key))
 * 
*/
    __pyx_t_6 = ((struct __pyx_vtabstruct_4kivy_10properties_ConfigParserProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->_edit_setting(__pyx_v_self, __pyx_t_1, __pyx_t_3, __pyx_t_2, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 2186, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_6);
    __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;
    __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

    /* "kivy/properties.pyx":2179
 *                                         self.key)
 *         self.config = config
 *         if self.config is not None:             # <<<<<<<<<<<<<<
 *             self.config.adddefaultsection(self.section)
 *             self.config.setdefault(self.section, self.key, ps.value)
*/
  }

  /* "kivy/properties.pyx":2150
 *         return True
 * 
 *     def set_config(self, config):             # <<<<<<<<<<<<<<
 *         ''' Sets the ConfigParser object to be used by this property. Normally,
 *         the ConfigParser is set when initializing the Property using the
*/

  /* 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_6);
  __Pyx_AddTraceback("kivy.properties.ConfigParserProperty.set_config", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __pyx_L0:;
  __Pyx_XDECREF((PyObject *)__pyx_v_obj);
  __Pyx_XDECREF((PyObject *)__pyx_v_ps);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_20ConfigParserProperty_13__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_20ConfigParserProperty_12__reduce_cython__, "ConfigParserProperty.__reduce_cython__(self)");
static PyMethodDef __pyx_mdef_4kivy_10properties_20ConfigParserProperty_13__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_20ConfigParserProperty_13__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_20ConfigParserProperty_12__reduce_cython__};
static PyObject *__pyx_pw_4kivy_10properties_20ConfigParserProperty_13__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return NULL;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__reduce_cython__", __pyx_kwds); return NULL;}
  __pyx_r = __pyx_pf_4kivy_10properties_20ConfigParserProperty_12__reduce_cython__(((struct __pyx_obj_4kivy_10properties_ConfigParserProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_20ConfigParserProperty_12__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.ConfigParserProperty.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_20ConfigParserProperty_15__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_20ConfigParserProperty_14__setstate_cython__, "ConfigParserProperty.__setstate_cython__(self, __pyx_state)");
static PyMethodDef __pyx_mdef_4kivy_10properties_20ConfigParserProperty_15__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_20ConfigParserProperty_15__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_20ConfigParserProperty_14__setstate_cython__};
static PyObject *__pyx_pw_4kivy_10properties_20ConfigParserProperty_15__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  CYTHON_UNUSED PyObject *__pyx_v___pyx_state = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 3, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 3, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
    }
    __pyx_v___pyx_state = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ConfigParserProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_20ConfigParserProperty_14__setstate_cython__(((struct __pyx_obj_4kivy_10properties_ConfigParserProperty *)__pyx_v_self), __pyx_v___pyx_state);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_20ConfigParserProperty_14__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ConfigParserProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.ConfigParserProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":2218
 *     '''
 * 
 *     def __init__(self, defaultvalue=0, **kw):             # <<<<<<<<<<<<<<
 *         defaultvalue = \
 *             [1.0, 1.0, 1.0, 1.0] if defaultvalue == 0 else defaultvalue
*/

/* Python wrapper */
static int __pyx_pw_4kivy_10properties_13ColorProperty_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static int __pyx_pw_4kivy_10properties_13ColorProperty_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
  PyObject *__pyx_v_defaultvalue = 0;
  PyObject *__pyx_v_kw = 0;
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
  #endif
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
  __pyx_v_kw = PyDict_New(); if (unlikely(!__pyx_v_kw)) return -1;
  __Pyx_GOTREF(__pyx_v_kw);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_defaultvalue,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_VARARGS(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 2218, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 2218, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, __pyx_v_kw, values, kwd_pos_args, __pyx_kwds_len, "__init__", 1) < (0)) __PYX_ERR(0, 2218, __pyx_L3_error)
      if (!values[0]) values[0] = __Pyx_NewRef(((PyObject *)__pyx_mstate_global->__pyx_int_0));
    } else {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_VARARGS(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 2218, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      if (!values[0]) values[0] = __Pyx_NewRef(((PyObject *)__pyx_mstate_global->__pyx_int_0));
    }
    __pyx_v_defaultvalue = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__init__", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 2218, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw); __pyx_v_kw = 0;
  __Pyx_AddTraceback("kivy.properties.ColorProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return -1;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_13ColorProperty___init__(((struct __pyx_obj_4kivy_10properties_ColorProperty *)__pyx_v_self), __pyx_v_defaultvalue, __pyx_v_kw);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_DECREF(__pyx_v_kw);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static int __pyx_pf_4kivy_10properties_13ColorProperty___init__(struct __pyx_obj_4kivy_10properties_ColorProperty *__pyx_v_self, PyObject *__pyx_v_defaultvalue, PyObject *__pyx_v_kw) {
  int __pyx_r;
  __Pyx_RefNannyDeclarations
  PyObject *__pyx_t_1 = NULL;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  size_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_defaultvalue);

  /* "kivy/properties.pyx":2220
 *     def __init__(self, defaultvalue=0, **kw):
 *         defaultvalue = \
 *             [1.0, 1.0, 1.0, 1.0] if defaultvalue == 0 else defaultvalue             # <<<<<<<<<<<<<<
 *         super(ColorProperty, self).__init__(defaultvalue, **kw)
 * 
*/
  __pyx_t_2 = (__Pyx_PyLong_BoolEqObjC(__pyx_v_defaultvalue, __pyx_mstate_global->__pyx_int_0, 0, 0)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 2220, __pyx_L1_error)
  if (__pyx_t_2) {
    __pyx_t_3 = PyList_New(4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2220, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __Pyx_INCREF(__pyx_mstate_global->__pyx_float_1_0);
    __Pyx_GIVEREF(__pyx_mstate_global->__pyx_float_1_0);
    if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 0, __pyx_mstate_global->__pyx_float_1_0) != (0)) __PYX_ERR(0, 2220, __pyx_L1_error);
    __Pyx_INCREF(__pyx_mstate_global->__pyx_float_1_0);
    __Pyx_GIVEREF(__pyx_mstate_global->__pyx_float_1_0);
    if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 1, __pyx_mstate_global->__pyx_float_1_0) != (0)) __PYX_ERR(0, 2220, __pyx_L1_error);
    __Pyx_INCREF(__pyx_mstate_global->__pyx_float_1_0);
    __Pyx_GIVEREF(__pyx_mstate_global->__pyx_float_1_0);
    if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 2, __pyx_mstate_global->__pyx_float_1_0) != (0)) __PYX_ERR(0, 2220, __pyx_L1_error);
    __Pyx_INCREF(__pyx_mstate_global->__pyx_float_1_0);
    __Pyx_GIVEREF(__pyx_mstate_global->__pyx_float_1_0);
    if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 3, __pyx_mstate_global->__pyx_float_1_0) != (0)) __PYX_ERR(0, 2220, __pyx_L1_error);
    __pyx_t_1 = __pyx_t_3;
    __pyx_t_3 = 0;
  } else {
    __Pyx_INCREF(__pyx_v_defaultvalue);
    __pyx_t_1 = __pyx_v_defaultvalue;
  }
  __Pyx_DECREF_SET(__pyx_v_defaultvalue, __pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":2221
 *         defaultvalue = \
 *             [1.0, 1.0, 1.0, 1.0] if defaultvalue == 0 else defaultvalue
 *         super(ColorProperty, self).__init__(defaultvalue, **kw)             # <<<<<<<<<<<<<<
 * 
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):
*/
  __pyx_t_3 = NULL;
  __pyx_t_5 = NULL;
  __pyx_t_6 = 1;
  {
    PyObject *__pyx_callargs[3] = {__pyx_t_5, ((PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_ColorProperty), ((PyObject *)__pyx_v_self)};
    __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)__pyx_builtin_super, __pyx_callargs+__pyx_t_6, (3-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
    if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2221, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
  }
  __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_init); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2221, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __pyx_t_4 = PyDict_Copy(__pyx_v_kw); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2221, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_6 = 1;
  #if CYTHON_UNPACK_METHODS
  if (likely(PyMethod_Check(__pyx_t_5))) {
    __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_5);
    assert(__pyx_t_3);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_5);
    __Pyx_INCREF(__pyx_t_3);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_5, __pyx__function);
    __pyx_t_6 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_v_defaultvalue};
    __pyx_t_1 = __Pyx_PyObject_FastCallDict((PyObject*)__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_4);
    __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2221, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;

  /* "kivy/properties.pyx":2218
 *     '''
 * 
 *     def __init__(self, defaultvalue=0, **kw):             # <<<<<<<<<<<<<<
 *         defaultvalue = \
 *             [1.0, 1.0, 1.0, 1.0] if defaultvalue == 0 else defaultvalue
*/

  /* function exit code */
  __pyx_r = 0;
  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_5);
  __Pyx_AddTraceback("kivy.properties.ColorProperty.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = -1;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_defaultvalue);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":2223
 *         super(ColorProperty, self).__init__(defaultvalue, **kw)
 * 
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         if x is None:
 *             return x
*/

static PyObject *__pyx_f_4kivy_10properties_13ColorProperty_convert(struct __pyx_obj_4kivy_10properties_ColorProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_x, CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_PropertyStorage *__pyx_v_property_storage) {
  PyObject *__pyx_v_color = 0;
  PyObject *__pyx_v_e = 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;
  PyObject *__pyx_t_5 = NULL;
  int __pyx_t_6;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  PyObject *__pyx_t_9 = NULL;
  PyObject *__pyx_t_10 = NULL;
  PyObject *__pyx_t_11 = NULL;
  PyObject *__pyx_t_12 = NULL;
  PyObject *__pyx_t_13 = NULL;
  PyObject *__pyx_t_14 = NULL;
  size_t __pyx_t_15;
  int __pyx_t_16;
  char const *__pyx_t_17;
  PyObject *__pyx_t_18 = NULL;
  PyObject *__pyx_t_19 = NULL;
  PyObject *__pyx_t_20 = NULL;
  PyObject *__pyx_t_21 = NULL;
  PyObject *__pyx_t_22 = NULL;
  PyObject *__pyx_t_23 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("convert", 0);

  /* "kivy/properties.pyx":2224
 * 
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):
 *         if x is None:             # <<<<<<<<<<<<<<
 *             return x
 *         cdef object color = x
*/
  __pyx_t_1 = (__pyx_v_x == Py_None);
  if (__pyx_t_1) {

    /* "kivy/properties.pyx":2225
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):
 *         if x is None:
 *             return x             # <<<<<<<<<<<<<<
 *         cdef object color = x
 *         try:
*/
    __Pyx_XDECREF(__pyx_r);
    __Pyx_INCREF(__pyx_v_x);
    __pyx_r = __pyx_v_x;
    goto __pyx_L0;

    /* "kivy/properties.pyx":2224
 * 
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):
 *         if x is None:             # <<<<<<<<<<<<<<
 *             return x
 *         cdef object color = x
*/
  }

  /* "kivy/properties.pyx":2226
 *         if x is None:
 *             return x
 *         cdef object color = x             # <<<<<<<<<<<<<<
 *         try:
 *             if isinstance(x, str):
*/
  __Pyx_INCREF(__pyx_v_x);
  __pyx_v_color = __pyx_v_x;

  /* "kivy/properties.pyx":2227
 *             return x
 *         cdef object color = x
 *         try:             # <<<<<<<<<<<<<<
 *             if isinstance(x, str):
 *                 color = self.parse_str(obj, x)
*/
  {
    __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:*/ {

      /* "kivy/properties.pyx":2228
 *         cdef object color = x
 *         try:
 *             if isinstance(x, str):             # <<<<<<<<<<<<<<
 *                 color = self.parse_str(obj, x)
 *             color = self.parse_list(obj, color)
*/
      __pyx_t_1 = PyUnicode_Check(__pyx_v_x); 
      if (__pyx_t_1) {

        /* "kivy/properties.pyx":2229
 *         try:
 *             if isinstance(x, str):
 *                 color = self.parse_str(obj, x)             # <<<<<<<<<<<<<<
 *             color = self.parse_list(obj, color)
 *         except (ValueError, TypeError) as e:
*/
        __pyx_t_5 = ((struct __pyx_vtabstruct_4kivy_10properties_ColorProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->parse_str(__pyx_v_self, __pyx_v_obj, __pyx_v_x); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2229, __pyx_L4_error)
        __Pyx_GOTREF(__pyx_t_5);
        __Pyx_DECREF_SET(__pyx_v_color, __pyx_t_5);
        __pyx_t_5 = 0;

        /* "kivy/properties.pyx":2228
 *         cdef object color = x
 *         try:
 *             if isinstance(x, str):             # <<<<<<<<<<<<<<
 *                 color = self.parse_str(obj, x)
 *             color = self.parse_list(obj, color)
*/
      }

      /* "kivy/properties.pyx":2230
 *             if isinstance(x, str):
 *                 color = self.parse_str(obj, x)
 *             color = self.parse_list(obj, color)             # <<<<<<<<<<<<<<
 *         except (ValueError, TypeError) as e:
 *             raise ValueError(
*/
      __pyx_t_5 = ((struct __pyx_vtabstruct_4kivy_10properties_ColorProperty *)__pyx_v_self->__pyx_base.__pyx_vtab)->parse_list(__pyx_v_self, __pyx_v_obj, __pyx_v_color); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2230, __pyx_L4_error)
      __Pyx_GOTREF(__pyx_t_5);
      __Pyx_DECREF_SET(__pyx_v_color, __pyx_t_5);
      __pyx_t_5 = 0;

      /* "kivy/properties.pyx":2227
 *             return x
 *         cdef object color = x
 *         try:             # <<<<<<<<<<<<<<
 *             if isinstance(x, str):
 *                 color = self.parse_str(obj, x)
*/
    }
    __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_L9_try_end;
    __pyx_L4_error:;
    __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;

    /* "kivy/properties.pyx":2231
 *                 color = self.parse_str(obj, x)
 *             color = self.parse_list(obj, color)
 *         except (ValueError, TypeError) as e:             # <<<<<<<<<<<<<<
 *             raise ValueError(
 *                 '{}.{} has an invalid format (got {!r})'
*/
    __pyx_t_6 = __Pyx_PyErr_ExceptionMatches2(((PyObject *)(((PyTypeObject*)PyExc_ValueError))), ((PyObject *)(((PyTypeObject*)PyExc_TypeError))));
    if (__pyx_t_6) {
      __Pyx_AddTraceback("kivy.properties.ColorProperty.convert", __pyx_clineno, __pyx_lineno, __pyx_filename);
      if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_7, &__pyx_t_8) < 0) __PYX_ERR(0, 2231, __pyx_L6_except_error)
      __Pyx_XGOTREF(__pyx_t_5);
      __Pyx_XGOTREF(__pyx_t_7);
      __Pyx_XGOTREF(__pyx_t_8);
      __Pyx_INCREF(__pyx_t_7);
      __pyx_v_e = __pyx_t_7;
      /*try:*/ {

        /* "kivy/properties.pyx":2232
 *             color = self.parse_list(obj, color)
 *         except (ValueError, TypeError) as e:
 *             raise ValueError(             # <<<<<<<<<<<<<<
 *                 '{}.{} has an invalid format (got {!r})'
 *                 .format(obj.__class__.__name__, self.name, x)
*/
        __pyx_t_10 = NULL;

        /* "kivy/properties.pyx":2234
 *             raise ValueError(
 *                 '{}.{} has an invalid format (got {!r})'
 *                 .format(obj.__class__.__name__, self.name, x)             # <<<<<<<<<<<<<<
 *             ) from e
 *         return color
*/
        __pyx_t_12 = __pyx_mstate_global->__pyx_kp_u_has_an_invalid_format_got_r;
        __Pyx_INCREF(__pyx_t_12);
        __pyx_t_13 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_obj), __pyx_mstate_global->__pyx_n_u_class); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 2234, __pyx_L16_error)
        __Pyx_GOTREF(__pyx_t_13);
        __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_13, __pyx_mstate_global->__pyx_n_u_name_2); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 2234, __pyx_L16_error)
        __Pyx_GOTREF(__pyx_t_14);
        __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
        __pyx_t_13 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_mstate_global->__pyx_n_u_name_3); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 2234, __pyx_L16_error)
        __Pyx_GOTREF(__pyx_t_13);
        __pyx_t_15 = 0;
        {
          PyObject *__pyx_callargs[4] = {__pyx_t_12, __pyx_t_14, __pyx_t_13, __pyx_v_x};
          __pyx_t_11 = __Pyx_PyObject_FastCallMethod((PyObject*)__pyx_mstate_global->__pyx_n_u_format, __pyx_callargs+__pyx_t_15, (4-__pyx_t_15) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
          __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
          __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
          if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 2234, __pyx_L16_error)
          __Pyx_GOTREF(__pyx_t_11);
        }
        __pyx_t_15 = 1;
        {
          PyObject *__pyx_callargs[2] = {__pyx_t_10, __pyx_t_11};
          __pyx_t_9 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_15, (2-__pyx_t_15) | (__pyx_t_15*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
          __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
          __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
          if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2232, __pyx_L16_error)
          __Pyx_GOTREF(__pyx_t_9);
        }

        /* "kivy/properties.pyx":2235
 *                 '{}.{} has an invalid format (got {!r})'
 *                 .format(obj.__class__.__name__, self.name, x)
 *             ) from e             # <<<<<<<<<<<<<<
 *         return color
 * 
*/
        __Pyx_Raise(__pyx_t_9, 0, 0, __pyx_v_e);
        __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
        __PYX_ERR(0, 2232, __pyx_L16_error)
      }

      /* "kivy/properties.pyx":2231
 *                 color = self.parse_str(obj, x)
 *             color = self.parse_list(obj, color)
 *         except (ValueError, TypeError) as e:             # <<<<<<<<<<<<<<
 *             raise ValueError(
 *                 '{}.{} has an invalid format (got {!r})'
*/
      /*finally:*/ {
        __pyx_L16_error:;
        /*exception exit:*/{
          __Pyx_PyThreadState_declare
          __Pyx_PyThreadState_assign
          __pyx_t_18 = 0; __pyx_t_19 = 0; __pyx_t_20 = 0; __pyx_t_21 = 0; __pyx_t_22 = 0; __pyx_t_23 = 0;
          __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;
          __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0;
          __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0;
          __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
           __Pyx_ExceptionSwap(&__pyx_t_21, &__pyx_t_22, &__pyx_t_23);
          if ( unlikely(__Pyx_GetException(&__pyx_t_18, &__pyx_t_19, &__pyx_t_20) < 0)) __Pyx_ErrFetch(&__pyx_t_18, &__pyx_t_19, &__pyx_t_20);
          __Pyx_XGOTREF(__pyx_t_18);
          __Pyx_XGOTREF(__pyx_t_19);
          __Pyx_XGOTREF(__pyx_t_20);
          __Pyx_XGOTREF(__pyx_t_21);
          __Pyx_XGOTREF(__pyx_t_22);
          __Pyx_XGOTREF(__pyx_t_23);
          __pyx_t_6 = __pyx_lineno; __pyx_t_16 = __pyx_clineno; __pyx_t_17 = __pyx_filename;
          {
            __Pyx_DECREF(__pyx_v_e); __pyx_v_e = 0;
          }
          __Pyx_XGIVEREF(__pyx_t_21);
          __Pyx_XGIVEREF(__pyx_t_22);
          __Pyx_XGIVEREF(__pyx_t_23);
          __Pyx_ExceptionReset(__pyx_t_21, __pyx_t_22, __pyx_t_23);
          __Pyx_XGIVEREF(__pyx_t_18);
          __Pyx_XGIVEREF(__pyx_t_19);
          __Pyx_XGIVEREF(__pyx_t_20);
          __Pyx_ErrRestore(__pyx_t_18, __pyx_t_19, __pyx_t_20);
          __pyx_t_18 = 0; __pyx_t_19 = 0; __pyx_t_20 = 0; __pyx_t_21 = 0; __pyx_t_22 = 0; __pyx_t_23 = 0;
          __pyx_lineno = __pyx_t_6; __pyx_clineno = __pyx_t_16; __pyx_filename = __pyx_t_17;
          goto __pyx_L6_except_error;
        }
      }
    }
    goto __pyx_L6_except_error;

    /* "kivy/properties.pyx":2227
 *             return x
 *         cdef object color = x
 *         try:             # <<<<<<<<<<<<<<
 *             if isinstance(x, str):
 *                 color = self.parse_str(obj, x)
*/
    __pyx_L6_except_error:;
    __Pyx_XGIVEREF(__pyx_t_2);
    __Pyx_XGIVEREF(__pyx_t_3);
    __Pyx_XGIVEREF(__pyx_t_4);
    __Pyx_ExceptionReset(__pyx_t_2, __pyx_t_3, __pyx_t_4);
    goto __pyx_L1_error;
    __pyx_L9_try_end:;
  }

  /* "kivy/properties.pyx":2236
 *                 .format(obj.__class__.__name__, self.name, x)
 *             ) from e
 *         return color             # <<<<<<<<<<<<<<
 * 
 *     cdef list parse_str(self, EventDispatcher obj, value):
*/
  __Pyx_XDECREF(__pyx_r);
  __Pyx_INCREF(__pyx_v_color);
  __pyx_r = __pyx_v_color;
  goto __pyx_L0;

  /* "kivy/properties.pyx":2223
 *         super(ColorProperty, self).__init__(defaultvalue, **kw)
 * 
 *     cdef convert(self, EventDispatcher obj, x, PropertyStorage property_storage):             # <<<<<<<<<<<<<<
 *         if x is None:
 *             return x
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_7);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_XDECREF(__pyx_t_10);
  __Pyx_XDECREF(__pyx_t_11);
  __Pyx_XDECREF(__pyx_t_12);
  __Pyx_XDECREF(__pyx_t_13);
  __Pyx_XDECREF(__pyx_t_14);
  __Pyx_AddTraceback("kivy.properties.ColorProperty.convert", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_color);
  __Pyx_XDECREF(__pyx_v_e);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":2238
 *         return color
 * 
 *     cdef list parse_str(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         cdef list color = colormap.get(value)
 *         return color if color else get_color_from_hex(value)
*/

static PyObject *__pyx_f_4kivy_10properties_13ColorProperty_parse_str(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ColorProperty *__pyx_v_self, CYTHON_UNUSED struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value) {
  PyObject *__pyx_v_color = 0;
  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;
  size_t __pyx_t_5;
  int __pyx_t_6;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("parse_str", 0);

  /* "kivy/properties.pyx":2239
 * 
 *     cdef list parse_str(self, EventDispatcher obj, value):
 *         cdef list color = colormap.get(value)             # <<<<<<<<<<<<<<
 *         return color if color else get_color_from_hex(value)
 * 
*/
  __pyx_t_2 = NULL;
  __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_colormap); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2239, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_3);
  __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_get); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2239, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __pyx_t_5 = 1;
  #if CYTHON_UNPACK_METHODS
  if (unlikely(PyMethod_Check(__pyx_t_4))) {
    __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_4);
    assert(__pyx_t_2);
    PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
    __Pyx_INCREF(__pyx_t_2);
    __Pyx_INCREF(__pyx__function);
    __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
    __pyx_t_5 = 0;
  }
  #endif
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_value};
    __pyx_t_1 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
    __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2239, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
  }
  if (!(likely(PyList_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("list", __pyx_t_1))) __PYX_ERR(0, 2239, __pyx_L1_error)
  __pyx_v_color = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;

  /* "kivy/properties.pyx":2240
 *     cdef list parse_str(self, EventDispatcher obj, value):
 *         cdef list color = colormap.get(value)
 *         return color if color else get_color_from_hex(value)             # <<<<<<<<<<<<<<
 * 
 *     cdef object parse_list(self, EventDispatcher obj, value):
*/
  __Pyx_XDECREF(__pyx_r);
  if (__pyx_v_color == Py_None) __pyx_t_6 = 0;
  else
  {
    Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_v_color);
    if (unlikely(((!CYTHON_ASSUME_SAFE_SIZE) && __pyx_temp < 0))) __PYX_ERR(0, 2240, __pyx_L1_error)
    __pyx_t_6 = (__pyx_temp != 0);
  }

  if (__pyx_t_6) {
    __Pyx_INCREF(__pyx_v_color);
    __pyx_t_1 = __pyx_v_color;
  } else {
    __pyx_t_2 = NULL;
    __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_get_color_from_hex); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2240, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
    __pyx_t_5 = 1;
    #if CYTHON_UNPACK_METHODS
    if (unlikely(PyMethod_Check(__pyx_t_3))) {
      __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3);
      assert(__pyx_t_2);
      PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_3);
      __Pyx_INCREF(__pyx_t_2);
      __Pyx_INCREF(__pyx__function);
      __Pyx_DECREF_SET(__pyx_t_3, __pyx__function);
      __pyx_t_5 = 0;
    }
    #endif
    {
      PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_value};
      __pyx_t_4 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_3, __pyx_callargs+__pyx_t_5, (2-__pyx_t_5) | (__pyx_t_5*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
      __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
      if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2240, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
    }
    if (!(likely(PyList_CheckExact(__pyx_t_4))||((__pyx_t_4) == Py_None) || __Pyx_RaiseUnexpectedTypeError("list", __pyx_t_4))) __PYX_ERR(0, 2240, __pyx_L1_error)
    __pyx_t_1 = __pyx_t_4;
    __pyx_t_4 = 0;
  }
  __pyx_r = ((PyObject*)__pyx_t_1);
  __pyx_t_1 = 0;
  goto __pyx_L0;

  /* "kivy/properties.pyx":2238
 *         return color
 * 
 *     cdef list parse_str(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         cdef list color = colormap.get(value)
 *         return color if color else get_color_from_hex(value)
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_3);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_AddTraceback("kivy.properties.ColorProperty.parse_str", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XDECREF(__pyx_v_color);
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "kivy/properties.pyx":2242
 *         return color if color else get_color_from_hex(value)
 * 
 *     cdef object parse_list(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         cdef int count = len(value)
 *         if count == 4:
*/

static PyObject *__pyx_f_4kivy_10properties_13ColorProperty_parse_list(struct __pyx_obj_4kivy_10properties_ColorProperty *__pyx_v_self, struct __pyx_obj_4kivy_6_event_EventDispatcher *__pyx_v_obj, PyObject *__pyx_v_value) {
  int __pyx_v_count;
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  Py_ssize_t __pyx_t_1;
  int __pyx_t_2;
  PyObject *__pyx_t_3 = NULL;
  PyObject *__pyx_t_4 = NULL;
  PyObject *__pyx_t_5 = NULL;
  size_t __pyx_t_6;
  PyObject *__pyx_t_7 = NULL;
  PyObject *__pyx_t_8 = NULL;
  PyObject *__pyx_t_9 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("parse_list", 0);

  /* "kivy/properties.pyx":2243
 * 
 *     cdef object parse_list(self, EventDispatcher obj, value):
 *         cdef int count = len(value)             # <<<<<<<<<<<<<<
 *         if count == 4:
 *             return ObservableList(self, obj, value)
*/
  __pyx_t_1 = PyObject_Length(__pyx_v_value); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(0, 2243, __pyx_L1_error)
  __pyx_v_count = __pyx_t_1;

  /* "kivy/properties.pyx":2244
 *     cdef object parse_list(self, EventDispatcher obj, value):
 *         cdef int count = len(value)
 *         if count == 4:             # <<<<<<<<<<<<<<
 *             return ObservableList(self, obj, value)
 *         if count == 3:
*/
  __pyx_t_2 = (__pyx_v_count == 4);
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":2245
 *         cdef int count = len(value)
 *         if count == 4:
 *             return ObservableList(self, obj, value)             # <<<<<<<<<<<<<<
 *         if count == 3:
 *             return ObservableList(self, obj, list(value) + [1.0])
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_t_4 = NULL;
    __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_ObservableList); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2245, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_5);
    __pyx_t_6 = 1;
    #if CYTHON_UNPACK_METHODS
    if (unlikely(PyMethod_Check(__pyx_t_5))) {
      __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_5);
      assert(__pyx_t_4);
      PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_5);
      __Pyx_INCREF(__pyx_t_4);
      __Pyx_INCREF(__pyx__function);
      __Pyx_DECREF_SET(__pyx_t_5, __pyx__function);
      __pyx_t_6 = 0;
    }
    #endif
    {
      PyObject *__pyx_callargs[4] = {__pyx_t_4, ((PyObject *)__pyx_v_self), ((PyObject *)__pyx_v_obj), __pyx_v_value};
      __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_5, __pyx_callargs+__pyx_t_6, (4-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
      __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
      if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2245, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_3);
    }
    __pyx_r = __pyx_t_3;
    __pyx_t_3 = 0;
    goto __pyx_L0;

    /* "kivy/properties.pyx":2244
 *     cdef object parse_list(self, EventDispatcher obj, value):
 *         cdef int count = len(value)
 *         if count == 4:             # <<<<<<<<<<<<<<
 *             return ObservableList(self, obj, value)
 *         if count == 3:
*/
  }

  /* "kivy/properties.pyx":2246
 *         if count == 4:
 *             return ObservableList(self, obj, value)
 *         if count == 3:             # <<<<<<<<<<<<<<
 *             return ObservableList(self, obj, list(value) + [1.0])
 *         raise ValueError('Invalid value for color (got %r)' % value)
*/
  __pyx_t_2 = (__pyx_v_count == 3);
  if (__pyx_t_2) {

    /* "kivy/properties.pyx":2247
 *             return ObservableList(self, obj, value)
 *         if count == 3:
 *             return ObservableList(self, obj, list(value) + [1.0])             # <<<<<<<<<<<<<<
 *         raise ValueError('Invalid value for color (got %r)' % value)
*/
    __Pyx_XDECREF(__pyx_r);
    __pyx_t_5 = NULL;
    __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_ObservableList); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 2247, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_4);
    __pyx_t_7 = PySequence_List(__pyx_v_value); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 2247, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_7);
    __pyx_t_8 = PyList_New(1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 2247, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_8);
    __Pyx_INCREF(__pyx_mstate_global->__pyx_float_1_0);
    __Pyx_GIVEREF(__pyx_mstate_global->__pyx_float_1_0);
    if (__Pyx_PyList_SET_ITEM(__pyx_t_8, 0, __pyx_mstate_global->__pyx_float_1_0) != (0)) __PYX_ERR(0, 2247, __pyx_L1_error);
    __pyx_t_9 = PyNumber_Add(__pyx_t_7, __pyx_t_8); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2247, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_9);
    __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
    __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
    __pyx_t_6 = 1;
    #if CYTHON_UNPACK_METHODS
    if (unlikely(PyMethod_Check(__pyx_t_4))) {
      __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4);
      assert(__pyx_t_5);
      PyObject* __pyx__function = PyMethod_GET_FUNCTION(__pyx_t_4);
      __Pyx_INCREF(__pyx_t_5);
      __Pyx_INCREF(__pyx__function);
      __Pyx_DECREF_SET(__pyx_t_4, __pyx__function);
      __pyx_t_6 = 0;
    }
    #endif
    {
      PyObject *__pyx_callargs[4] = {__pyx_t_5, ((PyObject *)__pyx_v_self), ((PyObject *)__pyx_v_obj), __pyx_t_9};
      __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)__pyx_t_4, __pyx_callargs+__pyx_t_6, (4-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
      __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
      __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
      if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2247, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_3);
    }
    __pyx_r = __pyx_t_3;
    __pyx_t_3 = 0;
    goto __pyx_L0;

    /* "kivy/properties.pyx":2246
 *         if count == 4:
 *             return ObservableList(self, obj, value)
 *         if count == 3:             # <<<<<<<<<<<<<<
 *             return ObservableList(self, obj, list(value) + [1.0])
 *         raise ValueError('Invalid value for color (got %r)' % value)
*/
  }

  /* "kivy/properties.pyx":2248
 *         if count == 3:
 *             return ObservableList(self, obj, list(value) + [1.0])
 *         raise ValueError('Invalid value for color (got %r)' % value)             # <<<<<<<<<<<<<<
*/
  __pyx_t_4 = NULL;
  __pyx_t_9 = __Pyx_PyUnicode_FormatSafe(__pyx_mstate_global->__pyx_kp_u_Invalid_value_for_color_got_r, __pyx_v_value); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 2248, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_9);
  __pyx_t_6 = 1;
  {
    PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_9};
    __pyx_t_3 = __Pyx_PyObject_FastCall((PyObject*)(((PyTypeObject*)PyExc_ValueError)), __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
    __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
    __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
    if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2248, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_3);
  }
  __Pyx_Raise(__pyx_t_3, 0, 0, 0);
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
  __PYX_ERR(0, 2248, __pyx_L1_error)

  /* "kivy/properties.pyx":2242
 *         return color if color else get_color_from_hex(value)
 * 
 *     cdef object parse_list(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         cdef int count = len(value)
 *         if count == 4:
*/

  /* 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_7);
  __Pyx_XDECREF(__pyx_t_8);
  __Pyx_XDECREF(__pyx_t_9);
  __Pyx_AddTraceback("kivy.properties.ColorProperty.parse_list", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = 0;
  __pyx_L0:;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_13ColorProperty_3__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_13ColorProperty_2__reduce_cython__, "ColorProperty.__reduce_cython__(self)");
static PyMethodDef __pyx_mdef_4kivy_10properties_13ColorProperty_3__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_13ColorProperty_3__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_13ColorProperty_2__reduce_cython__};
static PyObject *__pyx_pw_4kivy_10properties_13ColorProperty_3__reduce_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  if (unlikely(__pyx_nargs > 0)) { __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL; }
  const Py_ssize_t __pyx_kwds_len = unlikely(__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
  if (unlikely(__pyx_kwds_len < 0)) return NULL;
  if (unlikely(__pyx_kwds_len > 0)) {__Pyx_RejectKeywords("__reduce_cython__", __pyx_kwds); return NULL;}
  __pyx_r = __pyx_pf_4kivy_10properties_13ColorProperty_2__reduce_cython__(((struct __pyx_obj_4kivy_10properties_ColorProperty *)__pyx_v_self));

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

static PyObject *__pyx_pf_4kivy_10properties_13ColorProperty_2__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ColorProperty *__pyx_v_self) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__reduce_cython__", 0);

  /* "(tree fragment)":2
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 2, __pyx_L1_error)

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.ColorProperty.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

/* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

/* Python wrapper */
static PyObject *__pyx_pw_4kivy_10properties_13ColorProperty_5__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
); /*proto*/
PyDoc_STRVAR(__pyx_doc_4kivy_10properties_13ColorProperty_4__setstate_cython__, "ColorProperty.__setstate_cython__(self, __pyx_state)");
static PyMethodDef __pyx_mdef_4kivy_10properties_13ColorProperty_5__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_13ColorProperty_5__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_13ColorProperty_4__setstate_cython__};
static PyObject *__pyx_pw_4kivy_10properties_13ColorProperty_5__setstate_cython__(PyObject *__pyx_v_self, 
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
PyObject *__pyx_args, PyObject *__pyx_kwds
#endif
) {
  CYTHON_UNUSED PyObject *__pyx_v___pyx_state = 0;
  #if !CYTHON_METH_FASTCALL
  CYTHON_UNUSED Py_ssize_t __pyx_nargs;
  #endif
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
  PyObject* values[1] = {0};
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  PyObject *__pyx_r = 0;
  __Pyx_RefNannyDeclarations
  __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
  #if !CYTHON_METH_FASTCALL
  #if CYTHON_ASSUME_SAFE_SIZE
  __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
  #else
  __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
  #endif
  #endif
  __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
  {
    PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_pyx_state,0};
    const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
    if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(1, 3, __pyx_L3_error)
    if (__pyx_kwds_len > 0) {
      switch (__pyx_nargs) {
        case  1:
        values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
        if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
        CYTHON_FALLTHROUGH;
        case  0: break;
        default: goto __pyx_L5_argtuple_error;
      }
      const Py_ssize_t kwd_pos_args = __pyx_nargs;
      if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "__setstate_cython__", 0) < (0)) __PYX_ERR(1, 3, __pyx_L3_error)
      for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
        if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, i); __PYX_ERR(1, 3, __pyx_L3_error) }
      }
    } else if (unlikely(__pyx_nargs != 1)) {
      goto __pyx_L5_argtuple_error;
    } else {
      values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
      if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(1, 3, __pyx_L3_error)
    }
    __pyx_v___pyx_state = values[0];
  }
  goto __pyx_L6_skip;
  __pyx_L5_argtuple_error:;
  __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
  __pyx_L6_skip:;
  goto __pyx_L4_argument_unpacking_done;
  __pyx_L3_error:;
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_AddTraceback("kivy.properties.ColorProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __Pyx_RefNannyFinishContext();
  return NULL;
  __pyx_L4_argument_unpacking_done:;
  __pyx_r = __pyx_pf_4kivy_10properties_13ColorProperty_4__setstate_cython__(((struct __pyx_obj_4kivy_10properties_ColorProperty *)__pyx_v_self), __pyx_v___pyx_state);

  /* function exit code */
  for (Py_ssize_t __pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
    Py_XDECREF(values[__pyx_temp]);
  }
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}

static PyObject *__pyx_pf_4kivy_10properties_13ColorProperty_4__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_4kivy_10properties_ColorProperty *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
  PyObject *__pyx_r = NULL;
  __Pyx_RefNannyDeclarations
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__setstate_cython__", 0);

  /* "(tree fragment)":4
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"             # <<<<<<<<<<<<<<
*/
  __Pyx_Raise(((PyObject *)(((PyTypeObject*)PyExc_TypeError))), __pyx_mstate_global->__pyx_kp_u_no_default___reduce___due_to_non, 0, 0);
  __PYX_ERR(1, 4, __pyx_L1_error)

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/

  /* function exit code */
  __pyx_L1_error:;
  __Pyx_AddTraceback("kivy.properties.ColorProperty.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
  __pyx_r = NULL;
  __Pyx_XGIVEREF(__pyx_r);
  __Pyx_RefNannyFinishContext();
  return __pyx_r;
}
/* #### Code section: module_exttypes ### */

static PyObject *__pyx_tp_new_4kivy_10properties_PropertyStorage(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *p;
  PyObject *o;
  o = __Pyx_AllocateExtensionType(t, 0);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_PropertyStorage *)o);
  p->value = Py_None; Py_INCREF(Py_None);
  p->observers = ((struct __pyx_obj_4kivy_6_event_EventObservers *)Py_None); Py_INCREF(Py_None);
  p->property_obj = ((struct __pyx_obj_4kivy_10properties_Property *)Py_None); Py_INCREF(Py_None);
  return o;
}

static void __pyx_tp_dealloc_4kivy_10properties_PropertyStorage(PyObject *o) {
  struct __pyx_obj_4kivy_10properties_PropertyStorage *p = (struct __pyx_obj_4kivy_10properties_PropertyStorage *)o;
  #if CYTHON_USE_TP_FINALIZE
  if (unlikely(__Pyx_PyObject_GetSlot(o, tp_finalize, destructor)) && !__Pyx_PyObject_GC_IsFinalized(o)) {
    if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc_4kivy_10properties_PropertyStorage) {
      if (PyObject_CallFinalizerFromDealloc(o)) return;
    }
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->value);
  Py_CLEAR(p->observers);
  Py_CLEAR(p->property_obj);
  PyTypeObject *tp = Py_TYPE(o);
  #if CYTHON_USE_TYPE_SLOTS
  (*tp->tp_free)(o);
  #else
  {
    freefunc tp_free = (freefunc)PyType_GetSlot(tp, Py_tp_free);
    if (tp_free) tp_free(o);
  }
  #endif
  #if CYTHON_USE_TYPE_SPECS
  Py_DECREF(tp);
  #endif
}

static int __pyx_tp_traverse_4kivy_10properties_PropertyStorage(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_4kivy_10properties_PropertyStorage *p = (struct __pyx_obj_4kivy_10properties_PropertyStorage *)o;
  {
    e = __Pyx_call_type_traverse(o, 1, v, a);
    if (e) return e;
  }
  if (p->value) {
    e = (*v)(p->value, a); if (e) return e;
  }
  if (p->observers) {
    e = (*v)(((PyObject *)p->observers), a); if (e) return e;
  }
  if (p->property_obj) {
    e = (*v)(((PyObject *)p->property_obj), a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_4kivy_10properties_PropertyStorage(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_4kivy_10properties_PropertyStorage *p = (struct __pyx_obj_4kivy_10properties_PropertyStorage *)o;
  tmp = ((PyObject*)p->value);
  p->value = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->observers);
  p->observers = ((struct __pyx_obj_4kivy_6_event_EventObservers *)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->property_obj);
  p->property_obj = ((struct __pyx_obj_4kivy_10properties_Property *)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_PropertyStorage_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_PropertyStorage},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_PropertyStorage},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_PropertyStorage},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_PropertyStorage},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_PropertyStorage_spec = {
  "kivy.properties.PropertyStorage",
  sizeof(struct __pyx_obj_4kivy_10properties_PropertyStorage),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_PropertyStorage_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_PropertyStorage = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""PropertyStorage", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_PropertyStorage), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_PropertyStorage, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  0, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  0, /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_PropertyStorage, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_PropertyStorage, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  0, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  0, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_PropertyStorage, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif
static struct __pyx_vtabstruct_4kivy_10properties_Property __pyx_vtable_4kivy_10properties_Property;

static PyObject *__pyx_tp_new_4kivy_10properties_Property(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
  struct __pyx_obj_4kivy_10properties_Property *p;
  PyObject *o;
  o = __Pyx_AllocateExtensionType(t, 0);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_Property *)o);
  p->__pyx_vtab = __pyx_vtabptr_4kivy_10properties_Property;
  p->_name = ((PyObject*)Py_None); Py_INCREF(Py_None);
  p->comparator = Py_None; Py_INCREF(Py_None);
  p->errorvalue = Py_None; Py_INCREF(Py_None);
  p->errorhandler = Py_None; Py_INCREF(Py_None);
  p->defaultvalue = Py_None; Py_INCREF(Py_None);
  if (unlikely(__pyx_pw_4kivy_10properties_8Property_1__cinit__(o, __pyx_mstate_global->__pyx_empty_tuple, NULL) < 0)) goto bad;
  return o;
  bad:
  Py_DECREF(o); o = 0;
  return NULL;
}

static void __pyx_tp_dealloc_4kivy_10properties_Property(PyObject *o) {
  struct __pyx_obj_4kivy_10properties_Property *p = (struct __pyx_obj_4kivy_10properties_Property *)o;
  #if CYTHON_USE_TP_FINALIZE
  if (unlikely(__Pyx_PyObject_GetSlot(o, tp_finalize, destructor)) && !__Pyx_PyObject_GC_IsFinalized(o)) {
    if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc_4kivy_10properties_Property) {
      if (PyObject_CallFinalizerFromDealloc(o)) return;
    }
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->_name);
  Py_CLEAR(p->comparator);
  Py_CLEAR(p->errorvalue);
  Py_CLEAR(p->errorhandler);
  Py_CLEAR(p->defaultvalue);
  PyTypeObject *tp = Py_TYPE(o);
  #if CYTHON_USE_TYPE_SLOTS
  (*tp->tp_free)(o);
  #else
  {
    freefunc tp_free = (freefunc)PyType_GetSlot(tp, Py_tp_free);
    if (tp_free) tp_free(o);
  }
  #endif
  #if CYTHON_USE_TYPE_SPECS
  Py_DECREF(tp);
  #endif
}

static int __pyx_tp_traverse_4kivy_10properties_Property(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_4kivy_10properties_Property *p = (struct __pyx_obj_4kivy_10properties_Property *)o;
  {
    e = __Pyx_call_type_traverse(o, 1, v, a);
    if (e) return e;
  }
  if (p->comparator) {
    e = (*v)(p->comparator, a); if (e) return e;
  }
  if (p->errorvalue) {
    e = (*v)(p->errorvalue, a); if (e) return e;
  }
  if (p->errorhandler) {
    e = (*v)(p->errorhandler, a); if (e) return e;
  }
  if (p->defaultvalue) {
    e = (*v)(p->defaultvalue, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_4kivy_10properties_Property(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_4kivy_10properties_Property *p = (struct __pyx_obj_4kivy_10properties_Property *)o;
  tmp = ((PyObject*)p->comparator);
  p->comparator = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->errorvalue);
  p->errorvalue = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->errorhandler);
  p->errorhandler = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->defaultvalue);
  p->defaultvalue = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}

static PyObject *__pyx_tp_descr_get_4kivy_10properties_Property(PyObject *o, PyObject *i, PyObject *c) {
  PyObject *r = 0;
  if (!i) i = Py_None;
  if (!c) c = Py_None;
  r = __pyx_pw_4kivy_10properties_8Property_31__get__(o, i, c);
  return r;
}

static int __pyx_tp_descr_set_4kivy_10properties_Property(PyObject *o, PyObject *i, PyObject *v) {
  if (v) {
    return __pyx_pw_4kivy_10properties_8Property_29__set__(o, i, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__delete__");
    return -1;
  }
}

static PyObject *__pyx_getprop_4kivy_10properties_8Property_name(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_4kivy_10properties_8Property_4name_1__get__(o);
}

static PyObject *__pyx_getprop_4kivy_10properties_8Property_defaultvalue(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_4kivy_10properties_8Property_12defaultvalue_1__get__(o);
}

static int __pyx_setprop_4kivy_10properties_8Property_defaultvalue(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_4kivy_10properties_8Property_12defaultvalue_3__set__(o, v);
  }
  else {
    return __pyx_pw_4kivy_10properties_8Property_12defaultvalue_5__del__(o);
  }
}

static PyMethodDef __pyx_methods_4kivy_10properties_Property[] = {
  {"__set_name__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_8Property_9__set_name__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_8Property_8__set_name__},
  {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_8Property_39__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_8Property_38__reduce_cython__},
  {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_8Property_41__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_8Property_40__setstate_cython__},
  {0, 0, 0, 0}
};

static struct PyGetSetDef __pyx_getsets_4kivy_10properties_Property[] = {
  {"name", __pyx_getprop_4kivy_10properties_8Property_name, 0, 0, 0},
  {"defaultvalue", __pyx_getprop_4kivy_10properties_8Property_defaultvalue, __pyx_setprop_4kivy_10properties_8Property_defaultvalue, PyDoc_STR("defaultvalue: object"), 0},
  {0, 0, 0, 0, 0}
};
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_Property_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_Property},
  {Py_tp_repr, (void *)__pyx_pw_4kivy_10properties_8Property_5__repr__},
  {Py_tp_str, (void *)__pyx_pw_4kivy_10properties_8Property_7__str__},
  {Py_tp_doc, (void *)PyDoc_STR("Property(defaultvalue, **kw)\n\nBase class for building more complex properties.\n\nThis class handles all the basic setters and getters, None type handling,\nthe observer list and storage initialisation. This class should not be\ndirectly instantiated.\n\nBy default, a :class:`Property` always takes a default value::\n\n    class MyObject(Widget):\n\n        hello = Property('Hello world')\n\nThe default value must be a value that agrees with the Property type. For\nexample, you can't set a list to a :class:`StringProperty` because the\nStringProperty will check the default value.\n\nNone is a special case: you can set the default value of a Property to\nNone, but you can't set None to a property afterward.  If you really want\nto do that, you must declare the Property with `allownone=True`::\n\n    class MyObject(Widget):\n\n        hello = ObjectProperty(None, allownone=True)\n\n    # then later\n    a = MyObject()\n    a.hello = 'bleh' # working\n    a.hello = None # working too, because allownone is True.\n\n:Parameters:\n    `default`:\n        Specifies the default value for the property.\n    `\\*\\*kwargs`:\n        If the parameters include `errorhandler`, this should be a callable\n        which must take a single argument and return a valid substitute\n        value.\n\n        If the parameters include `errorvalue`, this should be an object.\n        If set, it will replace an invalid property value (overrides\n        errorhandler).\n\n        If the parameters include `force_dispatch`, it should be a boolean.\n        If True, no value comparison will be done, so the property event\n        will be dispatched even if the new value matches the old value (by\n        default identical values are not dispatched to avoid infinite\n        recursion in two-way binds). Be careful, this is for advanced use only.\n\n        `comparator`: callable or None\n            When not None, it's called with two values to be compared.\n            The function returns ""whether they are considered the same.\n\n        `deprecated`: bool\n            When True, a warning will be logged if the property is accessed\n            or set. Defaults to False.\n\n.. versionchanged:: 1.4.2\n    Parameters errorhandler and errorvalue added\n\n.. versionchanged:: 1.9.0\n    Parameter force_dispatch added\n\n.. versionchanged:: 1.11.0\n    Parameter deprecated added")},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_Property},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_Property},
  {Py_tp_methods, (void *)__pyx_methods_4kivy_10properties_Property},
  {Py_tp_getset, (void *)__pyx_getsets_4kivy_10properties_Property},
  {Py_tp_descr_get, (void *)__pyx_tp_descr_get_4kivy_10properties_Property},
  {Py_tp_descr_set, (void *)__pyx_tp_descr_set_4kivy_10properties_Property},
  {Py_tp_init, (void *)__pyx_pw_4kivy_10properties_8Property_3__init__},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_Property},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_Property_spec = {
  "kivy.properties.Property",
  sizeof(struct __pyx_obj_4kivy_10properties_Property),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_Property_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_Property = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""Property", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_Property), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_Property, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  __pyx_pw_4kivy_10properties_8Property_5__repr__, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  __pyx_pw_4kivy_10properties_8Property_7__str__, /*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*/
  PyDoc_STR("Property(defaultvalue, **kw)\n\nBase class for building more complex properties.\n\nThis class handles all the basic setters and getters, None type handling,\nthe observer list and storage initialisation. This class should not be\ndirectly instantiated.\n\nBy default, a :class:`Property` always takes a default value::\n\n    class MyObject(Widget):\n\n        hello = Property('Hello world')\n\nThe default value must be a value that agrees with the Property type. For\nexample, you can't set a list to a :class:`StringProperty` because the\nStringProperty will check the default value.\n\nNone is a special case: you can set the default value of a Property to\nNone, but you can't set None to a property afterward.  If you really want\nto do that, you must declare the Property with `allownone=True`::\n\n    class MyObject(Widget):\n\n        hello = ObjectProperty(None, allownone=True)\n\n    # then later\n    a = MyObject()\n    a.hello = 'bleh' # working\n    a.hello = None # working too, because allownone is True.\n\n:Parameters:\n    `default`:\n        Specifies the default value for the property.\n    `\\*\\*kwargs`:\n        If the parameters include `errorhandler`, this should be a callable\n        which must take a single argument and return a valid substitute\n        value.\n\n        If the parameters include `errorvalue`, this should be an object.\n        If set, it will replace an invalid property value (overrides\n        errorhandler).\n\n        If the parameters include `force_dispatch`, it should be a boolean.\n        If True, no value comparison will be done, so the property event\n        will be dispatched even if the new value matches the old value (by\n        default identical values are not dispatched to avoid infinite\n        recursion in two-way binds). Be careful, this is for advanced use only.\n\n        `comparator`: callable or None\n            When not None, it's called with two values to be compared.\n            The function returns ""whether they are considered the same.\n\n        `deprecated`: bool\n            When True, a warning will be logged if the property is accessed\n            or set. Defaults to False.\n\n.. versionchanged:: 1.4.2\n    Parameters errorhandler and errorvalue added\n\n.. versionchanged:: 1.9.0\n    Parameter force_dispatch added\n\n.. versionchanged:: 1.11.0\n    Parameter deprecated added"), /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_Property, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_Property, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_4kivy_10properties_Property, /*tp_methods*/
  0, /*tp_members*/
  __pyx_getsets_4kivy_10properties_Property, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  __pyx_tp_descr_get_4kivy_10properties_Property, /*tp_descr_get*/
  __pyx_tp_descr_set_4kivy_10properties_Property, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  __pyx_pw_4kivy_10properties_8Property_3__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_Property, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif

static PyObject *__pyx_tp_new_4kivy_10properties_NumericPropertyStorage(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *p;
  PyObject *o = __pyx_tp_new_4kivy_10properties_PropertyStorage(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *)o);
  p->numeric_fmt = Py_None; Py_INCREF(Py_None);
  p->original_num = Py_None; Py_INCREF(Py_None);
  return o;
}

static void __pyx_tp_dealloc_4kivy_10properties_NumericPropertyStorage(PyObject *o) {
  struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *p = (struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *)o;
  #if CYTHON_USE_TP_FINALIZE
  if (unlikely(__Pyx_PyObject_GetSlot(o, tp_finalize, destructor)) && !__Pyx_PyObject_GC_IsFinalized(o)) {
    if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc_4kivy_10properties_NumericPropertyStorage) {
      if (PyObject_CallFinalizerFromDealloc(o)) return;
    }
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->numeric_fmt);
  Py_CLEAR(p->original_num);
  PyObject_GC_Track(o);
  __pyx_tp_dealloc_4kivy_10properties_PropertyStorage(o);
}

static int __pyx_tp_traverse_4kivy_10properties_NumericPropertyStorage(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *p = (struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *)o;
  e = __pyx_tp_traverse_4kivy_10properties_PropertyStorage(o, v, a); if (e) return e;
  if (p->numeric_fmt) {
    e = (*v)(p->numeric_fmt, a); if (e) return e;
  }
  if (p->original_num) {
    e = (*v)(p->original_num, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_4kivy_10properties_NumericPropertyStorage(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *p = (struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *)o;
  __pyx_tp_clear_4kivy_10properties_PropertyStorage(o);
  tmp = ((PyObject*)p->numeric_fmt);
  p->numeric_fmt = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->original_num);
  p->original_num = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_NumericPropertyStorage_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_NumericPropertyStorage},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_NumericPropertyStorage},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_NumericPropertyStorage},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_NumericPropertyStorage},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_NumericPropertyStorage_spec = {
  "kivy.properties.NumericPropertyStorage",
  sizeof(struct __pyx_obj_4kivy_10properties_NumericPropertyStorage),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_NumericPropertyStorage_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_NumericPropertyStorage = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""NumericPropertyStorage", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_NumericPropertyStorage), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_NumericPropertyStorage, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  0, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  0, /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_NumericPropertyStorage, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_NumericPropertyStorage, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  0, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  0, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_NumericPropertyStorage, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif
static struct __pyx_vtabstruct_4kivy_10properties_NumericProperty __pyx_vtable_4kivy_10properties_NumericProperty;

static PyObject *__pyx_tp_new_4kivy_10properties_NumericProperty(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_4kivy_10properties_NumericProperty *p;
  PyObject *o = __pyx_tp_new_4kivy_10properties_Property(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_NumericProperty *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4kivy_10properties_Property*)__pyx_vtabptr_4kivy_10properties_NumericProperty;
  return o;
}

static PyMethodDef __pyx_methods_4kivy_10properties_NumericProperty[] = {
  {"_dpi_callback", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_15NumericProperty_3_dpi_callback, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_15NumericProperty_2_dpi_callback},
  {"get_format", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_15NumericProperty_5get_format, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_15NumericProperty_4get_format},
  {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_15NumericProperty_7__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_15NumericProperty_6__reduce_cython__},
  {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_15NumericProperty_9__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_15NumericProperty_8__setstate_cython__},
  {0, 0, 0, 0}
};
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_NumericProperty_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_Property},
  {Py_tp_doc, (void *)PyDoc_STR("NumericProperty(defaultvalue=0, **kw)\n\nProperty that represents a numeric value.\n\nIt only accepts the int or float numeric data type or a string that can be\nconverted to a number as shown below. For other numeric types use ObjectProperty\nor use errorhandler to convert it to an int/float.\n\nIt does not support numpy numbers so they must be manually converted to int/float.\nE.g. ``widget.num = np.arange(4)[0]`` will raise an exception. Numpy arrays are not\nsupported at all, even by ObjectProperty because their comparison does not return\na bool. But if you must use a Kivy property, use a ObjectProperty with ``comparator``\nset to ``np.array_equal``. E.g.::\n\n    >>> class A(EventDispatcher):\n    ...     data = ObjectProperty(comparator=np.array_equal)\n    >>> a = A()\n    >>> a.bind(data=print)\n    >>> a.data = np.arange(2)\n    <__main__.A object at 0x000001C839B50208> [0 1]\n    >>> a.data = np.arange(3)\n    <__main__.A object at 0x000001C839B50208> [0 1 2]\n\n:Parameters:\n    `defaultvalue`: int or float, defaults to 0\n        Specifies the default value of the property.\n\n>>> wid = Widget()\n>>> wid.x = 42\n>>> print(wid.x)\n42\n>>> wid.x = \"plop\"\n Traceback (most recent call last):\n   File \"<stdin>\", line 1, in <module>\n   File \"properties.pyx\", line 93, in kivy.properties.Property.__set__\n   File \"properties.pyx\", line 111, in kivy.properties.Property.set\n   File \"properties.pyx\", line 159, in kivy.properties.NumericProperty.check\n ValueError: NumericProperty accept only int/float\n\n.. versionchanged:: 1.4.1\n    NumericProperty can now accept custom text and tuple value to indicate a\n    type, like \"in\", \"pt\", \"px\", \"cm\", \"mm\", in the format: '10pt' or (10,\n    'pt').")},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_Property},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_Property},
  {Py_tp_methods, (void *)__pyx_methods_4kivy_10properties_NumericProperty},
  {Py_tp_init, (void *)__pyx_pw_4kivy_10properties_15NumericProperty_1__init__},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_NumericProperty},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_NumericProperty_spec = {
  "kivy.properties.NumericProperty",
  sizeof(struct __pyx_obj_4kivy_10properties_NumericProperty),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_NumericProperty_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_NumericProperty = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""NumericProperty", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_NumericProperty), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_Property, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_5__repr__, /*tp_repr*/
  #else
  0, /*tp_repr*/
  #endif
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_7__str__, /*tp_str*/
  #else
  0, /*tp_str*/
  #endif
  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*/
  PyDoc_STR("NumericProperty(defaultvalue=0, **kw)\n\nProperty that represents a numeric value.\n\nIt only accepts the int or float numeric data type or a string that can be\nconverted to a number as shown below. For other numeric types use ObjectProperty\nor use errorhandler to convert it to an int/float.\n\nIt does not support numpy numbers so they must be manually converted to int/float.\nE.g. ``widget.num = np.arange(4)[0]`` will raise an exception. Numpy arrays are not\nsupported at all, even by ObjectProperty because their comparison does not return\na bool. But if you must use a Kivy property, use a ObjectProperty with ``comparator``\nset to ``np.array_equal``. E.g.::\n\n    >>> class A(EventDispatcher):\n    ...     data = ObjectProperty(comparator=np.array_equal)\n    >>> a = A()\n    >>> a.bind(data=print)\n    >>> a.data = np.arange(2)\n    <__main__.A object at 0x000001C839B50208> [0 1]\n    >>> a.data = np.arange(3)\n    <__main__.A object at 0x000001C839B50208> [0 1 2]\n\n:Parameters:\n    `defaultvalue`: int or float, defaults to 0\n        Specifies the default value of the property.\n\n>>> wid = Widget()\n>>> wid.x = 42\n>>> print(wid.x)\n42\n>>> wid.x = \"plop\"\n Traceback (most recent call last):\n   File \"<stdin>\", line 1, in <module>\n   File \"properties.pyx\", line 93, in kivy.properties.Property.__set__\n   File \"properties.pyx\", line 111, in kivy.properties.Property.set\n   File \"properties.pyx\", line 159, in kivy.properties.NumericProperty.check\n ValueError: NumericProperty accept only int/float\n\n.. versionchanged:: 1.4.1\n    NumericProperty can now accept custom text and tuple value to indicate a\n    type, like \"in\", \"pt\", \"px\", \"cm\", \"mm\", in the format: '10pt' or (10,\n    'pt')."), /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_Property, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_Property, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_4kivy_10properties_NumericProperty, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  __pyx_pw_4kivy_10properties_15NumericProperty_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_NumericProperty, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif
static struct __pyx_vtabstruct_4kivy_10properties_StringProperty __pyx_vtable_4kivy_10properties_StringProperty;

static PyObject *__pyx_tp_new_4kivy_10properties_StringProperty(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_4kivy_10properties_StringProperty *p;
  PyObject *o = __pyx_tp_new_4kivy_10properties_Property(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_StringProperty *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4kivy_10properties_Property*)__pyx_vtabptr_4kivy_10properties_StringProperty;
  return o;
}

static PyMethodDef __pyx_methods_4kivy_10properties_StringProperty[] = {
  {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14StringProperty_3__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14StringProperty_2__reduce_cython__},
  {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14StringProperty_5__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14StringProperty_4__setstate_cython__},
  {0, 0, 0, 0}
};
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_StringProperty_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_Property},
  {Py_tp_doc, (void *)PyDoc_STR("StringProperty(defaultvalue='', **kw)\n\nProperty that represents a string value.\n\n:Parameters:\n    `defaultvalue`: string, defaults to ''\n        Specifies the default value of the property.")},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_Property},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_Property},
  {Py_tp_methods, (void *)__pyx_methods_4kivy_10properties_StringProperty},
  {Py_tp_init, (void *)__pyx_pw_4kivy_10properties_14StringProperty_1__init__},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_StringProperty},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_StringProperty_spec = {
  "kivy.properties.StringProperty",
  sizeof(struct __pyx_obj_4kivy_10properties_StringProperty),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_StringProperty_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_StringProperty = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""StringProperty", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_StringProperty), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_Property, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_5__repr__, /*tp_repr*/
  #else
  0, /*tp_repr*/
  #endif
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_7__str__, /*tp_str*/
  #else
  0, /*tp_str*/
  #endif
  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*/
  PyDoc_STR("StringProperty(defaultvalue='', **kw)\n\nProperty that represents a string value.\n\n:Parameters:\n    `defaultvalue`: string, defaults to ''\n        Specifies the default value of the property."), /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_Property, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_Property, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_4kivy_10properties_StringProperty, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  __pyx_pw_4kivy_10properties_14StringProperty_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_StringProperty, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif
static struct __pyx_vtabstruct_4kivy_10properties_ListProperty __pyx_vtable_4kivy_10properties_ListProperty;

static PyObject *__pyx_tp_new_4kivy_10properties_ListProperty(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_4kivy_10properties_ListProperty *p;
  PyObject *o = __pyx_tp_new_4kivy_10properties_Property(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_ListProperty *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4kivy_10properties_Property*)__pyx_vtabptr_4kivy_10properties_ListProperty;
  return o;
}

static PyMethodDef __pyx_methods_4kivy_10properties_ListProperty[] = {
  {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_12ListProperty_7__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_12ListProperty_6__reduce_cython__},
  {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_12ListProperty_9__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_12ListProperty_8__setstate_cython__},
  {0, 0, 0, 0}
};
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_ListProperty_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_Property},
  {Py_tp_doc, (void *)PyDoc_STR("ListProperty(defaultvalue=0, **kw)\n\nProperty that represents a list.\n\n:Parameters:\n    `defaultvalue`: list, defaults to []\n        Specifies the default value of the property.\n\n.. warning::\n\n    When assigning a list to a :class:`ListProperty`, the list stored in\n    the property is a shallow copy of the list and not the original list. This can\n    be demonstrated with the following example::\n\n        >>> class MyWidget(Widget):\n        >>>     my_list = ListProperty([])\n\n        >>> widget = MyWidget()\n        >>> my_list = [1, 5, {'hi': 'hello'}]\n        >>> widget.my_list = my_list\n        >>> print(my_list is widget.my_list)\n        False\n        >>> my_list.append(10)\n        >>> print(my_list, widget.my_list)\n        [1, 5, {'hi': 'hello'}, 10] [1, 5, {'hi': 'hello'}]\n\n    However, changes to nested levels will affect the property as well,\n    since the property uses a shallow copy of my_list.\n\n        >>> my_list[2]['hi'] = 'bye'\n        >>> print(my_list, widget.my_list)\n        [1, 5, {'hi': 'bye'}, 10] [1, 5, {'hi': 'bye'}]")},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_Property},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_Property},
  {Py_tp_methods, (void *)__pyx_methods_4kivy_10properties_ListProperty},
  {Py_tp_init, (void *)__pyx_pw_4kivy_10properties_12ListProperty_1__init__},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_ListProperty},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_ListProperty_spec = {
  "kivy.properties.ListProperty",
  sizeof(struct __pyx_obj_4kivy_10properties_ListProperty),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_ListProperty_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_ListProperty = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""ListProperty", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_ListProperty), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_Property, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_5__repr__, /*tp_repr*/
  #else
  0, /*tp_repr*/
  #endif
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_7__str__, /*tp_str*/
  #else
  0, /*tp_str*/
  #endif
  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*/
  PyDoc_STR("ListProperty(defaultvalue=0, **kw)\n\nProperty that represents a list.\n\n:Parameters:\n    `defaultvalue`: list, defaults to []\n        Specifies the default value of the property.\n\n.. warning::\n\n    When assigning a list to a :class:`ListProperty`, the list stored in\n    the property is a shallow copy of the list and not the original list. This can\n    be demonstrated with the following example::\n\n        >>> class MyWidget(Widget):\n        >>>     my_list = ListProperty([])\n\n        >>> widget = MyWidget()\n        >>> my_list = [1, 5, {'hi': 'hello'}]\n        >>> widget.my_list = my_list\n        >>> print(my_list is widget.my_list)\n        False\n        >>> my_list.append(10)\n        >>> print(my_list, widget.my_list)\n        [1, 5, {'hi': 'hello'}, 10] [1, 5, {'hi': 'hello'}]\n\n    However, changes to nested levels will affect the property as well,\n    since the property uses a shallow copy of my_list.\n\n        >>> my_list[2]['hi'] = 'bye'\n        >>> print(my_list, widget.my_list)\n        [1, 5, {'hi': 'bye'}, 10] [1, 5, {'hi': 'bye'}]"), /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_Property, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_Property, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_4kivy_10properties_ListProperty, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  __pyx_pw_4kivy_10properties_12ListProperty_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_ListProperty, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif
static struct __pyx_vtabstruct_4kivy_10properties_DictProperty __pyx_vtable_4kivy_10properties_DictProperty;

static PyObject *__pyx_tp_new_4kivy_10properties_DictProperty(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_4kivy_10properties_DictProperty *p;
  PyObject *o = __pyx_tp_new_4kivy_10properties_Property(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_DictProperty *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4kivy_10properties_Property*)__pyx_vtabptr_4kivy_10properties_DictProperty;
  return o;
}

static PyObject *__pyx_getprop_4kivy_10properties_12DictProperty_rebind(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_4kivy_10properties_12DictProperty_6rebind_1__get__(o);
}

static int __pyx_setprop_4kivy_10properties_12DictProperty_rebind(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_4kivy_10properties_12DictProperty_6rebind_3__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static PyMethodDef __pyx_methods_4kivy_10properties_DictProperty[] = {
  {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_12DictProperty_7__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_12DictProperty_6__reduce_cython__},
  {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_12DictProperty_9__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_12DictProperty_8__setstate_cython__},
  {0, 0, 0, 0}
};

static struct PyGetSetDef __pyx_getsets_4kivy_10properties_DictProperty[] = {
  {"rebind", __pyx_getprop_4kivy_10properties_12DictProperty_rebind, __pyx_setprop_4kivy_10properties_12DictProperty_rebind, PyDoc_STR("rebind: 'int'"), 0},
  {0, 0, 0, 0, 0}
};
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_DictProperty_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_Property},
  {Py_tp_doc, (void *)PyDoc_STR("DictProperty(defaultvalue=0, rebind=False, **kw)\n\nProperty that represents a dict.\n\n:Parameters:\n    `defaultvalue`: dict, defaults to {}\n        Specifies the default value of the property.\n    `rebind`: bool, defaults to False\n        See :class:`ObjectProperty` for details.\n\n.. versionchanged:: 1.9.0\n    `rebind` has been introduced.\n\n.. warning::\n\n    Similar to :class:`ListProperty`, when assigning a dict to a\n    :class:`DictProperty`, the dict stored in the property is a shallow copy of the\n    dict and not the original dict. See :class:`ListProperty` for details.")},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_Property},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_Property},
  {Py_tp_methods, (void *)__pyx_methods_4kivy_10properties_DictProperty},
  {Py_tp_getset, (void *)__pyx_getsets_4kivy_10properties_DictProperty},
  {Py_tp_init, (void *)__pyx_pw_4kivy_10properties_12DictProperty_1__init__},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_DictProperty},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_DictProperty_spec = {
  "kivy.properties.DictProperty",
  sizeof(struct __pyx_obj_4kivy_10properties_DictProperty),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_DictProperty_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_DictProperty = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""DictProperty", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_DictProperty), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_Property, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_5__repr__, /*tp_repr*/
  #else
  0, /*tp_repr*/
  #endif
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_7__str__, /*tp_str*/
  #else
  0, /*tp_str*/
  #endif
  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*/
  PyDoc_STR("DictProperty(defaultvalue=0, rebind=False, **kw)\n\nProperty that represents a dict.\n\n:Parameters:\n    `defaultvalue`: dict, defaults to {}\n        Specifies the default value of the property.\n    `rebind`: bool, defaults to False\n        See :class:`ObjectProperty` for details.\n\n.. versionchanged:: 1.9.0\n    `rebind` has been introduced.\n\n.. warning::\n\n    Similar to :class:`ListProperty`, when assigning a dict to a\n    :class:`DictProperty`, the dict stored in the property is a shallow copy of the\n    dict and not the original dict. See :class:`ListProperty` for details."), /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_Property, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_Property, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_4kivy_10properties_DictProperty, /*tp_methods*/
  0, /*tp_members*/
  __pyx_getsets_4kivy_10properties_DictProperty, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  __pyx_pw_4kivy_10properties_12DictProperty_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_DictProperty, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif
static struct __pyx_vtabstruct_4kivy_10properties_ObjectProperty __pyx_vtable_4kivy_10properties_ObjectProperty;

static PyObject *__pyx_tp_new_4kivy_10properties_ObjectProperty(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_4kivy_10properties_ObjectProperty *p;
  PyObject *o = __pyx_tp_new_4kivy_10properties_Property(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_ObjectProperty *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4kivy_10properties_Property*)__pyx_vtabptr_4kivy_10properties_ObjectProperty;
  p->baseclass = Py_None; Py_INCREF(Py_None);
  return o;
}

static void __pyx_tp_dealloc_4kivy_10properties_ObjectProperty(PyObject *o) {
  struct __pyx_obj_4kivy_10properties_ObjectProperty *p = (struct __pyx_obj_4kivy_10properties_ObjectProperty *)o;
  #if CYTHON_USE_TP_FINALIZE
  if (unlikely(__Pyx_PyObject_GetSlot(o, tp_finalize, destructor)) && !__Pyx_PyObject_GC_IsFinalized(o)) {
    if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc_4kivy_10properties_ObjectProperty) {
      if (PyObject_CallFinalizerFromDealloc(o)) return;
    }
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->baseclass);
  PyObject_GC_Track(o);
  __pyx_tp_dealloc_4kivy_10properties_Property(o);
}

static int __pyx_tp_traverse_4kivy_10properties_ObjectProperty(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_4kivy_10properties_ObjectProperty *p = (struct __pyx_obj_4kivy_10properties_ObjectProperty *)o;
  e = __pyx_tp_traverse_4kivy_10properties_Property(o, v, a); if (e) return e;
  if (p->baseclass) {
    e = (*v)(p->baseclass, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_4kivy_10properties_ObjectProperty(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_4kivy_10properties_ObjectProperty *p = (struct __pyx_obj_4kivy_10properties_ObjectProperty *)o;
  __pyx_tp_clear_4kivy_10properties_Property(o);
  tmp = ((PyObject*)p->baseclass);
  p->baseclass = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}

static PyObject *__pyx_getprop_4kivy_10properties_14ObjectProperty_rebind(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_4kivy_10properties_14ObjectProperty_6rebind_1__get__(o);
}

static int __pyx_setprop_4kivy_10properties_14ObjectProperty_rebind(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_4kivy_10properties_14ObjectProperty_6rebind_3__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static PyMethodDef __pyx_methods_4kivy_10properties_ObjectProperty[] = {
  {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObjectProperty_3__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObjectProperty_2__reduce_cython__},
  {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14ObjectProperty_5__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14ObjectProperty_4__setstate_cython__},
  {0, 0, 0, 0}
};

static struct PyGetSetDef __pyx_getsets_4kivy_10properties_ObjectProperty[] = {
  {"rebind", __pyx_getprop_4kivy_10properties_14ObjectProperty_rebind, __pyx_setprop_4kivy_10properties_14ObjectProperty_rebind, PyDoc_STR("rebind: 'int'"), 0},
  {0, 0, 0, 0, 0}
};
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_ObjectProperty_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_ObjectProperty},
  {Py_tp_doc, (void *)PyDoc_STR("ObjectProperty(defaultvalue=None, rebind=False, **kw)\n\nProperty that represents a Python object.\n\n:Parameters:\n    `defaultvalue`: object type\n        Specifies the default value of the property.\n    `rebind`: bool, defaults to False\n        Whether kv rules using this object as an intermediate attribute\n        in a kv rule, will update the bound property when this object\n        changes.\n\n        That is the standard behavior is that if there's a kv rule\n        ``text: self.a.b.c.d``, where ``a``, ``b``, and ``c`` are\n        properties with ``rebind`` ``False`` and ``d`` is a\n        :class:`StringProperty`. Then when the rule is applied, ``text``\n        becomes bound only to ``d``. If ``a``, ``b``, or ``c`` change,\n        ``text`` still remains bound to ``d``. Furthermore, if any of them\n        were ``None`` when the rule was initially evaluated, e.g. ``b`` was\n        ``None``; then ``text`` is bound to ``b`` and will not become bound\n        to ``d`` even when ``b`` is changed to not be ``None``.\n\n        By setting ``rebind`` to ``True``, however, the rule will be\n        re-evaluated and all the properties rebound when that intermediate\n        property changes. E.g. in the example above, whenever ``b`` changes\n        or becomes not ``None`` if it was ``None`` before, ``text`` is\n        evaluated again and becomes rebound to ``d``. The overall result is\n        that ``text`` is now bound to all the properties among ``a``,\n        ``b``, or ``c`` that have ``rebind`` set to ``True``.\n    `\\*\\*kwargs`: a list of keyword arguments\n        `baseclass`\n            If kwargs includes a `baseclass` argument, this value will be\n            used for validation: `isinstance(value, kwargs['baseclass'])`.\n\n.. warning::\n\n    To mark the property as changed, you must reassign a new python object.\n\n.. versionchanged:: 1.9.0\n    `rebind` has been introduced.\n\n.. versionchanged:: 1.7.0\n\n    `baseclass` parameter added.")},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_ObjectProperty},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_ObjectProperty},
  {Py_tp_methods, (void *)__pyx_methods_4kivy_10properties_ObjectProperty},
  {Py_tp_getset, (void *)__pyx_getsets_4kivy_10properties_ObjectProperty},
  {Py_tp_init, (void *)__pyx_pw_4kivy_10properties_14ObjectProperty_1__init__},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_ObjectProperty},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_ObjectProperty_spec = {
  "kivy.properties.ObjectProperty",
  sizeof(struct __pyx_obj_4kivy_10properties_ObjectProperty),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_ObjectProperty_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_ObjectProperty = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""ObjectProperty", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_ObjectProperty), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_ObjectProperty, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_5__repr__, /*tp_repr*/
  #else
  0, /*tp_repr*/
  #endif
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_7__str__, /*tp_str*/
  #else
  0, /*tp_str*/
  #endif
  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*/
  PyDoc_STR("ObjectProperty(defaultvalue=None, rebind=False, **kw)\n\nProperty that represents a Python object.\n\n:Parameters:\n    `defaultvalue`: object type\n        Specifies the default value of the property.\n    `rebind`: bool, defaults to False\n        Whether kv rules using this object as an intermediate attribute\n        in a kv rule, will update the bound property when this object\n        changes.\n\n        That is the standard behavior is that if there's a kv rule\n        ``text: self.a.b.c.d``, where ``a``, ``b``, and ``c`` are\n        properties with ``rebind`` ``False`` and ``d`` is a\n        :class:`StringProperty`. Then when the rule is applied, ``text``\n        becomes bound only to ``d``. If ``a``, ``b``, or ``c`` change,\n        ``text`` still remains bound to ``d``. Furthermore, if any of them\n        were ``None`` when the rule was initially evaluated, e.g. ``b`` was\n        ``None``; then ``text`` is bound to ``b`` and will not become bound\n        to ``d`` even when ``b`` is changed to not be ``None``.\n\n        By setting ``rebind`` to ``True``, however, the rule will be\n        re-evaluated and all the properties rebound when that intermediate\n        property changes. E.g. in the example above, whenever ``b`` changes\n        or becomes not ``None`` if it was ``None`` before, ``text`` is\n        evaluated again and becomes rebound to ``d``. The overall result is\n        that ``text`` is now bound to all the properties among ``a``,\n        ``b``, or ``c`` that have ``rebind`` set to ``True``.\n    `\\*\\*kwargs`: a list of keyword arguments\n        `baseclass`\n            If kwargs includes a `baseclass` argument, this value will be\n            used for validation: `isinstance(value, kwargs['baseclass'])`.\n\n.. warning::\n\n    To mark the property as changed, you must reassign a new python object.\n\n.. versionchanged:: 1.9.0\n    `rebind` has been introduced.\n\n.. versionchanged:: 1.7.0\n\n    `baseclass` parameter added."), /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_ObjectProperty, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_ObjectProperty, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_4kivy_10properties_ObjectProperty, /*tp_methods*/
  0, /*tp_members*/
  __pyx_getsets_4kivy_10properties_ObjectProperty, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  __pyx_pw_4kivy_10properties_14ObjectProperty_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_ObjectProperty, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif
static struct __pyx_vtabstruct_4kivy_10properties_BooleanProperty __pyx_vtable_4kivy_10properties_BooleanProperty;

static PyObject *__pyx_tp_new_4kivy_10properties_BooleanProperty(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_4kivy_10properties_BooleanProperty *p;
  PyObject *o = __pyx_tp_new_4kivy_10properties_Property(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_BooleanProperty *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4kivy_10properties_Property*)__pyx_vtabptr_4kivy_10properties_BooleanProperty;
  return o;
}

static PyMethodDef __pyx_methods_4kivy_10properties_BooleanProperty[] = {
  {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_15BooleanProperty_3__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_15BooleanProperty_2__reduce_cython__},
  {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_15BooleanProperty_5__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_15BooleanProperty_4__setstate_cython__},
  {0, 0, 0, 0}
};
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_BooleanProperty_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_Property},
  {Py_tp_doc, (void *)PyDoc_STR("BooleanProperty(defaultvalue=True, **kw)\n\nProperty that represents only a boolean value.\n\n:Parameters:\n    `defaultvalue`: boolean\n        Specifies the default value of the property.")},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_Property},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_Property},
  {Py_tp_methods, (void *)__pyx_methods_4kivy_10properties_BooleanProperty},
  {Py_tp_init, (void *)__pyx_pw_4kivy_10properties_15BooleanProperty_1__init__},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_BooleanProperty},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_BooleanProperty_spec = {
  "kivy.properties.BooleanProperty",
  sizeof(struct __pyx_obj_4kivy_10properties_BooleanProperty),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_BooleanProperty_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_BooleanProperty = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""BooleanProperty", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_BooleanProperty), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_Property, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_5__repr__, /*tp_repr*/
  #else
  0, /*tp_repr*/
  #endif
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_7__str__, /*tp_str*/
  #else
  0, /*tp_str*/
  #endif
  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*/
  PyDoc_STR("BooleanProperty(defaultvalue=True, **kw)\n\nProperty that represents only a boolean value.\n\n:Parameters:\n    `defaultvalue`: boolean\n        Specifies the default value of the property."), /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_Property, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_Property, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_4kivy_10properties_BooleanProperty, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  __pyx_pw_4kivy_10properties_15BooleanProperty_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_BooleanProperty, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_BoundedNumericPropertyStorage_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_PropertyStorage},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_PropertyStorage},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_PropertyStorage},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_PropertyStorage},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_BoundedNumericPropertyStorage_spec = {
  "kivy.properties.BoundedNumericPropertyStorage",
  sizeof(struct __pyx_obj_4kivy_10properties_BoundedNumericPropertyStorage),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_BoundedNumericPropertyStorage_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_BoundedNumericPropertyStorage = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""BoundedNumericPropertyStorage", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_BoundedNumericPropertyStorage), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_PropertyStorage, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  0, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  0, /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_PropertyStorage, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_PropertyStorage, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  0, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  0, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_PropertyStorage, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif
static struct __pyx_vtabstruct_4kivy_10properties_BoundedNumericProperty __pyx_vtable_4kivy_10properties_BoundedNumericProperty;

static PyObject *__pyx_tp_new_4kivy_10properties_BoundedNumericProperty(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *p;
  PyObject *o = __pyx_tp_new_4kivy_10properties_Property(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_BoundedNumericProperty *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4kivy_10properties_Property*)__pyx_vtabptr_4kivy_10properties_BoundedNumericProperty;
  if (unlikely(__pyx_pw_4kivy_10properties_22BoundedNumericProperty_1__cinit__(o, __pyx_mstate_global->__pyx_empty_tuple, NULL) < 0)) goto bad;
  return o;
  bad:
  Py_DECREF(o); o = 0;
  return NULL;
}

static PyObject *__pyx_getprop_4kivy_10properties_22BoundedNumericProperty_bounds(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_4kivy_10properties_22BoundedNumericProperty_6bounds_1__get__(o);
}

static PyMethodDef __pyx_methods_4kivy_10properties_BoundedNumericProperty[] = {
  {"set_min", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_22BoundedNumericProperty_5set_min, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_22BoundedNumericProperty_4set_min},
  {"get_min", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_22BoundedNumericProperty_7get_min, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_22BoundedNumericProperty_6get_min},
  {"set_max", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_22BoundedNumericProperty_9set_max, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_22BoundedNumericProperty_8set_max},
  {"get_max", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_22BoundedNumericProperty_11get_max, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_22BoundedNumericProperty_10get_max},
  {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_22BoundedNumericProperty_13__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_22BoundedNumericProperty_12__reduce_cython__},
  {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_22BoundedNumericProperty_15__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_22BoundedNumericProperty_14__setstate_cython__},
  {0, 0, 0, 0}
};

static struct PyGetSetDef __pyx_getsets_4kivy_10properties_BoundedNumericProperty[] = {
  {"bounds", __pyx_getprop_4kivy_10properties_22BoundedNumericProperty_bounds, 0, PyDoc_STR("Return min/max of the value.\n\n        .. versionadded:: 1.0.9\n        "), 0},
  {0, 0, 0, 0, 0}
};
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_BoundedNumericProperty_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_Property},
  {Py_tp_doc, (void *)PyDoc_STR("BoundedNumericProperty(*largs, **kw)\n\nProperty that represents a numeric value within a minimum bound and/or\nmaximum bound -- within a numeric range.\n\n:Parameters:\n    `default`: numeric\n        Specifies the default value of the property.\n    `\\*\\*kwargs`: a list of keyword arguments\n        If a `min` parameter is included, this specifies the minimum\n        numeric value that will be accepted.\n        If a `max` parameter is included, this specifies the maximum\n        numeric value that will be accepted.")},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_Property},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_Property},
  {Py_tp_methods, (void *)__pyx_methods_4kivy_10properties_BoundedNumericProperty},
  {Py_tp_getset, (void *)__pyx_getsets_4kivy_10properties_BoundedNumericProperty},
  {Py_tp_init, (void *)__pyx_pw_4kivy_10properties_22BoundedNumericProperty_3__init__},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_BoundedNumericProperty},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_BoundedNumericProperty_spec = {
  "kivy.properties.BoundedNumericProperty",
  sizeof(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_BoundedNumericProperty_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_BoundedNumericProperty = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""BoundedNumericProperty", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_BoundedNumericProperty), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_Property, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_5__repr__, /*tp_repr*/
  #else
  0, /*tp_repr*/
  #endif
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_7__str__, /*tp_str*/
  #else
  0, /*tp_str*/
  #endif
  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*/
  PyDoc_STR("BoundedNumericProperty(*largs, **kw)\n\nProperty that represents a numeric value within a minimum bound and/or\nmaximum bound -- within a numeric range.\n\n:Parameters:\n    `default`: numeric\n        Specifies the default value of the property.\n    `\\*\\*kwargs`: a list of keyword arguments\n        If a `min` parameter is included, this specifies the minimum\n        numeric value that will be accepted.\n        If a `max` parameter is included, this specifies the maximum\n        numeric value that will be accepted."), /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_Property, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_Property, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_4kivy_10properties_BoundedNumericProperty, /*tp_methods*/
  0, /*tp_members*/
  __pyx_getsets_4kivy_10properties_BoundedNumericProperty, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  __pyx_pw_4kivy_10properties_22BoundedNumericProperty_3__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_BoundedNumericProperty, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif

static PyObject *__pyx_tp_new_4kivy_10properties_OptionPropertyStorage(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_4kivy_10properties_OptionPropertyStorage *p;
  PyObject *o = __pyx_tp_new_4kivy_10properties_PropertyStorage(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_OptionPropertyStorage *)o);
  p->options = ((PyObject*)Py_None); Py_INCREF(Py_None);
  return o;
}

static void __pyx_tp_dealloc_4kivy_10properties_OptionPropertyStorage(PyObject *o) {
  struct __pyx_obj_4kivy_10properties_OptionPropertyStorage *p = (struct __pyx_obj_4kivy_10properties_OptionPropertyStorage *)o;
  #if CYTHON_USE_TP_FINALIZE
  if (unlikely(__Pyx_PyObject_GetSlot(o, tp_finalize, destructor)) && !__Pyx_PyObject_GC_IsFinalized(o)) {
    if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc_4kivy_10properties_OptionPropertyStorage) {
      if (PyObject_CallFinalizerFromDealloc(o)) return;
    }
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->options);
  PyObject_GC_Track(o);
  __pyx_tp_dealloc_4kivy_10properties_PropertyStorage(o);
}

static int __pyx_tp_traverse_4kivy_10properties_OptionPropertyStorage(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_4kivy_10properties_OptionPropertyStorage *p = (struct __pyx_obj_4kivy_10properties_OptionPropertyStorage *)o;
  e = __pyx_tp_traverse_4kivy_10properties_PropertyStorage(o, v, a); if (e) return e;
  if (p->options) {
    e = (*v)(p->options, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_4kivy_10properties_OptionPropertyStorage(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_4kivy_10properties_OptionPropertyStorage *p = (struct __pyx_obj_4kivy_10properties_OptionPropertyStorage *)o;
  __pyx_tp_clear_4kivy_10properties_PropertyStorage(o);
  tmp = ((PyObject*)p->options);
  p->options = ((PyObject*)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_OptionPropertyStorage_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_OptionPropertyStorage},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_OptionPropertyStorage},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_OptionPropertyStorage},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_OptionPropertyStorage},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_OptionPropertyStorage_spec = {
  "kivy.properties.OptionPropertyStorage",
  sizeof(struct __pyx_obj_4kivy_10properties_OptionPropertyStorage),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_OptionPropertyStorage_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_OptionPropertyStorage = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""OptionPropertyStorage", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_OptionPropertyStorage), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_OptionPropertyStorage, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  0, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  0, /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_OptionPropertyStorage, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_OptionPropertyStorage, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  0, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  0, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_OptionPropertyStorage, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif
static struct __pyx_vtabstruct_4kivy_10properties_OptionProperty __pyx_vtable_4kivy_10properties_OptionProperty;

static PyObject *__pyx_tp_new_4kivy_10properties_OptionProperty(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_4kivy_10properties_OptionProperty *p;
  PyObject *o = __pyx_tp_new_4kivy_10properties_Property(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_OptionProperty *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4kivy_10properties_Property*)__pyx_vtabptr_4kivy_10properties_OptionProperty;
  p->options = ((PyObject*)Py_None); Py_INCREF(Py_None);
  if (unlikely(__pyx_pw_4kivy_10properties_14OptionProperty_1__cinit__(o, __pyx_mstate_global->__pyx_empty_tuple, NULL) < 0)) goto bad;
  return o;
  bad:
  Py_DECREF(o); o = 0;
  return NULL;
}

static void __pyx_tp_dealloc_4kivy_10properties_OptionProperty(PyObject *o) {
  struct __pyx_obj_4kivy_10properties_OptionProperty *p = (struct __pyx_obj_4kivy_10properties_OptionProperty *)o;
  #if CYTHON_USE_TP_FINALIZE
  if (unlikely(__Pyx_PyObject_GetSlot(o, tp_finalize, destructor)) && !__Pyx_PyObject_GC_IsFinalized(o)) {
    if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc_4kivy_10properties_OptionProperty) {
      if (PyObject_CallFinalizerFromDealloc(o)) return;
    }
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->options);
  PyObject_GC_Track(o);
  __pyx_tp_dealloc_4kivy_10properties_Property(o);
}

static int __pyx_tp_traverse_4kivy_10properties_OptionProperty(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_4kivy_10properties_OptionProperty *p = (struct __pyx_obj_4kivy_10properties_OptionProperty *)o;
  e = __pyx_tp_traverse_4kivy_10properties_Property(o, v, a); if (e) return e;
  if (p->options) {
    e = (*v)(p->options, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_4kivy_10properties_OptionProperty(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_4kivy_10properties_OptionProperty *p = (struct __pyx_obj_4kivy_10properties_OptionProperty *)o;
  __pyx_tp_clear_4kivy_10properties_Property(o);
  tmp = ((PyObject*)p->options);
  p->options = ((PyObject*)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}

static PyObject *__pyx_getprop_4kivy_10properties_14OptionProperty_options(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_4kivy_10properties_14OptionProperty_7options_1__get__(o);
}

static PyMethodDef __pyx_methods_4kivy_10properties_OptionProperty[] = {
  {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14OptionProperty_5__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14OptionProperty_4__reduce_cython__},
  {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_14OptionProperty_7__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_14OptionProperty_6__setstate_cython__},
  {0, 0, 0, 0}
};

static struct PyGetSetDef __pyx_getsets_4kivy_10properties_OptionProperty[] = {
  {"options", __pyx_getprop_4kivy_10properties_14OptionProperty_options, 0, PyDoc_STR("Return the options available.\n\n        .. versionadded:: 1.0.9\n        "), 0},
  {0, 0, 0, 0, 0}
};
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_OptionProperty_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_OptionProperty},
  {Py_tp_doc, (void *)PyDoc_STR("OptionProperty(*largs, **kw)\n\nProperty that represents a string from a predefined list of valid\noptions.\n\nIf the string set in the property is not in the list of valid options\n(passed at property creation time), a ValueError exception will be raised.\n\n:Parameters:\n    `default`: any valid type in the list of options\n        Specifies the default value of the property.\n    `\\*\\*kwargs`: a list of keyword arguments\n        Should include an `options` parameter specifying a list (not tuple)\n        of valid options.\n\nFor example::\n\n    class MyWidget(Widget):\n        state = OptionProperty(\"None\", options=[\"On\", \"Off\", \"None\"])")},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_OptionProperty},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_OptionProperty},
  {Py_tp_methods, (void *)__pyx_methods_4kivy_10properties_OptionProperty},
  {Py_tp_getset, (void *)__pyx_getsets_4kivy_10properties_OptionProperty},
  {Py_tp_init, (void *)__pyx_pw_4kivy_10properties_14OptionProperty_3__init__},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_OptionProperty},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_OptionProperty_spec = {
  "kivy.properties.OptionProperty",
  sizeof(struct __pyx_obj_4kivy_10properties_OptionProperty),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_OptionProperty_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_OptionProperty = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""OptionProperty", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_OptionProperty), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_OptionProperty, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_5__repr__, /*tp_repr*/
  #else
  0, /*tp_repr*/
  #endif
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_7__str__, /*tp_str*/
  #else
  0, /*tp_str*/
  #endif
  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*/
  PyDoc_STR("OptionProperty(*largs, **kw)\n\nProperty that represents a string from a predefined list of valid\noptions.\n\nIf the string set in the property is not in the list of valid options\n(passed at property creation time), a ValueError exception will be raised.\n\n:Parameters:\n    `default`: any valid type in the list of options\n        Specifies the default value of the property.\n    `\\*\\*kwargs`: a list of keyword arguments\n        Should include an `options` parameter specifying a list (not tuple)\n        of valid options.\n\nFor example::\n\n    class MyWidget(Widget):\n        state = OptionProperty(\"None\", options=[\"On\", \"Off\", \"None\"])"), /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_OptionProperty, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_OptionProperty, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_4kivy_10properties_OptionProperty, /*tp_methods*/
  0, /*tp_members*/
  __pyx_getsets_4kivy_10properties_OptionProperty, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  __pyx_pw_4kivy_10properties_14OptionProperty_3__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_OptionProperty, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif

static PyObject *__pyx_tp_new_4kivy_10properties_ReferenceListPropertyStorage(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *p;
  PyObject *o = __pyx_tp_new_4kivy_10properties_PropertyStorage(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *)o);
  p->properties = ((PyObject*)Py_None); Py_INCREF(Py_None);
  return o;
}

static void __pyx_tp_dealloc_4kivy_10properties_ReferenceListPropertyStorage(PyObject *o) {
  struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *p = (struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *)o;
  #if CYTHON_USE_TP_FINALIZE
  if (unlikely(__Pyx_PyObject_GetSlot(o, tp_finalize, destructor)) && !__Pyx_PyObject_GC_IsFinalized(o)) {
    if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc_4kivy_10properties_ReferenceListPropertyStorage) {
      if (PyObject_CallFinalizerFromDealloc(o)) return;
    }
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->properties);
  PyObject_GC_Track(o);
  __pyx_tp_dealloc_4kivy_10properties_PropertyStorage(o);
}

static int __pyx_tp_traverse_4kivy_10properties_ReferenceListPropertyStorage(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *p = (struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *)o;
  e = __pyx_tp_traverse_4kivy_10properties_PropertyStorage(o, v, a); if (e) return e;
  if (p->properties) {
    e = (*v)(p->properties, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_4kivy_10properties_ReferenceListPropertyStorage(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *p = (struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage *)o;
  __pyx_tp_clear_4kivy_10properties_PropertyStorage(o);
  tmp = ((PyObject*)p->properties);
  p->properties = ((PyObject*)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_ReferenceListPropertyStorage_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_ReferenceListPropertyStorage},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_ReferenceListPropertyStorage},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_ReferenceListPropertyStorage},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_ReferenceListPropertyStorage},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_ReferenceListPropertyStorage_spec = {
  "kivy.properties.ReferenceListPropertyStorage",
  sizeof(struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_ReferenceListPropertyStorage_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_ReferenceListPropertyStorage = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""ReferenceListPropertyStorage", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_ReferenceListPropertyStorage), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_ReferenceListPropertyStorage, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  0, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  0, /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_ReferenceListPropertyStorage, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_ReferenceListPropertyStorage, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  0, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  0, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_ReferenceListPropertyStorage, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif
static struct __pyx_vtabstruct_4kivy_10properties_ReferenceListProperty __pyx_vtable_4kivy_10properties_ReferenceListProperty;

static PyObject *__pyx_tp_new_4kivy_10properties_ReferenceListProperty(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_4kivy_10properties_ReferenceListProperty *p;
  PyObject *o = __pyx_tp_new_4kivy_10properties_Property(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_ReferenceListProperty *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4kivy_10properties_Property*)__pyx_vtabptr_4kivy_10properties_ReferenceListProperty;
  p->properties = ((PyObject*)Py_None); Py_INCREF(Py_None);
  if (unlikely(__pyx_pw_4kivy_10properties_21ReferenceListProperty_1__cinit__(o, __pyx_mstate_global->__pyx_empty_tuple, NULL) < 0)) goto bad;
  return o;
  bad:
  Py_DECREF(o); o = 0;
  return NULL;
}

static void __pyx_tp_dealloc_4kivy_10properties_ReferenceListProperty(PyObject *o) {
  struct __pyx_obj_4kivy_10properties_ReferenceListProperty *p = (struct __pyx_obj_4kivy_10properties_ReferenceListProperty *)o;
  #if CYTHON_USE_TP_FINALIZE
  if (unlikely(__Pyx_PyObject_GetSlot(o, tp_finalize, destructor)) && !__Pyx_PyObject_GC_IsFinalized(o)) {
    if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc_4kivy_10properties_ReferenceListProperty) {
      if (PyObject_CallFinalizerFromDealloc(o)) return;
    }
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->properties);
  PyObject_GC_Track(o);
  __pyx_tp_dealloc_4kivy_10properties_Property(o);
}

static int __pyx_tp_traverse_4kivy_10properties_ReferenceListProperty(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_4kivy_10properties_ReferenceListProperty *p = (struct __pyx_obj_4kivy_10properties_ReferenceListProperty *)o;
  e = __pyx_tp_traverse_4kivy_10properties_Property(o, v, a); if (e) return e;
  if (p->properties) {
    e = (*v)(p->properties, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_4kivy_10properties_ReferenceListProperty(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_4kivy_10properties_ReferenceListProperty *p = (struct __pyx_obj_4kivy_10properties_ReferenceListProperty *)o;
  __pyx_tp_clear_4kivy_10properties_Property(o);
  tmp = ((PyObject*)p->properties);
  p->properties = ((PyObject*)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}

static PyMethodDef __pyx_methods_4kivy_10properties_ReferenceListProperty[] = {
  {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_21ReferenceListProperty_17__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_21ReferenceListProperty_16__reduce_cython__},
  {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_21ReferenceListProperty_19__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_21ReferenceListProperty_18__setstate_cython__},
  {0, 0, 0, 0}
};
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_ReferenceListProperty_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_ReferenceListProperty},
  {Py_tp_doc, (void *)PyDoc_STR("ReferenceListProperty(*largs, **kw)\n\nProperty that allows the creation of a tuple of other properties.\n\nFor example, if `x` and `y` are :class:`NumericProperty`\\s, we can create a\n:class:`ReferenceListProperty` for the `pos`. If you change the value of\n`pos`, it will automatically change the values of `x` and `y` accordingly.\nIf you read the value of `pos`, it will return a tuple with the values of\n`x` and `y`.\n\nFor example::\n\n    class MyWidget(EventDispatcher):\n        x = NumericProperty(0)\n        y = NumericProperty(0)\n        pos = ReferenceListProperty(x, y)")},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_ReferenceListProperty},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_ReferenceListProperty},
  {Py_tp_methods, (void *)__pyx_methods_4kivy_10properties_ReferenceListProperty},
  {Py_tp_init, (void *)__pyx_pw_4kivy_10properties_21ReferenceListProperty_3__init__},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_ReferenceListProperty},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_ReferenceListProperty_spec = {
  "kivy.properties.ReferenceListProperty",
  sizeof(struct __pyx_obj_4kivy_10properties_ReferenceListProperty),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_ReferenceListProperty_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_ReferenceListProperty = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""ReferenceListProperty", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_ReferenceListProperty), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_ReferenceListProperty, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_5__repr__, /*tp_repr*/
  #else
  0, /*tp_repr*/
  #endif
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_7__str__, /*tp_str*/
  #else
  0, /*tp_str*/
  #endif
  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*/
  PyDoc_STR("ReferenceListProperty(*largs, **kw)\n\nProperty that allows the creation of a tuple of other properties.\n\nFor example, if `x` and `y` are :class:`NumericProperty`\\s, we can create a\n:class:`ReferenceListProperty` for the `pos`. If you change the value of\n`pos`, it will automatically change the values of `x` and `y` accordingly.\nIf you read the value of `pos`, it will return a tuple with the values of\n`x` and `y`.\n\nFor example::\n\n    class MyWidget(EventDispatcher):\n        x = NumericProperty(0)\n        y = NumericProperty(0)\n        pos = ReferenceListProperty(x, y)"), /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_ReferenceListProperty, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_ReferenceListProperty, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_4kivy_10properties_ReferenceListProperty, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  __pyx_pw_4kivy_10properties_21ReferenceListProperty_3__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_ReferenceListProperty, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif

static PyObject *__pyx_tp_new_4kivy_10properties_AliasPropertyStorage(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_4kivy_10properties_AliasPropertyStorage *p;
  PyObject *o = __pyx_tp_new_4kivy_10properties_PropertyStorage(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_AliasPropertyStorage *)o);
  p->getter = Py_None; Py_INCREF(Py_None);
  p->setter = Py_None; Py_INCREF(Py_None);
  return o;
}

static void __pyx_tp_dealloc_4kivy_10properties_AliasPropertyStorage(PyObject *o) {
  struct __pyx_obj_4kivy_10properties_AliasPropertyStorage *p = (struct __pyx_obj_4kivy_10properties_AliasPropertyStorage *)o;
  #if CYTHON_USE_TP_FINALIZE
  if (unlikely(__Pyx_PyObject_GetSlot(o, tp_finalize, destructor)) && !__Pyx_PyObject_GC_IsFinalized(o)) {
    if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc_4kivy_10properties_AliasPropertyStorage) {
      if (PyObject_CallFinalizerFromDealloc(o)) return;
    }
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->getter);
  Py_CLEAR(p->setter);
  PyObject_GC_Track(o);
  __pyx_tp_dealloc_4kivy_10properties_PropertyStorage(o);
}

static int __pyx_tp_traverse_4kivy_10properties_AliasPropertyStorage(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_4kivy_10properties_AliasPropertyStorage *p = (struct __pyx_obj_4kivy_10properties_AliasPropertyStorage *)o;
  e = __pyx_tp_traverse_4kivy_10properties_PropertyStorage(o, v, a); if (e) return e;
  if (p->getter) {
    e = (*v)(p->getter, a); if (e) return e;
  }
  if (p->setter) {
    e = (*v)(p->setter, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_4kivy_10properties_AliasPropertyStorage(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_4kivy_10properties_AliasPropertyStorage *p = (struct __pyx_obj_4kivy_10properties_AliasPropertyStorage *)o;
  __pyx_tp_clear_4kivy_10properties_PropertyStorage(o);
  tmp = ((PyObject*)p->getter);
  p->getter = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->setter);
  p->setter = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_AliasPropertyStorage_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_AliasPropertyStorage},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_AliasPropertyStorage},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_AliasPropertyStorage},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_AliasPropertyStorage},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_AliasPropertyStorage_spec = {
  "kivy.properties.AliasPropertyStorage",
  sizeof(struct __pyx_obj_4kivy_10properties_AliasPropertyStorage),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_AliasPropertyStorage_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_AliasPropertyStorage = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""AliasPropertyStorage", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_AliasPropertyStorage), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_AliasPropertyStorage, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  0, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  0, /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_AliasPropertyStorage, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_AliasPropertyStorage, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  0, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  0, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_AliasPropertyStorage, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif
static struct __pyx_vtabstruct_4kivy_10properties_AliasProperty __pyx_vtable_4kivy_10properties_AliasProperty;

static PyObject *__pyx_tp_new_4kivy_10properties_AliasProperty(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_4kivy_10properties_AliasProperty *p;
  PyObject *o = __pyx_tp_new_4kivy_10properties_Property(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_AliasProperty *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4kivy_10properties_Property*)__pyx_vtabptr_4kivy_10properties_AliasProperty;
  p->getter = Py_None; Py_INCREF(Py_None);
  p->setter = Py_None; Py_INCREF(Py_None);
  p->bind_objects = ((PyObject*)Py_None); Py_INCREF(Py_None);
  if (unlikely(__pyx_pw_4kivy_10properties_13AliasProperty_1__cinit__(o, __pyx_mstate_global->__pyx_empty_tuple, NULL) < 0)) goto bad;
  return o;
  bad:
  Py_DECREF(o); o = 0;
  return NULL;
}

static void __pyx_tp_dealloc_4kivy_10properties_AliasProperty(PyObject *o) {
  struct __pyx_obj_4kivy_10properties_AliasProperty *p = (struct __pyx_obj_4kivy_10properties_AliasProperty *)o;
  #if CYTHON_USE_TP_FINALIZE
  if (unlikely(__Pyx_PyObject_GetSlot(o, tp_finalize, destructor)) && !__Pyx_PyObject_GC_IsFinalized(o)) {
    if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc_4kivy_10properties_AliasProperty) {
      if (PyObject_CallFinalizerFromDealloc(o)) return;
    }
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->getter);
  Py_CLEAR(p->setter);
  Py_CLEAR(p->bind_objects);
  PyObject_GC_Track(o);
  __pyx_tp_dealloc_4kivy_10properties_Property(o);
}

static int __pyx_tp_traverse_4kivy_10properties_AliasProperty(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_4kivy_10properties_AliasProperty *p = (struct __pyx_obj_4kivy_10properties_AliasProperty *)o;
  e = __pyx_tp_traverse_4kivy_10properties_Property(o, v, a); if (e) return e;
  if (p->getter) {
    e = (*v)(p->getter, a); if (e) return e;
  }
  if (p->setter) {
    e = (*v)(p->setter, a); if (e) return e;
  }
  if (p->bind_objects) {
    e = (*v)(p->bind_objects, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_4kivy_10properties_AliasProperty(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_4kivy_10properties_AliasProperty *p = (struct __pyx_obj_4kivy_10properties_AliasProperty *)o;
  __pyx_tp_clear_4kivy_10properties_Property(o);
  tmp = ((PyObject*)p->getter);
  p->getter = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->setter);
  p->setter = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->bind_objects);
  p->bind_objects = ((PyObject*)Py_None); Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}

static PyObject *__pyx_getprop_4kivy_10properties_13AliasProperty_rebind(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_4kivy_10properties_13AliasProperty_6rebind_1__get__(o);
}

static int __pyx_setprop_4kivy_10properties_13AliasProperty_rebind(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_4kivy_10properties_13AliasProperty_6rebind_3__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static PyMethodDef __pyx_methods_4kivy_10properties_AliasProperty[] = {
  {"_AliasProperty__read_only", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_13AliasProperty_5_AliasProperty__read_only, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_13AliasProperty_4__read_only},
  {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_13AliasProperty_17__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_13AliasProperty_16__reduce_cython__},
  {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_13AliasProperty_19__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_13AliasProperty_18__setstate_cython__},
  {0, 0, 0, 0}
};

static struct PyGetSetDef __pyx_getsets_4kivy_10properties_AliasProperty[] = {
  {"rebind", __pyx_getprop_4kivy_10properties_13AliasProperty_rebind, __pyx_setprop_4kivy_10properties_13AliasProperty_rebind, PyDoc_STR("rebind: 'int'"), 0},
  {0, 0, 0, 0, 0}
};
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_AliasProperty_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_AliasProperty},
  {Py_tp_doc, (void *)PyDoc_STR("AliasProperty(getter, setter=None, rebind=False, watch_before_use=True, **kwargs)\n\nCreate a property with a custom getter and setter.\n\nIf you don't find a Property class that fits to your needs, you can make\nyour own by creating custom Python getter and setter methods.\n\nExample from kivy/uix/widget.py where `x` and `width` are instances of\n:class:`NumericProperty`::\n\n    def get_right(self):\n        return self.x + self.width\n    def set_right(self, value):\n        self.x = value - self.width\n    right = AliasProperty(get_right, set_right, bind=['x', 'width'])\n\nIf `x` were a non Kivy property then you have to return `True` from setter\nto dispatch new value of `right`::\n\n    def set_right(self, value):\n        self.x = value - self.width\n        return True\n\nUsually `bind` list should contain all Kivy properties used in getter\nmethod. If you return `True` it will cause a dispatch which one should do\nwhen the property value has changed, but keep in mind that the property\ncould already have dispatched the changed value if a kivy property the\nalias property is bound was set in the setter, causing a second dispatch\nif the setter returns `True`.\n\nIf you want to cache the value returned by getter then pass `cache=True`.\nThis way getter will only be called if new value is set or one of the\nbinded properties changes. In both cases new value of alias property will\nbe cached again.\n\nTo make property readonly pass `None` as setter. This way `AttributeError`\nwill be raised on every set attempt::\n\n    right = AliasProperty(get_right, None, bind=['x', 'width'], cache=True)\n\n:Parameters:\n    `getter`: function\n        Function to use as a property getter.\n    `setter`: function\n        Function to use as a property setter. Callbacks bound to the\n        alias property won't be called when the property is set (e.g.\n        `right = 10`), unless the setter returns `True`.\n    `bind`: list/tuple\n        Properties to observe for changes ""as property name strings.\n        Changing values of this properties will dispatch value of the\n        alias property.\n    `cache`: boolean\n        If `True`, the value will be cached until one of the binded\n        elements changes or if setter returns `True`.\n    `rebind`: bool, defaults to `False`\n        See :class:`ObjectProperty` for details.\n    `watch_before_use`: bool, defaults to ``True``\n        Whether the ``bind`` properties are tracked (bound) before this\n        property is used in any way.\n\n        By default, the getter is called if the ``bind`` properties update\n        or if the property value (unless cached) is read. As an\n        optimization to speed up widget creation, when ``watch_before_use``\n        is False, we only track the bound properties once this property is\n        used in any way (i.e. it is bound, it was set/read, etc).\n\n        The property value read/set/bound will be correct as expected in\n        both cases. The difference is only that when ``False``, any side\n        effects from the ``getter`` would not occur until this property is\n        interacted with in any way because the ``getter`` won't be called\n        early.\n\n.. versionchanged:: 1.9.0\n    `rebind` has been introduced.\n\n.. versionchanged:: 1.4.0\n    Parameter `cache` added.")},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_AliasProperty},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_AliasProperty},
  {Py_tp_methods, (void *)__pyx_methods_4kivy_10properties_AliasProperty},
  {Py_tp_getset, (void *)__pyx_getsets_4kivy_10properties_AliasProperty},
  {Py_tp_init, (void *)__pyx_pw_4kivy_10properties_13AliasProperty_3__init__},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_AliasProperty},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_AliasProperty_spec = {
  "kivy.properties.AliasProperty",
  sizeof(struct __pyx_obj_4kivy_10properties_AliasProperty),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_AliasProperty_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_AliasProperty = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""AliasProperty", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_AliasProperty), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_AliasProperty, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_5__repr__, /*tp_repr*/
  #else
  0, /*tp_repr*/
  #endif
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_7__str__, /*tp_str*/
  #else
  0, /*tp_str*/
  #endif
  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*/
  PyDoc_STR("AliasProperty(getter, setter=None, rebind=False, watch_before_use=True, **kwargs)\n\nCreate a property with a custom getter and setter.\n\nIf you don't find a Property class that fits to your needs, you can make\nyour own by creating custom Python getter and setter methods.\n\nExample from kivy/uix/widget.py where `x` and `width` are instances of\n:class:`NumericProperty`::\n\n    def get_right(self):\n        return self.x + self.width\n    def set_right(self, value):\n        self.x = value - self.width\n    right = AliasProperty(get_right, set_right, bind=['x', 'width'])\n\nIf `x` were a non Kivy property then you have to return `True` from setter\nto dispatch new value of `right`::\n\n    def set_right(self, value):\n        self.x = value - self.width\n        return True\n\nUsually `bind` list should contain all Kivy properties used in getter\nmethod. If you return `True` it will cause a dispatch which one should do\nwhen the property value has changed, but keep in mind that the property\ncould already have dispatched the changed value if a kivy property the\nalias property is bound was set in the setter, causing a second dispatch\nif the setter returns `True`.\n\nIf you want to cache the value returned by getter then pass `cache=True`.\nThis way getter will only be called if new value is set or one of the\nbinded properties changes. In both cases new value of alias property will\nbe cached again.\n\nTo make property readonly pass `None` as setter. This way `AttributeError`\nwill be raised on every set attempt::\n\n    right = AliasProperty(get_right, None, bind=['x', 'width'], cache=True)\n\n:Parameters:\n    `getter`: function\n        Function to use as a property getter.\n    `setter`: function\n        Function to use as a property setter. Callbacks bound to the\n        alias property won't be called when the property is set (e.g.\n        `right = 10`), unless the setter returns `True`.\n    `bind`: list/tuple\n        Properties to observe for changes ""as property name strings.\n        Changing values of this properties will dispatch value of the\n        alias property.\n    `cache`: boolean\n        If `True`, the value will be cached until one of the binded\n        elements changes or if setter returns `True`.\n    `rebind`: bool, defaults to `False`\n        See :class:`ObjectProperty` for details.\n    `watch_before_use`: bool, defaults to ``True``\n        Whether the ``bind`` properties are tracked (bound) before this\n        property is used in any way.\n\n        By default, the getter is called if the ``bind`` properties update\n        or if the property value (unless cached) is read. As an\n        optimization to speed up widget creation, when ``watch_before_use``\n        is False, we only track the bound properties once this property is\n        used in any way (i.e. it is bound, it was set/read, etc).\n\n        The property value read/set/bound will be correct as expected in\n        both cases. The difference is only that when ``False``, any side\n        effects from the ``getter`` would not occur until this property is\n        interacted with in any way because the ``getter`` won't be called\n        early.\n\n.. versionchanged:: 1.9.0\n    `rebind` has been introduced.\n\n.. versionchanged:: 1.4.0\n    Parameter `cache` added."), /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_AliasProperty, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_AliasProperty, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_4kivy_10properties_AliasProperty, /*tp_methods*/
  0, /*tp_members*/
  __pyx_getsets_4kivy_10properties_AliasProperty, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  __pyx_pw_4kivy_10properties_13AliasProperty_3__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_AliasProperty, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif

static PyObject *__pyx_tp_new_4kivy_10properties_VariableListPropertyStorage(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *p;
  PyObject *o = __pyx_tp_new_4kivy_10properties_PropertyStorage(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *)o);
  p->original_num = Py_None; Py_INCREF(Py_None);
  return o;
}

static void __pyx_tp_dealloc_4kivy_10properties_VariableListPropertyStorage(PyObject *o) {
  struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *p = (struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *)o;
  #if CYTHON_USE_TP_FINALIZE
  if (unlikely(__Pyx_PyObject_GetSlot(o, tp_finalize, destructor)) && !__Pyx_PyObject_GC_IsFinalized(o)) {
    if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc_4kivy_10properties_VariableListPropertyStorage) {
      if (PyObject_CallFinalizerFromDealloc(o)) return;
    }
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->original_num);
  PyObject_GC_Track(o);
  __pyx_tp_dealloc_4kivy_10properties_PropertyStorage(o);
}

static int __pyx_tp_traverse_4kivy_10properties_VariableListPropertyStorage(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *p = (struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *)o;
  e = __pyx_tp_traverse_4kivy_10properties_PropertyStorage(o, v, a); if (e) return e;
  if (p->original_num) {
    e = (*v)(p->original_num, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_4kivy_10properties_VariableListPropertyStorage(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *p = (struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *)o;
  __pyx_tp_clear_4kivy_10properties_PropertyStorage(o);
  tmp = ((PyObject*)p->original_num);
  p->original_num = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_VariableListPropertyStorage_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_VariableListPropertyStorage},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_VariableListPropertyStorage},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_VariableListPropertyStorage},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_VariableListPropertyStorage},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_VariableListPropertyStorage_spec = {
  "kivy.properties.VariableListPropertyStorage",
  sizeof(struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_VariableListPropertyStorage_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_VariableListPropertyStorage = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""VariableListPropertyStorage", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_VariableListPropertyStorage, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  0, /*tp_repr*/
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  0, /*tp_str*/
  0, /*tp_getattro*/
  0, /*tp_setattro*/
  0, /*tp_as_buffer*/
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
  0, /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_VariableListPropertyStorage, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_VariableListPropertyStorage, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  0, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  0, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_VariableListPropertyStorage, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif
static struct __pyx_vtabstruct_4kivy_10properties_VariableListProperty __pyx_vtable_4kivy_10properties_VariableListProperty;

static PyObject *__pyx_tp_new_4kivy_10properties_VariableListProperty(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_4kivy_10properties_VariableListProperty *p;
  PyObject *o = __pyx_tp_new_4kivy_10properties_Property(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_VariableListProperty *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4kivy_10properties_Property*)__pyx_vtabptr_4kivy_10properties_VariableListProperty;
  return o;
}

static PyObject *__pyx_getprop_4kivy_10properties_20VariableListProperty_length(PyObject *o, CYTHON_UNUSED void *x) {
  return __pyx_pw_4kivy_10properties_20VariableListProperty_6length_1__get__(o);
}

static int __pyx_setprop_4kivy_10properties_20VariableListProperty_length(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_4kivy_10properties_20VariableListProperty_6length_3__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

static PyMethodDef __pyx_methods_4kivy_10properties_VariableListProperty[] = {
  {"_dpi_callback", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_20VariableListProperty_3_dpi_callback, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_20VariableListProperty_2_dpi_callback},
  {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_20VariableListProperty_7__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_20VariableListProperty_6__reduce_cython__},
  {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_20VariableListProperty_9__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_20VariableListProperty_8__setstate_cython__},
  {0, 0, 0, 0}
};

static struct PyGetSetDef __pyx_getsets_4kivy_10properties_VariableListProperty[] = {
  {"length", __pyx_getprop_4kivy_10properties_20VariableListProperty_length, __pyx_setprop_4kivy_10properties_20VariableListProperty_length, PyDoc_STR("length: 'int'"), 0},
  {0, 0, 0, 0, 0}
};
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_VariableListProperty_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_Property},
  {Py_tp_doc, (void *)PyDoc_STR("VariableListProperty(defaultvalue=None, length=4, **kw)\n\nA ListProperty that allows you to work with a variable amount of\nlist items and to expand them to the desired list size.\n\nFor example, GridLayout's padding used to just accept one numeric value\nwhich was applied equally to the left, top, right and bottom of the\nGridLayout. Now padding can be given one, two or four values, which are\nexpanded into a length four list [left, top, right, bottom] and stored\nin the property.\n\n:Parameters:\n    `default`: a default list of values\n        Specifies the default values for the list.\n    `length`: int, one of 2 or 4.\n        Specifies the length of the final list. The `default` list will\n        be expanded to match a list of this length.\n    `\\*\\*kwargs`: a list of keyword arguments\n        Not currently used.\n\nKeeping in mind that the `default` list is expanded to a list of length 4,\nhere are some examples of how VariableListProperty is handled.\n\n- VariableListProperty([1]) represents [1, 1, 1, 1].\n- VariableListProperty([1, 2]) represents [1, 2, 1, 2].\n- VariableListProperty(['1px', (2, 'px'), 3, 4.0]) represents [1, 2, 3, 4.0].\n- VariableListProperty(5) represents [5, 5, 5, 5].\n- VariableListProperty(3, length=2) represents [3, 3].\n\n.. versionadded:: 1.7.0")},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_Property},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_Property},
  {Py_tp_methods, (void *)__pyx_methods_4kivy_10properties_VariableListProperty},
  {Py_tp_getset, (void *)__pyx_getsets_4kivy_10properties_VariableListProperty},
  {Py_tp_init, (void *)__pyx_pw_4kivy_10properties_20VariableListProperty_1__init__},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_VariableListProperty},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_VariableListProperty_spec = {
  "kivy.properties.VariableListProperty",
  sizeof(struct __pyx_obj_4kivy_10properties_VariableListProperty),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_VariableListProperty_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_VariableListProperty = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""VariableListProperty", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_VariableListProperty), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_Property, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_5__repr__, /*tp_repr*/
  #else
  0, /*tp_repr*/
  #endif
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_7__str__, /*tp_str*/
  #else
  0, /*tp_str*/
  #endif
  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*/
  PyDoc_STR("VariableListProperty(defaultvalue=None, length=4, **kw)\n\nA ListProperty that allows you to work with a variable amount of\nlist items and to expand them to the desired list size.\n\nFor example, GridLayout's padding used to just accept one numeric value\nwhich was applied equally to the left, top, right and bottom of the\nGridLayout. Now padding can be given one, two or four values, which are\nexpanded into a length four list [left, top, right, bottom] and stored\nin the property.\n\n:Parameters:\n    `default`: a default list of values\n        Specifies the default values for the list.\n    `length`: int, one of 2 or 4.\n        Specifies the length of the final list. The `default` list will\n        be expanded to match a list of this length.\n    `\\*\\*kwargs`: a list of keyword arguments\n        Not currently used.\n\nKeeping in mind that the `default` list is expanded to a list of length 4,\nhere are some examples of how VariableListProperty is handled.\n\n- VariableListProperty([1]) represents [1, 1, 1, 1].\n- VariableListProperty([1, 2]) represents [1, 2, 1, 2].\n- VariableListProperty(['1px', (2, 'px'), 3, 4.0]) represents [1, 2, 3, 4.0].\n- VariableListProperty(5) represents [5, 5, 5, 5].\n- VariableListProperty(3, length=2) represents [3, 3].\n\n.. versionadded:: 1.7.0"), /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_Property, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_Property, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_4kivy_10properties_VariableListProperty, /*tp_methods*/
  0, /*tp_members*/
  __pyx_getsets_4kivy_10properties_VariableListProperty, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  __pyx_pw_4kivy_10properties_20VariableListProperty_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_VariableListProperty, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif
static struct __pyx_vtabstruct_4kivy_10properties_ConfigParserProperty __pyx_vtable_4kivy_10properties_ConfigParserProperty;

static PyObject *__pyx_tp_new_4kivy_10properties_ConfigParserProperty(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_4kivy_10properties_ConfigParserProperty *p;
  PyObject *o = __pyx_tp_new_4kivy_10properties_Property(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_ConfigParserProperty *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4kivy_10properties_Property*)__pyx_vtabptr_4kivy_10properties_ConfigParserProperty;
  p->config = Py_None; Py_INCREF(Py_None);
  p->section = Py_None; Py_INCREF(Py_None);
  p->key = Py_None; Py_INCREF(Py_None);
  p->val_type = Py_None; Py_INCREF(Py_None);
  p->verify = Py_None; Py_INCREF(Py_None);
  p->obj = Py_None; Py_INCREF(Py_None);
  p->last_value = Py_None; Py_INCREF(Py_None);
  p->config_name = Py_None; Py_INCREF(Py_None);
  if (unlikely(__pyx_pw_4kivy_10properties_20ConfigParserProperty_1__cinit__(o, __pyx_mstate_global->__pyx_empty_tuple, NULL) < 0)) goto bad;
  return o;
  bad:
  Py_DECREF(o); o = 0;
  return NULL;
}

static void __pyx_tp_dealloc_4kivy_10properties_ConfigParserProperty(PyObject *o) {
  struct __pyx_obj_4kivy_10properties_ConfigParserProperty *p = (struct __pyx_obj_4kivy_10properties_ConfigParserProperty *)o;
  #if CYTHON_USE_TP_FINALIZE
  if (unlikely(__Pyx_PyObject_GetSlot(o, tp_finalize, destructor)) && !__Pyx_PyObject_GC_IsFinalized(o)) {
    if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc_4kivy_10properties_ConfigParserProperty) {
      if (PyObject_CallFinalizerFromDealloc(o)) return;
    }
  }
  #endif
  PyObject_GC_UnTrack(o);
  Py_CLEAR(p->config);
  Py_CLEAR(p->section);
  Py_CLEAR(p->key);
  Py_CLEAR(p->val_type);
  Py_CLEAR(p->verify);
  Py_CLEAR(p->obj);
  Py_CLEAR(p->last_value);
  Py_CLEAR(p->config_name);
  PyObject_GC_Track(o);
  __pyx_tp_dealloc_4kivy_10properties_Property(o);
}

static int __pyx_tp_traverse_4kivy_10properties_ConfigParserProperty(PyObject *o, visitproc v, void *a) {
  int e;
  struct __pyx_obj_4kivy_10properties_ConfigParserProperty *p = (struct __pyx_obj_4kivy_10properties_ConfigParserProperty *)o;
  e = __pyx_tp_traverse_4kivy_10properties_Property(o, v, a); if (e) return e;
  if (p->config) {
    e = (*v)(p->config, a); if (e) return e;
  }
  if (p->section) {
    e = (*v)(p->section, a); if (e) return e;
  }
  if (p->key) {
    e = (*v)(p->key, a); if (e) return e;
  }
  if (p->val_type) {
    e = (*v)(p->val_type, a); if (e) return e;
  }
  if (p->verify) {
    e = (*v)(p->verify, a); if (e) return e;
  }
  if (p->obj) {
    e = (*v)(p->obj, a); if (e) return e;
  }
  if (p->last_value) {
    e = (*v)(p->last_value, a); if (e) return e;
  }
  if (p->config_name) {
    e = (*v)(p->config_name, a); if (e) return e;
  }
  return 0;
}

static int __pyx_tp_clear_4kivy_10properties_ConfigParserProperty(PyObject *o) {
  PyObject* tmp;
  struct __pyx_obj_4kivy_10properties_ConfigParserProperty *p = (struct __pyx_obj_4kivy_10properties_ConfigParserProperty *)o;
  __pyx_tp_clear_4kivy_10properties_Property(o);
  tmp = ((PyObject*)p->config);
  p->config = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->section);
  p->section = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->key);
  p->key = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->val_type);
  p->val_type = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->verify);
  p->verify = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->obj);
  p->obj = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->last_value);
  p->last_value = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  tmp = ((PyObject*)p->config_name);
  p->config_name = Py_None; Py_INCREF(Py_None);
  Py_XDECREF(tmp);
  return 0;
}

static PyMethodDef __pyx_methods_4kivy_10properties_ConfigParserProperty[] = {
  {"set_config", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_20ConfigParserProperty_11set_config, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_20ConfigParserProperty_10set_config},
  {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_20ConfigParserProperty_13__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_20ConfigParserProperty_12__reduce_cython__},
  {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_20ConfigParserProperty_15__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_20ConfigParserProperty_14__setstate_cython__},
  {0, 0, 0, 0}
};
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_ConfigParserProperty_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_ConfigParserProperty},
  {Py_tp_doc, (void *)PyDoc_STR("ConfigParserProperty(defaultvalue, section, key, config, **kw)\n\nProperty that allows one to bind to changes in the configuration values\nof a :class:`~kivy.config.ConfigParser` as well as to bind the ConfigParser\nvalues to other properties.\n\nA ConfigParser is composed of sections, where each section has a number of\nkeys and values associated with these keys. ConfigParserProperty lets\nyou automatically listen to and change the values of specified keys based\non other kivy properties.\n\nFor example, say we want to have a TextInput automatically write\nits value, represented as an int, in the `info` section of a ConfigParser.\nAlso, the textinputs should update its values from the ConfigParser's\nfields. Finally, their values should be displayed in a label. In py::\n\n    class Info(Label):\n\n        number = ConfigParserProperty(0, 'info', 'number', 'example',\n                                      val_type=int, errorvalue=41)\n\n        def __init__(self, **kw):\n            super(Info, self).__init__(**kw)\n            config = ConfigParser(name='example')\n\nThe above code creates a property that is connected to the `number` key in\nthe `info` section of the ConfigParser named `example`. Initially, this\nConfigParser doesn't exist. Then, in `__init__`, a ConfigParser is created\nwith name `example`, which is then automatically linked with this property.\nthen in kv:\n\n.. code-block:: kv\n\n    BoxLayout:\n        TextInput:\n            id: number\n            text: str(info.number)\n        Info:\n            id: info\n            number: number.text\n            text: 'Number: {}'.format(self.number)\n\nYou'll notice that we have to do `text: str(info.number)`, this is because\nthe value of this property is always an int, because we specified `int` as\nthe `val_type`. However, we can assign anything to the property, e.g.\n`number: number.text` which assigns a string, because it is instantly\nconverted with the `val_type` callback.\n\n.. note::\n\n    If"" a file has been opened for this ConfigParser using\n    :meth:`~kivy.config.ConfigParser.read`, then\n    :meth:`~kivy.config.ConfigParser.write` will be called every property\n    change, keeping the file updated.\n\n.. warning::\n\n    It is recommend that the config parser object be assigned to the\n    property after the kv tree has been constructed (e.g. schedule on next\n    frame from init). This is because the kv tree and its properties, when\n    constructed, are evaluated on its own order, therefore, any initial\n    values in the parser might be overwritten by objects it's bound to.\n    So in the example above, the TextInput might be initially empty,\n    and if `number: number.text` is evaluated before\n    `text: str(info.number)`, the config value will be overwritten with the\n    (empty) text value.\n\n:Parameters:\n    `default`: object type\n        Specifies the default value for the key. If the parser associated\n        with this property doesn't have this section or key, it'll be\n        created with the current value, which is the default value\n        initially.\n    `section`: string type\n        The section in the ConfigParser where the key / value will be\n        written. Must be provided. If the section doesn't exist, it'll be\n        created.\n    `key`: string type\n        The key in section `section` where the value will be written to.\n        Must be provided. If the key doesn't exist, it'll be created and\n        the current value written to it, otherwise its value will be used.\n    `config`: string or :class:`~kivy.config.ConfigParser` instance.\n        The ConfigParser instance to associate with this property if\n        not None. If it's a string, the ConfigParser instance whose\n        :attr:`~kivy.config.ConfigParser.name` is the value of `config`\n        will be used. If no such parser exists yet, whenever a ConfigParser\n        with this name is created, it will automatically be linked to this\n        property.""\n\n        Whenever a ConfigParser becomes linked with a property, if the\n        section or key doesn't exist, the current property value will be\n        used to create that key, otherwise, the existing key value will be\n        used for the property value; overwriting its current value. You can\n        change the ConfigParser associated with this property if a string\n        was used here, by changing the\n        :attr:`~kivy.config.ConfigParser.name` of an existing or new\n        ConfigParser instance. Or through :meth:`set_config`.\n    `\\*\\*kwargs`: a list of keyword arguments\n        `val_type`: a callable object\n            The key values are saved in the ConfigParser as strings. When\n            the ConfigParser value is read internally and assigned to the\n            property or when the user changes the property value directly,\n            if `val_type` is not None, it will be called with the new value\n            as input and it should return the value converted to the proper\n            type accepted ny this property. For example, if the property\n            represent ints, `val_type` can simply be `int`.\n\n            If the `val_type` callback raises a `ValueError`, `errorvalue`\n            or `errorhandler` will be used if provided. Tip: the\n            `getboolean` function of the ConfigParser might also be useful\n            here to convert to a boolean type.\n        `verify`: a callable object\n            Can be used to restrict the allowable values of the property.\n            For every value assigned to the property, if this is specified,\n            `verify` is called with the new value, and if it returns `True`\n            the value is accepted, otherwise, `errorvalue` or\n            `errorhandler` will be used if provided or a `ValueError` is\n            raised.\n\n.. versionadded:: 1.9.0")},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_ConfigParserProperty},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_ConfigParserProperty},
  {Py_tp_methods, (void *)__pyx_methods_4kivy_10properties_ConfigParserProperty},
  {Py_tp_init, (void *)__pyx_pw_4kivy_10properties_20ConfigParserProperty_3__init__},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_ConfigParserProperty},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_ConfigParserProperty_spec = {
  "kivy.properties.ConfigParserProperty",
  sizeof(struct __pyx_obj_4kivy_10properties_ConfigParserProperty),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_ConfigParserProperty_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_ConfigParserProperty = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""ConfigParserProperty", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_ConfigParserProperty), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_ConfigParserProperty, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_5__repr__, /*tp_repr*/
  #else
  0, /*tp_repr*/
  #endif
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_7__str__, /*tp_str*/
  #else
  0, /*tp_str*/
  #endif
  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*/
  PyDoc_STR("ConfigParserProperty(defaultvalue, section, key, config, **kw)\n\nProperty that allows one to bind to changes in the configuration values\nof a :class:`~kivy.config.ConfigParser` as well as to bind the ConfigParser\nvalues to other properties.\n\nA ConfigParser is composed of sections, where each section has a number of\nkeys and values associated with these keys. ConfigParserProperty lets\nyou automatically listen to and change the values of specified keys based\non other kivy properties.\n\nFor example, say we want to have a TextInput automatically write\nits value, represented as an int, in the `info` section of a ConfigParser.\nAlso, the textinputs should update its values from the ConfigParser's\nfields. Finally, their values should be displayed in a label. In py::\n\n    class Info(Label):\n\n        number = ConfigParserProperty(0, 'info', 'number', 'example',\n                                      val_type=int, errorvalue=41)\n\n        def __init__(self, **kw):\n            super(Info, self).__init__(**kw)\n            config = ConfigParser(name='example')\n\nThe above code creates a property that is connected to the `number` key in\nthe `info` section of the ConfigParser named `example`. Initially, this\nConfigParser doesn't exist. Then, in `__init__`, a ConfigParser is created\nwith name `example`, which is then automatically linked with this property.\nthen in kv:\n\n.. code-block:: kv\n\n    BoxLayout:\n        TextInput:\n            id: number\n            text: str(info.number)\n        Info:\n            id: info\n            number: number.text\n            text: 'Number: {}'.format(self.number)\n\nYou'll notice that we have to do `text: str(info.number)`, this is because\nthe value of this property is always an int, because we specified `int` as\nthe `val_type`. However, we can assign anything to the property, e.g.\n`number: number.text` which assigns a string, because it is instantly\nconverted with the `val_type` callback.\n\n.. note::\n\n    If"" a file has been opened for this ConfigParser using\n    :meth:`~kivy.config.ConfigParser.read`, then\n    :meth:`~kivy.config.ConfigParser.write` will be called every property\n    change, keeping the file updated.\n\n.. warning::\n\n    It is recommend that the config parser object be assigned to the\n    property after the kv tree has been constructed (e.g. schedule on next\n    frame from init). This is because the kv tree and its properties, when\n    constructed, are evaluated on its own order, therefore, any initial\n    values in the parser might be overwritten by objects it's bound to.\n    So in the example above, the TextInput might be initially empty,\n    and if `number: number.text` is evaluated before\n    `text: str(info.number)`, the config value will be overwritten with the\n    (empty) text value.\n\n:Parameters:\n    `default`: object type\n        Specifies the default value for the key. If the parser associated\n        with this property doesn't have this section or key, it'll be\n        created with the current value, which is the default value\n        initially.\n    `section`: string type\n        The section in the ConfigParser where the key / value will be\n        written. Must be provided. If the section doesn't exist, it'll be\n        created.\n    `key`: string type\n        The key in section `section` where the value will be written to.\n        Must be provided. If the key doesn't exist, it'll be created and\n        the current value written to it, otherwise its value will be used.\n    `config`: string or :class:`~kivy.config.ConfigParser` instance.\n        The ConfigParser instance to associate with this property if\n        not None. If it's a string, the ConfigParser instance whose\n        :attr:`~kivy.config.ConfigParser.name` is the value of `config`\n        will be used. If no such parser exists yet, whenever a ConfigParser\n        with this name is created, it will automatically be linked to this\n        property.""\n\n        Whenever a ConfigParser becomes linked with a property, if the\n        section or key doesn't exist, the current property value will be\n        used to create that key, otherwise, the existing key value will be\n        used for the property value; overwriting its current value. You can\n        change the ConfigParser associated with this property if a string\n        was used here, by changing the\n        :attr:`~kivy.config.ConfigParser.name` of an existing or new\n        ConfigParser instance. Or through :meth:`set_config`.\n    `\\*\\*kwargs`: a list of keyword arguments\n        `val_type`: a callable object\n            The key values are saved in the ConfigParser as strings. When\n            the ConfigParser value is read internally and assigned to the\n            property or when the user changes the property value directly,\n            if `val_type` is not None, it will be called with the new value\n            as input and it should return the value converted to the proper\n            type accepted ny this property. For example, if the property\n            represent ints, `val_type` can simply be `int`.\n\n            If the `val_type` callback raises a `ValueError`, `errorvalue`\n            or `errorhandler` will be used if provided. Tip: the\n            `getboolean` function of the ConfigParser might also be useful\n            here to convert to a boolean type.\n        `verify`: a callable object\n            Can be used to restrict the allowable values of the property.\n            For every value assigned to the property, if this is specified,\n            `verify` is called with the new value, and if it returns `True`\n            the value is accepted, otherwise, `errorvalue` or\n            `errorhandler` will be used if provided or a `ValueError` is\n            raised.\n\n.. versionadded:: 1.9.0"), /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_ConfigParserProperty, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_ConfigParserProperty, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_4kivy_10properties_ConfigParserProperty, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  __pyx_pw_4kivy_10properties_20ConfigParserProperty_3__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_ConfigParserProperty, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif
static struct __pyx_vtabstruct_4kivy_10properties_ColorProperty __pyx_vtable_4kivy_10properties_ColorProperty;

static PyObject *__pyx_tp_new_4kivy_10properties_ColorProperty(PyTypeObject *t, PyObject *a, PyObject *k) {
  struct __pyx_obj_4kivy_10properties_ColorProperty *p;
  PyObject *o = __pyx_tp_new_4kivy_10properties_Property(t, a, k);
  if (unlikely(!o)) return 0;
  p = ((struct __pyx_obj_4kivy_10properties_ColorProperty *)o);
  p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_4kivy_10properties_Property*)__pyx_vtabptr_4kivy_10properties_ColorProperty;
  return o;
}

static PyMethodDef __pyx_methods_4kivy_10properties_ColorProperty[] = {
  {"__reduce_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_13ColorProperty_3__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_13ColorProperty_2__reduce_cython__},
  {"__setstate_cython__", (PyCFunction)(void(*)(void))(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_4kivy_10properties_13ColorProperty_5__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_4kivy_10properties_13ColorProperty_4__setstate_cython__},
  {0, 0, 0, 0}
};
#if CYTHON_USE_TYPE_SPECS
static PyType_Slot __pyx_type_4kivy_10properties_ColorProperty_slots[] = {
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_4kivy_10properties_Property},
  {Py_tp_doc, (void *)PyDoc_STR("ColorProperty(defaultvalue=0, **kw)\n\nProperty that represents a color. The assignment can take either:\n\n- a collection of 3 or 4 float values between 0-1 (kivy default)\n- a string in the format #rrggbb or #rrggbbaa\n- a string representing color name (eg. 'red', 'yellow', 'green')\n\nObject :obj:`~kivy.utils.colormap` is used to retrieve color from color\nname and names definitions can be found at this\n`link <https://www.w3.org/TR/SVG11/types.html#ColorKeywords>`_. Color can\nbe assigned in different formats, but it will be returned as\n:class:`~kivy.properties.ObservableList` of 4 float elements with values\nbetween 0-1.\n\n:Parameters:\n    `defaultvalue`: list or string, defaults to [1.0, 1.0, 1.0, 1.0]\n        Specifies the default value of the property.\n\n.. versionadded:: 1.10.0\n\n.. versionchanged:: 2.0.0\n    Color value will be dispatched when set through indexing or slicing,\n    but when setting with slice you must ensure that slice has 4 components\n    with float values between 0-1.\n    Assingning color name as value is now supported.\n    Value `None` is allowed as default value for property.")},
  {Py_tp_traverse, (void *)__pyx_tp_traverse_4kivy_10properties_Property},
  {Py_tp_clear, (void *)__pyx_tp_clear_4kivy_10properties_Property},
  {Py_tp_methods, (void *)__pyx_methods_4kivy_10properties_ColorProperty},
  {Py_tp_init, (void *)__pyx_pw_4kivy_10properties_13ColorProperty_1__init__},
  {Py_tp_new, (void *)__pyx_tp_new_4kivy_10properties_ColorProperty},
  {0, 0},
};
static PyType_Spec __pyx_type_4kivy_10properties_ColorProperty_spec = {
  "kivy.properties.ColorProperty",
  sizeof(struct __pyx_obj_4kivy_10properties_ColorProperty),
  0,
  Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
  __pyx_type_4kivy_10properties_ColorProperty_slots,
};
#else

static PyTypeObject __pyx_type_4kivy_10properties_ColorProperty = {
  PyVarObject_HEAD_INIT(0, 0)
  "kivy.properties.""ColorProperty", /*tp_name*/
  sizeof(struct __pyx_obj_4kivy_10properties_ColorProperty), /*tp_basicsize*/
  0, /*tp_itemsize*/
  __pyx_tp_dealloc_4kivy_10properties_Property, /*tp_dealloc*/
  0, /*tp_vectorcall_offset*/
  0, /*tp_getattr*/
  0, /*tp_setattr*/
  0, /*tp_as_async*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_5__repr__, /*tp_repr*/
  #else
  0, /*tp_repr*/
  #endif
  0, /*tp_as_number*/
  0, /*tp_as_sequence*/
  0, /*tp_as_mapping*/
  0, /*tp_hash*/
  0, /*tp_call*/
  #if CYTHON_COMPILING_IN_PYPY || 0
  __pyx_pw_4kivy_10properties_8Property_7__str__, /*tp_str*/
  #else
  0, /*tp_str*/
  #endif
  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*/
  PyDoc_STR("ColorProperty(defaultvalue=0, **kw)\n\nProperty that represents a color. The assignment can take either:\n\n- a collection of 3 or 4 float values between 0-1 (kivy default)\n- a string in the format #rrggbb or #rrggbbaa\n- a string representing color name (eg. 'red', 'yellow', 'green')\n\nObject :obj:`~kivy.utils.colormap` is used to retrieve color from color\nname and names definitions can be found at this\n`link <https://www.w3.org/TR/SVG11/types.html#ColorKeywords>`_. Color can\nbe assigned in different formats, but it will be returned as\n:class:`~kivy.properties.ObservableList` of 4 float elements with values\nbetween 0-1.\n\n:Parameters:\n    `defaultvalue`: list or string, defaults to [1.0, 1.0, 1.0, 1.0]\n        Specifies the default value of the property.\n\n.. versionadded:: 1.10.0\n\n.. versionchanged:: 2.0.0\n    Color value will be dispatched when set through indexing or slicing,\n    but when setting with slice you must ensure that slice has 4 components\n    with float values between 0-1.\n    Assingning color name as value is now supported.\n    Value `None` is allowed as default value for property."), /*tp_doc*/
  __pyx_tp_traverse_4kivy_10properties_Property, /*tp_traverse*/
  __pyx_tp_clear_4kivy_10properties_Property, /*tp_clear*/
  0, /*tp_richcompare*/
  0, /*tp_weaklistoffset*/
  0, /*tp_iter*/
  0, /*tp_iternext*/
  __pyx_methods_4kivy_10properties_ColorProperty, /*tp_methods*/
  0, /*tp_members*/
  0, /*tp_getset*/
  0, /*tp_base*/
  0, /*tp_dict*/
  0, /*tp_descr_get*/
  0, /*tp_descr_set*/
  #if !CYTHON_USE_TYPE_SPECS
  0, /*tp_dictoffset*/
  #endif
  __pyx_pw_4kivy_10properties_13ColorProperty_1__init__, /*tp_init*/
  0, /*tp_alloc*/
  __pyx_tp_new_4kivy_10properties_ColorProperty, /*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 CYTHON_USE_TP_FINALIZE
  0, /*tp_finalize*/
  #else
  NULL, /*tp_finalize*/
  #endif
  #if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800
  0, /*tp_vectorcall*/
  #endif
  #if __PYX_NEED_TP_PRINT_SLOT == 1
  0, /*tp_print*/
  #endif
  #if PY_VERSION_HEX >= 0x030C0000
  0, /*tp_watched*/
  #endif
  #if PY_VERSION_HEX >= 0x030d00A4
  0, /*tp_versions_used*/
  #endif
  #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
  0, /*tp_pypy_flags*/
  #endif
};
#endif

static PyMethodDef __pyx_methods[] = {
  {0, 0, 0, 0}
};
/* #### Code section: initfunc_declarations ### */
static CYTHON_SMALL_CODE int __Pyx_InitCachedBuiltins(__pyx_mstatetype *__pyx_mstate); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_InitGlobals(void); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_InitConstants(__pyx_mstatetype *__pyx_mstate); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_global_init_code(__pyx_mstatetype *__pyx_mstate); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_variable_export_code(__pyx_mstatetype *__pyx_mstate); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_function_export_code(__pyx_mstatetype *__pyx_mstate); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_variable_import_code(__pyx_mstatetype *__pyx_mstate); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_modinit_function_import_code(__pyx_mstatetype *__pyx_mstate); /*proto*/
static CYTHON_SMALL_CODE int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate); /*proto*/
/* #### Code section: init_module ### */

static int __Pyx_modinit_global_init_code(__pyx_mstatetype *__pyx_mstate) {
  __Pyx_RefNannyDeclarations
  CYTHON_UNUSED_VAR(__pyx_mstate);
  __Pyx_RefNannySetupContext("__Pyx_modinit_global_init_code", 0);
  /*--- Global init code ---*/
  __Pyx_RefNannyFinishContext();
  return 0;
}

static int __Pyx_modinit_variable_export_code(__pyx_mstatetype *__pyx_mstate) {
  __Pyx_RefNannyDeclarations
  CYTHON_UNUSED_VAR(__pyx_mstate);
  __Pyx_RefNannySetupContext("__Pyx_modinit_variable_export_code", 0);
  /*--- Variable export code ---*/
  __Pyx_RefNannyFinishContext();
  return 0;
}

static int __Pyx_modinit_function_export_code(__pyx_mstatetype *__pyx_mstate) {
  __Pyx_RefNannyDeclarations
  CYTHON_UNUSED_VAR(__pyx_mstate);
  __Pyx_RefNannySetupContext("__Pyx_modinit_function_export_code", 0);
  /*--- Function export code ---*/
  __Pyx_RefNannyFinishContext();
  return 0;
}

static int __Pyx_modinit_type_init_code(__pyx_mstatetype *__pyx_mstate) {
  __Pyx_RefNannyDeclarations
  CYTHON_UNUSED_VAR(__pyx_mstate);
  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 CYTHON_USE_TYPE_SPECS
  __pyx_mstate->__pyx_ptype_4kivy_10properties_PropertyStorage = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_PropertyStorage_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_PropertyStorage)) __PYX_ERR(2, 5, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_PropertyStorage_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_PropertyStorage) < (0)) __PYX_ERR(2, 5, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_PropertyStorage = &__pyx_type_4kivy_10properties_PropertyStorage;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_PropertyStorage) < (0)) __PYX_ERR(2, 5, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_PropertyStorage);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_PropertyStorage->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_PropertyStorage->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_PropertyStorage->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_PropertyStorage, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_PropertyStorage) < (0)) __PYX_ERR(2, 5, __pyx_L1_error)
  __pyx_vtabptr_4kivy_10properties_Property = &__pyx_vtable_4kivy_10properties_Property;
  __pyx_vtable_4kivy_10properties_Property.init_storage = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_8Property_init_storage;
  __pyx_vtable_4kivy_10properties_Property.create_property_storage = (struct __pyx_obj_4kivy_10properties_PropertyStorage *(*)(struct __pyx_obj_4kivy_10properties_Property *))__pyx_f_4kivy_10properties_8Property_create_property_storage;
  __pyx_vtable_4kivy_10properties_Property.get_property_storage = (struct __pyx_obj_4kivy_10properties_PropertyStorage *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *))__pyx_f_4kivy_10properties_8Property_get_property_storage;
  __pyx_vtable_4kivy_10properties_Property.set_name = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_8Property_set_name;
  __pyx_vtable_4kivy_10properties_Property.link_eagerly = (struct __pyx_obj_4kivy_10properties_PropertyStorage *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_8Property_link_eagerly;
  __pyx_vtable_4kivy_10properties_Property.link = (struct __pyx_obj_4kivy_10properties_PropertyStorage *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_8Property_link;
  __pyx_vtable_4kivy_10properties_Property.link_deps = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_8Property_link_deps;
  __pyx_vtable_4kivy_10properties_Property.bind = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_8Property_bind;
  __pyx_vtable_4kivy_10properties_Property.fbind = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int, int __pyx_skip_dispatch, struct __pyx_opt_args_4kivy_10properties_8Property_fbind *__pyx_optional_args))__pyx_f_4kivy_10properties_8Property_fbind;
  __pyx_vtable_4kivy_10properties_Property.unbind = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch, struct __pyx_opt_args_4kivy_10properties_8Property_unbind *__pyx_optional_args))__pyx_f_4kivy_10properties_8Property_unbind;
  __pyx_vtable_4kivy_10properties_Property.funbind = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch, struct __pyx_opt_args_4kivy_10properties_8Property_funbind *__pyx_optional_args))__pyx_f_4kivy_10properties_8Property_funbind;
  __pyx_vtable_4kivy_10properties_Property.unbind_uid = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_8Property_unbind_uid;
  __pyx_vtable_4kivy_10properties_Property.compare_value = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, PyObject *, PyObject *))__pyx_f_4kivy_10properties_8Property_compare_value;
  __pyx_vtable_4kivy_10properties_Property.set = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_8Property_set;
  __pyx_vtable_4kivy_10properties_Property.get = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_8Property_get;
  __pyx_vtable_4kivy_10properties_Property.check = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_8Property_check;
  __pyx_vtable_4kivy_10properties_Property.convert = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_8Property_convert;
  __pyx_vtable_4kivy_10properties_Property.dispatch = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_8Property_dispatch;
  __pyx_vtable_4kivy_10properties_Property._dispatch = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_8Property__dispatch;
  #if CYTHON_USE_TYPE_SPECS
  __pyx_mstate->__pyx_ptype_4kivy_10properties_Property = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_Property_spec, NULL); if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_Property)) __PYX_ERR(0, 287, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_Property_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_Property) < (0)) __PYX_ERR(0, 287, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_Property = &__pyx_type_4kivy_10properties_Property;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_Property) < (0)) __PYX_ERR(0, 287, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_Property);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_Property->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_Property->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_Property->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_4kivy_10properties_Property, __pyx_vtabptr_4kivy_10properties_Property) < (0)) __PYX_ERR(0, 287, __pyx_L1_error)
  if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_4kivy_10properties_Property) < (0)) __PYX_ERR(0, 287, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_Property, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_Property) < (0)) __PYX_ERR(0, 287, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_Property) < (0)) __PYX_ERR(0, 287, __pyx_L1_error)
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 42, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_NumericPropertyStorage = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_NumericPropertyStorage_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_NumericPropertyStorage)) __PYX_ERR(2, 42, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_NumericPropertyStorage_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_NumericPropertyStorage) < (0)) __PYX_ERR(2, 42, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_NumericPropertyStorage = &__pyx_type_4kivy_10properties_NumericPropertyStorage;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_NumericPropertyStorage->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_NumericPropertyStorage) < (0)) __PYX_ERR(2, 42, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_NumericPropertyStorage);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_NumericPropertyStorage->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_NumericPropertyStorage->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_NumericPropertyStorage->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_NumericPropertyStorage, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_NumericPropertyStorage) < (0)) __PYX_ERR(2, 42, __pyx_L1_error)
  __pyx_vtabptr_4kivy_10properties_NumericProperty = &__pyx_vtable_4kivy_10properties_NumericProperty;
  __pyx_vtable_4kivy_10properties_NumericProperty.__pyx_base = *__pyx_vtabptr_4kivy_10properties_Property;
  __pyx_vtable_4kivy_10properties_NumericProperty.__pyx_base.init_storage = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_15NumericProperty_init_storage;
  __pyx_vtable_4kivy_10properties_NumericProperty.__pyx_base.create_property_storage = (struct __pyx_obj_4kivy_10properties_PropertyStorage *(*)(struct __pyx_obj_4kivy_10properties_Property *))__pyx_f_4kivy_10properties_15NumericProperty_create_property_storage;
  __pyx_vtable_4kivy_10properties_NumericProperty.__pyx_base.check = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_15NumericProperty_check;
  __pyx_vtable_4kivy_10properties_NumericProperty.__pyx_base.convert = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_15NumericProperty_convert;
  __pyx_vtable_4kivy_10properties_NumericProperty.parse_str = (float (*)(struct __pyx_obj_4kivy_10properties_NumericProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *))__pyx_f_4kivy_10properties_15NumericProperty_parse_str;
  __pyx_vtable_4kivy_10properties_NumericProperty.parse_list = (float (*)(struct __pyx_obj_4kivy_10properties_NumericProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, PyObject *, struct __pyx_obj_4kivy_10properties_NumericPropertyStorage *))__pyx_f_4kivy_10properties_15NumericProperty_parse_list;
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 628, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_NumericProperty = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_NumericProperty_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_NumericProperty)) __PYX_ERR(0, 628, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_NumericProperty_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_NumericProperty) < (0)) __PYX_ERR(0, 628, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_NumericProperty = &__pyx_type_4kivy_10properties_NumericProperty;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_NumericProperty->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_NumericProperty) < (0)) __PYX_ERR(0, 628, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_NumericProperty);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_NumericProperty->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_NumericProperty->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_NumericProperty->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_4kivy_10properties_NumericProperty, __pyx_vtabptr_4kivy_10properties_NumericProperty) < (0)) __PYX_ERR(0, 628, __pyx_L1_error)
  if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_4kivy_10properties_NumericProperty) < (0)) __PYX_ERR(0, 628, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_NumericProperty, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_NumericProperty) < (0)) __PYX_ERR(0, 628, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_NumericProperty) < (0)) __PYX_ERR(0, 628, __pyx_L1_error)
  __pyx_vtabptr_4kivy_10properties_StringProperty = &__pyx_vtable_4kivy_10properties_StringProperty;
  __pyx_vtable_4kivy_10properties_StringProperty.__pyx_base = *__pyx_vtabptr_4kivy_10properties_Property;
  __pyx_vtable_4kivy_10properties_StringProperty.__pyx_base.check = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_14StringProperty_check;
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 781, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_StringProperty = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_StringProperty_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_StringProperty)) __PYX_ERR(0, 781, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_StringProperty_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_StringProperty) < (0)) __PYX_ERR(0, 781, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_StringProperty = &__pyx_type_4kivy_10properties_StringProperty;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_StringProperty->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_StringProperty) < (0)) __PYX_ERR(0, 781, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_StringProperty);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_StringProperty->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_StringProperty->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_StringProperty->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_4kivy_10properties_StringProperty, __pyx_vtabptr_4kivy_10properties_StringProperty) < (0)) __PYX_ERR(0, 781, __pyx_L1_error)
  if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_4kivy_10properties_StringProperty) < (0)) __PYX_ERR(0, 781, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_StringProperty, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_StringProperty) < (0)) __PYX_ERR(0, 781, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_StringProperty) < (0)) __PYX_ERR(0, 781, __pyx_L1_error)
  __pyx_vtabptr_4kivy_10properties_ListProperty = &__pyx_vtable_4kivy_10properties_ListProperty;
  __pyx_vtable_4kivy_10properties_ListProperty.__pyx_base = *__pyx_vtabptr_4kivy_10properties_Property;
  __pyx_vtable_4kivy_10properties_ListProperty.__pyx_base.link = (struct __pyx_obj_4kivy_10properties_PropertyStorage *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_12ListProperty_link;
  __pyx_vtable_4kivy_10properties_ListProperty.__pyx_base.set = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_12ListProperty_set;
  __pyx_vtable_4kivy_10properties_ListProperty.__pyx_base.check = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_12ListProperty_check;
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 884, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_ListProperty = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_ListProperty_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_ListProperty)) __PYX_ERR(0, 884, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_ListProperty_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_ListProperty) < (0)) __PYX_ERR(0, 884, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_ListProperty = &__pyx_type_4kivy_10properties_ListProperty;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ListProperty->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_ListProperty) < (0)) __PYX_ERR(0, 884, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_ListProperty);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_ListProperty->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_ListProperty->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_ListProperty->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_4kivy_10properties_ListProperty, __pyx_vtabptr_4kivy_10properties_ListProperty) < (0)) __PYX_ERR(0, 884, __pyx_L1_error)
  if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_4kivy_10properties_ListProperty) < (0)) __PYX_ERR(0, 884, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_ListProperty, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_ListProperty) < (0)) __PYX_ERR(0, 884, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_ListProperty) < (0)) __PYX_ERR(0, 884, __pyx_L1_error)
  __pyx_vtabptr_4kivy_10properties_DictProperty = &__pyx_vtable_4kivy_10properties_DictProperty;
  __pyx_vtable_4kivy_10properties_DictProperty.__pyx_base = *__pyx_vtabptr_4kivy_10properties_Property;
  __pyx_vtable_4kivy_10properties_DictProperty.__pyx_base.link = (struct __pyx_obj_4kivy_10properties_PropertyStorage *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_12DictProperty_link;
  __pyx_vtable_4kivy_10properties_DictProperty.__pyx_base.set = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_12DictProperty_set;
  __pyx_vtable_4kivy_10properties_DictProperty.__pyx_base.check = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_12DictProperty_check;
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1008, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_DictProperty = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_DictProperty_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_DictProperty)) __PYX_ERR(0, 1008, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_DictProperty_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_DictProperty) < (0)) __PYX_ERR(0, 1008, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_DictProperty = &__pyx_type_4kivy_10properties_DictProperty;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_DictProperty->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_DictProperty) < (0)) __PYX_ERR(0, 1008, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_DictProperty);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_DictProperty->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_DictProperty->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_DictProperty->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_4kivy_10properties_DictProperty, __pyx_vtabptr_4kivy_10properties_DictProperty) < (0)) __PYX_ERR(0, 1008, __pyx_L1_error)
  if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_4kivy_10properties_DictProperty) < (0)) __PYX_ERR(0, 1008, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_DictProperty, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_DictProperty) < (0)) __PYX_ERR(0, 1008, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_DictProperty) < (0)) __PYX_ERR(0, 1008, __pyx_L1_error)
  __pyx_vtabptr_4kivy_10properties_ObjectProperty = &__pyx_vtable_4kivy_10properties_ObjectProperty;
  __pyx_vtable_4kivy_10properties_ObjectProperty.__pyx_base = *__pyx_vtabptr_4kivy_10properties_Property;
  __pyx_vtable_4kivy_10properties_ObjectProperty.__pyx_base.check = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_14ObjectProperty_check;
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1052, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_ObjectProperty = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_ObjectProperty_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_ObjectProperty)) __PYX_ERR(0, 1052, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_ObjectProperty_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_ObjectProperty) < (0)) __PYX_ERR(0, 1052, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_ObjectProperty = &__pyx_type_4kivy_10properties_ObjectProperty;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ObjectProperty->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_ObjectProperty) < (0)) __PYX_ERR(0, 1052, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_ObjectProperty);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_ObjectProperty->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_ObjectProperty->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_ObjectProperty->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_4kivy_10properties_ObjectProperty, __pyx_vtabptr_4kivy_10properties_ObjectProperty) < (0)) __PYX_ERR(0, 1052, __pyx_L1_error)
  if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_4kivy_10properties_ObjectProperty) < (0)) __PYX_ERR(0, 1052, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_ObjectProperty, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_ObjectProperty) < (0)) __PYX_ERR(0, 1052, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_ObjectProperty) < (0)) __PYX_ERR(0, 1052, __pyx_L1_error)
  __pyx_vtabptr_4kivy_10properties_BooleanProperty = &__pyx_vtable_4kivy_10properties_BooleanProperty;
  __pyx_vtable_4kivy_10properties_BooleanProperty.__pyx_base = *__pyx_vtabptr_4kivy_10properties_Property;
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1111, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_BooleanProperty = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_BooleanProperty_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_BooleanProperty)) __PYX_ERR(0, 1111, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_BooleanProperty_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_BooleanProperty) < (0)) __PYX_ERR(0, 1111, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_BooleanProperty = &__pyx_type_4kivy_10properties_BooleanProperty;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_BooleanProperty->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_BooleanProperty) < (0)) __PYX_ERR(0, 1111, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_BooleanProperty);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_BooleanProperty->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_BooleanProperty->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_BooleanProperty->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_4kivy_10properties_BooleanProperty, __pyx_vtabptr_4kivy_10properties_BooleanProperty) < (0)) __PYX_ERR(0, 1111, __pyx_L1_error)
  if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_4kivy_10properties_BooleanProperty) < (0)) __PYX_ERR(0, 1111, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_BooleanProperty, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_BooleanProperty) < (0)) __PYX_ERR(0, 1111, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_BooleanProperty) < (0)) __PYX_ERR(0, 1111, __pyx_L1_error)
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 70, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_BoundedNumericPropertyStorage_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage)) __PYX_ERR(2, 70, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_BoundedNumericPropertyStorage_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage) < (0)) __PYX_ERR(2, 70, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage = &__pyx_type_4kivy_10properties_BoundedNumericPropertyStorage;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage) < (0)) __PYX_ERR(2, 70, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_BoundedNumericPropertyStorage, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericPropertyStorage) < (0)) __PYX_ERR(2, 70, __pyx_L1_error)
  __pyx_vtabptr_4kivy_10properties_BoundedNumericProperty = &__pyx_vtable_4kivy_10properties_BoundedNumericProperty;
  __pyx_vtable_4kivy_10properties_BoundedNumericProperty.__pyx_base = *__pyx_vtabptr_4kivy_10properties_Property;
  __pyx_vtable_4kivy_10properties_BoundedNumericProperty.__pyx_base.init_storage = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_22BoundedNumericProperty_init_storage;
  __pyx_vtable_4kivy_10properties_BoundedNumericProperty.__pyx_base.create_property_storage = (struct __pyx_obj_4kivy_10properties_PropertyStorage *(*)(struct __pyx_obj_4kivy_10properties_Property *))__pyx_f_4kivy_10properties_22BoundedNumericProperty_create_property_storage;
  __pyx_vtable_4kivy_10properties_BoundedNumericProperty.__pyx_base.check = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_22BoundedNumericProperty_check;
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1122, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericProperty = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_BoundedNumericProperty_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericProperty)) __PYX_ERR(0, 1122, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_BoundedNumericProperty_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericProperty) < (0)) __PYX_ERR(0, 1122, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericProperty = &__pyx_type_4kivy_10properties_BoundedNumericProperty;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_BoundedNumericProperty->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericProperty) < (0)) __PYX_ERR(0, 1122, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericProperty);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericProperty->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericProperty->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericProperty->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericProperty, __pyx_vtabptr_4kivy_10properties_BoundedNumericProperty) < (0)) __PYX_ERR(0, 1122, __pyx_L1_error)
  if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericProperty) < (0)) __PYX_ERR(0, 1122, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_BoundedNumericProperty, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericProperty) < (0)) __PYX_ERR(0, 1122, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_BoundedNumericProperty) < (0)) __PYX_ERR(0, 1122, __pyx_L1_error)
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 88, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_OptionPropertyStorage = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_OptionPropertyStorage_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_OptionPropertyStorage)) __PYX_ERR(2, 88, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_OptionPropertyStorage_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_OptionPropertyStorage) < (0)) __PYX_ERR(2, 88, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_OptionPropertyStorage = &__pyx_type_4kivy_10properties_OptionPropertyStorage;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_OptionPropertyStorage->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_OptionPropertyStorage) < (0)) __PYX_ERR(2, 88, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_OptionPropertyStorage);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_OptionPropertyStorage->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_OptionPropertyStorage->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_OptionPropertyStorage->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_OptionPropertyStorage, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_OptionPropertyStorage) < (0)) __PYX_ERR(2, 88, __pyx_L1_error)
  __pyx_vtabptr_4kivy_10properties_OptionProperty = &__pyx_vtable_4kivy_10properties_OptionProperty;
  __pyx_vtable_4kivy_10properties_OptionProperty.__pyx_base = *__pyx_vtabptr_4kivy_10properties_Property;
  __pyx_vtable_4kivy_10properties_OptionProperty.__pyx_base.init_storage = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_14OptionProperty_init_storage;
  __pyx_vtable_4kivy_10properties_OptionProperty.__pyx_base.create_property_storage = (struct __pyx_obj_4kivy_10properties_PropertyStorage *(*)(struct __pyx_obj_4kivy_10properties_Property *))__pyx_f_4kivy_10properties_14OptionProperty_create_property_storage;
  __pyx_vtable_4kivy_10properties_OptionProperty.__pyx_base.check = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_14OptionProperty_check;
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1314, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_OptionProperty = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_OptionProperty_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_OptionProperty)) __PYX_ERR(0, 1314, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_OptionProperty_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_OptionProperty) < (0)) __PYX_ERR(0, 1314, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_OptionProperty = &__pyx_type_4kivy_10properties_OptionProperty;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_OptionProperty->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_OptionProperty) < (0)) __PYX_ERR(0, 1314, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_OptionProperty);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_OptionProperty->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_OptionProperty->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_OptionProperty->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_4kivy_10properties_OptionProperty, __pyx_vtabptr_4kivy_10properties_OptionProperty) < (0)) __PYX_ERR(0, 1314, __pyx_L1_error)
  if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_4kivy_10properties_OptionProperty) < (0)) __PYX_ERR(0, 1314, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_OptionProperty, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_OptionProperty) < (0)) __PYX_ERR(0, 1314, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_OptionProperty) < (0)) __PYX_ERR(0, 1314, __pyx_L1_error)
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 96, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_ReferenceListPropertyStorage_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage)) __PYX_ERR(2, 96, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_ReferenceListPropertyStorage_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage) < (0)) __PYX_ERR(2, 96, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage = &__pyx_type_4kivy_10properties_ReferenceListPropertyStorage;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage) < (0)) __PYX_ERR(2, 96, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_ReferenceListPropertyStorage, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListPropertyStorage) < (0)) __PYX_ERR(2, 96, __pyx_L1_error)
  __pyx_vtabptr_4kivy_10properties_ReferenceListProperty = &__pyx_vtable_4kivy_10properties_ReferenceListProperty;
  __pyx_vtable_4kivy_10properties_ReferenceListProperty.__pyx_base = *__pyx_vtabptr_4kivy_10properties_Property;
  __pyx_vtable_4kivy_10properties_ReferenceListProperty.__pyx_base.init_storage = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_21ReferenceListProperty_init_storage;
  __pyx_vtable_4kivy_10properties_ReferenceListProperty.__pyx_base.create_property_storage = (struct __pyx_obj_4kivy_10properties_PropertyStorage *(*)(struct __pyx_obj_4kivy_10properties_Property *))__pyx_f_4kivy_10properties_21ReferenceListProperty_create_property_storage;
  __pyx_vtable_4kivy_10properties_ReferenceListProperty.__pyx_base.link = (struct __pyx_obj_4kivy_10properties_PropertyStorage *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_21ReferenceListProperty_link;
  __pyx_vtable_4kivy_10properties_ReferenceListProperty.__pyx_base.link_deps = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_21ReferenceListProperty_link_deps;
  __pyx_vtable_4kivy_10properties_ReferenceListProperty.__pyx_base.set = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_21ReferenceListProperty_set;
  __pyx_vtable_4kivy_10properties_ReferenceListProperty.__pyx_base.get = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_21ReferenceListProperty_get;
  __pyx_vtable_4kivy_10properties_ReferenceListProperty.__pyx_base.check = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_21ReferenceListProperty_check;
  __pyx_vtable_4kivy_10properties_ReferenceListProperty.__pyx_base.convert = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_21ReferenceListProperty_convert;
  __pyx_vtable_4kivy_10properties_ReferenceListProperty.trigger_change = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_21ReferenceListProperty_trigger_change;
  __pyx_vtable_4kivy_10properties_ReferenceListProperty.setitem = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_ReferenceListProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_21ReferenceListProperty_setitem;
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1379, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListProperty = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_ReferenceListProperty_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListProperty)) __PYX_ERR(0, 1379, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_ReferenceListProperty_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListProperty) < (0)) __PYX_ERR(0, 1379, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListProperty = &__pyx_type_4kivy_10properties_ReferenceListProperty;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListProperty->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListProperty) < (0)) __PYX_ERR(0, 1379, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListProperty);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListProperty->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListProperty->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListProperty->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListProperty, __pyx_vtabptr_4kivy_10properties_ReferenceListProperty) < (0)) __PYX_ERR(0, 1379, __pyx_L1_error)
  if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListProperty) < (0)) __PYX_ERR(0, 1379, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_ReferenceListProperty, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListProperty) < (0)) __PYX_ERR(0, 1379, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_ReferenceListProperty) < (0)) __PYX_ERR(0, 1379, __pyx_L1_error)
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 107, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_AliasPropertyStorage = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_AliasPropertyStorage_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_AliasPropertyStorage)) __PYX_ERR(2, 107, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_AliasPropertyStorage_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_AliasPropertyStorage) < (0)) __PYX_ERR(2, 107, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_AliasPropertyStorage = &__pyx_type_4kivy_10properties_AliasPropertyStorage;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_AliasPropertyStorage->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_AliasPropertyStorage) < (0)) __PYX_ERR(2, 107, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_AliasPropertyStorage);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_AliasPropertyStorage->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_AliasPropertyStorage->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_AliasPropertyStorage->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_AliasPropertyStorage, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_AliasPropertyStorage) < (0)) __PYX_ERR(2, 107, __pyx_L1_error)
  __pyx_vtabptr_4kivy_10properties_AliasProperty = &__pyx_vtable_4kivy_10properties_AliasProperty;
  __pyx_vtable_4kivy_10properties_AliasProperty.__pyx_base = *__pyx_vtabptr_4kivy_10properties_Property;
  __pyx_vtable_4kivy_10properties_AliasProperty.__pyx_base.init_storage = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_13AliasProperty_init_storage;
  __pyx_vtable_4kivy_10properties_AliasProperty.__pyx_base.create_property_storage = (struct __pyx_obj_4kivy_10properties_PropertyStorage *(*)(struct __pyx_obj_4kivy_10properties_Property *))__pyx_f_4kivy_10properties_13AliasProperty_create_property_storage;
  __pyx_vtable_4kivy_10properties_AliasProperty.__pyx_base.link_eagerly = (struct __pyx_obj_4kivy_10properties_PropertyStorage *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_13AliasProperty_link_eagerly;
  __pyx_vtable_4kivy_10properties_AliasProperty.__pyx_base.link_deps = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_13AliasProperty_link_deps;
  __pyx_vtable_4kivy_10properties_AliasProperty.__pyx_base.set = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_13AliasProperty_set;
  __pyx_vtable_4kivy_10properties_AliasProperty.__pyx_base.get = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_13AliasProperty_get;
  __pyx_vtable_4kivy_10properties_AliasProperty.__pyx_base.check = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_13AliasProperty_check;
  __pyx_vtable_4kivy_10properties_AliasProperty.__pyx_base._dispatch = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_13AliasProperty__dispatch;
  __pyx_vtable_4kivy_10properties_AliasProperty.trigger_change = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_AliasProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_13AliasProperty_trigger_change;
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1512, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_AliasProperty = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_AliasProperty_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_AliasProperty)) __PYX_ERR(0, 1512, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_AliasProperty_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_AliasProperty) < (0)) __PYX_ERR(0, 1512, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_AliasProperty = &__pyx_type_4kivy_10properties_AliasProperty;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_AliasProperty->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_AliasProperty) < (0)) __PYX_ERR(0, 1512, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_AliasProperty);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_AliasProperty->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_AliasProperty->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_AliasProperty->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_4kivy_10properties_AliasProperty, __pyx_vtabptr_4kivy_10properties_AliasProperty) < (0)) __PYX_ERR(0, 1512, __pyx_L1_error)
  if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_4kivy_10properties_AliasProperty) < (0)) __PYX_ERR(0, 1512, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_AliasProperty, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_AliasProperty) < (0)) __PYX_ERR(0, 1512, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_AliasProperty) < (0)) __PYX_ERR(0, 1512, __pyx_L1_error)
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 123, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListPropertyStorage = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_VariableListPropertyStorage_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListPropertyStorage)) __PYX_ERR(2, 123, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_VariableListPropertyStorage_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListPropertyStorage) < (0)) __PYX_ERR(2, 123, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListPropertyStorage = &__pyx_type_4kivy_10properties_VariableListPropertyStorage;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_VariableListPropertyStorage->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_PropertyStorage;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListPropertyStorage) < (0)) __PYX_ERR(2, 123, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListPropertyStorage);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListPropertyStorage->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListPropertyStorage->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListPropertyStorage->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_VariableListPropertyStorage, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListPropertyStorage) < (0)) __PYX_ERR(2, 123, __pyx_L1_error)
  __pyx_vtabptr_4kivy_10properties_VariableListProperty = &__pyx_vtable_4kivy_10properties_VariableListProperty;
  __pyx_vtable_4kivy_10properties_VariableListProperty.__pyx_base = *__pyx_vtabptr_4kivy_10properties_Property;
  __pyx_vtable_4kivy_10properties_VariableListProperty.__pyx_base.create_property_storage = (struct __pyx_obj_4kivy_10properties_PropertyStorage *(*)(struct __pyx_obj_4kivy_10properties_Property *))__pyx_f_4kivy_10properties_20VariableListProperty_create_property_storage;
  __pyx_vtable_4kivy_10properties_VariableListProperty.__pyx_base.link = (struct __pyx_obj_4kivy_10properties_PropertyStorage *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_20VariableListProperty_link;
  __pyx_vtable_4kivy_10properties_VariableListProperty.__pyx_base.check = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_20VariableListProperty_check;
  __pyx_vtable_4kivy_10properties_VariableListProperty.__pyx_base.convert = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_20VariableListProperty_convert;
  __pyx_vtable_4kivy_10properties_VariableListProperty._convert_numeric = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_VariableListProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *))__pyx_f_4kivy_10properties_20VariableListProperty__convert_numeric;
  __pyx_vtable_4kivy_10properties_VariableListProperty.parse_str = (float (*)(struct __pyx_obj_4kivy_10properties_VariableListProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *))__pyx_f_4kivy_10properties_20VariableListProperty_parse_str;
  __pyx_vtable_4kivy_10properties_VariableListProperty.parse_list = (float (*)(struct __pyx_obj_4kivy_10properties_VariableListProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, PyObject *, struct __pyx_obj_4kivy_10properties_VariableListPropertyStorage *))__pyx_f_4kivy_10properties_20VariableListProperty_parse_list;
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1675, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListProperty = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_VariableListProperty_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListProperty)) __PYX_ERR(0, 1675, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_VariableListProperty_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListProperty) < (0)) __PYX_ERR(0, 1675, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListProperty = &__pyx_type_4kivy_10properties_VariableListProperty;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_VariableListProperty->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListProperty) < (0)) __PYX_ERR(0, 1675, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListProperty);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListProperty->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListProperty->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListProperty->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListProperty, __pyx_vtabptr_4kivy_10properties_VariableListProperty) < (0)) __PYX_ERR(0, 1675, __pyx_L1_error)
  if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListProperty) < (0)) __PYX_ERR(0, 1675, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_VariableListProperty, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListProperty) < (0)) __PYX_ERR(0, 1675, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_VariableListProperty) < (0)) __PYX_ERR(0, 1675, __pyx_L1_error)
  __pyx_vtabptr_4kivy_10properties_ConfigParserProperty = &__pyx_vtable_4kivy_10properties_ConfigParserProperty;
  __pyx_vtable_4kivy_10properties_ConfigParserProperty.__pyx_base = *__pyx_vtabptr_4kivy_10properties_Property;
  __pyx_vtable_4kivy_10properties_ConfigParserProperty.__pyx_base.link_deps = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_20ConfigParserProperty_link_deps;
  __pyx_vtable_4kivy_10properties_ConfigParserProperty.__pyx_base.set = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_20ConfigParserProperty_set;
  __pyx_vtable_4kivy_10properties_ConfigParserProperty._edit_setting = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *, PyObject *, PyObject *, PyObject *, int __pyx_skip_dispatch))__pyx_f_4kivy_10properties_20ConfigParserProperty__edit_setting;
  __pyx_vtable_4kivy_10properties_ConfigParserProperty._parse_str = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_ConfigParserProperty *, PyObject *))__pyx_f_4kivy_10properties_20ConfigParserProperty__parse_str;
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1879, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_ConfigParserProperty = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_ConfigParserProperty_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_ConfigParserProperty)) __PYX_ERR(0, 1879, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_ConfigParserProperty_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_ConfigParserProperty) < (0)) __PYX_ERR(0, 1879, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_ConfigParserProperty = &__pyx_type_4kivy_10properties_ConfigParserProperty;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ConfigParserProperty->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_ConfigParserProperty) < (0)) __PYX_ERR(0, 1879, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_ConfigParserProperty);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_ConfigParserProperty->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_ConfigParserProperty->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_ConfigParserProperty->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_4kivy_10properties_ConfigParserProperty, __pyx_vtabptr_4kivy_10properties_ConfigParserProperty) < (0)) __PYX_ERR(0, 1879, __pyx_L1_error)
  if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_4kivy_10properties_ConfigParserProperty) < (0)) __PYX_ERR(0, 1879, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_ConfigParserProperty, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_ConfigParserProperty) < (0)) __PYX_ERR(0, 1879, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_ConfigParserProperty) < (0)) __PYX_ERR(0, 1879, __pyx_L1_error)
  __pyx_vtabptr_4kivy_10properties_ColorProperty = &__pyx_vtable_4kivy_10properties_ColorProperty;
  __pyx_vtable_4kivy_10properties_ColorProperty.__pyx_base = *__pyx_vtabptr_4kivy_10properties_Property;
  __pyx_vtable_4kivy_10properties_ColorProperty.__pyx_base.convert = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_Property *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *, struct __pyx_obj_4kivy_10properties_PropertyStorage *))__pyx_f_4kivy_10properties_13ColorProperty_convert;
  __pyx_vtable_4kivy_10properties_ColorProperty.parse_str = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_ColorProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *))__pyx_f_4kivy_10properties_13ColorProperty_parse_str;
  __pyx_vtable_4kivy_10properties_ColorProperty.parse_list = (PyObject *(*)(struct __pyx_obj_4kivy_10properties_ColorProperty *, struct __pyx_obj_4kivy_6_event_EventDispatcher *, PyObject *))__pyx_f_4kivy_10properties_13ColorProperty_parse_list;
  #if CYTHON_USE_TYPE_SPECS
  __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2190, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_10properties_ColorProperty = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_4kivy_10properties_ColorProperty_spec, __pyx_t_1);
  __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
  if (unlikely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_ColorProperty)) __PYX_ERR(0, 2190, __pyx_L1_error)
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_4kivy_10properties_ColorProperty_spec, __pyx_mstate->__pyx_ptype_4kivy_10properties_ColorProperty) < (0)) __PYX_ERR(0, 2190, __pyx_L1_error)
  #else
  __pyx_mstate->__pyx_ptype_4kivy_10properties_ColorProperty = &__pyx_type_4kivy_10properties_ColorProperty;
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  __pyx_mstate_global->__pyx_ptype_4kivy_10properties_ColorProperty->tp_base = __pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property;
  #endif
  #if !CYTHON_USE_TYPE_SPECS
  if (__Pyx_PyType_Ready(__pyx_mstate->__pyx_ptype_4kivy_10properties_ColorProperty) < (0)) __PYX_ERR(0, 2190, __pyx_L1_error)
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount((PyObject*)__pyx_mstate->__pyx_ptype_4kivy_10properties_ColorProperty);
  #endif
  #if !CYTHON_COMPILING_IN_LIMITED_API
  if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_mstate->__pyx_ptype_4kivy_10properties_ColorProperty->tp_dictoffset && __pyx_mstate->__pyx_ptype_4kivy_10properties_ColorProperty->tp_getattro == PyObject_GenericGetAttr)) {
    __pyx_mstate->__pyx_ptype_4kivy_10properties_ColorProperty->tp_getattro = PyObject_GenericGetAttr;
  }
  #endif
  if (__Pyx_SetVtable(__pyx_mstate->__pyx_ptype_4kivy_10properties_ColorProperty, __pyx_vtabptr_4kivy_10properties_ColorProperty) < (0)) __PYX_ERR(0, 2190, __pyx_L1_error)
  if (__Pyx_MergeVtables(__pyx_mstate->__pyx_ptype_4kivy_10properties_ColorProperty) < (0)) __PYX_ERR(0, 2190, __pyx_L1_error)
  if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_ColorProperty, (PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_ColorProperty) < (0)) __PYX_ERR(0, 2190, __pyx_L1_error)
  if (__Pyx_setup_reduce((PyObject *) __pyx_mstate->__pyx_ptype_4kivy_10properties_ColorProperty) < (0)) __PYX_ERR(0, 2190, __pyx_L1_error)
  __Pyx_RefNannyFinishContext();
  return 0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_1);
  __Pyx_RefNannyFinishContext();
  return -1;
}

static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
  __Pyx_RefNannyDeclarations
  CYTHON_UNUSED_VAR(__pyx_mstate);
  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(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 9, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_2_3(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
  sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_2_3(PyTypeObject),
  #elif CYTHON_COMPILING_IN_LIMITED_API
  0, 0,
  #else
  sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_2_3(PyHeapTypeObject),
  #endif
  __Pyx_ImportType_CheckSize_Warn_3_2_3); if (!__pyx_mstate->__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  __pyx_t_1 = PyImport_ImportModule("kivy._event"); if (unlikely(!__pyx_t_1)) __PYX_ERR(4, 5, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_1);
  __pyx_mstate->__pyx_ptype_4kivy_6_event_ObjectWithUid = __Pyx_ImportType_3_2_3(__pyx_t_1, "kivy._event", "ObjectWithUid",
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
  sizeof(struct __pyx_obj_4kivy_6_event_ObjectWithUid), __PYX_GET_STRUCT_ALIGNMENT_3_2_3(struct __pyx_obj_4kivy_6_event_ObjectWithUid),
  #elif CYTHON_COMPILING_IN_LIMITED_API
  sizeof(struct __pyx_obj_4kivy_6_event_ObjectWithUid), __PYX_GET_STRUCT_ALIGNMENT_3_2_3(struct __pyx_obj_4kivy_6_event_ObjectWithUid),
  #else
  sizeof(struct __pyx_obj_4kivy_6_event_ObjectWithUid), __PYX_GET_STRUCT_ALIGNMENT_3_2_3(struct __pyx_obj_4kivy_6_event_ObjectWithUid),
  #endif
  __Pyx_ImportType_CheckSize_Warn_3_2_3); if (!__pyx_mstate->__pyx_ptype_4kivy_6_event_ObjectWithUid) __PYX_ERR(4, 5, __pyx_L1_error)
  __pyx_mstate->__pyx_ptype_4kivy_6_event_Observable = __Pyx_ImportType_3_2_3(__pyx_t_1, "kivy._event", "Observable",
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
  sizeof(struct __pyx_obj_4kivy_6_event_Observable), __PYX_GET_STRUCT_ALIGNMENT_3_2_3(struct __pyx_obj_4kivy_6_event_Observable),
  #elif CYTHON_COMPILING_IN_LIMITED_API
  sizeof(struct __pyx_obj_4kivy_6_event_Observable), __PYX_GET_STRUCT_ALIGNMENT_3_2_3(struct __pyx_obj_4kivy_6_event_Observable),
  #else
  sizeof(struct __pyx_obj_4kivy_6_event_Observable), __PYX_GET_STRUCT_ALIGNMENT_3_2_3(struct __pyx_obj_4kivy_6_event_Observable),
  #endif
  __Pyx_ImportType_CheckSize_Warn_3_2_3); if (!__pyx_mstate->__pyx_ptype_4kivy_6_event_Observable) __PYX_ERR(4, 9, __pyx_L1_error)
  __pyx_mstate->__pyx_ptype_4kivy_6_event_EventDispatcher = __Pyx_ImportType_3_2_3(__pyx_t_1, "kivy._event", "EventDispatcher",
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
  sizeof(struct __pyx_obj_4kivy_6_event_EventDispatcher), __PYX_GET_STRUCT_ALIGNMENT_3_2_3(struct __pyx_obj_4kivy_6_event_EventDispatcher),
  #elif CYTHON_COMPILING_IN_LIMITED_API
  sizeof(struct __pyx_obj_4kivy_6_event_EventDispatcher), __PYX_GET_STRUCT_ALIGNMENT_3_2_3(struct __pyx_obj_4kivy_6_event_EventDispatcher),
  #else
  sizeof(struct __pyx_obj_4kivy_6_event_EventDispatcher), __PYX_GET_STRUCT_ALIGNMENT_3_2_3(struct __pyx_obj_4kivy_6_event_EventDispatcher),
  #endif
  __Pyx_ImportType_CheckSize_Warn_3_2_3); if (!__pyx_mstate->__pyx_ptype_4kivy_6_event_EventDispatcher) __PYX_ERR(4, 14, __pyx_L1_error)
  __pyx_vtabptr_4kivy_6_event_EventDispatcher = (struct __pyx_vtabstruct_4kivy_6_event_EventDispatcher*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_4kivy_6_event_EventDispatcher); if (unlikely(!__pyx_vtabptr_4kivy_6_event_EventDispatcher)) __PYX_ERR(4, 14, __pyx_L1_error)
  __pyx_mstate->__pyx_ptype_4kivy_6_event_BoundCallback = __Pyx_ImportType_3_2_3(__pyx_t_1, "kivy._event", "BoundCallback",
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
  sizeof(struct __pyx_obj_4kivy_6_event_BoundCallback), __PYX_GET_STRUCT_ALIGNMENT_3_2_3(struct __pyx_obj_4kivy_6_event_BoundCallback),
  #elif CYTHON_COMPILING_IN_LIMITED_API
  sizeof(struct __pyx_obj_4kivy_6_event_BoundCallback), __PYX_GET_STRUCT_ALIGNMENT_3_2_3(struct __pyx_obj_4kivy_6_event_BoundCallback),
  #else
  sizeof(struct __pyx_obj_4kivy_6_event_BoundCallback), __PYX_GET_STRUCT_ALIGNMENT_3_2_3(struct __pyx_obj_4kivy_6_event_BoundCallback),
  #endif
  __Pyx_ImportType_CheckSize_Warn_3_2_3); if (!__pyx_mstate->__pyx_ptype_4kivy_6_event_BoundCallback) __PYX_ERR(4, 30, __pyx_L1_error)
  __pyx_vtabptr_4kivy_6_event_BoundCallback = (struct __pyx_vtabstruct_4kivy_6_event_BoundCallback*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_4kivy_6_event_BoundCallback); if (unlikely(!__pyx_vtabptr_4kivy_6_event_BoundCallback)) __PYX_ERR(4, 30, __pyx_L1_error)
  __pyx_mstate->__pyx_ptype_4kivy_6_event_EventObservers = __Pyx_ImportType_3_2_3(__pyx_t_1, "kivy._event", "EventObservers",
  #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
  sizeof(struct __pyx_obj_4kivy_6_event_EventObservers), __PYX_GET_STRUCT_ALIGNMENT_3_2_3(struct __pyx_obj_4kivy_6_event_EventObservers),
  #elif CYTHON_COMPILING_IN_LIMITED_API
  sizeof(struct __pyx_obj_4kivy_6_event_EventObservers), __PYX_GET_STRUCT_ALIGNMENT_3_2_3(struct __pyx_obj_4kivy_6_event_EventObservers),
  #else
  sizeof(struct __pyx_obj_4kivy_6_event_EventObservers), __PYX_GET_STRUCT_ALIGNMENT_3_2_3(struct __pyx_obj_4kivy_6_event_EventObservers),
  #endif
  __Pyx_ImportType_CheckSize_Warn_3_2_3); if (!__pyx_mstate->__pyx_ptype_4kivy_6_event_EventObservers) __PYX_ERR(4, 44, __pyx_L1_error)
  __pyx_vtabptr_4kivy_6_event_EventObservers = (struct __pyx_vtabstruct_4kivy_6_event_EventObservers*)__Pyx_GetVtable(__pyx_mstate->__pyx_ptype_4kivy_6_event_EventObservers); if (unlikely(!__pyx_vtabptr_4kivy_6_event_EventObservers)) __PYX_ERR(4, 44, __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(__pyx_mstatetype *__pyx_mstate) {
  __Pyx_RefNannyDeclarations
  CYTHON_UNUSED_VAR(__pyx_mstate);
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__Pyx_modinit_variable_import_code", 0);
  /*--- Variable import code ---*/
  {
    __pyx_t_1 = PyImport_ImportModule("kivy._event"); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    const char * __pyx_import_signature = __Pyx_PyBytes_AsString(__pyx_mstate_global->__pyx_kp_b_PyObject_cache_properties_per_cl);
    #if !CYTHON_ASSUME_SAFE_MACROS
    if (unlikely(!__pyx_import_signature)) __PYX_ERR(0, 1, __pyx_L1_error)
    #endif
    const char * __pyx_import_name = __pyx_import_signature + 11;
    void **const __pyx_import_pointers[] = {(void **)&__pyx_vp_4kivy_6_event_cache_properties_per_cls, (void **) NULL};
    void **const *__pyx_import_pointer = __pyx_import_pointers;
    const char *__pyx_import_current_signature = __pyx_import_signature;
    while (*__pyx_import_pointer) {
      if (__Pyx_ImportVoidPtr_3_2_3(__pyx_t_1, __pyx_import_name, *__pyx_import_pointer, __pyx_import_current_signature) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
      ++__pyx_import_pointer;
      __pyx_import_name = strchr(__pyx_import_name, '\0') + 1;
      __pyx_import_signature = strchr(__pyx_import_signature, '\0') + 1;
      if (*__pyx_import_signature != '\0') __pyx_import_current_signature = __pyx_import_signature;
    }
    __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
  }
  {
    __pyx_t_1 = PyImport_ImportModule("kivy._metrics"); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    const char * __pyx_import_signature = __Pyx_PyBytes_AsString(__pyx_mstate_global->__pyx_kp_b_struct___pyx_obj_4kivy_6_event_E);
    #if !CYTHON_ASSUME_SAFE_MACROS
    if (unlikely(!__pyx_import_signature)) __PYX_ERR(0, 1, __pyx_L1_error)
    #endif
    const char * __pyx_import_name = __pyx_import_signature + 48;
    void **const __pyx_import_pointers[] = {(void **)&__pyx_vp_4kivy_8_metrics_pixel_scale_observers, (void **) NULL};
    void **const *__pyx_import_pointer = __pyx_import_pointers;
    const char *__pyx_import_current_signature = __pyx_import_signature;
    while (*__pyx_import_pointer) {
      if (__Pyx_ImportVoidPtr_3_2_3(__pyx_t_1, __pyx_import_name, *__pyx_import_pointer, __pyx_import_current_signature) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
      ++__pyx_import_pointer;
      __pyx_import_name = strchr(__pyx_import_name, '\0') + 1;
      __pyx_import_signature = strchr(__pyx_import_signature, '\0') + 1;
      if (*__pyx_import_signature != '\0') __pyx_import_current_signature = __pyx_import_signature;
    }
    __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_function_import_code(__pyx_mstatetype *__pyx_mstate) {
  __Pyx_RefNannyDeclarations
  CYTHON_UNUSED_VAR(__pyx_mstate);
  PyObject *__pyx_t_1 = NULL;
  int __pyx_lineno = 0;
  const char *__pyx_filename = NULL;
  int __pyx_clineno = 0;
  __Pyx_RefNannySetupContext("__Pyx_modinit_function_import_code", 0);
  /*--- Function import code ---*/
  {
    __pyx_t_1 = PyImport_ImportModule("kivy._metrics"); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
    __Pyx_GOTREF(__pyx_t_1);
    const char * __pyx_import_signature = __Pyx_PyBytes_AsString(__pyx_mstate_global->__pyx_kp_b_float_PyObject_PyObject_int___py);
    #if !CYTHON_ASSUME_SAFE_MACROS
    if (unlikely(!__pyx_import_signature)) __PYX_ERR(0, 1, __pyx_L1_error)
    #endif
    const char * __pyx_import_name = __pyx_import_signature + 56;
    void (**const __pyx_import_pointers[])(void) = {(void (**)(void))&__pyx_f_4kivy_8_metrics_dpi2px, (void (**)(void)) NULL};
    void (**const *__pyx_import_pointer)(void) = __pyx_import_pointers;
    const char *__pyx_import_current_signature = __pyx_import_signature;
    while (*__pyx_import_pointer) {
      if (__Pyx_ImportFunction_3_2_3(__pyx_t_1, __pyx_import_name, *__pyx_import_pointer, __pyx_import_current_signature) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
      ++__pyx_import_pointer;
      __pyx_import_name = strchr(__pyx_import_name, '\0') + 1;
      __pyx_import_signature = strchr(__pyx_import_signature, '\0') + 1;
      if (*__pyx_import_signature != '\0') __pyx_import_current_signature = __pyx_import_signature;
    }
    __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;
}

#if CYTHON_PEP489_MULTI_PHASE_INIT
static PyObject* __pyx_pymod_create(PyObject *spec, PyModuleDef *def); /*proto*/
static int __pyx_pymod_exec_properties(PyObject* module); /*proto*/
static PyModuleDef_Slot __pyx_moduledef_slots[] = {
  {Py_mod_create, (void*)__pyx_pymod_create},
  {Py_mod_exec, (void*)__pyx_pymod_exec_properties},
  #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
  {Py_mod_gil, __Pyx_FREETHREADING_COMPATIBLE},
  #endif
  #if PY_VERSION_HEX >= 0x030C0000 && CYTHON_USE_MODULE_STATE
  {Py_mod_multiple_interpreters, Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED},
  #endif
  {0, NULL}
};
#endif

#ifdef __cplusplus
namespace {
  struct PyModuleDef __pyx_moduledef =
  #else
  static struct PyModuleDef __pyx_moduledef =
  #endif
  {
      PyModuleDef_HEAD_INIT,
      "properties",
      __pyx_k_Properties_The_Properties_class, /* m_doc */
    #if CYTHON_USE_MODULE_STATE
      sizeof(__pyx_mstatetype), /* m_size */
    #else
      (CYTHON_PEP489_MULTI_PHASE_INIT) ? 0 : -1, /* m_size */
    #endif
      __pyx_methods /* m_methods */,
    #if CYTHON_PEP489_MULTI_PHASE_INIT
      __pyx_moduledef_slots, /* m_slots */
    #else
      NULL, /* m_reload */
    #endif
    #if CYTHON_USE_MODULE_STATE
      __pyx_m_traverse, /* m_traverse */
      __pyx_m_clear, /* m_clear */
      NULL /* m_free */
    #else
      NULL, /* m_traverse */
      NULL, /* m_clear */
      NULL /* m_free */
    #endif
  };
  #ifdef __cplusplus
} /* anonymous namespace */
#endif

/* PyModInitFuncType */
#ifndef CYTHON_NO_PYINIT_EXPORT
  #define __Pyx_PyMODINIT_FUNC PyMODINIT_FUNC
#else
  #ifdef __cplusplus
  #define __Pyx_PyMODINIT_FUNC extern "C" PyObject *
  #else
  #define __Pyx_PyMODINIT_FUNC PyObject *
  #endif
#endif

__Pyx_PyMODINIT_FUNC PyInit_properties(void) CYTHON_SMALL_CODE; /*proto*/
__Pyx_PyMODINIT_FUNC PyInit_properties(void)
#if CYTHON_PEP489_MULTI_PHASE_INIT
{
  return PyModuleDef_Init(&__pyx_moduledef);
}
/* ModuleCreationPEP489 */
#if CYTHON_COMPILING_IN_LIMITED_API && (__PYX_LIMITED_VERSION_HEX < 0x03090000\
      || ((defined(_WIN32) || defined(WIN32) || defined(MS_WINDOWS)) && __PYX_LIMITED_VERSION_HEX < 0x030A0000))
static PY_INT64_T __Pyx_GetCurrentInterpreterId(void) {
    {
        PyObject *module = PyImport_ImportModule("_interpreters"); // 3.13+ I think
        if (!module) {
            PyErr_Clear(); // just try the 3.8-3.12 version
            module = PyImport_ImportModule("_xxsubinterpreters");
            if (!module) goto bad;
        }
        PyObject *current = PyObject_CallMethod(module, "get_current", NULL);
        Py_DECREF(module);
        if (!current) goto bad;
        if (PyTuple_Check(current)) {
            PyObject *new_current = PySequence_GetItem(current, 0);
            Py_DECREF(current);
            current = new_current;
            if (!new_current) goto bad;
        }
        long long as_c_int = PyLong_AsLongLong(current);
        Py_DECREF(current);
        return as_c_int;
    }
  bad:
    PySys_WriteStderr("__Pyx_GetCurrentInterpreterId failed. Try setting the C define CYTHON_PEP489_MULTI_PHASE_INIT=0\n");
    return -1;
}
#endif
#if !CYTHON_USE_MODULE_STATE
static CYTHON_SMALL_CODE int __Pyx_check_single_interpreter(void) {
    static PY_INT64_T main_interpreter_id = -1;
#if CYTHON_COMPILING_IN_GRAAL && defined(GRAALPY_VERSION_NUM) && GRAALPY_VERSION_NUM > 0x19000000
    PY_INT64_T current_id = GraalPyInterpreterState_GetIDFromThreadState(PyThreadState_Get());
#elif CYTHON_COMPILING_IN_GRAAL
    PY_INT64_T current_id = PyInterpreterState_GetIDFromThreadState(PyThreadState_Get());
#elif CYTHON_COMPILING_IN_LIMITED_API && (__PYX_LIMITED_VERSION_HEX < 0x03090000\
      || ((defined(_WIN32) || defined(WIN32) || defined(MS_WINDOWS)) && __PYX_LIMITED_VERSION_HEX < 0x030A0000))
    PY_INT64_T current_id = __Pyx_GetCurrentInterpreterId();
#elif CYTHON_COMPILING_IN_LIMITED_API
    PY_INT64_T current_id = PyInterpreterState_GetID(PyInterpreterState_Get());
#else
    PY_INT64_T current_id = PyInterpreterState_GetID(PyThreadState_Get()->interp);
#endif
    if (unlikely(current_id == -1)) {
        return -1;
    }
    if (main_interpreter_id == -1) {
        main_interpreter_id = current_id;
        return 0;
    } else if (unlikely(main_interpreter_id != current_id)) {
        PyErr_SetString(
            PyExc_ImportError,
            "Interpreter change detected - this module can only be loaded into one interpreter per process.");
        return -1;
    }
    return 0;
}
#endif
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, PyModuleDef *def) {
    PyObject *module = NULL, *moddict, *modname;
    CYTHON_UNUSED_VAR(def);
    #if !CYTHON_USE_MODULE_STATE
    if (__Pyx_check_single_interpreter())
        return NULL;
    #endif
    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_properties(PyObject *__pyx_pyinit_module)
#endif
{
  int stringtab_initialized = 0;
  #if CYTHON_USE_MODULE_STATE
  int pystate_addmodule_run = 0;
  #endif
  __pyx_mstatetype *__pyx_mstate = NULL;
  PyObject *__pyx_t_1 = NULL;
  PyObject *__pyx_t_2 = NULL;
  Py_ssize_t __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_RefNannyDeclarations
  #if CYTHON_PEP489_MULTI_PHASE_INIT
  if (__pyx_m) {
    if (__pyx_m == __pyx_pyinit_module) return 0;
    PyErr_SetString(PyExc_RuntimeError, "Module 'properties' has already been imported. Re-initialisation is not supported.");
    return -1;
  }
  #else
  if (__pyx_m) return __Pyx_NewRef(__pyx_m);
  #endif
  /*--- Module creation code ---*/
  #if CYTHON_PEP489_MULTI_PHASE_INIT
  __pyx_t_1 = __pyx_pyinit_module;
  Py_INCREF(__pyx_t_1);
  #else
  __pyx_t_1 = PyModule_Create(&__pyx_moduledef); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error)
  #endif
  #if CYTHON_USE_MODULE_STATE
  {
    int add_module_result = __Pyx_State_AddModule(__pyx_t_1, &__pyx_moduledef);
    __pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to "properties" pseudovariable */
    if (unlikely((add_module_result < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
    pystate_addmodule_run = 1;
  }
  #else
  __pyx_m = __pyx_t_1;
  #endif
  #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
  PyUnstable_Module_SetGIL(__pyx_m, Py_MOD_GIL_USED);
  #endif
  __pyx_mstate = __pyx_mstate_global;
  CYTHON_UNUSED_VAR(__pyx_t_1);
  __pyx_mstate->__pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_mstate->__pyx_d)) __PYX_ERR(0, 1, __pyx_L1_error)
  Py_INCREF(__pyx_mstate->__pyx_d);
  __pyx_mstate->__pyx_b = __Pyx_PyImport_AddModuleRef(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_mstate->__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error)
  __pyx_mstate->__pyx_cython_runtime = __Pyx_PyImport_AddModuleRef("cython_runtime"); if (unlikely(!__pyx_mstate->__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error)
  if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_mstate->__pyx_b) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
  /* ImportRefnannyAPI */
  #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("PyInit_properties", 0);
  __Pyx_init_runtime_version();
  if (__Pyx_check_binary_version(__PYX_LIMITED_VERSION_HEX, __Pyx_get_runtime_version(), CYTHON_COMPILING_IN_LIMITED_API) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
  __pyx_mstate->__pyx_empty_tuple = PyTuple_New(0); if (unlikely(!__pyx_mstate->__pyx_empty_tuple)) __PYX_ERR(0, 1, __pyx_L1_error)
  __pyx_mstate->__pyx_empty_bytes = PyBytes_FromStringAndSize("", 0); if (unlikely(!__pyx_mstate->__pyx_empty_bytes)) __PYX_ERR(0, 1, __pyx_L1_error)
  __pyx_mstate->__pyx_empty_unicode = PyUnicode_FromStringAndSize("", 0); if (unlikely(!__pyx_mstate->__pyx_empty_unicode)) __PYX_ERR(0, 1, __pyx_L1_error)
  /*--- Library function declarations ---*/
  /*--- Initialize various global constants etc. ---*/
  if (__Pyx_InitConstants(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
  stringtab_initialized = 1;
  if (__Pyx_InitGlobals() < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__pyx_module_is_main_kivy__properties) {
    if (PyObject_SetAttr(__pyx_m, __pyx_mstate_global->__pyx_n_u_name_2, __pyx_mstate_global->__pyx_n_u_main) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
  }
  {
    PyObject *modules = PyImport_GetModuleDict(); if (unlikely(!modules)) __PYX_ERR(0, 1, __pyx_L1_error)
    if (!PyDict_GetItemString(modules, "kivy.properties")) {
      if (unlikely((PyDict_SetItemString(modules, "kivy.properties", __pyx_m) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
    }
  }
  /*--- Builtin init code ---*/
  if (__Pyx_InitCachedBuiltins(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
  /*--- Constants init code ---*/
  if (__Pyx_InitCachedConstants(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
  if (__Pyx_CreateCodeObjects(__pyx_mstate) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
  /*--- Global type/function init code ---*/
  (void)__Pyx_modinit_global_init_code(__pyx_mstate);
  (void)__Pyx_modinit_variable_export_code(__pyx_mstate);
  (void)__Pyx_modinit_function_export_code(__pyx_mstate);
  if (unlikely((__Pyx_modinit_type_init_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
  if (unlikely((__Pyx_modinit_type_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
  if (unlikely((__Pyx_modinit_variable_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
  if (unlikely((__Pyx_modinit_function_import_code(__pyx_mstate) < 0))) __PYX_ERR(0, 1, __pyx_L1_error)
  /*--- Execution code ---*/

  /* "kivy/properties.pyx":266
 * '''
 * 
 * __all__ = ('Property',             # <<<<<<<<<<<<<<
 *            'NumericProperty', 'StringProperty', 'ListProperty',
 *            'ObjectProperty', 'BooleanProperty', 'BoundedNumericProperty',
*/
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_all, __pyx_mstate_global->__pyx_tuple[7]) < (0)) __PYX_ERR(0, 266, __pyx_L1_error)

  /* "kivy/properties.pyx":276
 * 
 * 
 * from weakref import ref             # <<<<<<<<<<<<<<
 * from kivy.config import ConfigParser
 * from functools import partial
*/
  {
    PyObject* const __pyx_imported_names[] = {__pyx_mstate_global->__pyx_n_u_ref};
    __pyx_t_1 = __Pyx_Import(__pyx_mstate_global->__pyx_n_u_weakref, __pyx_imported_names, 1, NULL, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 276, __pyx_L1_error)
  }
  __pyx_t_2 = __pyx_t_1;
  __Pyx_GOTREF(__pyx_t_2);
  {
    PyObject* const __pyx_imported_names[] = {__pyx_mstate_global->__pyx_n_u_ref};
    __pyx_t_3 = 0; {
      __pyx_t_4 = __Pyx_ImportFrom(__pyx_t_2, __pyx_imported_names[__pyx_t_3]); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 276, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
      if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_imported_names[__pyx_t_3], __pyx_t_4) < (0)) __PYX_ERR(0, 276, __pyx_L1_error)
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    }
  }
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":277
 * 
 * from weakref import ref
 * from kivy.config import ConfigParser             # <<<<<<<<<<<<<<
 * from functools import partial
 * from kivy.clock import Clock
*/
  {
    PyObject* const __pyx_imported_names[] = {__pyx_mstate_global->__pyx_n_u_ConfigParser};
    __pyx_t_1 = __Pyx_Import(__pyx_mstate_global->__pyx_n_u_kivy_config, __pyx_imported_names, 1, NULL, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 277, __pyx_L1_error)
  }
  __pyx_t_2 = __pyx_t_1;
  __Pyx_GOTREF(__pyx_t_2);
  {
    PyObject* const __pyx_imported_names[] = {__pyx_mstate_global->__pyx_n_u_ConfigParser};
    __pyx_t_3 = 0; {
      __pyx_t_4 = __Pyx_ImportFrom(__pyx_t_2, __pyx_imported_names[__pyx_t_3]); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 277, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
      if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_imported_names[__pyx_t_3], __pyx_t_4) < (0)) __PYX_ERR(0, 277, __pyx_L1_error)
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    }
  }
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":278
 * from weakref import ref
 * from kivy.config import ConfigParser
 * from functools import partial             # <<<<<<<<<<<<<<
 * from kivy.clock import Clock
 * from kivy.weakmethod import WeakMethod
*/
  {
    PyObject* const __pyx_imported_names[] = {__pyx_mstate_global->__pyx_n_u_partial};
    __pyx_t_1 = __Pyx_Import(__pyx_mstate_global->__pyx_n_u_functools, __pyx_imported_names, 1, NULL, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 278, __pyx_L1_error)
  }
  __pyx_t_2 = __pyx_t_1;
  __Pyx_GOTREF(__pyx_t_2);
  {
    PyObject* const __pyx_imported_names[] = {__pyx_mstate_global->__pyx_n_u_partial};
    __pyx_t_3 = 0; {
      __pyx_t_4 = __Pyx_ImportFrom(__pyx_t_2, __pyx_imported_names[__pyx_t_3]); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 278, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
      if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_imported_names[__pyx_t_3], __pyx_t_4) < (0)) __PYX_ERR(0, 278, __pyx_L1_error)
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    }
  }
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":279
 * from kivy.config import ConfigParser
 * from functools import partial
 * from kivy.clock import Clock             # <<<<<<<<<<<<<<
 * from kivy.weakmethod import WeakMethod
 * from kivy.logger import Logger
*/
  {
    PyObject* const __pyx_imported_names[] = {__pyx_mstate_global->__pyx_n_u_Clock};
    __pyx_t_1 = __Pyx_Import(__pyx_mstate_global->__pyx_n_u_kivy_clock, __pyx_imported_names, 1, NULL, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 279, __pyx_L1_error)
  }
  __pyx_t_2 = __pyx_t_1;
  __Pyx_GOTREF(__pyx_t_2);
  {
    PyObject* const __pyx_imported_names[] = {__pyx_mstate_global->__pyx_n_u_Clock};
    __pyx_t_3 = 0; {
      __pyx_t_4 = __Pyx_ImportFrom(__pyx_t_2, __pyx_imported_names[__pyx_t_3]); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 279, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
      if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_imported_names[__pyx_t_3], __pyx_t_4) < (0)) __PYX_ERR(0, 279, __pyx_L1_error)
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    }
  }
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":280
 * from functools import partial
 * from kivy.clock import Clock
 * from kivy.weakmethod import WeakMethod             # <<<<<<<<<<<<<<
 * from kivy.logger import Logger
 * from kivy.utils import get_color_from_hex, colormap
*/
  {
    PyObject* const __pyx_imported_names[] = {__pyx_mstate_global->__pyx_n_u_WeakMethod};
    __pyx_t_1 = __Pyx_Import(__pyx_mstate_global->__pyx_n_u_kivy_weakmethod, __pyx_imported_names, 1, NULL, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 280, __pyx_L1_error)
  }
  __pyx_t_2 = __pyx_t_1;
  __Pyx_GOTREF(__pyx_t_2);
  {
    PyObject* const __pyx_imported_names[] = {__pyx_mstate_global->__pyx_n_u_WeakMethod};
    __pyx_t_3 = 0; {
      __pyx_t_4 = __Pyx_ImportFrom(__pyx_t_2, __pyx_imported_names[__pyx_t_3]); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 280, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
      if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_imported_names[__pyx_t_3], __pyx_t_4) < (0)) __PYX_ERR(0, 280, __pyx_L1_error)
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    }
  }
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":281
 * from kivy.clock import Clock
 * from kivy.weakmethod import WeakMethod
 * from kivy.logger import Logger             # <<<<<<<<<<<<<<
 * from kivy.utils import get_color_from_hex, colormap
 * from kivy._metrics import dpi2px, NUMERIC_FORMATS
*/
  {
    PyObject* const __pyx_imported_names[] = {__pyx_mstate_global->__pyx_n_u_Logger};
    __pyx_t_1 = __Pyx_Import(__pyx_mstate_global->__pyx_n_u_kivy_logger, __pyx_imported_names, 1, NULL, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 281, __pyx_L1_error)
  }
  __pyx_t_2 = __pyx_t_1;
  __Pyx_GOTREF(__pyx_t_2);
  {
    PyObject* const __pyx_imported_names[] = {__pyx_mstate_global->__pyx_n_u_Logger};
    __pyx_t_3 = 0; {
      __pyx_t_4 = __Pyx_ImportFrom(__pyx_t_2, __pyx_imported_names[__pyx_t_3]); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 281, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
      if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_imported_names[__pyx_t_3], __pyx_t_4) < (0)) __PYX_ERR(0, 281, __pyx_L1_error)
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    }
  }
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":282
 * from kivy.weakmethod import WeakMethod
 * from kivy.logger import Logger
 * from kivy.utils import get_color_from_hex, colormap             # <<<<<<<<<<<<<<
 * from kivy._metrics import dpi2px, NUMERIC_FORMATS
 * from kivy._metrics cimport dpi2px
*/
  {
    PyObject* const __pyx_imported_names[] = {__pyx_mstate_global->__pyx_n_u_get_color_from_hex,__pyx_mstate_global->__pyx_n_u_colormap};
    __pyx_t_1 = __Pyx_Import(__pyx_mstate_global->__pyx_n_u_kivy_utils, __pyx_imported_names, 2, NULL, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 282, __pyx_L1_error)
  }
  __pyx_t_2 = __pyx_t_1;
  __Pyx_GOTREF(__pyx_t_2);
  {
    PyObject* const __pyx_imported_names[] = {__pyx_mstate_global->__pyx_n_u_get_color_from_hex,__pyx_mstate_global->__pyx_n_u_colormap};
    for (__pyx_t_3=0; __pyx_t_3 < 2; __pyx_t_3++) {
      __pyx_t_4 = __Pyx_ImportFrom(__pyx_t_2, __pyx_imported_names[__pyx_t_3]); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 282, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
      if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_imported_names[__pyx_t_3], __pyx_t_4) < (0)) __PYX_ERR(0, 282, __pyx_L1_error)
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    }
  }
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":283
 * from kivy.logger import Logger
 * from kivy.utils import get_color_from_hex, colormap
 * from kivy._metrics import dpi2px, NUMERIC_FORMATS             # <<<<<<<<<<<<<<
 * from kivy._metrics cimport dpi2px
 * 
*/
  {
    PyObject* const __pyx_imported_names[] = {__pyx_mstate_global->__pyx_n_u_dpi2px,__pyx_mstate_global->__pyx_n_u_NUMERIC_FORMATS};
    __pyx_t_1 = __Pyx_Import(__pyx_mstate_global->__pyx_n_u_kivy__metrics, __pyx_imported_names, 2, NULL, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 283, __pyx_L1_error)
  }
  __pyx_t_2 = __pyx_t_1;
  __Pyx_GOTREF(__pyx_t_2);
  {
    PyObject* const __pyx_imported_names[] = {__pyx_mstate_global->__pyx_n_u_dpi2px,__pyx_mstate_global->__pyx_n_u_NUMERIC_FORMATS};
    for (__pyx_t_3=0; __pyx_t_3 < 2; __pyx_t_3++) {
      __pyx_t_4 = __Pyx_ImportFrom(__pyx_t_2, __pyx_imported_names[__pyx_t_3]); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 283, __pyx_L1_error)
      __Pyx_GOTREF(__pyx_t_4);
      if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_imported_names[__pyx_t_3], __pyx_t_4) < (0)) __PYX_ERR(0, 283, __pyx_L1_error)
      __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
    }
  }
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":406
 *         return ps
 * 
 *     def __set_name__(self, owner, name):             # <<<<<<<<<<<<<<
 *         if name == 'touch_down' or name == 'touch_move' or name == 'touch_up':
 *             raise Exception('The property <%s> has a forbidden name' % name)
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_8Property_9__set_name__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_Property___set_name, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 406, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property, __pyx_mstate_global->__pyx_n_u_set_name_2, __pyx_t_2) < (0)) __PYX_ERR(0, 406, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":415
 *         self._name = name
 * 
 *     cpdef set_name(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         cdef PropertyStorage d
 *         # if for some reason we previously associated this prop with this
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_8Property_11set_name, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_Property_set_name, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[1])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 415, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property, __pyx_mstate_global->__pyx_n_u_set_name, __pyx_t_2) < (0)) __PYX_ERR(0, 415, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":435
 *         self.__set_name__(obj.__class__, name)
 * 
 *     cpdef PropertyStorage link_eagerly(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         return None
 * 
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_8Property_13link_eagerly, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_Property_link_eagerly, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[2])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 435, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property, __pyx_mstate_global->__pyx_n_u_link_eagerly, __pyx_t_2) < (0)) __PYX_ERR(0, 435, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":438
 *         return None
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         '''Link the instance with its real name.
 * 
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_8Property_15link, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_Property_link, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[3])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 438, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property, __pyx_mstate_global->__pyx_n_u_link, __pyx_t_2) < (0)) __PYX_ERR(0, 438, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":472
 *         return d
 * 
 *     cpdef link_deps(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         pass
 * 
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_8Property_17link_deps, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_Property_link_deps, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[4])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 472, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property, __pyx_mstate_global->__pyx_n_u_link_deps, __pyx_t_2) < (0)) __PYX_ERR(0, 472, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":475
 *         pass
 * 
 *     cpdef bind(self, EventDispatcher obj, observer):             # <<<<<<<<<<<<<<
 *         '''Add a new observer to be called only when the value is changed.
 *         '''
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_8Property_19bind, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_Property_bind, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[5])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 475, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property, __pyx_mstate_global->__pyx_n_u_bind, __pyx_t_2) < (0)) __PYX_ERR(0, 475, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":481
 *         ps.observers.bind(WeakMethod(observer), observer, 1)
 * 
 *     cpdef fbind(self, EventDispatcher obj, observer, int ref, tuple largs=(), dict kwargs={}):             # <<<<<<<<<<<<<<
 *         '''Similar to bind, except it doesn't check if the observer already
 *         exists. It also expands and forwards largs and kwargs to the callback.
*/
  __pyx_t_2 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 481, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_mstate_global->__pyx_k__2 = ((PyObject*)__pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 481, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyTuple_Pack(2, __pyx_mstate_global->__pyx_empty_tuple, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 481, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_8Property_21fbind, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_Property_fbind, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[6])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 481, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_2, __pyx_t_4);
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property, __pyx_mstate_global->__pyx_n_u_fbind, __pyx_t_2) < (0)) __PYX_ERR(0, 481, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":493
 *             return ps.observers.fbind(observer, largs, kwargs, 0)
 * 
 *     cpdef unbind(self, EventDispatcher obj, observer, int stop_on_first=0):             # <<<<<<<<<<<<<<
 *         '''Remove the observer from our widget observer list.
 *         '''
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_8Property_23unbind, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_Property_unbind, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[7])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 493, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_2, __pyx_mstate_global->__pyx_tuple[8]);
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property, __pyx_mstate_global->__pyx_n_u_unbind, __pyx_t_2) < (0)) __PYX_ERR(0, 493, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":499
 *         ps.observers.unbind(observer, stop_on_first)
 * 
 *     cpdef funbind(self, EventDispatcher obj, observer, tuple largs=(), dict kwargs={}):             # <<<<<<<<<<<<<<
 *         '''Remove the observer from our widget observer list bound with
 *         fbind. It removes the first match it finds, as opposed to unbind
*/
  __pyx_t_2 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 499, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_mstate_global->__pyx_k__3 = ((PyObject*)__pyx_t_2);
  __Pyx_GIVEREF(__pyx_t_2);
  __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 499, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = PyTuple_Pack(2, __pyx_mstate_global->__pyx_empty_tuple, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 499, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_8Property_25funbind, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_Property_funbind, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[8])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 499, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_2, __pyx_t_4);
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property, __pyx_mstate_global->__pyx_n_u_funbind, __pyx_t_2) < (0)) __PYX_ERR(0, 499, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":507
 *         ps.observers.funbind(observer, largs, kwargs)
 * 
 *     cpdef unbind_uid(self, EventDispatcher obj, object uid):             # <<<<<<<<<<<<<<
 *         '''Remove the observer from our widget observer list bound with
 *         fbind using the uid.
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_8Property_27unbind_uid, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_Property_unbind_uid, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[9])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 507, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property, __pyx_mstate_global->__pyx_n_u_unbind_uid, __pyx_t_2) < (0)) __PYX_ERR(0, 507, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":545
 *             return False
 * 
 *     cpdef set(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         '''Set a new value for the property.
 *         '''
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_8Property_33set, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_Property_set, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[10])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 545, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property, __pyx_mstate_global->__pyx_n_u_set, __pyx_t_2) < (0)) __PYX_ERR(0, 545, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":570
 *         return True
 * 
 *     cpdef get(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         '''Return the value of the property.
 *         '''
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_8Property_35get, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_Property_get, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[11])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 570, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property, __pyx_mstate_global->__pyx_n_u_get, __pyx_t_2) < (0)) __PYX_ERR(0, 570, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":608
 *         ps.observers.dispatch(obj, ps.value, None, None, 0)
 * 
 *     cpdef dispatch(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         '''Dispatch the value change to all observers.
 * 
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_8Property_37dispatch, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_Property_dispatch, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[12])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 608, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_Property, __pyx_mstate_global->__pyx_n_u_dispatch, __pyx_t_2) < (0)) __PYX_ERR(0, 608, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_8Property_39__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_Property___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[13])); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_2) < (0)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_8Property_41__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_Property___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[14])); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_2) < (0)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":675
 *         super(NumericProperty, self).__init__(defaultvalue, **kw)
 * 
 *     def _dpi_callback(self, obj, _obj, _value):             # <<<<<<<<<<<<<<
 *         cdef EventDispatcher event_dispatcher = obj()
 *         if event_dispatcher is None:
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_15NumericProperty_3_dpi_callback, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_NumericProperty__dpi_callback, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[15])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 675, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_NumericProperty, __pyx_mstate_global->__pyx_n_u_dpi_callback, __pyx_t_2) < (0)) __PYX_ERR(0, 675, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":771
 *         return dpi2px(value, ext)
 * 
 *     def get_format(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         '''
 *         Return the format used for Numeric calculation. Default is px (mean
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_15NumericProperty_5get_format, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_NumericProperty_get_format, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[16])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 771, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_NumericProperty, __pyx_mstate_global->__pyx_n_u_get_format, __pyx_t_2) < (0)) __PYX_ERR(0, 771, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_15NumericProperty_7__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_NumericProperty___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[17])); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_2) < (0)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_15NumericProperty_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_NumericProperty___setstate_cytho, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[18])); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_2) < (0)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14StringProperty_3__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_StringProperty___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[19])); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_2) < (0)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14StringProperty_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_StringProperty___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[20])); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_2) < (0)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":809
 * 
 * 
 * class ObservableList(list):             # <<<<<<<<<<<<<<
 *     # Internal class to observe changes inside a native python list.
 *     def __init__(self, *largs):
*/
  __pyx_t_2 = PyTuple_Pack(1, ((PyObject *)(&PyList_Type))); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 809, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = __Pyx_PEP560_update_bases(__pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 809, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_5 = __Pyx_CalculateMetaclass(NULL, __pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 809, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  __pyx_t_6 = __Pyx_Py3MetaclassPrepare(__pyx_t_5, __pyx_t_4, __pyx_mstate_global->__pyx_n_u_ObservableList, __pyx_mstate_global->__pyx_n_u_ObservableList, (PyObject *) NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, (PyObject *) NULL); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 809, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_6);
  if (__pyx_t_4 != __pyx_t_2) {
    if (unlikely((PyDict_SetItemString(__pyx_t_6, "__orig_bases__", __pyx_t_2) < 0))) __PYX_ERR(0, 809, __pyx_L1_error)
  }
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":811
 * class ObservableList(list):
 *     # Internal class to observe changes inside a native python list.
 *     def __init__(self, *largs):             # <<<<<<<<<<<<<<
 *         self.prop = largs[0]
 *         self.obj = ref(largs[1])
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableList_1__init__, 0, __pyx_mstate_global->__pyx_n_u_ObservableList___init, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[21])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 811, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_init, __pyx_t_2) < (0)) __PYX_ERR(0, 811, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":817
 *         super(ObservableList, self).__init__(*largs[2:])
 * 
 *     def __setitem__(self, key, value):             # <<<<<<<<<<<<<<
 *         list.__setitem__(self, key, value)
 *         self.last_op = '__setitem__', key
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableList_3__setitem__, 0, __pyx_mstate_global->__pyx_n_u_ObservableList___setitem, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[22])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 817, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_setitem, __pyx_t_2) < (0)) __PYX_ERR(0, 817, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":822
 *         observable_list_dispatch(self)
 * 
 *     def __delitem__(self, key):             # <<<<<<<<<<<<<<
 *         list.__delitem__(self, key)
 *         self.last_op = '__delitem__', key
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableList_5__delitem__, 0, __pyx_mstate_global->__pyx_n_u_ObservableList___delitem, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[23])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 822, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_delitem, __pyx_t_2) < (0)) __PYX_ERR(0, 822, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":827
 *         observable_list_dispatch(self)
 * 
 *     def __setslice__(self, b, c, v):             # <<<<<<<<<<<<<<
 *         list.__setslice__(self, b, c, v)
 *         self.last_op = '__setslice__', (b, c)
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableList_7__setslice__, 0, __pyx_mstate_global->__pyx_n_u_ObservableList___setslice, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[24])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 827, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_setslice, __pyx_t_2) < (0)) __PYX_ERR(0, 827, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":832
 *         observable_list_dispatch(self)
 * 
 *     def __delslice__(self, b, c):             # <<<<<<<<<<<<<<
 *         list.__delslice__(self, b, c)
 *         self.last_op = '__delslice__', (b, c)
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableList_9__delslice__, 0, __pyx_mstate_global->__pyx_n_u_ObservableList___delslice, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[25])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 832, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_delslice, __pyx_t_2) < (0)) __PYX_ERR(0, 832, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":837
 *         observable_list_dispatch(self)
 * 
 *     def __iadd__(self, *largs):             # <<<<<<<<<<<<<<
 *         list.__iadd__(self, *largs)
 *         self.last_op = '__iadd__', None
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableList_11__iadd__, 0, __pyx_mstate_global->__pyx_n_u_ObservableList___iadd, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[26])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 837, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_iadd, __pyx_t_2) < (0)) __PYX_ERR(0, 837, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":842
 *         observable_list_dispatch(self)
 * 
 *     def __imul__(self, b):             # <<<<<<<<<<<<<<
 *         list.__imul__(self, b)
 *         self.last_op = '__imul__'. b
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableList_13__imul__, 0, __pyx_mstate_global->__pyx_n_u_ObservableList___imul, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[27])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 842, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_imul, __pyx_t_2) < (0)) __PYX_ERR(0, 842, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":847
 *         observable_list_dispatch(self)
 * 
 *     def append(self, *largs):             # <<<<<<<<<<<<<<
 *         list.append(self, *largs)
 *         self.last_op = 'append', None
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableList_15append, 0, __pyx_mstate_global->__pyx_n_u_ObservableList_append, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[28])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 847, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_append, __pyx_t_2) < (0)) __PYX_ERR(0, 847, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":852
 *         observable_list_dispatch(self)
 * 
 *     def remove(self, *largs):             # <<<<<<<<<<<<<<
 *         list.remove(self, *largs)
 *         self.last_op = 'remove', None
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableList_17remove, 0, __pyx_mstate_global->__pyx_n_u_ObservableList_remove, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[29])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 852, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_remove, __pyx_t_2) < (0)) __PYX_ERR(0, 852, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":857
 *         observable_list_dispatch(self)
 * 
 *     def insert(self, i, x):             # <<<<<<<<<<<<<<
 *         list.insert(self, i, x)
 *         self.last_op = 'insert', i
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableList_19insert, 0, __pyx_mstate_global->__pyx_n_u_ObservableList_insert, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[30])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 857, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_insert, __pyx_t_2) < (0)) __PYX_ERR(0, 857, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":862
 *         observable_list_dispatch(self)
 * 
 *     def pop(self, *largs):             # <<<<<<<<<<<<<<
 *         cdef object result = list.pop(self, *largs)
 *         self.last_op = 'pop', largs
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableList_21pop, 0, __pyx_mstate_global->__pyx_n_u_ObservableList_pop, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[31])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 862, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_pop, __pyx_t_2) < (0)) __PYX_ERR(0, 862, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":868
 *         return result
 * 
 *     def extend(self, *largs):             # <<<<<<<<<<<<<<
 *         list.extend(self, *largs)
 *         self.last_op = 'extend', None
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableList_23extend, 0, __pyx_mstate_global->__pyx_n_u_ObservableList_extend, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[32])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 868, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_extend, __pyx_t_2) < (0)) __PYX_ERR(0, 868, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":873
 *         observable_list_dispatch(self)
 * 
 *     def sort(self, *largs, **kwargs):             # <<<<<<<<<<<<<<
 *         list.sort(self, *largs, **kwargs)
 *         self.last_op = 'sort', None
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableList_25sort, 0, __pyx_mstate_global->__pyx_n_u_ObservableList_sort, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[33])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 873, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_sort, __pyx_t_2) < (0)) __PYX_ERR(0, 873, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":878
 *         observable_list_dispatch(self)
 * 
 *     def reverse(self, *largs):             # <<<<<<<<<<<<<<
 *         list.reverse(self, *largs)
 *         self.last_op = 'reverse', None
*/
  __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableList_27reverse, 0, __pyx_mstate_global->__pyx_n_u_ObservableList_reverse, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[34])); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 878, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_reverse, __pyx_t_2) < (0)) __PYX_ERR(0, 878, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;

  /* "kivy/properties.pyx":809
 * 
 * 
 * class ObservableList(list):             # <<<<<<<<<<<<<<
 *     # Internal class to observe changes inside a native python list.
 *     def __init__(self, *largs):
*/
  __pyx_t_2 = __Pyx_Py3ClassCreate(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_ObservableList, __pyx_t_4, __pyx_t_6, NULL, 0, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 809, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_2);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_ObservableList, __pyx_t_2) < (0)) __PYX_ERR(0, 809, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":922
 *         super(ListProperty, self).__init__(defaultvalue, **kw)
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         cdef PropertyStorage ps = Property.link(self, obj, name)
 *         if ps.value is not None:
*/
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_12ListProperty_3link, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ListProperty_link, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[35])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 922, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_ListProperty, __pyx_mstate_global->__pyx_n_u_link, __pyx_t_4) < (0)) __PYX_ERR(0, 922, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":936
 *                 self.name))
 * 
 *     cpdef set(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         if value is not None:
 *             value = ObservableList(self, obj, value)
*/
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_12ListProperty_5set, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ListProperty_set, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[36])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 936, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_ListProperty, __pyx_mstate_global->__pyx_n_u_set, __pyx_t_4) < (0)) __PYX_ERR(0, 936, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_12ListProperty_7__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ListProperty___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[37])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_4) < (0)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_12ListProperty_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ListProperty___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[38])); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_4) < (0)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":947
 * 
 * 
 * class ObservableDict(dict):             # <<<<<<<<<<<<<<
 *     # Internal class to observe changes inside a native python dict.
 *     def __init__(self, *largs):
*/
  __pyx_t_4 = PyTuple_Pack(1, ((PyObject *)(&PyDict_Type))); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 947, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  __pyx_t_5 = __Pyx_PEP560_update_bases(__pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 947, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  __pyx_t_6 = __Pyx_CalculateMetaclass(NULL, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 947, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_6);
  __pyx_t_2 = __Pyx_Py3MetaclassPrepare(__pyx_t_6, __pyx_t_5, __pyx_mstate_global->__pyx_n_u_ObservableDict, __pyx_mstate_global->__pyx_n_u_ObservableDict, (PyObject *) NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, (PyObject *) NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 947, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  if (__pyx_t_5 != __pyx_t_4) {
    if (unlikely((PyDict_SetItemString(__pyx_t_2, "__orig_bases__", __pyx_t_4) < 0))) __PYX_ERR(0, 947, __pyx_L1_error)
  }
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":949
 * class ObservableDict(dict):
 *     # Internal class to observe changes inside a native python dict.
 *     def __init__(self, *largs):             # <<<<<<<<<<<<<<
 *         self.prop = largs[0]
 *         self.obj = largs[1]
*/
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableDict_1__init__, 0, __pyx_mstate_global->__pyx_n_u_ObservableDict___init, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[39])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 949, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_init, __pyx_t_4) < (0)) __PYX_ERR(0, 949, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":954
 *         super(ObservableDict, self).__init__(*largs[2:])
 * 
 *     def _weak_return(self, item):             # <<<<<<<<<<<<<<
 *         if isinstance(item, ref):
 *             return item()
*/
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableDict_3_weak_return, 0, __pyx_mstate_global->__pyx_n_u_ObservableDict__weak_return, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[40])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 954, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_weak_return, __pyx_t_4) < (0)) __PYX_ERR(0, 954, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":959
 *         return item
 * 
 *     def __getattr__(self, attr):             # <<<<<<<<<<<<<<
 *         try:
 *             return self._weak_return(self.__getitem__(attr))
*/
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableDict_5__getattr__, 0, __pyx_mstate_global->__pyx_n_u_ObservableDict___getattr, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[41])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 959, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_getattr, __pyx_t_4) < (0)) __PYX_ERR(0, 959, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":966
 *                             super(ObservableDict, self).__getattr__(attr))
 * 
 *     def __setattr__(self, attr, value):             # <<<<<<<<<<<<<<
 *         if attr in ('prop', 'obj'):
 *             super(ObservableDict, self).__setattr__(attr, value)
*/
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableDict_7__setattr__, 0, __pyx_mstate_global->__pyx_n_u_ObservableDict___setattr, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[42])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 966, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_setattr, __pyx_t_4) < (0)) __PYX_ERR(0, 966, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":972
 *         self.__setitem__(attr, value)
 * 
 *     def __setitem__(self, key, value):             # <<<<<<<<<<<<<<
 *         dict.__setitem__(self, key, value)
 *         observable_dict_dispatch(self)
*/
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableDict_9__setitem__, 0, __pyx_mstate_global->__pyx_n_u_ObservableDict___setitem, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[43])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 972, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_setitem, __pyx_t_4) < (0)) __PYX_ERR(0, 972, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":976
 *         observable_dict_dispatch(self)
 * 
 *     def __delitem__(self, key):             # <<<<<<<<<<<<<<
 *         dict.__delitem__(self, key)
 *         observable_dict_dispatch(self)
*/
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableDict_11__delitem__, 0, __pyx_mstate_global->__pyx_n_u_ObservableDict___delitem, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[44])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 976, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_delitem, __pyx_t_4) < (0)) __PYX_ERR(0, 976, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":980
 *         observable_dict_dispatch(self)
 * 
 *     def clear(self, *largs):             # <<<<<<<<<<<<<<
 *         dict.clear(self, *largs)
 *         observable_dict_dispatch(self)
*/
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableDict_13clear, 0, __pyx_mstate_global->__pyx_n_u_ObservableDict_clear, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[45])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 980, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_clear, __pyx_t_4) < (0)) __PYX_ERR(0, 980, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":984
 *         observable_dict_dispatch(self)
 * 
 *     def remove(self, *largs):             # <<<<<<<<<<<<<<
 *         dict.remove(self, *largs)
 *         observable_dict_dispatch(self)
*/
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableDict_15remove, 0, __pyx_mstate_global->__pyx_n_u_ObservableDict_remove, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[46])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 984, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_remove, __pyx_t_4) < (0)) __PYX_ERR(0, 984, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":988
 *         observable_dict_dispatch(self)
 * 
 *     def pop(self, *largs):             # <<<<<<<<<<<<<<
 *         cdef object result = dict.pop(self, *largs)
 *         observable_dict_dispatch(self)
*/
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableDict_17pop, 0, __pyx_mstate_global->__pyx_n_u_ObservableDict_pop, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[47])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 988, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_pop, __pyx_t_4) < (0)) __PYX_ERR(0, 988, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":993
 *         return result
 * 
 *     def popitem(self, *largs):             # <<<<<<<<<<<<<<
 *         cdef object result = dict.popitem(self, *largs)
 *         observable_dict_dispatch(self)
*/
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableDict_19popitem, 0, __pyx_mstate_global->__pyx_n_u_ObservableDict_popitem, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[48])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 993, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_popitem, __pyx_t_4) < (0)) __PYX_ERR(0, 993, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":998
 *         return result
 * 
 *     def setdefault(self, *largs):             # <<<<<<<<<<<<<<
 *         cdef object result = dict.setdefault(self, *largs)
 *         observable_dict_dispatch(self)
*/
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableDict_21setdefault, 0, __pyx_mstate_global->__pyx_n_u_ObservableDict_setdefault, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[49])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 998, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_setdefault, __pyx_t_4) < (0)) __PYX_ERR(0, 998, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":1003
 *         return result
 * 
 *     def update(self, *largs):             # <<<<<<<<<<<<<<
 *         dict.update(self, *largs)
 *         observable_dict_dispatch(self)
*/
  __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObservableDict_23update, 0, __pyx_mstate_global->__pyx_n_u_ObservableDict_update, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[50])); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1003, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4);
  #endif
  if (__Pyx_SetNameInClass(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_update, __pyx_t_4) < (0)) __PYX_ERR(0, 1003, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;

  /* "kivy/properties.pyx":947
 * 
 * 
 * class ObservableDict(dict):             # <<<<<<<<<<<<<<
 *     # Internal class to observe changes inside a native python dict.
 *     def __init__(self, *largs):
*/
  __pyx_t_4 = __Pyx_Py3ClassCreate(__pyx_t_6, __pyx_mstate_global->__pyx_n_u_ObservableDict, __pyx_t_5, __pyx_t_2, NULL, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 947, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_4);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_ObservableDict, __pyx_t_4) < (0)) __PYX_ERR(0, 947, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1032
 *         self.rebind = rebind
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         cdef PropertyStorage ps = Property.link(self, obj, name)
 *         if ps.value is not None:
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_12DictProperty_3link, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_DictProperty_link, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[51])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1032, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_DictProperty, __pyx_mstate_global->__pyx_n_u_link, __pyx_t_5) < (0)) __PYX_ERR(0, 1032, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1046
 *                 self.name))
 * 
 *     cpdef set(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         if value is not None:
 *             value = ObservableDict(self, obj, value)
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_12DictProperty_5set, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_DictProperty_set, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[52])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1046, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_DictProperty, __pyx_mstate_global->__pyx_n_u_set, __pyx_t_5) < (0)) __PYX_ERR(0, 1046, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_12DictProperty_7__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_DictProperty___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[53])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_12DictProperty_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_DictProperty___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[54])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObjectProperty_3__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ObjectProperty___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[55])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14ObjectProperty_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ObjectProperty___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[56])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_15BooleanProperty_3__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_BooleanProperty___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[57])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_15BooleanProperty_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_BooleanProperty___setstate_cytho, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[58])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1179
 *         return BoundedNumericPropertyStorage.__new__(BoundedNumericPropertyStorage)
 * 
 *     def set_min(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         '''Change the minimum value acceptable for the BoundedNumericProperty,
 *         only for the `obj` instance. Set to None if you want to disable it::
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_22BoundedNumericProperty_5set_min, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_BoundedNumericProperty_set_min, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[59])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1179, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_BoundedNumericProperty, __pyx_mstate_global->__pyx_n_u_set_min, __pyx_t_5) < (0)) __PYX_ERR(0, 1179, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1208
 *             ps.bnum_use_min = 1
 * 
 *     def get_min(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         '''Return the minimum value acceptable for the BoundedNumericProperty
 *         in `obj`. Return None if no minimum value is set::
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_22BoundedNumericProperty_7get_min, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_BoundedNumericProperty_get_min, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[60])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1208, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_BoundedNumericProperty, __pyx_mstate_global->__pyx_n_u_get_min, __pyx_t_5) < (0)) __PYX_ERR(0, 1208, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1227
 *             return ps.bnum_f_min
 * 
 *     def set_max(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         '''Change the maximum value acceptable for the BoundedNumericProperty,
 *         only for the `obj` instance. Set to None if you want to disable it.
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_22BoundedNumericProperty_9set_max, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_BoundedNumericProperty_set_max, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[61])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1227, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_BoundedNumericProperty, __pyx_mstate_global->__pyx_n_u_set_max, __pyx_t_5) < (0)) __PYX_ERR(0, 1227, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1248
 *             ps.bnum_use_max = 1
 * 
 *     def get_max(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         '''Return the maximum value acceptable for the BoundedNumericProperty
 *         in `obj`. Return None if no maximum value is set. Check
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_22BoundedNumericProperty_11get_max, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_BoundedNumericProperty_get_max, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[62])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1248, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_BoundedNumericProperty, __pyx_mstate_global->__pyx_n_u_get_max, __pyx_t_5) < (0)) __PYX_ERR(0, 1248, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_22BoundedNumericProperty_13__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_BoundedNumericProperty___reduce, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[63])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_22BoundedNumericProperty_15__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_BoundedNumericProperty___setstat, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[64])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14OptionProperty_5__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_OptionProperty___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[65])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_14OptionProperty_7__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_OptionProperty___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[66])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1368
 *         return self.options
 * 
 * class ObservableReferenceList(ObservableList):             # <<<<<<<<<<<<<<
 *     def __setitem__(self, key, value, update_properties=True):
 *         list.__setitem__(self, key, value)
*/
  __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_mstate_global->__pyx_n_u_ObservableList); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1368, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  __pyx_t_6 = PyTuple_Pack(1, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1368, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_6);
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
  __pyx_t_5 = __Pyx_PEP560_update_bases(__pyx_t_6); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1368, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  __pyx_t_2 = __Pyx_CalculateMetaclass(NULL, __pyx_t_5); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1368, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_2);
  __pyx_t_4 = __Pyx_Py3MetaclassPrepare(__pyx_t_2, __pyx_t_5, __pyx_mstate_global->__pyx_n_u_ObservableReferenceList, __pyx_mstate_global->__pyx_n_u_ObservableReferenceList, (PyObject *) NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, (PyObject *) NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1368, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_4);
  if (__pyx_t_5 != __pyx_t_6) {
    if (unlikely((PyDict_SetItemString(__pyx_t_4, "__orig_bases__", __pyx_t_6) < 0))) __PYX_ERR(0, 1368, __pyx_L1_error)
  }
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "kivy/properties.pyx":1369
 * 
 * class ObservableReferenceList(ObservableList):
 *     def __setitem__(self, key, value, update_properties=True):             # <<<<<<<<<<<<<<
 *         list.__setitem__(self, key, value)
 *         if update_properties:
*/
  __pyx_t_6 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_23ObservableReferenceList_1__setitem__, 0, __pyx_mstate_global->__pyx_n_u_ObservableReferenceList___setite, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[67])); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1369, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_6);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_6);
  #endif
  __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_6, __pyx_mstate_global->__pyx_tuple[9]);
  if (__Pyx_SetNameInClass(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_setitem, __pyx_t_6) < (0)) __PYX_ERR(0, 1369, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "kivy/properties.pyx":1374
 *             self.prop.setitem(self.obj(), key, value)
 * 
 *     def __setslice__(self, start, stop, value, update_properties=True):  # Python 2 only method             # <<<<<<<<<<<<<<
 *         list.__setslice__(self, start, stop, value)
 *         if update_properties:
*/
  __pyx_t_6 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_23ObservableReferenceList_3__setslice__, 0, __pyx_mstate_global->__pyx_n_u_ObservableReferenceList___setsli, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[68])); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1374, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_6);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_6);
  #endif
  __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_6, __pyx_mstate_global->__pyx_tuple[9]);
  if (__Pyx_SetNameInClass(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_setslice, __pyx_t_6) < (0)) __PYX_ERR(0, 1374, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;

  /* "kivy/properties.pyx":1368
 *         return self.options
 * 
 * class ObservableReferenceList(ObservableList):             # <<<<<<<<<<<<<<
 *     def __setitem__(self, key, value, update_properties=True):
 *         list.__setitem__(self, key, value)
*/
  __pyx_t_6 = __Pyx_Py3ClassCreate(__pyx_t_2, __pyx_mstate_global->__pyx_n_u_ObservableReferenceList, __pyx_t_5, __pyx_t_4, NULL, 0, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1368, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_6);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_6);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_ObservableReferenceList, __pyx_t_6) < (0)) __PYX_ERR(0, 1368, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1413
 *         return ReferenceListPropertyStorage.__new__(ReferenceListPropertyStorage)
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         cdef ReferenceListPropertyStorage ps = Property.link(self, obj, name)
 *         ps.value = ObservableReferenceList(self, obj, ps.value)
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_21ReferenceListProperty_5link, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ReferenceListProperty_link, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[69])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1413, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListProperty, __pyx_mstate_global->__pyx_n_u_link, __pyx_t_5) < (0)) __PYX_ERR(0, 1413, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1418
 *         return ps
 * 
 *     cpdef link_deps(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         cdef Property prop
 *         Property.link_deps(self, obj, name)
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_21ReferenceListProperty_7link_deps, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ReferenceListProperty_link_deps, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[70])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1418, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListProperty, __pyx_mstate_global->__pyx_n_u_link_deps, __pyx_t_5) < (0)) __PYX_ERR(0, 1418, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1424
 *             prop.fbind(obj, self.trigger_change, 0)
 * 
 *     cpdef trigger_change(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.stop_event:
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_21ReferenceListProperty_9trigger_change, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ReferenceListProperty_trigger_ch, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[71])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1424, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListProperty, __pyx_mstate_global->__pyx_n_u_trigger_change, __pyx_t_5) < (0)) __PYX_ERR(0, 1424, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1456
 *                 self.name))
 * 
 *     cpdef set(self, EventDispatcher obj, _value):             # <<<<<<<<<<<<<<
 *         cdef int idx
 *         cdef list value
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_21ReferenceListProperty_11set, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ReferenceListProperty_set, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[72])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1456, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListProperty, __pyx_mstate_global->__pyx_n_u_set, __pyx_t_5) < (0)) __PYX_ERR(0, 1456, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1481
 *         return True
 * 
 *     cpdef setitem(self, EventDispatcher obj, key, value):             # <<<<<<<<<<<<<<
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         cdef bint res = False
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_21ReferenceListProperty_13setitem, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ReferenceListProperty_setitem, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[73])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1481, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListProperty, __pyx_mstate_global->__pyx_n_u_setitem_2, __pyx_t_5) < (0)) __PYX_ERR(0, 1481, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1499
 *             self._dispatch(obj, ps)
 * 
 *     cpdef get(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         cdef ReferenceListPropertyStorage ps = self.get_property_storage(obj)
 *         cdef tuple p = ps.properties
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_21ReferenceListProperty_15get, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ReferenceListProperty_get, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[74])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1499, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_ReferenceListProperty, __pyx_mstate_global->__pyx_n_u_get, __pyx_t_5) < (0)) __PYX_ERR(0, 1499, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_21ReferenceListProperty_17__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ReferenceListProperty___reduce_c, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[75])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_21ReferenceListProperty_19__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ReferenceListProperty___setstate, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[76])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1608
 *             self.use_cache = 1
 * 
 *     def __read_only(self, _obj, _value):             # <<<<<<<<<<<<<<
 *         raise AttributeError(
 *             '"{}.{}" property is readonly'.format(
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_13AliasProperty_5_AliasProperty__read_only, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_AliasProperty___read_only, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[77])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1608, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_AliasProperty, __pyx_mstate_global->__pyx_n_u_AliasProperty__read_only, __pyx_t_5) < (0)) __PYX_ERR(0, 1608, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1626
 *         return AliasPropertyStorage.__new__(AliasPropertyStorage)
 * 
 *     cpdef PropertyStorage link_eagerly(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         # only init linking early if the getter could be executed due to bound
 *         # object before we do lazy linking and requested
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_13AliasProperty_7link_eagerly, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_AliasProperty_link_eagerly, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[78])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1626, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_AliasProperty, __pyx_mstate_global->__pyx_n_u_link_eagerly, __pyx_t_5) < (0)) __PYX_ERR(0, 1626, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1633
 *         return None
 * 
 *     cpdef link_deps(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         cdef Property oprop
 *         for prop in self.bind_objects:
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_13AliasProperty_9link_deps, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_AliasProperty_link_deps, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[79])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1633, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_AliasProperty, __pyx_mstate_global->__pyx_n_u_link_deps, __pyx_t_5) < (0)) __PYX_ERR(0, 1633, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1639
 *             oprop.fbind(obj, self.trigger_change, 0)
 * 
 *     cpdef trigger_change(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         dvalue = ps.getter(obj)
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_13AliasProperty_11trigger_change, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_AliasProperty_trigger_change, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[80])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1639, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_AliasProperty, __pyx_mstate_global->__pyx_n_u_trigger_change, __pyx_t_5) < (0)) __PYX_ERR(0, 1639, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1651
 *         return True
 * 
 *     cpdef get(self, EventDispatcher obj):             # <<<<<<<<<<<<<<
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         if self.use_cache:
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_13AliasProperty_13get, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_AliasProperty_get, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[81])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1651, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_AliasProperty, __pyx_mstate_global->__pyx_n_u_get, __pyx_t_5) < (0)) __PYX_ERR(0, 1651, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1660
 *         return ps.getter(obj)
 * 
 *     cpdef set(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         cdef AliasPropertyStorage ps = self.get_property_storage(obj)
 *         if ps.setter(obj, value):
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_13AliasProperty_15set, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_AliasProperty_set, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[82])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1660, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_AliasProperty, __pyx_mstate_global->__pyx_n_u_set, __pyx_t_5) < (0)) __PYX_ERR(0, 1660, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_13AliasProperty_17__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_AliasProperty___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[83])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_13AliasProperty_19__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_AliasProperty___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[84])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1726
 *         return ps
 * 
 *     def _dpi_callback(self, obj, _obj, _value):             # <<<<<<<<<<<<<<
 *         cdef EventDispatcher event_dispatcher = obj()
 *         if event_dispatcher is None:
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_20VariableListProperty_3_dpi_callback, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_VariableListProperty__dpi_callba, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[85])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1726, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_VariableListProperty, __pyx_mstate_global->__pyx_n_u_dpi_callback, __pyx_t_5) < (0)) __PYX_ERR(0, 1726, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1744
 *         self.set(event_dispatcher, ps.original_num)
 * 
 *     cpdef PropertyStorage link(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         # this calls convert
 *         cdef VariableListPropertyStorage ps = Property.link(self, obj, name)
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_20VariableListProperty_5link, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_VariableListProperty_link, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[86])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1744, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_VariableListProperty, __pyx_mstate_global->__pyx_n_u_link, __pyx_t_5) < (0)) __PYX_ERR(0, 1744, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_20VariableListProperty_7__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_VariableListProperty___reduce_cy, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[87])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_20VariableListProperty_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_VariableListProperty___setstate, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[88])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":2038
 *                 'verify {} is not callable'.format(self.verify))
 * 
 *     cpdef link_deps(self, EventDispatcher obj, str name):             # <<<<<<<<<<<<<<
 *         # initialize the config objects
 *         cdef PropertyStorage ps
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_20ConfigParserProperty_5link_deps, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ConfigParserProperty_link_deps, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[89])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2038, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_ConfigParserProperty, __pyx_mstate_global->__pyx_n_u_link_deps, __pyx_t_5) < (0)) __PYX_ERR(0, 2038, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":2064
 *             self.config_name, (self.obj, self.name)), 0)
 * 
 *     cpdef _edit_setting(self, section, key, value):             # <<<<<<<<<<<<<<
 *         # callback of ConfigParser
 *         cdef object obj = self.obj()
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_20ConfigParserProperty_7_edit_setting, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ConfigParserProperty__edit_setti, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[90])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2064, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_ConfigParserProperty, __pyx_mstate_global->__pyx_n_u_edit_setting, __pyx_t_5) < (0)) __PYX_ERR(0, 2064, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":2103
 *         return val
 * 
 *     cpdef set(self, EventDispatcher obj, value):             # <<<<<<<<<<<<<<
 *         # Takes the a python object of the type used by this property
 *         # (see :attr:`val_type`), and saves it as a string in the config parser
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_20ConfigParserProperty_9set, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ConfigParserProperty_set, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[91])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2103, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_ConfigParserProperty, __pyx_mstate_global->__pyx_n_u_set, __pyx_t_5) < (0)) __PYX_ERR(0, 2103, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":2150
 *         return True
 * 
 *     def set_config(self, config):             # <<<<<<<<<<<<<<
 *         ''' Sets the ConfigParser object to be used by this property. Normally,
 *         the ConfigParser is set when initializing the Property using the
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_20ConfigParserProperty_11set_config, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ConfigParserProperty_set_config, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[92])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 2150, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (__Pyx_SetItemOnTypeDict(__pyx_mstate_global->__pyx_ptype_4kivy_10properties_ConfigParserProperty, __pyx_mstate_global->__pyx_n_u_set_config, __pyx_t_5) < (0)) __PYX_ERR(0, 2150, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_20ConfigParserProperty_13__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ConfigParserProperty___reduce_cy, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[93])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_20ConfigParserProperty_15__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ConfigParserProperty___setstate, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[94])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":1
 * def __reduce_cython__(self):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_13ColorProperty_3__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ColorProperty___reduce_cython, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[95])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_reduce_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 1, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "(tree fragment)":3
 * def __reduce_cython__(self):
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
 * def __setstate_cython__(self, __pyx_state):             # <<<<<<<<<<<<<<
 *     raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
*/
  __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_4kivy_10properties_13ColorProperty_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_mstate_global->__pyx_n_u_ColorProperty___setstate_cython, NULL, __pyx_mstate_global->__pyx_n_u_kivy_properties, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[96])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030E0000
  PyUnstable_Object_EnableDeferredRefcount(__pyx_t_5);
  #endif
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_setstate_cython, __pyx_t_5) < (0)) __PYX_ERR(1, 3, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

  /* "kivy/properties.pyx":1
 * '''             # <<<<<<<<<<<<<<
 * Properties
 * ==========
*/
  __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_t_5);
  if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_test, __pyx_t_5) < (0)) __PYX_ERR(0, 1, __pyx_L1_error)
  __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;

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

  goto __pyx_L0;
  __pyx_L1_error:;
  __Pyx_XDECREF(__pyx_t_2);
  __Pyx_XDECREF(__pyx_t_4);
  __Pyx_XDECREF(__pyx_t_5);
  __Pyx_XDECREF(__pyx_t_6);
  if (__pyx_m) {
    if (__pyx_mstate->__pyx_d && stringtab_initialized) {
      __Pyx_AddTraceback("init kivy.properties", __pyx_clineno, __pyx_lineno, __pyx_filename);
    }
    #if !CYTHON_USE_MODULE_STATE
    Py_CLEAR(__pyx_m);
    #else
    Py_DECREF(__pyx_m);
    if (pystate_addmodule_run) {
      PyObject *tp, *value, *tb;
      PyErr_Fetch(&tp, &value, &tb);
      PyState_RemoveModule(&__pyx_moduledef);
      PyErr_Restore(tp, value, tb);
    }
    #endif
  } else if (!PyErr_Occurred()) {
    PyErr_SetString(PyExc_ImportError, "init kivy.properties");
  }
  __pyx_L0:;
  __Pyx_RefNannyFinishContext();
  #if CYTHON_PEP489_MULTI_PHASE_INIT
  return (__pyx_m != NULL) ? 0 : -1;
  #else
  return __pyx_m;
  #endif
}
/* #### Code section: pystring_table ### */
/* #### Code section: cached_builtins ### */

static int __Pyx_InitCachedBuiltins(__pyx_mstatetype *__pyx_mstate) {
  CYTHON_UNUSED_VAR(__pyx_mstate);
  __pyx_builtin_super = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_super); if (!__pyx_builtin_super) __PYX_ERR(0, 673, __pyx_L1_error)

  /* Cached unbound methods */
  __pyx_mstate->__pyx_umethod_PyDict_Type_get.type = (PyObject*)&PyDict_Type;
  __pyx_mstate->__pyx_umethod_PyDict_Type_get.method_name = &__pyx_mstate->__pyx_n_u_get;
  __pyx_mstate->__pyx_umethod_PyDict_Type_items.type = (PyObject*)&PyDict_Type;
  __pyx_mstate->__pyx_umethod_PyDict_Type_items.method_name = &__pyx_mstate->__pyx_n_u_items;
  __pyx_mstate->__pyx_umethod_PyDict_Type_pop.type = (PyObject*)&PyDict_Type;
  __pyx_mstate->__pyx_umethod_PyDict_Type_pop.method_name = &__pyx_mstate->__pyx_n_u_pop;
  __pyx_mstate->__pyx_umethod_PyDict_Type_values.type = (PyObject*)&PyDict_Type;
  __pyx_mstate->__pyx_umethod_PyDict_Type_values.method_name = &__pyx_mstate->__pyx_n_u_values;
  return 0;
  __pyx_L1_error:;
  return -1;
}
/* #### Code section: cached_constants ### */

static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) {
  __Pyx_RefNannyDeclarations
  CYTHON_UNUSED_VAR(__pyx_mstate);
  __Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0);

  /* "kivy/properties.pyx":758
 *     cdef float parse_str(
 *             self, EventDispatcher obj, value, NumericPropertyStorage ps) except *:
 *         if value[-2:] in NUMERIC_FORMATS:             # <<<<<<<<<<<<<<
 *             return self.parse_list(obj, value[:-2], value[-2:], ps)
 *         else:
*/
  __pyx_mstate_global->__pyx_slice[0] = PySlice_New(__pyx_mstate_global->__pyx_int_neg_2, Py_None, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_slice[0])) __PYX_ERR(0, 758, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_mstate_global->__pyx_slice[0]);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[0]);

  /* "kivy/properties.pyx":759
 *             self, EventDispatcher obj, value, NumericPropertyStorage ps) except *:
 *         if value[-2:] in NUMERIC_FORMATS:
 *             return self.parse_list(obj, value[:-2], value[-2:], ps)             # <<<<<<<<<<<<<<
 *         else:
 *             ps.numeric_fmt = 'px'
*/
  __pyx_mstate_global->__pyx_slice[1] = PySlice_New(Py_None, __pyx_mstate_global->__pyx_int_neg_2, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_slice[1])) __PYX_ERR(0, 759, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_mstate_global->__pyx_slice[1]);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[1]);

  /* "kivy/properties.pyx":814
 *         self.prop = largs[0]
 *         self.obj = ref(largs[1])
 *         self.last_op = '', None             # <<<<<<<<<<<<<<
 *         super(ObservableList, self).__init__(*largs[2:])
 * 
*/
  __pyx_mstate_global->__pyx_tuple[0] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_kp_u_, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_tuple[0])) __PYX_ERR(0, 814, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[0]);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[0]);

  /* "kivy/properties.pyx":839
 *     def __iadd__(self, *largs):
 *         list.__iadd__(self, *largs)
 *         self.last_op = '__iadd__', None             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 * 
*/
  __pyx_mstate_global->__pyx_tuple[1] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_n_u_iadd, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_tuple[1])) __PYX_ERR(0, 839, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[1]);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[1]);

  /* "kivy/properties.pyx":849
 *     def append(self, *largs):
 *         list.append(self, *largs)
 *         self.last_op = 'append', None             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 * 
*/
  __pyx_mstate_global->__pyx_tuple[2] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_n_u_append, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_tuple[2])) __PYX_ERR(0, 849, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[2]);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[2]);

  /* "kivy/properties.pyx":854
 *     def remove(self, *largs):
 *         list.remove(self, *largs)
 *         self.last_op = 'remove', None             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 * 
*/
  __pyx_mstate_global->__pyx_tuple[3] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_n_u_remove, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_tuple[3])) __PYX_ERR(0, 854, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[3]);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[3]);

  /* "kivy/properties.pyx":870
 *     def extend(self, *largs):
 *         list.extend(self, *largs)
 *         self.last_op = 'extend', None             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 * 
*/
  __pyx_mstate_global->__pyx_tuple[4] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_n_u_extend, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_tuple[4])) __PYX_ERR(0, 870, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[4]);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[4]);

  /* "kivy/properties.pyx":875
 *     def sort(self, *largs, **kwargs):
 *         list.sort(self, *largs, **kwargs)
 *         self.last_op = 'sort', None             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 * 
*/
  __pyx_mstate_global->__pyx_tuple[5] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_n_u_sort, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_tuple[5])) __PYX_ERR(0, 875, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[5]);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[5]);

  /* "kivy/properties.pyx":880
 *     def reverse(self, *largs):
 *         list.reverse(self, *largs)
 *         self.last_op = 'reverse', None             # <<<<<<<<<<<<<<
 *         observable_list_dispatch(self)
 * 
*/
  __pyx_mstate_global->__pyx_tuple[6] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_n_u_reverse, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_tuple[6])) __PYX_ERR(0, 880, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[6]);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[6]);

  /* "kivy/properties.pyx":266
 * '''
 * 
 * __all__ = ('Property',             # <<<<<<<<<<<<<<
 *            'NumericProperty', 'StringProperty', 'ListProperty',
 *            'ObjectProperty', 'BooleanProperty', 'BoundedNumericProperty',
*/
  __pyx_mstate_global->__pyx_tuple[7] = PyTuple_Pack(14, __pyx_mstate_global->__pyx_n_u_Property, __pyx_mstate_global->__pyx_n_u_NumericProperty, __pyx_mstate_global->__pyx_n_u_StringProperty, __pyx_mstate_global->__pyx_n_u_ListProperty, __pyx_mstate_global->__pyx_n_u_ObjectProperty, __pyx_mstate_global->__pyx_n_u_BooleanProperty, __pyx_mstate_global->__pyx_n_u_BoundedNumericProperty, __pyx_mstate_global->__pyx_n_u_OptionProperty, __pyx_mstate_global->__pyx_n_u_ReferenceListProperty, __pyx_mstate_global->__pyx_n_u_AliasProperty, __pyx_mstate_global->__pyx_n_u_DictProperty, __pyx_mstate_global->__pyx_n_u_VariableListProperty, __pyx_mstate_global->__pyx_n_u_ConfigParserProperty, __pyx_mstate_global->__pyx_n_u_ColorProperty); if (unlikely(!__pyx_mstate_global->__pyx_tuple[7])) __PYX_ERR(0, 266, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[7]);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[7]);

  /* "kivy/properties.pyx":493
 *             return ps.observers.fbind(observer, largs, kwargs, 0)
 * 
 *     cpdef unbind(self, EventDispatcher obj, observer, int stop_on_first=0):             # <<<<<<<<<<<<<<
 *         '''Remove the observer from our widget observer list.
 *         '''
*/
  __pyx_mstate_global->__pyx_tuple[8] = PyTuple_Pack(1, __pyx_mstate_global->__pyx_int_0); if (unlikely(!__pyx_mstate_global->__pyx_tuple[8])) __PYX_ERR(0, 493, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[8]);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[8]);

  /* "kivy/properties.pyx":1369
 * 
 * class ObservableReferenceList(ObservableList):
 *     def __setitem__(self, key, value, update_properties=True):             # <<<<<<<<<<<<<<
 *         list.__setitem__(self, key, value)
 *         if update_properties:
*/
  __pyx_mstate_global->__pyx_tuple[9] = PyTuple_Pack(1, ((PyObject*)Py_True)); if (unlikely(!__pyx_mstate_global->__pyx_tuple[9])) __PYX_ERR(0, 1369, __pyx_L1_error)
  __Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[9]);
  __Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[9]);
  #if CYTHON_IMMORTAL_CONSTANTS
  {
    PyObject **table = __pyx_mstate->__pyx_tuple;
    for (Py_ssize_t i=0; i<10; ++i) {
      #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
      Py_SET_REFCNT(table[i], _Py_IMMORTAL_REFCNT_LOCAL);
      #else
      Py_SET_REFCNT(table[i], _Py_IMMORTAL_INITIAL_REFCNT);
      #endif
    }
  }
  #endif
  #if CYTHON_IMMORTAL_CONSTANTS
  {
    PyObject **table = __pyx_mstate->__pyx_slice;
    for (Py_ssize_t i=0; i<2; ++i) {
      #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
      Py_SET_REFCNT(table[i], _Py_IMMORTAL_REFCNT_LOCAL);
      #else
      Py_SET_REFCNT(table[i], _Py_IMMORTAL_INITIAL_REFCNT);
      #endif
    }
  }
  #endif
  __Pyx_RefNannyFinishContext();
  return 0;
  __pyx_L1_error:;
  __Pyx_RefNannyFinishContext();
  return -1;
}
/* #### Code section: init_constants ### */

static int __Pyx_InitConstants(__pyx_mstatetype *__pyx_mstate) {
  CYTHON_UNUSED_VAR(__pyx_mstate);
  {
    const struct { const unsigned int length: 9; } index[] = {{0},{75},{92},{92},{32},{18},{24},{179},{106},{38},{57},{1},{1},{1},{27},{27},{28},{36},{16},{8},{63},{7},{6},{28},{2},{28},{38},{29},{29},{27},{29},{9},{33},{19},{31},{29},{12},{50},{28},{52},{45},{42},{37},{14},{27},{26},{25},{13},{20},{25},{31},{33},{25},{17},{23},{26},{17},{28},{15},{33},{35},{22},{29},{40},{42},{30},{30},{30},{30},{5},{13},{31},{33},{12},{20},{38},{40},{34},{30},{24},{31},{12},{30},{32},{17},{16},{12},{30},{32},{17},{16},{6},{15},{15},{22},{33},{35},{29},{26},{14},{32},{34},{14},{26},{26},{23},{26},{26},{27},{20},{18},{22},{21},{25},{21},{14},{26},{27},{23},{23},{23},{26},{27},{21},{21},{21},{18},{21},{22},{19},{23},{35},{36},{14},{21},{32},{34},{8},{15},{26},{21},{28},{13},{17},{14},{16},{12},{13},{18},{21},{12},{17},{15},{19},{20},{21},{28},{39},{41},{25},{26},{31},{25},{29},{36},{14},{32},{34},{20},{27},{38},{40},{34},{25},{10},{12},{17},{7},{9},{6},{18},{4},{1},{9},{4},{1},{5},{9},{17},{5},{18},{8},{10},{6},{1},{12},{11},{12},{10},{8},{7},{6},{13},{13},{12},{10},{16},{6},{1},{5},{14},{6},{7},{8},{9},{3},{18},{16},{10},{7},{7},{11},{11},{12},{6},{1},{8},{8},{8},{6},{13},{4},{5},{3},{13},{10},{11},{11},{15},{10},{15},{6},{5},{7},{6},{4},{9},{12},{8},{3},{13},{3},{10},{15},{8},{4},{3},{4},{8},{7},{5},{7},{3},{7},{11},{4},{3},{2},{2},{11},{14},{12},{11},{6},{10},{17},{13},{3},{24},{6},{15},{6},{7},{13},{7},{4},{3},{10},{7},{7},{8},{12},{11},{10},{11},{7},{12},{12},{19},{6},{4},{5},{4},{13},{5},{8},{10},{10},{8},{14},{3},{6},{15},{10},{6},{17},{1},{8},{5},{6},{6},{6},{4},{7},{16},{12},{7},{5},{1},{35},{62},{2},{87},{81},{208},{35},{181},{27},{27},{352},{29},{52},{50},{74},{74},{40},{50},{35},{198},{88},{130},{79},{45},{35},{248},{38},{92},{38},{23},{31},{20},{20},{29},{29},{40},{57},{44},{29},{29},{20},{29},{22},{31},{34},{36},{25},{27},{36},{27},{27},{51},{30},{7},{48},{126},{145},{112},{89},{67},{69},{38},{32},{70},{9},{42},{48},{69}};
    #if (CYTHON_COMPRESS_STRINGS) == 3 && __PYX_LIMITED_VERSION_HEX >= 0x030e0000 /* compression: zstd (3946 bytes) */
const char* const cstring = "(\265/\375`\360&\005{\000\252\203\200\033F\340\322\266\0010\314\347i<\ra8\237\247!\014\204\301\265\270\026\327\342Z<\345\356\\\032\2332\223(\263\314ew'\321\234\356\356\316\335\374\335\235\016M\205\350\360\222\200-|D\216\342uw\226AC\336u\346\375\331t\206\001\217\001\275\00122Z\263\2204\213GkNI\341\270\335}\324\262\274\311\211^\315\0347\367'RT\365&\27699np\330\240\367\235\241\252\372\201\342^\315\226\020he\204X\026H\250\002yv\203\030_k\247\313\364\256\210Os%\256l\213\256N\364%G\326V]\252c\271u\203\253Z\341\322\332]\272u\246(bR\026U7\276\234\347\321\351UMO\244M\361\207\222\331\327\362\260r\325B\337\305s\203\035^hfT;u\353'\2065k[\242~'j3eQW\364\316[=\317\236h\216f\331PU?$m=\213YT\314?\252nSP[\217\253\335V\355\0347>KQ\332f\n\256XL\034R\325\037\375PY6[o\266p\233^\3322U[S\320\253\365N\021\013M\224\210I\322\025\024\332\373\263\342I\323\257;\211z\352\232\247w\351\244\301@S\001E\017\212ys\335\235\315[O\241\317~\325\273X\265\205v\346\246\252=\353\366j\020\376>z\247\266&&N\275xk\321'\263\314\215S._\306\250Y\305\351\331\217\262\256\010\257j]\273\216\006]l\365\254Y\334\"\352Z\026^\325<\277\317\006\315mg\314\256z\336ZOSS\025\236(<Sr\334H\001\247W7\355j\006+O\256\247\225x'e]\334M\274?\357RU\3069\327Y\361\024\332\271\2028\243\330]\255q:1S\327jq\346\352Y}\361\316$\275\0044\364\223\3021\305\210\275\216_\311J\021\347q\215\204\300L]\245\317p\315d\377%$\206\340\300\207H\217\315\203\350\327u\301e\"K\344\206\226\222\306\253\204\304\016\214\300\302\276\323\037\030(\r\204\300\2661\300h!\004V\342Q\342\361\361\002\316}\355\214\321\334\007\314D\321\252\333\346\240\252E\214\252\247\240\253Y\034(z\"\336\272\356\n\212z\353lQ\034\2103\326zW\215\372\252\306Z\327\354\345\272\265M\241Z\265\346\217\212\341\211nV\013\324 \247+\210\301\217R0W\215s\305\\\336\267r8\177\242\207W\034\210\271\255?\235\3124\010h\365}\235\356l\336u\2459m9\233\353\006[U\305\255pFq\372\303xw\034\n\305\355\333\002g\270\016{\024\374pW;\2327w-W\273\024\307\251:\332u']\257\335\"\316\270#a\333]!M\353\3057\010{\325\247\205\nm\202k\tyV""\344\256\210By\327\236H\\wk\256\250\232\002\353kw\253z\267\202 \375\304\225\347Q[;\373\351\272\251\007\212 \0063\255_w\263\270\201h\r\322yo\272\252\033\250\243'\316\202\236\212\237\222O\212\023\037\270\035\021)z|V\230\300\034\267\255Ww\200:\374\355h}-WW\242\t\257^Z?\214uj\252\343R:W\rV\217\003\272\366\3335\265\351\326\273j\216\3538\216#\245h\306[\205\246\366+\t\241\354\026W+\313\345\210Xo\350\252\236\211\331\266\226\t\242\357BR\362\360\026\261Q\267\341\332a)\260].\257\037\022\347\306\253H\370\3718\264#`\031\221\031^J\0239C\262\030G\243\r\315\337\200\271\300D/\036rCL\t\362C\337\202Rj]\247\254\2041(e\366\177\264\004%\215k\244\364\332^8F\226q&\245\314\274\366\0006\232\306\007\377'G\t\317&?\"q\005\033\214I)r\242\365/\326Kz\013\317xv \002\202\262\304K\270\315\004\221Wq\240\201\211\317\\\3504\264\241lH\004M\t2n\005>\020d^\344\247\267\301I\250\260J#\352\257|\021\317\323\267\2769\201\326\326qh\2447j\370\r|\327\2038\312\t\214\2229Z)\3625`\033\251\2217\343\3764,\376\246c(y\261\323>\302\344Y%\0225\256\214\"\237\307o~/\030\301BN\303G\331\307H\217\220\243\220\3002R\306/\375\333W\272\307/p>\342\331\007\352\261\314k\"\037v\022!s\343/\224\237\220\304\262\357\243\375\033O\203\233d\260\320\023\3605]\353\037\370\210\004\244/ \271\220@\307\200\230\351E\201r\035>j\321H\2211\206/y\230\036\016S\"7R\303\204r\305\253\204\256\004]\344\224\217(\215\031\276\366\265\247~\200/A\222\000F\375\204\021,\033\027|\321W\341U|\346}8\312\205`\004V\240\257\340%n\342\0028I\027\321\236u\033\016B\343\000D\235\344\022\t\211\205\235@\257\341\032\377\260\361\222\021X\351\025\202L!32\347o_Rn\355\273\370\025\275\324Cp\020N2$\032\nq\241\334\337B\201\217\001=J<L~\306\253d<\273\002\230\253\037\3554\367\325\226\005?`\246\316\265\207\263\341h:1oM\311\240\360[\323gy\002\341\227\001)=\317\005Hi\342\024\\\" 0\021\217\220l\215\004b\333\020\206\027\010\322\301(\032kx\0301`\2240F\224#\374\010\220\222\376 \017\343GE\251b\247\334\001)C\276\323\025\360l\363*\n\312,4\265\3503$-'\345\311({\211^\036(\224\333\267d\216\262\255\304""\210\355\024\000\252\242\276 \266\205\277U\177\270I\214\272td\266Q\301\330c\362:`\003\306\360\263|\030\030\312M\270\326M|\225\377i\316\302\365Jo\220\215-\013~\312\217-\034@\0107\027\224r\002\365;<\216T\251\243x\251~\235\237\301W\223\353\300\326\264qF+C~\262}\034\243X\251\267\340\245\255\203\000\241\365\233\260\2674\317\240g{i/\235\n\345\350\303\024\370\030\021\221\247\321d\264))\207j^,\304\361&\244\006B\031\301\364]x\001>%\373(?\300O\222r(\247%\374)\276\200?!\207\345\365\241\2166!\331\270\315\222G\324yx\210\006$\261\361\205M\202\221\037\366\010\261mh\277`\300\214\3367\375\2217\352\304\262\241\237\027\016\271GzC\275\006\033\013I\032\0202\034o&\2241]$\274@\275\211\267q\220\211X\360\022\375&\337\306\004\037\365\223\022\032\371a\334F\034)\n\312\314\304E\210\306\220\023\372_\254\214\240\274R\274z\036\224[\177\331^\001^5d\000\222\303\017\360k|\000\317\241\346\313\210)8\000\323\274\213\215\030\365*\034^BB\022\320QT\231\377\3518<\200_\361\332\343A\">*\234\203\367\250\262\273\016;\206HD$I\222\014\007R\020\010\007\207\323<OF{\202\271,Oq\020#\310\031b\210\014\nDD$)HJ\225\306w`\265l$+\263\2114\332\030\r,EC\025\376\303L$\335#\336/\330I[q\203\2655X\316\353\006\207\035\224Z\341\202C\257\230X\342\301\005\343\037\027F\327\302A\347\210\233c\357\233\233\225\324\317\362\210\3070A-\325\373\352\264P\020\261\010>\221\351\214\276\013\302\347C\217\246\016x6\037@\254\343\231i\300\241ab\306\305\275y\311\201\023\3057\3425X\303\234\253\351\255\301\236\316\256%b\347\307\010k\036\301\374&\377)\342\032\036Z\270j\304X>4{\240\315\030\263\027\256}\354\020\365P\3328T\321o\276v\255\202\250\303C\214\356\013\002[\372\226\272&\020\353)\022O\374:\350:xx@\3315r^mG\227\267\207T&\265R\010m\307\234\332\260\200\242\226t\351\364$\312\351V\266\336\303L\206\332}n\346k\317^\204\037bX\354\243\310r\211\324\322\3202#\036\0348\002\272\350E'\311\310\331\345\316\005\201f\036I\360\210\216\230\003\301\035\216\200\200(\026' \027}\014\247}\221\264\311\332F\2044Av\250\317\234\377\273\227\324\007\220\331n\034@\262`\0333&\235""\362{\205f\251\343\005\313\024\002\004\245\332%p\020\225zHc\274$\253,?\377\372Y\014N-\372\311\2124T\t!L\261%\332\007\231\320)\307\022\337]C\270\023g\361\006\333q\202\203\215\232\241nQ\202T\270;\335tX\240%\t~\214\323(\333[\236\351\204\251\022\223\341I\361k>\2163\310\230\200*\027\373\020k\020\265\250Ns&\2715\333.\234\253c\365<\237\370\005%\312tJ\252|NUZW\242\347\001n\213\263\310\203\212\213\315\3556}\370_o\263\365(8\034\031\317\312p\265\262{\374;tD\322T\264Z\3649j~\016\254\343\\\241\220S06\233\257\"\206\373x\356\347\216\3315.SPf\212b@\314b\335\327/\254a\366\004@\033%\275V\027\200\257S+\016\255\022:\335\244\253\254\\g%\371\320!\031\324\024\335&\271\004.\315\211h\322\235P\276\"\274\347Zc\3026\235\357\305\300\340,\214Y\216\014\337G\347\341m3:\320\305\2138!\204T\n\334\306\r)\361\203\210\\Di=\272F\341\262\023\021\021\342J\255\304\027\214Z\341\306 \341\003:l\301n\001\302\267\245\315U\274:v\250X\025^\321\370\223\270~kA5\352\005\224\357\276\026\225\203\306\332\361\337,\307\257\010j7\365\3167\331y\316\027\300\345Z\337\334\307\024\301\032<S\207\273Hd0\301\357UW\362\361\321\320\344RN\370o)\001\017\344i\016\206\361\253\262\005\232\\z6\0006i\2564\234d\325n\007\356\265\315\334\033k\252\310\363S]p\252\024\217\033\200\253U\023a\340;+\300\267\024\001\002I\343\003\206\326f\356\233\003X\253v\202\336\027\005&\345\252$\332\007\202j\362\230\265\270\353>;\334-K\205O/5\213\302\031h\227 \323+\357g:ZezcL\374N\215\264\347\334\331\307\362\366.\327\033,\305`n},\305\202\030h\333\025\\\311\242\246\0215\325hq\371km\250\256\023jm)\333\177\244\375#\206o\355\353F\014\237\014\200\000\225\234\312[\307\306.G\206*\370\246\276\344\323\257(*}\007\346\004\271\354F3\013\177\003\006\300\261\331MbM>V\020\334P\014n(5E\253By\214\240\036&\343\235\trn\010\252\304m\205\201yA\215\022JR\2172\201\223\251\\\230\032]`\201F\264\004\357\t\211\211\275 n\010\267>\317\377djj\205\320\326\301TQ\200\350&\241\345I\366\251\330\021\301\204a\307\300\233l\323A]\024g\232\037\3669\215b_\232\231\314f\201\306X\232\037\240\377\243\330\366""\351\003\313l\336\005\260\203\227jU\312I\200\370\224\021\361)\242\252\362\027\246\370X\374M+X+\021\333fHox\n\016\200\346\251\017\355\335\371P\337\221$\237\216\\\352\017c\264\204\376\270\256\241\212\216\203,&t\353\035\216a\315\272\0336y5/Y\225\271Z\024`\240\350L2Ev\220\214\352\365\257\251\255<\320l\345X\302\375S\374h\317\300\246>b\200\037\326\372\2609\341c\016\037\372!\262{\350}\277\3168\243\272\347C>\252\347i\352\202\010V\300\253\340\246\326\n\207\310i\277KxM\007\211\321\243\257\335\265<\001\203\316\006(\360\355\275\377\346\217C\377\210\275^\223)\333y\350j\337\275|\255<\010\215\230\327\350\272\004\001\252+W\022\353.'\002\177\207\004\235)j\261\253<\303S\355\n\244\004\006\254zJ\010\264\226*j\322 \240\034\266\351\3438\242\265L\307<>\301\377\316\035\214\345\350\250X\337\3669|\357P\324'X\027\014\255\2663\362\215T%\330s\nA\035\212<\036\304\005\003G/\315V\237\2036\351\203\3500\216b)\201;(\335}Q\n4\r\307\271\000a\237\317PR&l\315\372\310KMK\t\240\240\005\344R\323+\000\340\265>\200\020\214\216\216\316\017\375\002\272!\022\307\356/\302\2301\220'\272\030+\255F ?\215\201\177d,C\345$\241\361A\340\036\204\214\363$\240\231\223\251j5\270\245\336\027sr\037Eo\224\331\027\326,.\247\320m\374?\200\007b\332\373\225\016u\316~\266PbDS|\204\302\311\202\354\323\323\230:\004)t-\244\2152\274\243\014\206\322\375\310\033\210\214,\274sK\317\243\354\0070\247!l\024\216\033\277\354a\363\320K\270\256\0318\277Wc\371C\354TD\322uT\035\353\244\342V(\254\020\307\251\0231\035\227\021~F\217\331\207~b\270\223u\245\251M\005\211\0377_T\030\002N\034\237\032\361\363\344\221C\335\304E\36207U\216\347T\225\365)\203\376\246\265\247Q\217\006\024}\222\352\350\252\226D`i\320:\026\003\237\314\223\217\260y96+\2128l\026\362\006\"\270F37F\375\r\337\017q\263\267A94$\234\"\243\027\017\265\266\3470\351\305\031\303D\\X\340\312\350yl\247\244$\"\250\221\030S\210\207\020\307\334\321\361\024\n\360\307A=g\027\037\333\341H\023\177\245*\225\226X;\342\350\023\251:u\014_\"\337\rd\300\232\244\005\251\255 \260\334\363\302\371\n0\377o\364""\300>,\357\260w*$\021E\226o@] \242\206\347\334osR\362\332%h\234\274\202\210\"\267\264\214\006\303$\326\342\353\027\305,\202\245(I+Q\246[\222b\304)\267\324\030B\253\213\274TUh6\024\307o\020@\372\022\021\033P\364\341\242\314\026\213\022\243O\000\303o\264\243\333e\010yO\003\261\010\205\004\337\220\342\3045\2644\360\r4{\270\370\335\017\333\322\233\211\356\252~1o\362\2702KR\310\025\201<\000\005]*3J\353\366\364\244\037(\002hq\216\257\036\230\314\261I\202\243i\256ekD\r\2134G\244\247e\216h\247\370O\020\217rnB}\302\003\205\014\024<Iu\333\274\343\237?7R\226\223sQ\030v\240\3648\0138\351\252q6\220\017t\222\344(Q\020!\262\010\252B`\326\342\230\317\204\376\356>\310\242\215\300\331\237\256\304\213\362c\321\226\203C\374\307R{\273\020*\267\3343\306\305\006\304#J\026$W*\340S\222p\370!G\374\362\275\000\333d\037=\375\347\257v\321q\206T\346\204\375\227S-{:\372#\027/\355s\346\016Y\003\342\303\240\"\177%5\361\017\205\232\340\266y\345z\357,\215\310:\323\306\0249\270t\t\014\374Y\013\304\303:F\301\325\350\254\333\242`*\371\016\3211\246\202\265H\032\236\360\271\301\026\303\033\031B\333\016i\035\350\275/\n\010\373;\211-\202M \031\211\"\242\013 C\266\244\360H\013n!\004\247\354\001\006_~eF\221s\2654\230\021\226D\000H, )\250\360\212\214z\304\230P\233\265\266\002";
    PyObject *data = __Pyx_DecompressString(cstring, 3946, 3);
    if (unlikely(!data)) __PYX_ERR(0, 1, __pyx_L1_error)
    const char* const bytes = __Pyx_PyBytes_AsString(data);
    #if !CYTHON_ASSUME_SAFE_MACROS
    if (likely(bytes)); else { Py_DECREF(data); __PYX_ERR(0, 1, __pyx_L1_error) }
    #endif
    #elif (CYTHON_COMPRESS_STRINGS) == 2 /* compression: bz2 (3946 bytes) */
const char* const cstring = "BZh91AY&SY\345\t\034\257\000\003!\177\377\377\377\377\377\377\377\377\377\377\377\377\377\277\377\377\377\300@@@@@@@@@@@@\000@\000`\020\277o5\265\351\356\306\315\275\3164\036\253\212\205Gd\205\203D\262\322[f\2636D\326\301\340\000}7\300\022\204\")\232\nd\320\301=OP\364\3004\312y4\006\223\320i\212\236MC\332#)\351\212\036\246\232yM\242x\247\251\246\312<\221\352=OMA$@L\202\0014\232\236A\242z\223\324\006#L\232i\223@\r=@42\006\200\0004\003L\200m\023@jzhE\023P\000\320\000\000\000\000\000\000\000\000\000\000\000\000\000\000\004\232\211\020\232S\322b\032z\203M\032\000\000\000h\001\240\r\001\240\000\003OP\000\000\000\r\010\225\031\250\304\31012d\323A\352d\311\201\031\244\302b\000\310\323#\t\223\004\311\200\004\301\014\215\014## H\220\"i\240\215\t\372\204\324\363A4)\344\217)\210\365\017Q\240=@\000\r\001\240\000\000\000mM\250\000\273\257\013\304\345\2174\345\332\327I\307g\206\227\025\257s\353\035\326(iy\203\327\363 \204#\373/_\330^\310Fc\035\372F\016R\236\314\"\325wL\357:\250\205\025\025)\355{H\2420\014\264h\014L\032q\307\201\202\303*\201\224\260\262\346&\236:\213\031\021\"\311\024\005\"\305\220X,\220PR\021`\330\t\246\233m\r\333\205$P\354\n\240\300\344a!^V\376lL\341\003L\330\000\326$\212\"\002\220XE\026\021\021\022\010\241\n\227\"\022b&\360(T\007\005\013\247\027I4JH\t\266!\223\245\005f\003\030\207R\225\032hK\241\027\324t-l\235\222\033G\315\265\351\231\213\031;\260UU\n\211`\215f\300\224e\013M\240\340:v\n\227\323& \301QT\030<E\352\\\272r\364/T\"\201\350\003\020\030\211e\242\027\203\025\2317L\3152h\270bX\310\221\013\236\330.F\204\251\273\"\270\242\227J\266\220\244d\334\345\002\020\t\023\275m)\310\305\261\307\036\242\315\030[\001+\261\035\217/8\277\252\241\313\303\302\356g\225\030r=YH\026Q7\026S\216\264\\9\244z\320|\252\376\373\036\265\366\257\364\2744Tx\3133\264O\324\231\376\311\0202\233\216J\362g\224\327\025\205\253\364L\n\374\337y<\370;\033\3678\347\330\327\353y\332\22645p\3442^\373\311\177\002KVJ\215(\221\320c\277\210\363\237\373\232\3370\037\211k\307YmM\255E\210y\374IF\267""\231\032\326\020%\224[l\021\001\343V\357\306\220\306C\315\243\233\341\0220V\231\253G\244\261\257#\335\001\367\010\201{n\235\027\2307F\000\206|\212\022\323\000H\314(\360\210A\207$\227\304\346f\010m\321\262R\203xX\372h\355[?\300\276A\340\002G\241\344\n\237#\025\216\213\302\377\025\365\n\243a\010=\035(\364\023\342\357\037_\034U\3131\233\203\3227\322*\274^\345\242\355\2643\270y\336W\"\241\231\303*\356d\214\316\315\212\367z:On\306\243\225\377\362\330\030\032\374\370\346\n\026V\272\005\264\177\037n\311$[\314\314:\351w\201\035\256\025\246\373\357\303\006\343\264\252\213-\254\000\271\000R$\004T\353Z@P\214n\245\020U\0056\203x\034[\376uUo\216\325\027\0238\313\226\340^P'\222\310G]H\264\306J\316T\227L\342\0104\035\367\022\244\245*\026-q2CwP\274<\305\350(\202\362\237;\1777\020\241EEE\207\244\336\215\003\304\250\225B\2103-\030\304q\325\200\207\325\226\272\320)B\205v\304\211\025\036\364\266\236m\013P\2479\344sb\250\247\206y`d#g\206\336i\346t^\235\216\304c\023\230\307g\242\275:m\342\335\254]\342\361\332c\267\275\305\340\206G\004\265-\024\320\266T#x1\200*b\202\364]\220\301\230\230\033\321\213\231\216s\204\324X\243\000a\205\206>'\202\317\036\\U\260/\327\353\376\253\341o_\231\340\307\201\277\177\2135\253V\340\327\341O-\302Ydg\234.\256\\\277\0020\356\362\3324\016\036du\310\222\344\264\005\004YB\010\200?\244\033\177\215v\321w\003\225\305\205\253\001\020\030\336\010\332\306l\014\313{.F\006\220\246\262\365'\234\221%s\215\244xwh\025t\1776\312\326\375\220X5s\203:6c\337\357g9\321\335,G\234\223\305\207s\017N\235\010&u\314{\331\021\030\253\255&\354D\207\010\273\260\212\302\231\275\2612bhh\024\341\222\242a\200-\003\221k\323\313\2163\241A\332\027yD\216\0211iO\271\343\351\r\335\266\003\212C\243\265\331\017\213\t\262bB \313\264;&\203\031\242\351\231\312\213\377^\013\024\005\340\327\370F\306\350\361\026\327\253\372t\310\013\343\246\305\373}>~M\3411L\317\206q\211\332\365(\242W\023#\206\217=\2064\310'y\242\014H\334\221;~\351W\313K\\\0240@\177\214`\026[\360CI\034\214H\327.Y4\227\026\331\270\223\247?""\320\254\346\351\r\262\214VI?:\227:]j5V\234\273\022\257\031\r\364\364\336\347u#\306\326:\251\247\030\266\0179H\272\323\302BTrl\331Z\2563\ta\030\350g\222\266\r5$\323\014\244$\242\216d?T\2367\274\014l\241\372\177\236\332/3\336\031\336\226\252\325\033\033\036hP\336x\013KF;\325\321\242\251zD\213\301\222GsQ\276\t\n\205\2074\210\3252\261<\337jE\017dInI\225\355\233J\023\003_\003\330J6V3\236\250\272L\265\356tO2\314\033\035\006#\372\022\367?\336\211k\021\276\252\313S\300^^[\346r3z\0341J\020<t\016^\321e\242G!*\245\340\361\347\315\232\256\363\014\030\225\204\r\301qy\221\203\007\016H\314\266T\\\275}\004 k\250:f\341\315B'8Q2')\014\"\302\210<\034\326w'8\260\357\2648\261\276\372\272\007G]\263\343.m\234\352\354\267A\370C\276\233\007\352\000,\007$\001&\345\277\340\316%;q}\214.Z\205\212\343\305+\2654-\314\351\261\244\2449\340*>4M^\250a2U\306\210l\223\307>\303v\231\3424\276\216I\005\247Z\3017\032\250\2151\r\t\266\333M\2141y\022NX\262\346\006)UK\002\211\274\266\205v\246,\335;1\304%\266\224\220\030\353&=\303\\\034T&J\2613\233\230,h\241v,\312B\014&\363\261\326\014\303\255\317\310tt\256M\374Z\355#\204%\313\0279*P\3479L-\016{u\255\030B\225\001UDR%i2\325fyJ)\314*\306\227\032\366.\361\261U\253\022\305UUTEF+6t\232q\242\266p\340\277\307d*\260b\323\na\324!\324\036\223lIL\344\177\000\r#\221[\0104\313dM^4\354\207B\224$\323o\013\032\004\330\272JB\362\223\302\371\321\246\205\276l\327Z\226\231-T\365LE\270P\2561\264\036\032pt\262t\323\216]\264*\352\254\362\022\231\2006z\272\361\316B\243T\311$\t\201\004X~\205\2045A\251>\030\312jAUU\212\252\303f\251c\302\273\013\023]\324-\2116\026\"\354/\331\243U\212\317W\203\242\235&\335\242\3469\216p\361\275\006M\031\270a\013\217\211%\253\177\365\027\n\225\202\233\214\331\233d\212\025\342;b\335:\215\323wQV\230\206\255\021\326\332\033\342CQ\212\307\2362rr\322l\353\206\355\301\202y\342^$\020`I\032\365\230\255\240:([\002M5\355d\241\347p\220\026\343.\345/i\245cm\262\0051&\207\322\010p\265\275\275;\304\026\253L\345\004\323Yu\223\226\334\270\362\360\211>\342\301\251\220,""\344f\3334v\006b\325\341\201\226\002\\\320\226IO\003\001\201\321\267^\355\220\266\346\244\264\300\274\272\030\003`.Z\032\302\206\3466m\215\220\316]y\270'\032\220W\234\343\340\005{\344$o\3502\210\033@\340f\236\003\302\363\356\350\221\036;_y\005\370r\317a\302=R!ap\234\013s[h\021gW\350T;R\016%2P\277\222\220\330\242\341\207B\r\314G\236\375UY\030\tu\327\215{j\0256*\022\215dlN\312@o\024YqM\314p\231$*\366(&\rN\227\210bQ\272\3217l\"\004\356D.g0\240r\337\"\260\231E*\"&\306)T\000\270\213\203=+\272u3X\032s\204\321\314\342c\006\250\013`U\\r\027UT\340UI\030\030\0252\211\255 LD\375[\005\230\032\360\255\223L/UaY.\3453\033\210\334\332,\031jkX\336\351\375\333tH\3467\315\035\270\365j\\\274\311\207\311\321\321m,\332\301\205\004$\317D?aJmW\030 a1j\262\272\203\247\363[.\036) PY\304\257\215P\271X\333 &\224&\346\245\010\270\322O\250Z\000i\351|\227\256\203@\025\251\016\tb\242\333:\267\233Z|\255\245\266X]~\302\324o\037\205\322@\242f\206s\263!\361]*\272\354H\321_\266\324l\301\210\205Y\346\350o\020\032\360\272\323\356\231\256\r\025\366{y\305\347\260;\222FK\330\224rs\204R(9\203\361\321\273Re4\357\367`P*qaS}t\260\\\003\nh\251*\356\367\251m\016\372\032p\345\344\\\362\000\220\336\341\247\274\305\312\272\025`\365\245\nc\"\345\323\272LJI\214DwbA1cA\345\323\210\036\220\222C-\312\027\020\005\302\030hd\234\230DB@,\336\010@\023k\311\304\227\005U\367V\375\371\005J\031\033\312\307\177y\271L\252\266M\004X9\341\311\253\272\275\355n\371\275Uw\223\n\312\356\326k\204A\324\010&K%\330J\367\324\374/I{\354\312\033FMI\2113U\215d\315w:\322\356\354\246Cf\233v\315-<b)mF\014C$0\204B\022\262\305\222R\243\365h\217\263\\`ZlG\227\225v\372Ci\316\211\203\247w\325\311b^\335\025EFr0u\355;\263)Y\344(\250\202\250\250\212\3515^!X\325\215+\236-TU\005\315\224\224\224\250m\3319\336\026\255\002\214\263\005*\035\375\351\314\021\204\006\t2 \020\330U%r\363\326o\234\332\254\374\r\3114N\224\222\315\031jb\313^L\rvz\200\366\001\262<\324\247\236\312K\000\213\275\343\tr\227\206\t\227\220\322Q\275j\031\262\001\326\021\235\030\360\351&Z\302""\2750I\025\322\331\031\013 \311d.\245\333\355\324&\246\034_\353p\357\010$\260\322\234\241\030\352|\367s\0257\226fH\340\363\304\2728\335\243\273\0224\210\2363\315\310h\254\007bO?\211\205\3653\031 \311\031o \017G\247hbg\256m\246\345\227m\221\361d;m\242s\002\322\245p\254\020h\264\\\324\341\207n\375\313\233\345BI\226\376\214R\277\013\3525\273\366 \320\rp\212e\032\212\265\n\357]\000\312#5\351\273\200\033\345\020\2022F5\022t\310\304\246B\016\361\341\252\010\213x\275\301%\206v`\315f\263-\271\233\311q\373\257\364\024\030q7\255es\343\277g\332Ir0(\025Mt\367\275S\327\224\013\303\343!.\314L%\371\\\021\"\245\256.\362\317<\262\254\214\361\225\215\3740\236\371\003\323EX,\006\020\233\207\n\007o\271\t\344\034bN\033\026(\260`'\005\244\357\347\262}\314P&\323\r\271GX\322\247\020C\223n\306\270\207\311\271\323\340\245\207\267\371\234:z\222\205\201eV\343-\340Vu\221\203\3464h\364<\272?L\313\270\330W\274\234f\250\306e\270\252\353\311|^\001\364|\266\257\261\203$~\000\351a\240\304\271\301\365EN\003\276\313{\3528\326-W\240\342\013uv\276\231\212M5x\217mH\222%A\350\370\201\343\003\205#abp\374\003hJA0y\353Aq\"q2jM\3227\325?\341\363\342?\024\177\332\016\215P\177.Jj\256)\311\307\350\362\343\22224\2102\276J\311\350k\016\264l\341TH\262r\005\307\242\316S\245\372\212t\244F\362\242z\311\036`\312J4\234\231f\301\0106P\375=\362\232H\"\032#\333\227\376\212\024\317v\326t[j\367\275Z\0258\301`U\026?\354\322\253W\202\252\017\254\225\243\025G\2218\202\203\305G\025r\205\253\006\253Q\236Tx\265\353A\024\342\037\026bf\355\010\0355\231\374B\303\201\233\220\333m\024\215\240CD\246\"z4\022\266\362\320\200g\242\263\206m\021\235\272.\331\237\233\316\352{\202\245H2\336\241\214\251\342\031\372\020V\330\313Z\325\244\214+\224\276R\260{\343\017\215\325G\300~q\310\2226sC1\357s\261\262r\212B\321\032R9\311\222\246\272tR\330/))\324Ze\271\036+:E$aM\237%\034vR\212dl\322\034\304\022\036\027\t\014\204\276LL[U\305^\254R\271\260\266K\221\207\212?\032\355\\\367\024\005[?\005\001\315\254\346<dXni\344\372\n\223\221U|\203\334sk\327o\037H""\263gW\360,\375<-8F\2705\374]S\336a\317\2368\227\367\257\035p\346\234P\177\271J\374\356-3\002y\rGL'`\371\264\211\323\263\246\315i\277A2Y\270\270)hg\337\357Kg\370v\277{\342\363\277ut\267y\347\305V+\256\325\312\347\027\274\232\367:\305?\204\267\222|\236u\244{\302\000\0348Bh\0168\326A\366\300\n^@\266y\206%\313\t\240(F\324\226KS\340\315\237\360\235\002\255\342\004\245\t\035\316\337s[\263\347\336\304\354\336_\327\210-W\322\026\241\360u\356\003\347\335\237\177\034\303\200\334\022\007{\177\275\031aD\261\rO\230\373(n\212Xwwl{\022\211ZX\310\024\344\221\026i6\315\201\203\313\265\261m*R\313U\016\216\253n\253\006\364q\220\225\314X\345\225R\2269\256\017\237\t\213fX\224\304A\245T$!$NA\241\352\202 \220\357dh\231;9{5D\313YDV\214C\000\252a\302OP\321\016\365L\251@\221pdc\251\343\245\205D\202\004X\252\311\230\026ar\036\323\01045+X\020\235\314\261;\tcu\305L\330\243\017rk\021ZM\\#p\322\t\272EHvy\253\261\200\240\300q* \031w\006\216d$\365x\232\244\345\257\230E\236b\317\010dB\232\\i\2333Z&\024\261\016n\032S\017Q\277R\r)\377\027rE8P\220\345\t\034\257";
    PyObject *data = __Pyx_DecompressString(cstring, 3946, 2);
    if (unlikely(!data)) __PYX_ERR(0, 1, __pyx_L1_error)
    const char* const bytes = __Pyx_PyBytes_AsString(data);
    #if !CYTHON_ASSUME_SAFE_MACROS
    if (likely(bytes)); else { Py_DECREF(data); __PYX_ERR(0, 1, __pyx_L1_error) }
    #endif
    #elif (CYTHON_COMPRESS_STRINGS) != 0 /* compression: zlib (3969 bytes) */
const char* const cstring = "x\332\255X\313\177\323X\262\306\227\320\204t\200\030\302\343v\367\364\225\363 $M\207q\010\320M\323\334k\302\243a\032\232@\032f\350\271\243\237b\037'\352\330\222-\311y40\227e\226Zj\251\245\226Zz\351e\226Zz\351?\241\377\204\373\3259\222-Y\n\303\314o\026q\216\252\352\324\251\252\363\325C\232_\224Vt\315T+\314\220Z\246\252mH?\255\377\312\312\3263Co0\303\332\223t\2423\211\031\206nl*Z\245\006AK\227\312\272\266\r>-\025Ik\325\327\231q\2175\014VV,V\221\032\321\356\2517\357\246$\275*\351\\\251x\334TLi\2351M2\231uER-iG\255\325@\221\014V\327\267\261[\325\240\263\332\262Z\006\223p\210\251\352\332\307\352\336\201n\245\\f\246\311*\037\253\373\221\266\255\324\324\212\204\337\026\223\252p\270\254\327\360{yC\267\244Yc~Qz\3222-R\242k\370\253\336\222\236\322B5%\r\002J\255\246\357@1\355{\252[L\2626\025KZ\331\2636u\215d*\254\246\"80\275\266'\231\226\241\226-\212 B)=\273\377\354\353\345o\226%D\025\366\221\023\246d\266\326\3135\005\346\233\344\332zK\255Y0\331\332k0sQzT\225\366\364\226\2441\234\207\3007 \027\337`m\212\240\322B\232S4\230\247XpP\306v\334\354\234TQ\021DK\335f\264\373\201R3\331bt\317\267\244\227\334\375\262^o(\206j\302\370\252\242\326B\307\336\274C \255M\036\343\030`p\226E\220\201H\231\311\025\325l(Vy\223\224\257\031-~\210\262\255#\262\326\246j.\256\301\250\376\335\335\2365\357p (\264y]\255T`\272\246\324\331K\034\256\254\327\330\217\2529\300\240\301\232-\230N\3225\246m\300\020\304f\211\240\271<\270\245\371\377\3467\337\260pM\010\365O\353&3\266I\325=\204\374\020\026\235\222`\251\232u\265Z\323q\203\\\357\233w\213p=.\020\202m]\001\300@\221\206\330\270`\245R\221\021y\206\014\251\252\033\020\270\322\207\nE\016\264g\212\001\003p\226i)Z\231\221\037\310!]\373\232\325\033\226\000\211\266\201h\222\205L\343\277\361\354\233\025\332\312@\036\3616\312\"\220@[\010dD\264\236\364\340C\002\005\343\335<Y\250\254\353\004\014\334R]\331U\353\255\272\264\256\267\200\314\313\304\\g@\271`\252Z\234\t\345\031\211 N\005\203\243Q\217\237\2557\010\222\340\t\317*[l/\031\243\341@l\251\333{WC\340\250\310\202""\306\336\256T\017\023\022x\240\033\344\001\264Z\215\032\343\231\"\330\233\n\334Y\342\200F\272j\310-\356\357m\030F@\373\376\315\273;\232\216\364\254*\255\232%\311\262\301*-\240X\226*\002\272d\007\014\330V\225\032\270e\270m\311\362\024\367lj\000d\230m0\245B\227?k.\316\232!\032\314!8]%;\257r\023\257\302\255>j\305\236\201\275\305+\021\256\207\355\316\022&\311\245,I\223\322\234\243\363\003\201\275-\376\231z\013\331{\007\267#\363\340\rn4BXX\031\303\324\003S\255\327[\026qPA\325\352^\306\226RMU\314(\177\023\017/,\335P6\222\002\213\024}\245\"S\314\322\014~-e^Pey\230\r\200!\213\254\201@R\342P\305\033\314J\022j\252\266%WX\303\314 3\030l\014k0\2075 \232\033\220\223\313H\324\rvW\327kL\321\"\356\320c\332\261\264@\312\265\273\224r\254\362\264UG\330\313\003\315Y\3240\314\331\314\254\323\017\221\373H#(\2362\352\306\207\270\252v\010\327\374\340^S\354]\251\351\345\255\025j\314\021'\361\220vi\230\235\362$^\214\343\353\201\3764-\353\230L\251\017\2366\220c\025T\225\260\215fJ\364a\231\311\305\316\303\350\262\350?\324\374\"r|\235vd\210\233r \301'\263\022\004\210\307[v|\235>j\210\233:*\301\247\243\022\004:J\247L{\372\363\223\373\317\037\255\310\017~z\376\244\264\366b\0108\331\t\361\0173\341#R %Ri\2502U\276u\245\274\225\005}\321o\223\203u\362)mG\212\2372#9\341$\237 O\203\247\305\352\303r\340\300$\305\262\214\014\216hr)\262y\350\006p\262\017\331a\312\026\\\302\234\255\r\261\312(s\306\020\255\2417\322\024R<D\025S\374\020\0216\204]|\210\321jT\020\257\344\264\227|\312\016\323\200c\326T\032\tR,\225\206\274\014r\275U\313\"\017E5$g\304n\300\311>Yi4\230V\031\"\262]+M\304p\t\334\014\021\023a\346\224\341\200\206Dz3\032\246\232z\\\337sVe\006\303\364\232\014j\202\234\355c\206H\344,\037\r\373\t\222x\n\3237I\314\310\232a~*k\"\336\220\342\303U&\225\3114;\016\023\263OX\\W\265J\377!z;\352\023\252\tv\265\245%\236\221\243\211\n\230n\010\231#J\274H&\272\001\231\335'\014\235%\036\345\226\nL?\333\333\305\037\245\217\374\024\300\302e%\356+\332\223I\014C\231\311K\307\3650\261T<\263\005\021\240l\006\205\343p\016""\017]6\333<Lc\010\342lfr\352{\301G\352A@\342O\351\020\244\370)\337\263^\207\263ha\350\263X\351c\017\221\372\250\303\223\315.S\202\302\374\n\345\377\t\203\232\nU\312H\034\353\260R\207/(\262\014\016\377\321w\360z\302D}S\314=\255\254\352\213e\335\320[\230\214\230I\335g\235\336\271\371\247\016Bk\271\254\2247\221\210\234\200\251?\\lD\365\206w\2312La(\2772\336\312\313\214,\340_v\352JC|\346P\02051&Ev\3617\235XS\210w\201J\377\033T\224\313\240\351e\231\"\262\324\330M\004&1\330\305\337\336\371\232\237\202\"\253Y\375\217&\340\3602^\345e!\371AE\214\017a\205\220e,\312\342\327\302;\203\t\2277\370\270\007\317\344\252\241\327\345M\266\273\321\037\000\033|2\034L!\341\240\036N\344\261a@\036\004\217/\005\026hea\240\211z^\324\344\242\256&\372\214\254\232r\377\266H\007\375\231x\265\247\227\367E\271\316\350\273\227\311\037\3124\307\213\025\267\217/k|\236\343\313\301\233>\177\204\306\232X\321DQ\347\220\332\332Q\214\r\263&~LK\326\033\342\325\224\200\327\317\361xU\224\3411\371\n\277e2F\tQ\303\003P\327+\255\032#\217\352\206.\343N\014\234M\217\242\322\323\257\276\376\253\214?\235\3670f\210O\030& \313\014\204\327R\225\032:k8\261\3102P\002*\243\005\250\246\3340\001\016\271\201\302\032\206\224\226\333\374\375\231\216i\266\224\2328*\366\262j0q\327\321G\211T\016\367\tl\227\226U\374m \tQ\210HWE\216>P\210\006/~\373\3504\230\t\254\207m\336\004\370x\004t\224\2660/MV\253R9\350\243(|E\013\337\305\006}p\260\212M\211\203\201,6\000\304\027aB\305J\216\234Q~L\216<\032;@\247\037\275A\177\260S\256\252\206i\231-x(\313\026\003\004dKo!\037+\270\023\261\"\177\305\252\325H\226h\2649\221Ia>EA\031tA17\212_y\200\307\355\350\023\211(\022\374\227\377\230\3423\010P\251\321\0372~\207W\207u\206\224cr\313d\361q\230\226\270\260\035\003\341\330}\026\276\007H\013GDA\033\034'\223w\345\232\031~\216\034H^\221\342kU\243\217W\034][j\243_3\346\217\210\252\364\276\364\276\324\035\375\243\177\324/vG?\r>\375\302Yq\232\335\361\223\275\321iw9\230\273\335.\265W\301\330\277\266\2579\017\335\342\357cGN\236\352\215\316{y\".\355\377\2573\355""\254B\274;:\276\177\317\316\005\371\031\367\256\253\373\317\375\346\277\242v\321S\210\270\274o\330\371\270\322iw\311]}_\372\375\223#'\376\350Y\301\265\037\016r\0070`\302\036\261\177pJ\316\317\356e\257 6Z\301Y\034\340Z\336\235v\276=\325\376\241S\352\216\237\265\213\244\351\201]\260\257;\307\235fotl\177\321\311\321\376\377\260\013\304zh\337p\362\344\211\243\220\370u'\347\340\374\t\373\230\275j+\264\030\261K\366\317\016d\303\235'\272\343\247\366\253\366\0237\357N\273/\274\234w\321\317w'/\271J\367\364\204`\375\350~\342*\256\351\025\274o\375\222`\341\240\307\266b\267\034D\346\364~S\3703\355\316\004\227\276k\027\333%R\276`\337\207!\013n\311\375\305\037k\027\322\"\003\227\347\350\n&\355\273\266\222\341\371W\235U\356w\217,\235\260?\341\307\"\316t\360\337\351\302N\013\371k0k\342\2423\002\223&&\355\007N\301\271\356\036w\233\335\3749\373o\356M\004\2253\237xyZ\306\004z\023\347m\205\3428/b;\344\227\2244\272\317\007k4\355\362\237\234\246\233K\263\nn\276\307\375\345\374\204\257p\301\331\202\377\343y{\322\026\336\330\327\354\2123\343h^\311\373k;\337\235\270`7\177\037?\222\237\264\227\355fw\362\"\356\335r\213\356=o\314\237\361\253P\317I\333\356*\271\365\330Q\234\226[\342\233x\304H\3377\316Mw\026\341\\\366,\377f\273\320.v\341\363\257n.(\334i+\335\363\027\354\035\247\354~\346}\347W\332\005\362\373\255S\314\nkF$E\360\376\351C\372\341\246\010\354\202\303\221y\334\266\234\242s\317\035\363f\274*\220\306I\333\270\342\324\255p@\340\n\247\005\363O\366o.\020$\27197\217\340\237:r\242\350\217\004\313\217\016\362\007\005\221\333\177s\256\211|X\262W\323\024\354\371\354\037\3549I`{\201\273\353\357\2704\274\343\206}\326\206e\247\202S_b\337\311\274\235\267\347\234\263\016\221P\031\372\234\036\036k\310\277\360\021\232\316\377\3334\001vc\034I\301\271\005\244k\221\247\360\031{\021\201\231\004>\020<T#\252f'\310\217e\373\035\262s\315\373\302_\365E\266\207\264\356\027\000l0\265\344\317\372o;\305NI\344\356\370\376rp\272\000Ek\004W\210\006\027\256\000\242\253Q\246  3<k\221\252S1\360\213;6\311P\324\314\344""\215\007\027\346\334\2467\022\\\271\335\276\327\311u/Cax\333\335\224$\n5\200\021\"\345\215[\300Y\277\371\223\376\313\366\022\352o\037+|\301\375\n\346\277mO\2025K\025\036\344SB\023\376!\177nyk(s\3775\r<C' {\253\275\326!\360\\\346\216\002\317\305\036\204O\240\204\315R\231\035\337_\331\377\315\231\244\262\332\343\350xe\227\302\262\204\302\036L\\\366rd\361-T\331M\207\327\307'bk\024\2351\241w\007\251=\353\230\356\214\313\2159j\337r\326Pyg\334M\362\214\356\347\202s\214\223\026y\303\2318\013\211Ug\323Uz\203%A\002\305\202\362\3567\234r\331-tO\236\021\020\211\321z\241\021\323\316_=~\351\237\356_\307\201\337\273G\335\353\336Q\357\373\366\321\366\365\316\321N\221\0202\357\024\203/\356w\236w\232=\216\277\013\350\014\3433\210\342_\250\215Qb\235\307=\215\3729\362\354\021\341_\250\343\025\234\020\227\017\316L!\375\337\372E\377A\273\0206\274\037\321|\316;M!\034*\235\264\237\342\352nx\347\240\030\365\252d\277D\031\316q\204\345?GM\276\341\236\023\375\345!\312\240\202\312'\220\027!h\302\036s\256\004\227n\372\315\366\310\000\\\037\001\222\345v\263\027\317\014\344\216\212z\363\035:\233\345\335D%U|\253}\253\263v\220\357\245J\321]?DN\005\255j\322[\365*\376\002\307\3530\330^w\254\203b\037\213=\312\\:\364KT}t\032o\\\024\265\323\300\337\r\350\371\213\217\234\355M|\026\367\372\007\373\236\223\033\364\271{\201T\364qy\275\321\033>C:=\350\314v\232\242z\336\001F.y\307\274\347^\223*\336\034\345\333\235\003Bz0!\241cW=\236\265y\004l\212&\026\367\230\373go\225H_\006\177\270\316S>,\246\2437\375\026\206\230\227\235\353\0079jc\363\301Y\212\321\r\377\234\277\336\316E\000\036?rb\301\233\014\276\276\333)t\212\261R2\276\177\237\327\247\377t\013\242\026\357\022\350\303Z\034\r+7i\340\210\321\036\242|?D\227\311\244\r\027t\021\227\222\375\312)\t\346\033w\240\2557\010\332$m\207\253o\351z\363\366y\273I\251\024\024\226\374B\244\204F\222\302\000]\350(Q\007\261\350\344\223\373\253TJ\231\373\255w\327c\300r)c\243\030\251\016\225Ev\330\325\310\322a7\210\271\021\035\371\326M\006 L\227l\032m\370?W\311`R\273?\204\232\265""\211J\302%\324\000\021\350\340\302e\324\202b\246\3045\001\311\014\031Q\350\310K\3362\232}$\375\001\245\353s4\205W~dS\202\205&\344nx\241\373\224\264\037\222I\263.\"\271\347\374|\222\325\033\375\014\303R\305\r\247f\323\236E\245\230qj\336\264\267\312;\316\370\376Squ\230\277\355s\266B\332\302>\272\300\325\3612D#1-\336\367g\214\321\005o\326k\372\237P\342u\303\232O\370\344\225\343\357\260\262\352\335\367\317\370\305\276\374\325\330<O\342\321\313\304\335}\245\227\036\2631d\237\263\327xKa\250R\273^\363\260\251\273\230-\331\213\017\243\311\323/:\271\376\233\201\270+F\206\323\330\271\005\003x\035=A\270\"\034\210iQ\244\002\" \220\216\331\215fP\032&W\310\210\036\237{~\341qG\277\230\001\227\346\347\\wpLQT\347\202\250\347I\203.\330\006\345\314\277?\010\261B4\347Z\301W\377\323\311u\362\321m\211[\345\323)\357\2444\310M\236\017\316c\346\350NP\323[r^\241x\257\306\014\347\323\326\220#I\305\313\373M\321\250\001\2343\301\231i$RRW8d\212^\216R1\254\"o\237\241z\350\364A\265b7\373F\3065\306\003\032\214\254\004+/\202\027k4H\014\277u\320[\324kw\307S\202\021\304;\353U\214\n\343c\027\374\307\301\343\327\301\353_\250\232O'f\264\2420\3745\275H\270\277\3729\377\363\366\303\3167\007\305^\202|\334\337m7\337\347\272#c\373_\331\253\301H\370.\030+9!\016\216\331\177\306MU0\330T(\213\202\221\253^sP[\216\273\333\336j\206\254\212|;\356\357\264\025\3232Z\345\350e\237>I-\323w1\371\206,\276$\336\247\337\237\302OT\246\264p\244\241\356\262\232l\226\025\372\266\023\321\377\037\237&\221\n";
    PyObject *data = __Pyx_DecompressString(cstring, 3969, 1);
    if (unlikely(!data)) __PYX_ERR(0, 1, __pyx_L1_error)
    const char* const bytes = __Pyx_PyBytes_AsString(data);
    #if !CYTHON_ASSUME_SAFE_MACROS
    if (likely(bytes)); else { Py_DECREF(data); __PYX_ERR(0, 1, __pyx_L1_error) }
    #endif
    #else /* compression: none (10224 bytes) */
const char* const bytes = "). Consider using ObjectProperty or use errorhandler to convert to a numberDeprecated property \"{}\" of object \"{}\" has been set, it will be removed in a future versionDeprecated property \"{}\" of object \"{}\" was accessed, it will be removed in a future versionInvalid value for color (got %r). Must be one of: None is not allowed for Note that Cython is deliberately stricter than PEP-484 and rejects subclasses of builtin types. If you need to pass subclasses then set the 'annotation_typing' directive to False.Property: Value comparison failed for {} with \"{}\". Consider setting force_dispatch to True to avoid this.The property <%s> has a forbidden nameVariableListProperty requires a length of 2 or 4 (got %r).)? accept only ObservableDict accept only ObservableList accept only int/float (got {}.{} accept only object based on {} accept only stradd_noteconfig {}, is not a ConfigParser instance or a non-empty stringdisableenableerrorhandler %s not callablegc has an invalid format (got {}.{} has an invalid format (got {!r}) is above the maximum bound ( is below the minimum bound ({} is not allowed for {}.{} is set to an invalid option isenabledkey {}, is not a non-empty stringkivy/properties.pyx must be a list or a tuple type must have 2 components (got <{} name={}>no default __reduce__ due to non-trivial __cinit__\"{}.{}\" property is readonly%s.%s accepts only int/float/list/tuple/str (got %r)%s.%s must have 1, 2 or 4 components (got %r)%s.%s must have 1 or 2 components (got %r)section {}, is not a non-empty string<stringsource>val_type {} is not callable value length is immutableverify {} is not callableAliasPropertyAliasPropertyStorageAliasProperty.__read_onlyAliasProperty.__reduce_cython__AliasProperty.__setstate_cython___AliasProperty__read_onlyAliasProperty.getAliasProperty.link_depsAliasProperty.link_eagerlyAliasProperty.setAliasProperty.trigger_changeBooleanPropertyBooleanProperty.__reduce_cython__BooleanProperty.__setstate_cython__BoundedNumericPropertyBo""undedNumericPropertyStorageBoundedNumericProperty.__reduce_cython__BoundedNumericProperty.__setstate_cython__BoundedNumericProperty.get_maxBoundedNumericProperty.get_minBoundedNumericProperty.set_maxBoundedNumericProperty.set_minClockColorPropertyColorProperty.__reduce_cython__ColorProperty.__setstate_cython__ConfigParserConfigParserPropertyConfigParserProperty.__reduce_cython__ConfigParserProperty.__setstate_cython__ConfigParserProperty._edit_settingConfigParserProperty.link_depsConfigParserProperty.setConfigParserProperty.set_configDictPropertyDictProperty.__reduce_cython__DictProperty.__setstate_cython__DictProperty.linkDictProperty.setListPropertyListProperty.__reduce_cython__ListProperty.__setstate_cython__ListProperty.linkListProperty.setLoggerNUMERIC_FORMATSNumericPropertyNumericPropertyStorageNumericProperty.__reduce_cython__NumericProperty.__setstate_cython__NumericProperty._dpi_callbackNumericProperty.get_formatObjectPropertyObjectProperty.__reduce_cython__ObjectProperty.__setstate_cython__ObservableDictObservableDict.__delitem__ObservableDict.__getattr__ObservableDict.__init__ObservableDict.__setattr__ObservableDict.__setitem__ObservableDict._weak_returnObservableDict.clearObservableDict.popObservableDict.popitemObservableDict.removeObservableDict.setdefaultObservableDict.updateObservableListObservableList.__delitem__ObservableList.__delslice__ObservableList.__iadd__ObservableList.__imul__ObservableList.__init__ObservableList.__setitem__ObservableList.__setslice__ObservableList.appendObservableList.extendObservableList.insertObservableList.popObservableList.removeObservableList.reverseObservableList.sortObservableReferenceListObservableReferenceList.__setitem__ObservableReferenceList.__setslice__OptionPropertyOptionPropertyStorageOptionProperty.__reduce_cython__OptionProperty.__setstate_cython__PropertyPropertyStorageProperty.__reduce_cython__Property.__set_name__Property.__setstate_cython__Property.bindProperty.dispatchProperty.fbindProperty.funbindPrope""rty.getProperty.linkProperty.link_depsProperty.link_eagerlyProperty.setProperty.set_nameProperty.unbindProperty.unbind_uid__Pyx_PyDict_NextRefReferenceListPropertyReferenceListPropertyStorageReferenceListProperty.__reduce_cython__ReferenceListProperty.__setstate_cython__ReferenceListProperty.getReferenceListProperty.linkReferenceListProperty.link_depsReferenceListProperty.setReferenceListProperty.setitemReferenceListProperty.trigger_changeStringPropertyStringProperty.__reduce_cython__StringProperty.__setstate_cython__VariableListPropertyVariableListPropertyStorageVariableListProperty.__reduce_cython__VariableListProperty.__setstate_cython__VariableListProperty._dpi_callbackVariableListProperty.linkWeakMethodadd_callbackadddefaultsection__all__allownoneappendasyncio.coroutinesattrbbaseclassbindccache__class____class_getitem__clearcline_in_tracebackcolormapcomparatorconfigddefaultvalue__delitem____delslice__deprecateddispatch__doc__dpi2px_dpi_callback_edit_settingerrorhandlererrorvalueevent_dispatcherextendffbindforce_dispatchformatfunbind__func__functoolsgetget_color_from_hexget_configparserget_formatget_maxget_min__getattr____getitem____getstate__getteri__iadd____imul____init__insert_is_coroutineitemitemskeykivy._metricskivy.clockkivy.configkivy.loggerkivy.propertieskivy.utilskivy.weakmethodkwargslargslast_oplengthlinklink_depslink_eagerly__main__max__metaclass__min__module____mro_entries____name__nameobj_objobserveroptionsownerpartialpoppopitem__prepare__propps_pspx__pyx_state__pyx_vtable____qualname____read_onlyrebind__reduce____reduce_cython____reduce_ex__ref_register_named_propertyremoveremove_callbackresultreverseschedule_oncesectionselfsetset_configset_maxset_minset_name__set_name____setattr__setdefault__setitem__setitem__setslice____setstate____setstate_cython__settersortstartstopstop_on_firstsuper__test__touch_downtouch_movetouch_uptrigger_changeuidunbindunbind_callbackunbind_uidupdateupdate_propertiesvval_typevalue_valuevaluesverifywarnwarningwatch_before_u""se_weak_returnweakrefwritexPyObject *\000cache_properties_per_clsfloat (PyObject *, PyObject *, int __pyx_skip_dispatch)\000dpi2px\200A\200A\330\0100\260\003\2601\330\010\013\320\013\034\230C\230q\330\014\r\340\010#\2404\320'<\270A\270Q\330\010\013\2103\210n\230G\2401\360\n\000\r\016\340\010)\250\021\330\010\013\2102\210]\230#\230Q\330\014\r\330\010\014\210D\220\001\320\021$\240B\240o\260R\260q\200A\330\0100\260\003\2601\330\010\013\320\013\034\230C\230q\330\014\r\340\010#\2404\320'<\270A\270Q\330\010\013\2103\210n\230G\2401\360\n\000\r\016\340\010.\250a\330\010\013\2104\210r\220\021\330\014\r\330\010\014\210D\220\001\320\021#\2402\240Q\200A\360\006\000\t0\250t\3203H\310\001\310\021\330\010\020\220\004\220H\230A\230U\240(\250!\330\010\013\2104\210t\320\023#\2404\240t\250>\270\021\270\"\270H\300A\330\014\023\2201\330\010\014\210F\220!\2205\230\007\230q\340\010\n\210.\230\001\330\010\020\220\002\220!\330\010\014\210G\2206\230\021\230#\230Q\230a\330\014\023\2205\230\001\230\021\330\014\020\220\005\220Q\220a\330\014\020\220\004\220A\220U\230!\330\010\n\210.\230\001\330\010\t\330\014\016\210f\220M\240\021\240#\240S\250\001\250\030\260\021\330\024&\240a\330\017\020\330\014\016\210f\220L\240\006\240a\240s\250!\2509\260A\330\024&\240a\330\010\014\210J\220a\220u\230A\330\010\017\210q\200A\360\006\000\t#\240$\320&;\2701\270A\330\010\n\210*\220E\230\021\230*\240A\240[\260\n\270!\200A\360\006\000\t#\240$\320&;\2701\270A\330\010\020\220\004\220H\230A\230U\240'\250\021\330\010\024\220B\220a\330\010\013\2104\210t\320\023#\2404\240t\250>\270\021\270+\300Q\330\014\023\2201\340\010\t\330\014\020\220\006\220a\220u\230G\2401\330\010\017\210~\230Q\330\014\017\210t\320\023#\2403\240a\330\020\030\230\004\230A\330\020\024\220F\230!\2305\240\007\240q\330\021\025\220^\2407\250!\330\020\030\230\004\230M\250\021\250!\330\020\024\220F\230!\2305\240\007\240q\340\020\026\220a\340\010\n\210)\2201\330\010\014\210J\220a\220u\230A\330\010\017\210q\200A\360 \000\t#\240$\320&;\2701\270A\330\010\014""\210J\220a\220u\230A\200A\360\010\000\t#\240$\320&;\2701\270A\330\010\n\210*\220K\230q\240\001\200A\360\010\000\t#\240$\320&;\2701\270A\330\010!\240\021\340\010\020\220\004\220K\230q\240\001\330\010\024\220B\220a\330\010\013\2104\210~\230Q\230k\250\021\330\014\021\220\024\220Q\330\014\017\210t\2203\220d\230$\230n\250A\250\\\270\021\330\020\027\220q\360\014\000\021\024\2204\220q\330\024\030\230\007\230t\2401\240D\250\n\260$\260f\270A\330\024\030\230\007\230v\240Q\330\020\024\220J\230a\230u\240A\330\020\027\220q\340\010\t\330\014\017\210t\2208\2307\240%\240t\2504\250t\2607\270!\2701\330\020\026\220j\240\001\320!>\270a\330\026\027\220w\230c\240\032\250;\260d\270!\330\010\017\210|\2301\330\014\017\210t\320\023#\2403\240a\330\020\030\230\004\230A\330\021\025\220^\2407\250!\330\020\030\230\004\230M\250\021\250!\340\020\026\220a\340\014\017\210t\2208\2307\240%\240t\2504\250t\2607\270!\2701\330\020\026\220j\240\001\320!>\270a\330\026\027\220w\230c\240\032\250;\260d\270!\340\010\n\210)\2201\330\010\013\2104\210x\220w\230a\330\014\020\220\007\220t\2301\230D\240\n\250$\250f\260A\330\014\020\220\007\220v\230Q\330\010\014\210J\220a\220u\230A\330\010\017\210q\200A\330\014\023\2201\220F\230#\230Q\330\010\014\210K\220z\240\021\330\010 \240\001\240\021\200A\360\016\000\t1\260\004\3204I\310\021\310!\330\010\013\2102\210^\2303\230a\330\014\023\2202\220Q\330\010\013\2102\210^\2303\230a\330\014\023\2202\220Q\200A\360\032\000\t1\260\004\3204I\310\021\310!\330\010\013\2102\210^\2303\230a\330\014\023\2202\220Q\330\r\017\210~\230S\240\001\330\014\023\2202\220Q\200A\360&\000\t1\260\004\3204I\310\021\310!\330\010\013\2106\220\023\220A\330\014\016\320\016\036\230a\330\r\021\220\021\220'\230\023\230A\330\014\016\210n\230A\330\014\016\320\016\036\230a\340\014\016\210l\230!\330\014\016\320\016\036\230a\200A\360\026\000\t1\260\004\3204I\310\021\310!\330\010\013\2106\220\023\220A\330\014\016\320\016\036\230a\330\r\021\220\021\220'\230\023\230A\330\014\016\210n\230A\330\014\016\320\016\036\230a\340""\014\016\210l\230!\330\014\016\320\016\036\230a\200A\360\010\000\t\n\330\014\021\220\024\320\025*\250!\2501\330\017\020\330\014\022\220.\240\001\240\024\240Q\330\010\017\210r\220\021\200A\330\010\t\330\014\023\2204\220}\240A\240T\250\034\260Q\260a\330\017\020\330\014\023\2204\220}\240A\330\034!\240\021\320\"2\260%\260|\3001\300A\200A\360\006\000\t\014\2104\320\017!\240\024\240T\250\021\330\014\023\2204\320\027,\250A\250Q\330\010\017\210q\200A\360&\000\t$\2404\240t\2501\340\010\"\240$\320&;\2701\270A\330\010\013\2104\210x\220s\230!\330\014\r\340\010\013\2104\210x\220w\230a\330\014\020\220\007\320\027'\240q\250\004\320,<\270D\300\001\330(,\250A\330\010\014\210J\220a\330\010\013\2104\210x\220w\230a\330\014\020\220\007\320\027)\250\021\250$\250a\330\014\020\220\007\220{\240!\2404\240z\260\024\260V\2702\270Q\330\014\020\220\007\220v\230Q\330\014\020\220\007\220}\240A\240T\320)9\270\024\270Q\330%)\250\021\330\014\020\220\016\230a\330\014\020\220\016\230a\230t\240:\250T\260\021\330\037#\2407\250$\250a\250t\260:\270T\300\021\200A\360(\000\t\014\2104\210t\2201\340\014\020\220\t\230\021\230%\230q\340\010\014\210C\210z\230\024\230Q\230a\340\010\013\2102\210W\220A\330\014\023\2201\340\010\014\210D\320\020(\250\001\330\010\013\210:\220Q\220h\230a\330\010\014\210M\230\021\230%\230q\330\010\017\210q\200A\360\n\000\t\014\2104\210w\220d\230%\230s\240$\240a\330\014\020\220\003\220:\230T\240\021\240$\240h\250a\330\014\017\210r\220\027\230\005\230T\240\021\240.\260\003\2601\330\020\023\220:\230Q\230h\240a\340\020\023\220:\230Q\230h\240a\330\r\021\220\024\220Q\340\014\017\210z\230\021\230(\240!\330\r\022\220'\230\023\230A\340\014\017\210z\230\021\230(\240!\340\010\014\210M\230\021\230#\230\\\250\021\200A\330\010\013\2105\220\003\220=\240\003\2405\250\003\250=\270\003\2705\300\003\3001\330\014\022\220)\2301\320\034E\300R\300q\340\010\013\2106\220\027\230\001\330\014$\240A\240Y\250a\330\010 \240\001\240\026\240q\250\010\260\001\330\010\014\210I\220Q\200A\330\010\013\2105\220\004\220H\230A""\330\014\021\220\021\320\022\"\240%\240|\2601\260F\270!\330\014\r\330\010\014\210L\230\001\230\026\230q\200A\330\010\013\2106\220\027\230\001\330\014\024\220N\240!\2406\250\025\250a\330\020\024\220A\220V\2305\240\001\200A\360\006\000\021\033\230!\2306\240\025\240a\330\010\014\210G\2203\220a\220q\360\006\000\t\014\2104\210x\220s\230!\330\014\020\220\n\230,\320&7\260q\270\004\270A\330\010\013\2104\210x\220w\230a\330\014\020\220\007\320\027)\250\021\250$\250a\330\014\020\220\007\220{\240!\2404\240z\260\024\260V\2704\270q\340\014\021\220\024\320\025*\250!\2501\330\014\016\210i\220t\230;\240a\240t\2507\260$\260a\260t\270:\300T\310\021\340\014\020\220\007\220t\2301\230D\240\n\250$\250f\260B\260a\330\014\020\220\016\230d\240'\250\024\250Q\250d\260*\270D\300\001\330\014\020\220\007\220}\240A\240T\320)9\270\024\270Z\300t\3101\330\014\020\220\007\220v\230Q\340\r\021\220\021\340\014\021\220\036\230q\240\007\240q\250\014\260A\330\014\020\220\017\230t\2406\250\024\250Y\260a\200A\340\020\032\230!\2306\240\025\240a\330\010\014\210H\220D\230\001\330\014\020\220\006\220a\220u\230D\320 1\260\021\200A\340\0106\260e\2701\270F\300%\300q\340\010\n\210)\220>\240\021\240&\250\005\250R\250q\360\016\000\t'\320&;\270>\310\021\330\014\020\320\020 \240\006\240f\250A\360\006\000\t\021\220\n\230\"\230C\230q\240\005\240X\250Q\360\006\000\t\036\320\0355\260Q\260a\330\010\017\210q\200A\330\0107\260u\270A\270V\3005\310\001\330\010\n\210)\320\023*\250!\2506\260\025\260b\270\001\330\010\017\210q\200A\360\014\000\t*\250\024\320-B\300!\3001\330\010\017\210r\220\021\200A\330\010\014\210E\220\021\220'\230\031\240!\330\010\014\210K\220x\230q\330\010 \240\001\240\021\200A\330\010\014\210F\220!\2207\230!\330\010 \240\001\240\021\200A\330\010\014\210G\2201\220G\2301\330\010 \240\001\240\021\200A\330\010\014\210G\2201\220G\2301\330\010\014\210K\220z\240\021\330\010 \240\001\240\021\200A\330\010\014\210H\220A\220W\230A\330\010\014\210K\220{\240!\330\010 \240\001\240\021\200A\340\010\014\210H\220D\230\001\330""\014\024\220G\2301\230C\230|\2501\330\014\021\220\026\220q\230\005\230T\320!2\260!\200A\330\010\014\210H\220E\230\021\230!\330\010\014\210G\2203\220a\220u\230A\230Q\330\010\014\210K\220t\2301\330\010\r\210Q\320\016\036\230e\2409\250B\250e\2601\260A\200A\330\010\014\210H\220E\230\021\230!\330\010\014\210G\2205\230\001\230\021\330\010\r\210Q\320\016\036\230e\2409\250B\250e\2601\260A\200A\330\010\014\210I\220Q\220f\230A\330\010\014\210K\220z\240\021\330\010 \240\001\240\021\200A\330\010\014\210I\220Q\220g\230Q\330\010\014\210K\220|\2401\330\010 \240\001\240\021\200A\330\010\014\210L\230\001\230\026\230q\330\010 \240\001\240\021\200A\330\010\014\210L\230\001\230\026\230q\330\010\014\210K\220\177\240a\330\010 \240\001\240\021\200A\330\010\014\210L\230\001\230\026\230u\240A\330\010 \240\001\240\021\200A\330\010\014\210L\230\001\230\026\230u\240A\330\010\014\210K\220\177\240a\330\010 \240\001\240\021\200A\330\010\014\210M\230\021\230&\240\003\2401\330\010\014\210K\320\027(\250\003\2501\330\010 \240\001\240\021\200A\330\010\014\210M\230\021\230&\240\003\2403\240a\330\010\014\210K\320\027(\250\003\2501\330\010 \240\001\240\021\200A\330\010\013\210:\220Q\220f\230A\330\014\023\2204\220q\330\010\017\210q\200A\330\010\035\230T\240\033\250A\250W\260A\330\010 \240\001\240\021\330\010\017\210q\200A\330\010\035\230T\240\024\240Q\240g\250Q\330\010\014\210K\220w\230a\330\010 \240\001\240\021\330\010\017\210q\200A\330\010\035\230T\240\024\240Q\240g\250Q\330\010 \240\001\240\021\330\010\017\210q\200A\330\010\035\230T\240\030\250\021\250'\260\021\330\010 \240\001\240\021\330\010\017\210q\200A\340\010\032\230$\230d\240!\330\010\013\2104\210s\220%\220s\230$\230l\250#\250Q\330\014\r\340\010\014\210N\230!\330\010\014\210D\220\001\220\025\220a\200A\330\010\016\210n\230A\330\014*\250'\260\021\330\020\024\220A\220U\230!\330\020\024\220A\200A\330\010\017\210q\200A\330\010*\250%\250q\260\006\260e\2701\330\010\013\2102\210W\220G\2301\330\014\016\210i\220~\240Q\240f\250E\260\022\2601\330\010\017""\210q\200A\330\010/\250t\3203H\310\001\310\021\330\010\013\2102\210Q\330\014\r\330\010\014\210B\210a\340\010\t\330\014\016\210f\220M\240\021\240#\240S\250\001\250\021\330\024\025\220T\230\024\230Q\230e\2404\240x\250q\330\024&\240a\330\017\020\330\014\016\210f\220L\240\006\240a\240s\250!\2501\330\024\025\220T\230\024\230Q\230e\2404\240x\250q\330\024&\240a\340\010\014\210J\220a\220u\230A\200A\330\010/\250t\3203H\310\001\310\021\330\010\030\230\001\340\010\n\210.\230\001\330\010\013\210:\220Q\220e\2301\330\014\024\220B\220k\240\021\240!\330\014\020\220\t\230\026\230q\240\003\2401\240A\330\020\027\220u\230A\230Q\330\020\024\220E\230\021\230!\330\020\026\220d\230$\230a\230u\240C\240s\250!\340\014\023\2202\220[\240\001\240\021\330\014\022\220$\220d\230!\2305\240\001\330\010\n\210.\230\001\330\010\013\2101\330\014\020\220\n\230!\2305\240\001\200A\330\010/\250t\3203H\310\001\310\021\330\010\027\220r\230\021\330\010\t\330\014\016\210f\220M\240\021\240#\240S\250\001\250\021\330\024\025\220T\230\024\230Q\230e\2404\240x\250q\330\024&\240a\330\017\020\330\014\016\210f\220L\240\006\240a\240s\250!\2501\330\024\025\220T\230\024\230Q\230e\2404\240x\250q\330\024&\240a\330\010\017\210r\220\021\200A\330\010'\240t\320+@\300\001\300\021\330\010\013\2102\210W\220A\220U\230!\330\014\017\210t\2201\330\020\023\2202\220Q\330\024\026\320\026'\240q\330\020\022\220)\2302\230W\240A\240Q\330\014\020\220\n\230!\2305\240\001\330\r\021\220\021\330\014\020\220\n\230!\2305\240\001\200A\330\010'\240t\320+@\300\001\300\021\330\010\013\2104\210q\330\014\017\210r\220\021\330\020\022\320\022#\2401\330\020\022\220)\2302\230W\240A\240Q\330\014\023\2202\220Q\330\010\017\210r\220\027\230\001\230\021\200A\330\010'\240t\320+@\300\001\300\021\330\010\021\220\022\2207\230!\2301\330\010\013\2102\210W\220C\220q\330\014\017\210t\2201\330\020\022\320\022#\2401\330\020\022\220)\2301\330\014\020\220\n\230!\2305\240\001\320\004C\320CS\320ST\360\n\000\t#\240$\320&;\2701\270A\330\010\n\210*\220H\230A\230Z\240w\250a\320\004H""\310\001\360\006\000\t#\240$\320&;\2701\270A\330\010\n\210*\220G\2301\230J\240a\320\004J\320JZ\320Z[\360\014\000\t#\240$\320&;\2701\270A\330\010\013\2101\330\014\023\2202\220Z\230v\240Q\240j\260\001\260\033\270G\3008\3101\340\014\023\2202\220Z\230v\240Q\240j\260\007\260x\270q\200\001\330\004\n\210+\220Q\320\004&\240a\330\010\014\210L\230\001\230\026\230u\240A\330\010\013\2101\330\014\020\220\005\220X\230Q\230d\240$\240d\250%\250q\320\004/\250q\330\010\014\210M\230\021\230&\240\007\240v\250Q\330\010\013\2101\330\014\020\220\005\220X\230Q\230d\240$\240i\250q\260\007\260w\270astruct __pyx_obj_4kivy_6_event_EventObservers *\000pixel_scale_observers";
    PyObject *data = NULL;
    CYTHON_UNUSED_VAR(__Pyx_DecompressString);
    #endif
    PyObject **stringtab = __pyx_mstate->__pyx_string_tab;
    Py_ssize_t pos = 0;
    for (int i = 0; i < 329; i++) {
      Py_ssize_t bytes_length = index[i].length;
      PyObject *string = PyUnicode_DecodeUTF8(bytes + pos, bytes_length, NULL);
      if (likely(string) && i >= 47) PyUnicode_InternInPlace(&string);
      if (unlikely(!string)) {
        Py_XDECREF(data);
        __PYX_ERR(0, 1, __pyx_L1_error)
      }
      stringtab[i] = string;
      pos += bytes_length;
    }
    for (int i = 329; i < 397; i++) {
      Py_ssize_t bytes_length = index[i].length;
      PyObject *string = PyBytes_FromStringAndSize(bytes + pos, bytes_length);
      stringtab[i] = string;
      pos += bytes_length;
      if (unlikely(!string)) {
        Py_XDECREF(data);
        __PYX_ERR(0, 1, __pyx_L1_error)
      }
    }
    Py_XDECREF(data);
    for (Py_ssize_t i = 0; i < 397; i++) {
      if (unlikely(PyObject_Hash(stringtab[i]) == -1)) {
        __PYX_ERR(0, 1, __pyx_L1_error)
      }
    }
    #if CYTHON_IMMORTAL_CONSTANTS
    {
      PyObject **table = stringtab + 329;
      for (Py_ssize_t i=0; i<68; ++i) {
        #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
        Py_SET_REFCNT(table[i], _Py_IMMORTAL_REFCNT_LOCAL);
        #else
        Py_SET_REFCNT(table[i], _Py_IMMORTAL_INITIAL_REFCNT);
        #endif
      }
    }
    #endif
  }
  {
    PyObject **numbertab = __pyx_mstate->__pyx_number_tab;
    double const c_constants[] = {1.0};
    for (int i = 0; i < 1; i++) {
      numbertab[i] = PyFloat_FromDouble(c_constants[i]);
      if (unlikely(!numbertab[i])) __PYX_ERR(0, 1, __pyx_L1_error)
    }
  }
  {
    PyObject **numbertab = __pyx_mstate->__pyx_number_tab + 1;
    int8_t const cint_constants_1[] = {0,-2,2,4};
    for (int i = 0; i < 4; i++) {
      numbertab[i] = PyLong_FromLong(cint_constants_1[i - 0]);
      if (unlikely(!numbertab[i])) __PYX_ERR(0, 1, __pyx_L1_error)
    }
  }
  #if CYTHON_IMMORTAL_CONSTANTS
  {
    PyObject **table = __pyx_mstate->__pyx_number_tab;
    for (Py_ssize_t i=0; i<5; ++i) {
      #if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
      Py_SET_REFCNT(table[i], _Py_IMMORTAL_REFCNT_LOCAL);
      #else
      Py_SET_REFCNT(table[i], _Py_IMMORTAL_INITIAL_REFCNT);
      #endif
    }
  }
  #endif
  return 0;
  __pyx_L1_error:;
  return -1;
}
/* #### Code section: init_codeobjects ### */
typedef struct {
    unsigned int argcount : 3;
    unsigned int num_posonly_args : 1;
    unsigned int num_kwonly_args : 1;
    unsigned int nlocals : 3;
    unsigned int flags : 10;
    unsigned int first_line : 12;
} __Pyx_PyCode_New_function_description;
/* NewCodeObj.proto */
static PyObject* __Pyx_PyCode_New(
        const __Pyx_PyCode_New_function_description descr,
        PyObject * const *varnames,
        PyObject *filename,
        PyObject *funcname,
        PyObject *line_table,
        PyObject *tuple_dedup_map
);


static int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate) {
  PyObject* tuple_dedup_map = PyDict_New();
  if (unlikely(!tuple_dedup_map)) return -1;
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 406};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_owner, __pyx_mstate->__pyx_n_u_name_3};
    __pyx_mstate_global->__pyx_codeobj_tab[0] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_set_name_2, __pyx_mstate->__pyx_kp_b_iso88591_A_5_5_5_1_1_ERq_6_AYa_q_IQ, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[0])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 415};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_name_3};
    __pyx_mstate_global->__pyx_codeobj_tab[1] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_set_name, __pyx_mstate->__pyx_kp_b_iso88591_A_4wd_s_a_T_ha_r_T_1_Qha_Qha_Q_z, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[1])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 435};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj};
    __pyx_mstate_global->__pyx_codeobj_tab[2] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_link_eagerly, __pyx_mstate->__pyx_kp_b_iso88591_A_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[2])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 438};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_name_3};
    __pyx_mstate_global->__pyx_codeobj_tab[3] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_link, __pyx_mstate->__pyx_kp_b_iso88591_A_4t1_q_Cz_Qa_2WA_1_D_Qha_M_q_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[3])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 472};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_name_3};
    __pyx_mstate_global->__pyx_codeobj_tab[4] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_link_deps, __pyx_mstate->__pyx_kp_b_iso88591_A, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[4])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 475};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_observer};
    __pyx_mstate_global->__pyx_codeobj_tab[5] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_bind, __pyx_mstate->__pyx_kp_b_iso88591_A_1A_E_A, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[5])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {6, 0, 0, 6, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 481};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_observer, __pyx_mstate->__pyx_n_u_ref, __pyx_mstate->__pyx_n_u_largs, __pyx_mstate->__pyx_n_u_kwargs};
    __pyx_mstate_global->__pyx_codeobj_tab[6] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_fbind, __pyx_mstate->__pyx_kp_b_iso88591_JJZZ_1A_1_2ZvQj_G81_2ZvQj_xq, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[6])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {4, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 493};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_observer, __pyx_mstate->__pyx_n_u_stop_on_first};
    __pyx_mstate_global->__pyx_codeobj_tab[7] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_unbind, __pyx_mstate->__pyx_kp_b_iso88591_H_1A_G1Ja, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[7])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {5, 0, 0, 5, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 499};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_observer, __pyx_mstate->__pyx_n_u_largs, __pyx_mstate->__pyx_n_u_kwargs};
    __pyx_mstate_global->__pyx_codeobj_tab[8] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_funbind, __pyx_mstate->__pyx_kp_b_iso88591_CCSST_1A_HAZwa, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[8])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 507};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_uid};
    __pyx_mstate_global->__pyx_codeobj_tab[9] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_unbind_uid, __pyx_mstate->__pyx_kp_b_iso88591_A_1A_Kq, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[9])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 545};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_value};
    __pyx_mstate_global->__pyx_codeobj_tab[10] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_set, __pyx_mstate->__pyx_kp_b_iso88591_A_1A_HAU_Ba_4t_4t_Q_1_auG1_Q_t_3, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[10])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 570};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj};
    __pyx_mstate_global->__pyx_codeobj_tab[11] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_get, __pyx_mstate->__pyx_kp_b_iso88591_A_1_Q_r, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[11])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 608};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj};
    __pyx_mstate_global->__pyx_codeobj_tab[12] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_dispatch, __pyx_mstate->__pyx_kp_b_iso88591_A_1A_JauA, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[12])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self};
    __pyx_mstate_global->__pyx_codeobj_tab[13] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[13])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 3};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state};
    __pyx_mstate_global->__pyx_codeobj_tab[14] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[14])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {4, 0, 0, 7, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 675};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_obj_2, __pyx_mstate->__pyx_n_u_value_2, __pyx_mstate->__pyx_n_u_event_dispatcher, __pyx_mstate->__pyx_n_u_ps, __pyx_mstate->__pyx_n_u_ps_2};
    __pyx_mstate_global->__pyx_codeobj_tab[15] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_dpi_callback, __pyx_mstate->__pyx_kp_b_iso88591_A_0_1_Cq_4_AQ_3nG1_2_Q_D_BoRq, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[15])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 771};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_ps_2};
    __pyx_mstate_global->__pyx_codeobj_tab[16] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_get_format, __pyx_mstate->__pyx_kp_b_iso88591_A_B_1_r, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[16])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self};
    __pyx_mstate_global->__pyx_codeobj_tab[17] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[17])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 3};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state};
    __pyx_mstate_global->__pyx_codeobj_tab[18] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[18])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self};
    __pyx_mstate_global->__pyx_codeobj_tab[19] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[19])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 3};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state};
    __pyx_mstate_global->__pyx_codeobj_tab[20] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[20])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS), 811};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_largs};
    __pyx_mstate_global->__pyx_codeobj_tab[21] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_init, __pyx_mstate->__pyx_kp_b_iso88591_A_HE_G3auAQ_Kt1_Q_e9Be1A, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[21])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 817};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_key, __pyx_mstate->__pyx_n_u_value};
    __pyx_mstate_global->__pyx_codeobj_tab[22] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_setitem, __pyx_mstate->__pyx_kp_b_iso88591_A_L_uA_K_a, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[22])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 822};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_key};
    __pyx_mstate_global->__pyx_codeobj_tab[23] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_delitem, __pyx_mstate->__pyx_kp_b_iso88591_A_L_q_K_a, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[23])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {4, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 827};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_b, __pyx_mstate->__pyx_n_u_c, __pyx_mstate->__pyx_n_u_v};
    __pyx_mstate_global->__pyx_codeobj_tab[24] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_setslice, __pyx_mstate->__pyx_kp_b_iso88591_A_M_3a_K_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[24])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 832};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_b, __pyx_mstate->__pyx_n_u_c};
    __pyx_mstate_global->__pyx_codeobj_tab[25] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_delslice, __pyx_mstate->__pyx_kp_b_iso88591_A_M_1_K_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[25])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS), 837};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_largs};
    __pyx_mstate_global->__pyx_codeobj_tab[26] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_iadd, __pyx_mstate->__pyx_kp_b_iso88591_A_IQgQ_K_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[26])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 842};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_b};
    __pyx_mstate_global->__pyx_codeobj_tab[27] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_imul, __pyx_mstate->__pyx_kp_b_iso88591_A_IQfA_Kz, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[27])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS), 847};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_largs};
    __pyx_mstate_global->__pyx_codeobj_tab[28] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_append, __pyx_mstate->__pyx_kp_b_iso88591_A_G1G1_Kz, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[28])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS), 852};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_largs};
    __pyx_mstate_global->__pyx_codeobj_tab[29] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_remove, __pyx_mstate->__pyx_kp_b_iso88591_A_G1G1_Kz, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[29])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 857};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_i, __pyx_mstate->__pyx_n_u_x};
    __pyx_mstate_global->__pyx_codeobj_tab[30] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_insert, __pyx_mstate->__pyx_kp_b_iso88591_A_1F_Q_Kz, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[30])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS), 862};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_largs, __pyx_mstate->__pyx_n_u_result};
    __pyx_mstate_global->__pyx_codeobj_tab[31] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_pop, __pyx_mstate->__pyx_kp_b_iso88591_A_T_QgQ_Kwa_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[31])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS), 868};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_largs};
    __pyx_mstate_global->__pyx_codeobj_tab[32] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_extend, __pyx_mstate->__pyx_kp_b_iso88591_A_G1G1_Kz, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[32])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS|CO_VARKEYWORDS), 873};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_largs, __pyx_mstate->__pyx_n_u_kwargs};
    __pyx_mstate_global->__pyx_codeobj_tab[33] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_sort, __pyx_mstate->__pyx_kp_b_iso88591_A_E_Kxq, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[33])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS), 878};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_largs};
    __pyx_mstate_global->__pyx_codeobj_tab[34] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_reverse, __pyx_mstate->__pyx_kp_b_iso88591_A_HAWA_K, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[34])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 922};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_name_3};
    __pyx_mstate_global->__pyx_codeobj_tab[35] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_link, __pyx_mstate->__pyx_kp_b_iso88591_A_q_e1_2WG1_i_QfE_1_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[35])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 936};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_value};
    __pyx_mstate_global->__pyx_codeobj_tab[36] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_set, __pyx_mstate->__pyx_kp_b_iso88591_A_6_N_6_a_AV5, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[36])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self};
    __pyx_mstate_global->__pyx_codeobj_tab[37] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[37])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 3};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state};
    __pyx_mstate_global->__pyx_codeobj_tab[38] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[38])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS), 949};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_largs};
    __pyx_mstate_global->__pyx_codeobj_tab[39] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_init, __pyx_mstate->__pyx_kp_b_iso88591_A_HE_G5_Q_e9Be1A, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[39])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 954};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_item};
    __pyx_mstate_global->__pyx_codeobj_tab[40] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_weak_return, __pyx_mstate->__pyx_kp_b_iso88591_A_QfA_4q_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[40])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 959};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_attr};
    __pyx_mstate_global->__pyx_codeobj_tab[41] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_getattr, __pyx_mstate->__pyx_kp_b_iso88591_A_4_AT_Qa_4_A_2_1A, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[41])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 966};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_attr, __pyx_mstate->__pyx_n_u_value};
    __pyx_mstate_global->__pyx_codeobj_tab[42] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_setattr, __pyx_mstate->__pyx_kp_b_iso88591_A_5_HA_1F_L_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[42])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 972};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_key, __pyx_mstate->__pyx_n_u_value};
    __pyx_mstate_global->__pyx_codeobj_tab[43] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_setitem, __pyx_mstate->__pyx_kp_b_iso88591_A_L_uA, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[43])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 976};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_key};
    __pyx_mstate_global->__pyx_codeobj_tab[44] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_delitem, __pyx_mstate->__pyx_kp_b_iso88591_A_L_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[44])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS), 980};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_largs};
    __pyx_mstate_global->__pyx_codeobj_tab[45] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_clear, __pyx_mstate->__pyx_kp_b_iso88591_A_F_7, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[45])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS), 984};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_largs};
    __pyx_mstate_global->__pyx_codeobj_tab[46] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_remove, __pyx_mstate->__pyx_kp_b_iso88591_A_G1G1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[46])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS), 988};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_largs, __pyx_mstate->__pyx_n_u_result};
    __pyx_mstate_global->__pyx_codeobj_tab[47] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_pop, __pyx_mstate->__pyx_kp_b_iso88591_A_T_QgQ_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[47])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS), 993};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_largs, __pyx_mstate->__pyx_n_u_result};
    __pyx_mstate_global->__pyx_codeobj_tab[48] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_popitem, __pyx_mstate->__pyx_kp_b_iso88591_A_T_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[48])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS), 998};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_largs, __pyx_mstate->__pyx_n_u_result};
    __pyx_mstate_global->__pyx_codeobj_tab[49] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_setdefault, __pyx_mstate->__pyx_kp_b_iso88591_A_T_AWA_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[49])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS), 1003};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_largs};
    __pyx_mstate_global->__pyx_codeobj_tab[50] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_update, __pyx_mstate->__pyx_kp_b_iso88591_A_G1G1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[50])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1032};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_name_3};
    __pyx_mstate_global->__pyx_codeobj_tab[51] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_link, __pyx_mstate->__pyx_kp_b_iso88591_A_q_e1_2WG1_i_QfE_1_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[51])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1046};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_value};
    __pyx_mstate_global->__pyx_codeobj_tab[52] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_set, __pyx_mstate->__pyx_kp_b_iso88591_A_6_N_6_a_AV5, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[52])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self};
    __pyx_mstate_global->__pyx_codeobj_tab[53] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[53])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 3};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state};
    __pyx_mstate_global->__pyx_codeobj_tab[54] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[54])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self};
    __pyx_mstate_global->__pyx_codeobj_tab[55] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[55])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 3};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state};
    __pyx_mstate_global->__pyx_codeobj_tab[56] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[56])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self};
    __pyx_mstate_global->__pyx_codeobj_tab[57] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[57])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 3};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state};
    __pyx_mstate_global->__pyx_codeobj_tab[58] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[58])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1179};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_value, __pyx_mstate->__pyx_n_u_ps_2};
    __pyx_mstate_global->__pyx_codeobj_tab[59] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_set_min, __pyx_mstate->__pyx_kp_b_iso88591_A_1_4I_6_A_a_A_nA_a_l_a, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[59])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1208};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_ps_2};
    __pyx_mstate_global->__pyx_codeobj_tab[60] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_get_min, __pyx_mstate->__pyx_kp_b_iso88591_A_1_4I_2_3a_2Q_S_2Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[60])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1227};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_value, __pyx_mstate->__pyx_n_u_ps_2};
    __pyx_mstate_global->__pyx_codeobj_tab[61] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_set_max, __pyx_mstate->__pyx_kp_b_iso88591_A_1_4I_6_A_a_A_nA_a_l_a_2, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[61])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1248};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_ps_2};
    __pyx_mstate_global->__pyx_codeobj_tab[62] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_get_max, __pyx_mstate->__pyx_kp_b_iso88591_A_1_4I_2_3a_2Q_2_3a_2Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[62])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self};
    __pyx_mstate_global->__pyx_codeobj_tab[63] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[63])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 3};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state};
    __pyx_mstate_global->__pyx_codeobj_tab[64] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[64])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self};
    __pyx_mstate_global->__pyx_codeobj_tab[65] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[65])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 3};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state};
    __pyx_mstate_global->__pyx_codeobj_tab[66] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[66])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {4, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1369};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_key, __pyx_mstate->__pyx_n_u_value, __pyx_mstate->__pyx_n_u_update_properties};
    __pyx_mstate_global->__pyx_codeobj_tab[67] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_setitem, __pyx_mstate->__pyx_kp_b_iso88591_a_L_uA_1_XQd_d_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[67])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {5, 0, 0, 5, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1374};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_start, __pyx_mstate->__pyx_n_u_stop, __pyx_mstate->__pyx_n_u_value, __pyx_mstate->__pyx_n_u_update_properties};
    __pyx_mstate_global->__pyx_codeobj_tab[68] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_setslice, __pyx_mstate->__pyx_kp_b_iso88591_q_M_vQ_1_XQd_iq_wa, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[68])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1413};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_name_3};
    __pyx_mstate_global->__pyx_codeobj_tab[69] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_link, __pyx_mstate->__pyx_kp_b_iso88591_A_7uAV5_6_b_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[69])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1418};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_name_3};
    __pyx_mstate_global->__pyx_codeobj_tab[70] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_link_deps, __pyx_mstate->__pyx_kp_b_iso88591_A_6_a_HD_auD_1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[70])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1424};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_value};
    __pyx_mstate_global->__pyx_codeobj_tab[71] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_trigger_change, __pyx_mstate->__pyx_kp_b_iso88591_A_t3H_2Q_Ba_fM_S_T_Qe4xq_a_fL_as, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[71])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1456};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_value_2};
    __pyx_mstate_global->__pyx_codeobj_tab[72] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_set, __pyx_mstate->__pyx_kp_b_iso88591_A_0t3H_HAU_4t_4t_HA_1_F_5_q_G6_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[72])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {4, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1481};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_key, __pyx_mstate->__pyx_n_u_value};
    __pyx_mstate_global->__pyx_codeobj_tab[73] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_setitem_2, __pyx_mstate->__pyx_kp_b_iso88591_A_t3H_Qe1_Bk_q_1A_uAQ_E_d_auCs_2, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[73])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1499};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj};
    __pyx_mstate_global->__pyx_codeobj_tab[74] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_get, __pyx_mstate->__pyx_kp_b_iso88591_A_t3H_r_fM_S_T_Qe4xq_a_fL_as_1_T, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[74])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self};
    __pyx_mstate_global->__pyx_codeobj_tab[75] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[75])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 3};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state};
    __pyx_mstate_global->__pyx_codeobj_tab[76] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[76])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1608};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj_2, __pyx_mstate->__pyx_n_u_value_2};
    __pyx_mstate_global->__pyx_codeobj_tab[77] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_read_only, __pyx_mstate->__pyx_kp_b_iso88591_A_nA_AU_A, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[77])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1626};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj};
    __pyx_mstate_global->__pyx_codeobj_tab[78] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_link_eagerly, __pyx_mstate->__pyx_kp_b_iso88591_A_4_T_4_AQ_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[78])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1633};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_name_3};
    __pyx_mstate_global->__pyx_codeobj_tab[79] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_link_deps, __pyx_mstate->__pyx_kp_b_iso88591_A_HD_G1C_1_q_T_2, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[79])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1639};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_value};
    __pyx_mstate_global->__pyx_codeobj_tab[80] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_trigger_change, __pyx_mstate->__pyx_kp_b_iso88591_A_t_7_1_2WCq_t1_1_1_5, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[80])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1651};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj};
    __pyx_mstate_global->__pyx_codeobj_tab[81] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_get, __pyx_mstate->__pyx_kp_b_iso88591_A_t_4q_r_1_2WAQ_2Q_r, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[81])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1660};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_value};
    __pyx_mstate_global->__pyx_codeobj_tab[82] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_set, __pyx_mstate->__pyx_kp_b_iso88591_A_t_2WAU_t1_2Q_q_2WAQ_5_5, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[82])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self};
    __pyx_mstate_global->__pyx_codeobj_tab[83] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[83])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 3};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state};
    __pyx_mstate_global->__pyx_codeobj_tab[84] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[84])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {4, 0, 0, 7, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1726};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_obj_2, __pyx_mstate->__pyx_n_u_value_2, __pyx_mstate->__pyx_n_u_event_dispatcher, __pyx_mstate->__pyx_n_u_ps, __pyx_mstate->__pyx_n_u_ps_2};
    __pyx_mstate_global->__pyx_codeobj_tab[85] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_dpi_callback, __pyx_mstate->__pyx_kp_b_iso88591_A_0_1_Cq_4_AQ_3nG1_a_4r_D_2Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[85])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1744};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_name_3};
    __pyx_mstate_global->__pyx_codeobj_tab[86] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_link, __pyx_mstate->__pyx_kp_b_iso88591_A_6e1F_q_Rq_fA_Cq_XQ_5Qa_q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[86])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self};
    __pyx_mstate_global->__pyx_codeobj_tab[87] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[87])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 3};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state};
    __pyx_mstate_global->__pyx_codeobj_tab[88] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[88])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 2038};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_name_3};
    __pyx_mstate_global->__pyx_codeobj_tab[89] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_link_deps, __pyx_mstate->__pyx_kp_b_iso88591_A_6_a_G3aq_4xs_7q_A_4xwa_a_4z_V4, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[89])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {4, 0, 0, 4, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 2064};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_section, __pyx_mstate->__pyx_n_u_key, __pyx_mstate->__pyx_n_u_value};
    __pyx_mstate_global->__pyx_codeobj_tab[90] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_edit_setting, __pyx_mstate->__pyx_kp_b_iso88591_A_d_4s_s_l_Q_N_D_a, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[90])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {3, 0, 0, 3, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 2103};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_value};
    __pyx_mstate_global->__pyx_codeobj_tab[91] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_set, __pyx_mstate->__pyx_kp_b_iso88591_A_1A_Kq_Ba_4_Qk_Q_t3d_nA_q_4q_t1, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[91])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 5, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 2150};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_config, __pyx_mstate->__pyx_n_u_obj, __pyx_mstate->__pyx_n_u_value, __pyx_mstate->__pyx_n_u_ps_2};
    __pyx_mstate_global->__pyx_codeobj_tab[92] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_kivy_properties_pyx, __pyx_mstate->__pyx_n_u_set_config, __pyx_mstate->__pyx_kp_b_iso88591_A_4t1_1A_4xs_4xwa_q_D_A_Ja_4xwa, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[92])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self};
    __pyx_mstate_global->__pyx_codeobj_tab[93] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[93])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 3};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state};
    __pyx_mstate_global->__pyx_codeobj_tab[94] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[94])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 1, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 1};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self};
    __pyx_mstate_global->__pyx_codeobj_tab[95] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_reduce_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[95])) goto bad;
  }
  {
    const __Pyx_PyCode_New_function_description descr = {2, 0, 0, 2, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 3};
    PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_self, __pyx_mstate->__pyx_n_u_pyx_state};
    __pyx_mstate_global->__pyx_codeobj_tab[96] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_stringsource, __pyx_mstate->__pyx_n_u_setstate_cython, __pyx_mstate->__pyx_kp_b_iso88591_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[96])) goto bad;
  }
  Py_DECREF(tuple_dedup_map);
  return 0;
  bad:
  Py_DECREF(tuple_dedup_map);
  return -1;
}
/* #### Code section: init_globals ### */

static int __Pyx_InitGlobals(void) {
  /* PythonCompatibility.init */
  if (likely(__Pyx_init_co_variables() == 0)); else
  
  if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1, __pyx_L1_error)

  /* CommonTypesMetaclass.init */
  if (likely(__pyx_CommonTypesMetaclass_init(__pyx_m) == 0)); else
  
  if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1, __pyx_L1_error)

  /* CachedMethodType.init */
  #if CYTHON_COMPILING_IN_LIMITED_API
  {
      PyObject *typesModule=NULL;
      typesModule = PyImport_ImportModule("types");
      if (typesModule) {
          __pyx_mstate_global->__Pyx_CachedMethodType = PyObject_GetAttrString(typesModule, "MethodType");
          Py_DECREF(typesModule);
      }
  } // error handling follows
  #endif
  
  if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1, __pyx_L1_error)

  /* CythonFunctionShared.init */
  if (likely(__pyx_CyFunction_init(__pyx_m) == 0)); else
  
  if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1, __pyx_L1_error)

  return 0;
  __pyx_L1_error:;
  return -1;
}
/* #### Code section: cleanup_globals ### */
/* #### Code section: cleanup_module ### */
/* #### Code section: main_method ### */
/* #### Code section: utility_code_pragmas ### */
#ifdef _MSC_VER
#pragma warning( push )
/* Warning 4127: conditional expression is constant
 * Cython uses constant conditional expressions to allow in inline functions to be optimized at
 * compile-time, so this warning is not useful
 */
#pragma warning( disable : 4127 )
#endif



/* #### Code section: utility_code_def ### */

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

/* PyErrExceptionMatches (used by PyObjectGetAttrStrNoError) */
#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);
    for (i=0; i<n; i++) {
        if (exc_type == PyTuple_GET_ITEM(tuple, i)) return 1;
    }
    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) {
    int result;
    PyObject *exc_type;
#if PY_VERSION_HEX >= 0x030C00A6
    PyObject *current_exception = tstate->current_exception;
    if (unlikely(!current_exception)) return 0;
    exc_type = (PyObject*) Py_TYPE(current_exception);
    if (exc_type == err) return 1;
#else
    exc_type = tstate->curexc_type;
    if (exc_type == err) return 1;
    if (unlikely(!exc_type)) return 0;
#endif
    #if CYTHON_AVOID_BORROWED_REFS
    Py_INCREF(exc_type);
    #endif
    if (unlikely(PyTuple_Check(err))) {
        result = __Pyx_PyErr_ExceptionMatchesTuple(exc_type, err);
    } else {
        result = __Pyx_PyErr_GivenExceptionMatches(exc_type, err);
    }
    #if CYTHON_AVOID_BORROWED_REFS
    Py_DECREF(exc_type);
    #endif
    return result;
}
#endif

/* PyErrFetchRestore (used by PyObjectGetAttrStrNoError) */
#if CYTHON_FAST_THREAD_STATE
static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) {
#if PY_VERSION_HEX >= 0x030C00A6
    PyObject *tmp_value;
    assert(type == NULL || (value != NULL && type == (PyObject*) Py_TYPE(value)));
    if (value) {
        #if CYTHON_COMPILING_IN_CPYTHON
        if (unlikely(((PyBaseExceptionObject*) value)->traceback != tb))
        #endif
            PyException_SetTraceback(value, tb);
    }
    tmp_value = tstate->current_exception;
    tstate->current_exception = value;
    Py_XDECREF(tmp_value);
    Py_XDECREF(type);
    Py_XDECREF(tb);
#else
    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);
#endif
}
static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
#if PY_VERSION_HEX >= 0x030C00A6
    PyObject* exc_value;
    exc_value = tstate->current_exception;
    tstate->current_exception = 0;
    *value = exc_value;
    *type = NULL;
    *tb = NULL;
    if (exc_value) {
        *type = (PyObject*) Py_TYPE(exc_value);
        Py_INCREF(*type);
        #if CYTHON_COMPILING_IN_CPYTHON
        *tb = ((PyBaseExceptionObject*) exc_value)->traceback;
        Py_XINCREF(*tb);
        #else
        *tb = PyException_GetTraceback(exc_value);
        #endif
    }
#else
    *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
}
#endif

/* PyObjectGetAttrStr (used by PyObjectGetAttrStrNoError) */
#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);
    return PyObject_GetAttr(obj, attr_name);
}
#endif

/* PyObjectGetAttrStrNoError (used by GetBuiltinName) */
#if __PYX_LIMITED_VERSION_HEX < 0x030d0000
static void __Pyx_PyObject_GetAttrStr_ClearAttributeError(void) {
    __Pyx_PyThreadState_declare
    __Pyx_PyThreadState_assign
    if (likely(__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError)))
        __Pyx_PyErr_Clear();
}
#endif
static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, PyObject* attr_name) {
    PyObject *result;
#if __PYX_LIMITED_VERSION_HEX >= 0x030d0000
    (void) PyObject_GetOptionalAttr(obj, attr_name, &result);
    return result;
#else
#if CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_TYPE_SLOTS
    PyTypeObject* tp = Py_TYPE(obj);
    if (likely(tp->tp_getattro == PyObject_GenericGetAttr)) {
        return _PyObject_GenericGetAttrWithDict(obj, attr_name, NULL, 1);
    }
#endif
    result = __Pyx_PyObject_GetAttrStr(obj, attr_name);
    if (unlikely(!result)) {
        __Pyx_PyObject_GetAttrStr_ClearAttributeError();
    }
    return result;
#endif
}

/* GetBuiltinName */
static PyObject *__Pyx_GetBuiltinName(PyObject *name) {
    PyObject* result = __Pyx_PyObject_GetAttrStrNoError(__pyx_mstate_global->__pyx_b, name);
    if (unlikely(!result) && !PyErr_Occurred()) {
        PyErr_Format(PyExc_NameError,
            "name '%U' is not defined", name);
    }
    return result;
}

/* TupleAndListFromArray (used by fastcall) */
#if !CYTHON_COMPILING_IN_CPYTHON && CYTHON_METH_FASTCALL
static CYTHON_INLINE PyObject *
__Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n)
{
    PyObject *res;
    Py_ssize_t i;
    if (n <= 0) {
        return __Pyx_NewRef(__pyx_mstate_global->__pyx_empty_tuple);
    }
    res = PyTuple_New(n);
    if (unlikely(res == NULL)) return NULL;
    for (i = 0; i < n; i++) {
        if (unlikely(__Pyx_PyTuple_SET_ITEM(res, i, src[i]) < (0))) {
            Py_DECREF(res);
            return NULL;
        }
        Py_INCREF(src[i]);
    }
    return res;
}
#elif CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE void __Pyx_copy_object_array(PyObject *const *CYTHON_RESTRICT src, PyObject** CYTHON_RESTRICT dest, Py_ssize_t length) {
    PyObject *v;
    Py_ssize_t i;
    for (i = 0; i < length; i++) {
        v = dest[i] = src[i];
        Py_INCREF(v);
    }
}
static CYTHON_INLINE PyObject *
__Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n)
{
    PyObject *res;
    if (n <= 0) {
        return __Pyx_NewRef(__pyx_mstate_global->__pyx_empty_tuple);
    }
    res = PyTuple_New(n);
    if (unlikely(res == NULL)) return NULL;
    __Pyx_copy_object_array(src, ((PyTupleObject*)res)->ob_item, n);
    return res;
}
static CYTHON_INLINE PyObject *
__Pyx_PyList_FromArray(PyObject *const *src, Py_ssize_t n)
{
    PyObject *res;
    if (n <= 0) {
        return PyList_New(0);
    }
    res = PyList_New(n);
    if (unlikely(res == NULL)) return NULL;
    __Pyx_copy_object_array(src, ((PyListObject*)res)->ob_item, n);
    return res;
}
#endif

/* BytesEquals (used by UnicodeEquals) */
static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int equals) {
#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL ||\
        !(CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS)
    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_VERSION_HEX < 0x030B0000)
            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 (used by fastcall) */
static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int equals) {
#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_GRAAL
    return PyObject_RichCompareBool(s1, s2, equals);
#else
    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 (s1_is_unicode & s2_is_unicode) {
        Py_ssize_t length, length2;
        int kind;
        void *data1, *data2;
        #if !CYTHON_COMPILING_IN_LIMITED_API
        if (unlikely(__Pyx_PyUnicode_READY(s1) < 0) || unlikely(__Pyx_PyUnicode_READY(s2) < 0))
            return -1;
        #endif
        length = __Pyx_PyUnicode_GET_LENGTH(s1);
        #if !CYTHON_ASSUME_SAFE_SIZE
        if (unlikely(length < 0)) return -1;
        #endif
        length2 = __Pyx_PyUnicode_GET_LENGTH(s2);
        #if !CYTHON_ASSUME_SAFE_SIZE
        if (unlikely(length2 < 0)) return -1;
        #endif
        if (length != length2) {
            goto return_ne;
        }
#if CYTHON_USE_UNICODE_INTERNALS
        {
            Py_hash_t hash1, hash2;
            hash1 = ((PyASCIIObject*)s1)->hash;
            hash2 = ((PyASCIIObject*)s2)->hash;
            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));
            return (equals == Py_EQ) ? (result == 0) : (result != 0);
        }
    } else if ((s1 == Py_None) & s2_is_unicode) {
        goto return_ne;
    } else if ((s2 == Py_None) & s1_is_unicode) {
        goto return_ne;
    } else {
        int result;
        PyObject* py_result = PyObject_RichCompare(s1, s2, equals);
        if (!py_result)
            return -1;
        result = __Pyx_PyObject_IsTrue(py_result);
        Py_DECREF(py_result);
        return result;
    }
return_eq:
    return (equals == Py_EQ);
return_ne:
    return (equals == Py_NE);
#endif
}

/* fastcall */
#if CYTHON_METH_FASTCALL
static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s)
{
    Py_ssize_t i, n = __Pyx_PyTuple_GET_SIZE(kwnames);
    #if !CYTHON_ASSUME_SAFE_SIZE
    if (unlikely(n == -1)) return NULL;
    #endif
    for (i = 0; i < n; i++)
    {
        PyObject *namei = __Pyx_PyTuple_GET_ITEM(kwnames, i);
        #if !CYTHON_ASSUME_SAFE_MACROS
        if (unlikely(!namei)) return NULL;
        #endif
        if (s == namei) return kwvalues[i];
    }
    for (i = 0; i < n; i++)
    {
        PyObject *namei = __Pyx_PyTuple_GET_ITEM(kwnames, i);
        #if !CYTHON_ASSUME_SAFE_MACROS
        if (unlikely(!namei)) return NULL;
        #endif
        int eq = __Pyx_PyUnicode_Equals(s, namei, Py_EQ);
        if (unlikely(eq != 0)) {
            if (unlikely(eq < 0)) return NULL;
            return kwvalues[i];
        }
    }
    return NULL;
}
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 || CYTHON_COMPILING_IN_LIMITED_API
CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) {
    Py_ssize_t i, nkwargs;
    PyObject *dict;
#if !CYTHON_ASSUME_SAFE_SIZE
    nkwargs = PyTuple_Size(kwnames);
    if (unlikely(nkwargs < 0)) return NULL;
#else
    nkwargs = PyTuple_GET_SIZE(kwnames);
#endif
    dict = PyDict_New();
    if (unlikely(!dict))
        return NULL;
    for (i=0; i<nkwargs; i++) {
#if !CYTHON_ASSUME_SAFE_MACROS
        PyObject *key = PyTuple_GetItem(kwnames, i);
        if (!key) goto bad;
#else
        PyObject *key = PyTuple_GET_ITEM(kwnames, i);
#endif
        if (unlikely(PyDict_SetItem(dict, key, kwvalues[i]) < 0))
            goto bad;
    }
    return dict;
bad:
    Py_DECREF(dict);
    return NULL;
}
#endif
#endif

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

/* PyObjectCall (used by PyObjectFastCall) */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw) {
    PyObject *result;
    ternaryfunc call = Py_TYPE(func)->tp_call;
    if (unlikely(!call))
        return PyObject_Call(func, arg, kw);
    if (unlikely(Py_EnterRecursiveCall(" 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 (used by PyObjectFastCall) */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) {
    PyObject *self, *result;
    PyCFunction cfunc;
    cfunc = __Pyx_CyOrPyCFunction_GET_FUNCTION(func);
    self = __Pyx_CyOrPyCFunction_GET_SELF(func);
    if (unlikely(Py_EnterRecursiveCall(" 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

/* PyObjectFastCall (used by PyObjectCallOneArg) */
#if PY_VERSION_HEX < 0x03090000 || CYTHON_COMPILING_IN_LIMITED_API
static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject * const*args, size_t nargs, PyObject *kwargs) {
    PyObject *argstuple;
    PyObject *result = 0;
    size_t i;
    argstuple = PyTuple_New((Py_ssize_t)nargs);
    if (unlikely(!argstuple)) return NULL;
    for (i = 0; i < nargs; i++) {
        Py_INCREF(args[i]);
        if (__Pyx_PyTuple_SET_ITEM(argstuple, (Py_ssize_t)i, args[i]) != (0)) goto bad;
    }
    result = __Pyx_PyObject_Call(func, argstuple, kwargs);
  bad:
    Py_DECREF(argstuple);
    return result;
}
#endif
#if CYTHON_VECTORCALL && !CYTHON_COMPILING_IN_LIMITED_API
  #if PY_VERSION_HEX < 0x03090000
    #define __Pyx_PyVectorcall_Function(callable) _PyVectorcall_Function(callable)
  #elif CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE vectorcallfunc __Pyx_PyVectorcall_Function(PyObject *callable) {
    PyTypeObject *tp = Py_TYPE(callable);
    #if defined(__Pyx_CyFunction_USED)
    if (__Pyx_CyFunction_CheckExact(callable)) {
        return __Pyx_CyFunction_func_vectorcall(callable);
    }
    #endif
    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
        return NULL;
    }
    assert(PyCallable_Check(callable));
    Py_ssize_t offset = tp->tp_vectorcall_offset;
    assert(offset > 0);
    vectorcallfunc ptr;
    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
    return ptr;
}
  #else
    #define __Pyx_PyVectorcall_Function(callable) PyVectorcall_Function(callable)
  #endif
#endif
static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject *const *args, size_t _nargs, PyObject *kwargs) {
    Py_ssize_t nargs = __Pyx_PyVectorcall_NARGS(_nargs);
#if CYTHON_COMPILING_IN_CPYTHON
    if (nargs == 0 && kwargs == NULL) {
        if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_NOARGS))
            return __Pyx_PyObject_CallMethO(func, NULL);
    }
    else if (nargs == 1 && kwargs == NULL) {
        if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_O))
            return __Pyx_PyObject_CallMethO(func, args[0]);
    }
#endif
    if (kwargs == NULL) {
        #if CYTHON_VECTORCALL
          #if CYTHON_COMPILING_IN_LIMITED_API
            return PyObject_Vectorcall(func, args, _nargs, NULL);
          #else
            vectorcallfunc f = __Pyx_PyVectorcall_Function(func);
            if (f) {
                return f(func, args, _nargs, NULL);
            }
          #endif
        #endif
    }
    if (nargs == 0) {
        return __Pyx_PyObject_Call(func, __pyx_mstate_global->__pyx_empty_tuple, kwargs);
    }
    #if PY_VERSION_HEX >= 0x03090000 && !CYTHON_COMPILING_IN_LIMITED_API
    return PyObject_VectorcallDict(func, args, (size_t)nargs, kwargs);
    #else
    return __Pyx_PyObject_FastCall_fallback(func, args, (size_t)nargs, kwargs);
    #endif
}

/* PyObjectCallOneArg (used by CallUnboundCMethod0) */
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
    PyObject *args[2] = {NULL, arg};
    return __Pyx_PyObject_FastCall(func, args+1, 1 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
}

/* UnpackUnboundCMethod (used by CallUnboundCMethod0) */
#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030C0000
static PyObject *__Pyx_SelflessCall(PyObject *method, PyObject *args, PyObject *kwargs) {
    PyObject *result;
    PyObject *selfless_args = PyTuple_GetSlice(args, 1, PyTuple_Size(args));
    if (unlikely(!selfless_args)) return NULL;
    result = PyObject_Call(method, selfless_args, kwargs);
    Py_DECREF(selfless_args);
    return result;
}
#elif CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x03090000
static PyObject *__Pyx_SelflessCall(PyObject *method, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) {
        return _PyObject_Vectorcall
            (method, args ? args+1 : NULL, nargs ? nargs-1 : 0, kwnames);
}
#else
static PyObject *__Pyx_SelflessCall(PyObject *method, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) {
    return
#if PY_VERSION_HEX < 0x03090000
    _PyObject_Vectorcall
#else
    PyObject_Vectorcall
#endif
        (method, args ? args+1 : NULL, nargs ? (size_t) nargs-1 : 0, kwnames);
}
#endif
static PyMethodDef __Pyx_UnboundCMethod_Def = {
     "CythonUnboundCMethod",
     __PYX_REINTERPRET_FUNCION(PyCFunction, __Pyx_SelflessCall),
#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030C0000
     METH_VARARGS | METH_KEYWORDS,
#else
     METH_FASTCALL | METH_KEYWORDS,
#endif
     NULL
};
static int __Pyx_TryUnpackUnboundCMethod(__Pyx_CachedCFunction* target) {
    PyObject *method, *result=NULL;
    method = __Pyx_PyObject_GetAttrStr(target->type, *target->method_name);
    if (unlikely(!method))
        return -1;
    result = method;
#if CYTHON_COMPILING_IN_CPYTHON
    if (likely(__Pyx_TypeCheck(method, &PyMethodDescr_Type)))
    {
        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);
    } else
#endif
#if CYTHON_COMPILING_IN_PYPY
#else
    if (PyCFunction_Check(method))
#endif
    {
        PyObject *self;
        int self_found;
#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY
        self = PyObject_GetAttrString(method, "__self__");
        if (!self) {
            PyErr_Clear();
        }
#else
        self = PyCFunction_GET_SELF(method);
#endif
        self_found = (self && self != Py_None);
#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_COMPILING_IN_PYPY
        Py_XDECREF(self);
#endif
        if (self_found) {
            PyObject *unbound_method = PyCFunction_New(&__Pyx_UnboundCMethod_Def, method);
            if (unlikely(!unbound_method)) return -1;
            Py_DECREF(method);
            result = unbound_method;
        }
    }
#if !CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
    if (unlikely(target->method)) {
        Py_DECREF(result);
    } else
#endif
    target->method = result;
    return 0;
}

/* CallUnboundCMethod0 */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_CallUnboundCMethod0(__Pyx_CachedCFunction* cfunc, PyObject* self) {
    int was_initialized = __Pyx_CachedCFunction_GetAndSetInitializing(cfunc);
    if (likely(was_initialized == 2 && cfunc->func)) {
        if (likely(cfunc->flag == METH_NOARGS))
            return __Pyx_CallCFunction(cfunc, self, NULL);
        if (likely(cfunc->flag == METH_FASTCALL))
            return __Pyx_CallCFunctionFast(cfunc, self, NULL, 0);
        if (cfunc->flag == (METH_FASTCALL | METH_KEYWORDS))
            return __Pyx_CallCFunctionFastWithKeywords(cfunc, self, NULL, 0, NULL);
        if (likely(cfunc->flag == (METH_VARARGS | METH_KEYWORDS)))
            return __Pyx_CallCFunctionWithKeywords(cfunc, self, __pyx_mstate_global->__pyx_empty_tuple, NULL);
        if (cfunc->flag == METH_VARARGS)
            return __Pyx_CallCFunction(cfunc, self, __pyx_mstate_global->__pyx_empty_tuple);
        return __Pyx__CallUnboundCMethod0(cfunc, self);
    }
#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
    else if (unlikely(was_initialized == 1)) {
        __Pyx_CachedCFunction tmp_cfunc = {
#ifndef __cplusplus
            0
#endif
        };
        tmp_cfunc.type = cfunc->type;
        tmp_cfunc.method_name = cfunc->method_name;
        return __Pyx__CallUnboundCMethod0(&tmp_cfunc, self);
    }
#endif
    PyObject *result = __Pyx__CallUnboundCMethod0(cfunc, self);
    __Pyx_CachedCFunction_SetFinishedInitializing(cfunc);
    return result;
}
#endif
static PyObject* __Pyx__CallUnboundCMethod0(__Pyx_CachedCFunction* cfunc, PyObject* self) {
    PyObject *result;
    if (unlikely(!cfunc->method) && unlikely(__Pyx_TryUnpackUnboundCMethod(cfunc) < 0)) return NULL;
    result = __Pyx_PyObject_CallOneArg(cfunc->method, self);
    return result;
}

/* py_dict_items (used by OwnedDictNext) */
static CYTHON_INLINE PyObject* __Pyx_PyDict_Items(PyObject* d) {
    return __Pyx_CallUnboundCMethod0(&__pyx_mstate_global->__pyx_umethod_PyDict_Type_items, d);
}

/* py_dict_values (used by OwnedDictNext) */
static CYTHON_INLINE PyObject* __Pyx_PyDict_Values(PyObject* d) {
    return __Pyx_CallUnboundCMethod0(&__pyx_mstate_global->__pyx_umethod_PyDict_Type_values, d);
}

/* OwnedDictNext (used by RejectKeywords) */
#if CYTHON_AVOID_BORROWED_REFS
static int __Pyx_PyDict_NextRef(PyObject *p, PyObject **ppos, PyObject **pkey, PyObject **pvalue) {
    PyObject *next = NULL;
    if (!*ppos) {
        if (pvalue) {
            PyObject *dictview = pkey ? __Pyx_PyDict_Items(p) : __Pyx_PyDict_Values(p);
            if (unlikely(!dictview)) goto bad;
            *ppos = PyObject_GetIter(dictview);
            Py_DECREF(dictview);
        } else {
            *ppos = PyObject_GetIter(p);
        }
        if (unlikely(!*ppos)) goto bad;
    }
    next = PyIter_Next(*ppos);
    if (!next) {
        if (PyErr_Occurred()) goto bad;
        return 0;
    }
    if (pkey && pvalue) {
        *pkey = __Pyx_PySequence_ITEM(next, 0);
        if (unlikely(*pkey)) goto bad;
        *pvalue = __Pyx_PySequence_ITEM(next, 1);
        if (unlikely(*pvalue)) goto bad;
        Py_DECREF(next);
    } else if (pkey) {
        *pkey = next;
    } else {
        assert(pvalue);
        *pvalue = next;
    }
    return 1;
  bad:
    Py_XDECREF(next);
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x030d0000
    PyErr_FormatUnraisable("Exception ignored in __Pyx_PyDict_NextRef");
#else
    PyErr_WriteUnraisable(__pyx_mstate_global->__pyx_n_u_Pyx_PyDict_NextRef);
#endif
    if (pkey) *pkey = NULL;
    if (pvalue) *pvalue = NULL;
    return 0;
}
#else // !CYTHON_AVOID_BORROWED_REFS
static int __Pyx_PyDict_NextRef(PyObject *p, Py_ssize_t *ppos, PyObject **pkey, PyObject **pvalue) {
    int result = PyDict_Next(p, ppos, pkey, pvalue);
    if (likely(result == 1)) {
        if (pkey) Py_INCREF(*pkey);
        if (pvalue) Py_INCREF(*pvalue);
    }
    return result;
}
#endif

/* RejectKeywords */
static void __Pyx_RejectKeywords(const char* function_name, PyObject *kwds) {
    PyObject *key = NULL;
    if (CYTHON_METH_FASTCALL && likely(PyTuple_Check(kwds))) {
        key = __Pyx_PySequence_ITEM(kwds, 0);
    } else {
#if CYTHON_AVOID_BORROWED_REFS
        PyObject *pos = NULL;
#else
        Py_ssize_t pos = 0;
#endif
#if !CYTHON_COMPILING_IN_PYPY || defined(PyArg_ValidateKeywordArguments)
        if (unlikely(!PyArg_ValidateKeywordArguments(kwds))) return;
#endif
        __Pyx_PyDict_NextRef(kwds, &pos, &key, NULL);
#if CYTHON_AVOID_BORROWED_REFS
        Py_XDECREF(pos);
#endif
    }
    if (likely(key)) {
        PyErr_Format(PyExc_TypeError,
            "%s() got an unexpected keyword argument '%U'",
            function_name, key);
        Py_DECREF(key);
    }
}

/* RaiseDoubleKeywords (used by ParseKeywordsImpl) */
static void __Pyx_RaiseDoubleKeywordsError(
    const char* func_name,
    PyObject* kw_name)
{
    PyErr_Format(PyExc_TypeError,
        "%s() got multiple values for keyword argument '%U'", func_name, kw_name);
}

/* CallUnboundCMethod2 */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject *__Pyx_CallUnboundCMethod2(__Pyx_CachedCFunction *cfunc, PyObject *self, PyObject *arg1, PyObject *arg2) {
    int was_initialized = __Pyx_CachedCFunction_GetAndSetInitializing(cfunc);
    if (likely(was_initialized == 2 && cfunc->func)) {
        PyObject *args[2] = {arg1, arg2};
        if (cfunc->flag == METH_FASTCALL) {
            return __Pyx_CallCFunctionFast(cfunc, self, args, 2);
        }
        if (cfunc->flag == (METH_FASTCALL | METH_KEYWORDS))
            return __Pyx_CallCFunctionFastWithKeywords(cfunc, self, args, 2, NULL);
    }
#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
    else if (unlikely(was_initialized == 1)) {
        __Pyx_CachedCFunction tmp_cfunc = {
#ifndef __cplusplus
            0
#endif
        };
        tmp_cfunc.type = cfunc->type;
        tmp_cfunc.method_name = cfunc->method_name;
        return __Pyx__CallUnboundCMethod2(&tmp_cfunc, self, arg1, arg2);
    }
#endif
    PyObject *result = __Pyx__CallUnboundCMethod2(cfunc, self, arg1, arg2);
    __Pyx_CachedCFunction_SetFinishedInitializing(cfunc);
    return result;
}
#endif
static PyObject* __Pyx__CallUnboundCMethod2(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg1, PyObject* arg2){
    if (unlikely(!cfunc->func && !cfunc->method) && unlikely(__Pyx_TryUnpackUnboundCMethod(cfunc) < 0)) return NULL;
#if CYTHON_COMPILING_IN_CPYTHON
    if (cfunc->func && (cfunc->flag & METH_VARARGS)) {
        PyObject *result = NULL;
        PyObject *args = PyTuple_New(2);
        if (unlikely(!args)) return NULL;
        Py_INCREF(arg1);
        PyTuple_SET_ITEM(args, 0, arg1);
        Py_INCREF(arg2);
        PyTuple_SET_ITEM(args, 1, arg2);
        if (cfunc->flag & METH_KEYWORDS)
            result = __Pyx_CallCFunctionWithKeywords(cfunc, self, args, NULL);
        else
            result = __Pyx_CallCFunction(cfunc, self, args);
        Py_DECREF(args);
        return result;
    }
#endif
    {
        PyObject *args[4] = {NULL, self, arg1, arg2};
        return __Pyx_PyObject_FastCall(cfunc->method, args+1, 3 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
    }
}

/* ParseKeywordsImpl (used by ParseKeywords) */
static int __Pyx_ValidateDuplicatePosArgs(
    PyObject *kwds,
    PyObject ** const argnames[],
    PyObject ** const *first_kw_arg,
    const char* function_name)
{
    PyObject ** const *name = argnames;
    while (name != first_kw_arg) {
        PyObject *key = **name;
        int found = PyDict_Contains(kwds, key);
        if (unlikely(found)) {
            if (found == 1) __Pyx_RaiseDoubleKeywordsError(function_name, key);
            goto bad;
        }
        name++;
    }
    return 0;
bad:
    return -1;
}
#if CYTHON_USE_UNICODE_INTERNALS
static CYTHON_INLINE int __Pyx_UnicodeKeywordsEqual(PyObject *s1, PyObject *s2) {
    int kind;
    Py_ssize_t len = PyUnicode_GET_LENGTH(s1);
    if (len != PyUnicode_GET_LENGTH(s2)) return 0;
    kind = PyUnicode_KIND(s1);
    if (kind != PyUnicode_KIND(s2)) return 0;
    const void *data1 = PyUnicode_DATA(s1);
    const void *data2 = PyUnicode_DATA(s2);
    return (memcmp(data1, data2, (size_t) len * (size_t) kind) == 0);
}
#endif
static int __Pyx_MatchKeywordArg_str(
    PyObject *key,
    PyObject ** const argnames[],
    PyObject ** const *first_kw_arg,
    size_t *index_found,
    const char *function_name)
{
    PyObject ** const *name;
    #if CYTHON_USE_UNICODE_INTERNALS
    Py_hash_t key_hash = ((PyASCIIObject*)key)->hash;
    if (unlikely(key_hash == -1)) {
        key_hash = PyObject_Hash(key);
        if (unlikely(key_hash == -1))
            goto bad;
    }
    #endif
    name = first_kw_arg;
    while (*name) {
        PyObject *name_str = **name;
        #if CYTHON_USE_UNICODE_INTERNALS
        if (key_hash == ((PyASCIIObject*)name_str)->hash && __Pyx_UnicodeKeywordsEqual(name_str, key)) {
            *index_found = (size_t) (name - argnames);
            return 1;
        }
        #else
        #if CYTHON_ASSUME_SAFE_SIZE
        if (PyUnicode_GET_LENGTH(name_str) == PyUnicode_GET_LENGTH(key))
        #endif
        {
            int cmp = PyUnicode_Compare(name_str, key);
            if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad;
            if (cmp == 0) {
                *index_found = (size_t) (name - argnames);
                return 1;
            }
        }
        #endif
        name++;
    }
    name = argnames;
    while (name != first_kw_arg) {
        PyObject *name_str = **name;
        #if CYTHON_USE_UNICODE_INTERNALS
        if (unlikely(key_hash == ((PyASCIIObject*)name_str)->hash)) {
            if (__Pyx_UnicodeKeywordsEqual(name_str, key))
                goto arg_passed_twice;
        }
        #else
        #if CYTHON_ASSUME_SAFE_SIZE
        if (PyUnicode_GET_LENGTH(name_str) == PyUnicode_GET_LENGTH(key))
        #endif
        {
            if (unlikely(name_str == key)) goto arg_passed_twice;
            int cmp = PyUnicode_Compare(name_str, key);
            if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad;
            if (cmp == 0) goto arg_passed_twice;
        }
        #endif
        name++;
    }
    return 0;
arg_passed_twice:
    __Pyx_RaiseDoubleKeywordsError(function_name, key);
    goto bad;
bad:
    return -1;
}
static int __Pyx_MatchKeywordArg_nostr(
    PyObject *key,
    PyObject ** const argnames[],
    PyObject ** const *first_kw_arg,
    size_t *index_found,
    const char *function_name)
{
    PyObject ** const *name;
    if (unlikely(!PyUnicode_Check(key))) goto invalid_keyword_type;
    name = first_kw_arg;
    while (*name) {
        int cmp = PyObject_RichCompareBool(**name, key, Py_EQ);
        if (cmp == 1) {
            *index_found = (size_t) (name - argnames);
            return 1;
        }
        if (unlikely(cmp == -1)) goto bad;
        name++;
    }
    name = argnames;
    while (name != first_kw_arg) {
        int cmp = PyObject_RichCompareBool(**name, key, Py_EQ);
        if (unlikely(cmp != 0)) {
            if (cmp == 1) goto arg_passed_twice;
            else goto bad;
        }
        name++;
    }
    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;
bad:
    return -1;
}
static CYTHON_INLINE int __Pyx_MatchKeywordArg(
    PyObject *key,
    PyObject ** const argnames[],
    PyObject ** const *first_kw_arg,
    size_t *index_found,
    const char *function_name)
{
    return likely(PyUnicode_CheckExact(key)) ?
        __Pyx_MatchKeywordArg_str(key, argnames, first_kw_arg, index_found, function_name) :
        __Pyx_MatchKeywordArg_nostr(key, argnames, first_kw_arg, index_found, function_name);
}
static void __Pyx_RejectUnknownKeyword(
    PyObject *kwds,
    PyObject ** const argnames[],
    PyObject ** const *first_kw_arg,
    const char *function_name)
{
    #if CYTHON_AVOID_BORROWED_REFS
    PyObject *pos = NULL;
    #else
    Py_ssize_t pos = 0;
    #endif
    PyObject *key = NULL;
    __Pyx_BEGIN_CRITICAL_SECTION(kwds);
    while (
        #if CYTHON_AVOID_BORROWED_REFS
        __Pyx_PyDict_NextRef(kwds, &pos, &key, NULL)
        #else
        PyDict_Next(kwds, &pos, &key, NULL)
        #endif
    ) {
        PyObject** const *name = first_kw_arg;
        while (*name && (**name != key)) name++;
        if (!*name) {
            size_t index_found = 0;
            int cmp = __Pyx_MatchKeywordArg(key, argnames, first_kw_arg, &index_found, function_name);
            if (cmp != 1) {
                if (cmp == 0) {
                    PyErr_Format(PyExc_TypeError,
                        "%s() got an unexpected keyword argument '%U'",
                        function_name, key);
                }
                #if CYTHON_AVOID_BORROWED_REFS
                Py_DECREF(key);
                #endif
                break;
            }
        }
        #if CYTHON_AVOID_BORROWED_REFS
        Py_DECREF(key);
        #endif
    }
    __Pyx_END_CRITICAL_SECTION();
    #if CYTHON_AVOID_BORROWED_REFS
    Py_XDECREF(pos);
    #endif
    assert(PyErr_Occurred());
}
static int __Pyx_ParseKeywordDict(
    PyObject *kwds,
    PyObject ** const argnames[],
    PyObject *values[],
    Py_ssize_t num_pos_args,
    Py_ssize_t num_kwargs,
    const char* function_name,
    int ignore_unknown_kwargs)
{
    PyObject** const *name;
    PyObject** const *first_kw_arg = argnames + num_pos_args;
    Py_ssize_t extracted = 0;
#if !CYTHON_COMPILING_IN_PYPY || defined(PyArg_ValidateKeywordArguments)
    if (unlikely(!PyArg_ValidateKeywordArguments(kwds))) return -1;
#endif
    name = first_kw_arg;
    while (*name && num_kwargs > extracted) {
        PyObject * key = **name;
        PyObject *value;
        int found = 0;
        #if __PYX_LIMITED_VERSION_HEX >= 0x030d0000
        found = PyDict_GetItemRef(kwds, key, &value);
        #else
        value = PyDict_GetItemWithError(kwds, key);
        if (value) {
            Py_INCREF(value);
            found = 1;
        } else {
            if (unlikely(PyErr_Occurred())) goto bad;
        }
        #endif
        if (found) {
            if (unlikely(found < 0)) goto bad;
            values[name-argnames] = value;
            extracted++;
        }
        name++;
    }
    if (num_kwargs > extracted) {
        if (ignore_unknown_kwargs) {
            if (unlikely(__Pyx_ValidateDuplicatePosArgs(kwds, argnames, first_kw_arg, function_name) == -1))
                goto bad;
        } else {
            __Pyx_RejectUnknownKeyword(kwds, argnames, first_kw_arg, function_name);
            goto bad;
        }
    }
    return 0;
bad:
    return -1;
}
static int __Pyx_ParseKeywordDictToDict(
    PyObject *kwds,
    PyObject ** const argnames[],
    PyObject *kwds2,
    PyObject *values[],
    Py_ssize_t num_pos_args,
    const char* function_name)
{
    PyObject** const *name;
    PyObject** const *first_kw_arg = argnames + num_pos_args;
    Py_ssize_t len;
#if !CYTHON_COMPILING_IN_PYPY || defined(PyArg_ValidateKeywordArguments)
    if (unlikely(!PyArg_ValidateKeywordArguments(kwds))) return -1;
#endif
    if (PyDict_Update(kwds2, kwds) < 0) goto bad;
    name = first_kw_arg;
    while (*name) {
        PyObject *key = **name;
        PyObject *value;
#if !CYTHON_COMPILING_IN_LIMITED_API && (PY_VERSION_HEX >= 0x030d00A2 || defined(PyDict_Pop))
        int found = PyDict_Pop(kwds2, key, &value);
        if (found) {
            if (unlikely(found < 0)) goto bad;
            values[name-argnames] = value;
        }
#elif __PYX_LIMITED_VERSION_HEX >= 0x030d0000
        int found = PyDict_GetItemRef(kwds2, key, &value);
        if (found) {
            if (unlikely(found < 0)) goto bad;
            values[name-argnames] = value;
            if (unlikely(PyDict_DelItem(kwds2, key) < 0)) goto bad;
        }
#else
    #if CYTHON_COMPILING_IN_CPYTHON
        value = _PyDict_Pop(kwds2, key, kwds2);
    #else
        value = __Pyx_CallUnboundCMethod2(&__pyx_mstate_global->__pyx_umethod_PyDict_Type_pop, kwds2, key, kwds2);
    #endif
        if (value == kwds2) {
            Py_DECREF(value);
        } else {
            if (unlikely(!value)) goto bad;
            values[name-argnames] = value;
        }
#endif
        name++;
    }
    len = PyDict_Size(kwds2);
    if (len > 0) {
        return __Pyx_ValidateDuplicatePosArgs(kwds, argnames, first_kw_arg, function_name);
    } else if (unlikely(len == -1)) {
        goto bad;
    }
    return 0;
bad:
    return -1;
}
static int __Pyx_ParseKeywordsTuple(
    PyObject *kwds,
    PyObject * const *kwvalues,
    PyObject ** const argnames[],
    PyObject *kwds2,
    PyObject *values[],
    Py_ssize_t num_pos_args,
    Py_ssize_t num_kwargs,
    const char* function_name,
    int ignore_unknown_kwargs)
{
    PyObject *key = NULL;
    PyObject** const * name;
    PyObject** const *first_kw_arg = argnames + num_pos_args;
    for (Py_ssize_t pos = 0; pos < num_kwargs; pos++) {
#if CYTHON_AVOID_BORROWED_REFS
        key = __Pyx_PySequence_ITEM(kwds, pos);
#else
        key = __Pyx_PyTuple_GET_ITEM(kwds, pos);
#endif
#if !CYTHON_ASSUME_SAFE_MACROS
        if (unlikely(!key)) goto bad;
#endif
        name = first_kw_arg;
        while (*name && (**name != key)) name++;
        if (*name) {
            PyObject *value = kwvalues[pos];
            values[name-argnames] = __Pyx_NewRef(value);
        } else {
            size_t index_found = 0;
            int cmp = __Pyx_MatchKeywordArg(key, argnames, first_kw_arg, &index_found, function_name);
            if (cmp == 1) {
                PyObject *value = kwvalues[pos];
                values[index_found] = __Pyx_NewRef(value);
            } else {
                if (unlikely(cmp == -1)) goto bad;
                if (kwds2) {
                    PyObject *value = kwvalues[pos];
                    if (unlikely(PyDict_SetItem(kwds2, key, value))) goto bad;
                } else if (!ignore_unknown_kwargs) {
                    goto invalid_keyword;
                }
            }
        }
        #if CYTHON_AVOID_BORROWED_REFS
        Py_DECREF(key);
        key = NULL;
        #endif
    }
    return 0;
invalid_keyword:
    PyErr_Format(PyExc_TypeError,
        "%s() got an unexpected keyword argument '%U'",
        function_name, key);
    goto bad;
bad:
    #if CYTHON_AVOID_BORROWED_REFS
    Py_XDECREF(key);
    #endif
    return -1;
}

/* ParseKeywords */
static int __Pyx_ParseKeywords(
    PyObject *kwds,
    PyObject * const *kwvalues,
    PyObject ** const argnames[],
    PyObject *kwds2,
    PyObject *values[],
    Py_ssize_t num_pos_args,
    Py_ssize_t num_kwargs,
    const char* function_name,
    int ignore_unknown_kwargs)
{
    if (CYTHON_METH_FASTCALL && likely(PyTuple_Check(kwds)))
        return __Pyx_ParseKeywordsTuple(kwds, kwvalues, argnames, kwds2, values, num_pos_args, num_kwargs, function_name, ignore_unknown_kwargs);
    else if (kwds2)
        return __Pyx_ParseKeywordDictToDict(kwds, argnames, kwds2, values, num_pos_args, function_name);
    else
        return __Pyx_ParseKeywordDict(kwds, argnames, values, num_pos_args, num_kwargs, function_name, ignore_unknown_kwargs);
}

/* PyObjectCall2Args (used by CallUnboundCMethod1) */
static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyObject* arg1, PyObject* arg2) {
    PyObject *args[3] = {NULL, arg1, arg2};
    return __Pyx_PyObject_FastCall(function, args+1, 2 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
}

/* CallUnboundCMethod1 */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE PyObject* __Pyx_CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg) {
    int was_initialized =  __Pyx_CachedCFunction_GetAndSetInitializing(cfunc);
    if (likely(was_initialized == 2 && cfunc->func)) {
        int flag = cfunc->flag;
        if (flag == METH_O) {
            return __Pyx_CallCFunction(cfunc, self, arg);
        } else if (flag == METH_FASTCALL) {
            return __Pyx_CallCFunctionFast(cfunc, self, &arg, 1);
        } else if (flag == (METH_FASTCALL | METH_KEYWORDS)) {
            return __Pyx_CallCFunctionFastWithKeywords(cfunc, self, &arg, 1, NULL);
        }
    }
#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
    else if (unlikely(was_initialized == 1)) {
        __Pyx_CachedCFunction tmp_cfunc = {
#ifndef __cplusplus
            0
#endif
        };
        tmp_cfunc.type = cfunc->type;
        tmp_cfunc.method_name = cfunc->method_name;
        return __Pyx__CallUnboundCMethod1(&tmp_cfunc, self, arg);
    }
#endif
    PyObject* result = __Pyx__CallUnboundCMethod1(cfunc, self, arg);
    __Pyx_CachedCFunction_SetFinishedInitializing(cfunc);
    return result;
}
#endif
static PyObject* __Pyx__CallUnboundCMethod1(__Pyx_CachedCFunction* cfunc, PyObject* self, PyObject* arg){
    PyObject *result = NULL;
    if (unlikely(!cfunc->func && !cfunc->method) && unlikely(__Pyx_TryUnpackUnboundCMethod(cfunc) < 0)) return NULL;
#if CYTHON_COMPILING_IN_CPYTHON
    if (cfunc->func && (cfunc->flag & METH_VARARGS)) {
        PyObject *args = PyTuple_New(1);
        if (unlikely(!args)) return NULL;
        Py_INCREF(arg);
        PyTuple_SET_ITEM(args, 0, arg);
        if (cfunc->flag & METH_KEYWORDS)
            result = __Pyx_CallCFunctionWithKeywords(cfunc, self, args, NULL);
        else
            result = __Pyx_CallCFunction(cfunc, self, args);
        Py_DECREF(args);
    } else
#endif
    {
        result = __Pyx_PyObject_Call2Args(cfunc->method, self, arg);
    }
    return result;
}

/* dict_getitem_default */
static PyObject* __Pyx_PyDict_GetItemDefault(PyObject* d, PyObject* key, PyObject* default_value) {
    PyObject* value;
#if !CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07020000
    value = PyDict_GetItemWithError(d, key);
    if (unlikely(!value)) {
        if (unlikely(PyErr_Occurred()))
            return NULL;
        value = default_value;
    }
    Py_INCREF(value);
    if ((1));
#else
    if (PyBytes_CheckExact(key) || PyUnicode_CheckExact(key) || PyLong_CheckExact(key)) {
        value = PyDict_GetItem(d, key);
        if (unlikely(!value)) {
            value = default_value;
        }
        Py_INCREF(value);
    }
#endif
    else {
        if (default_value == Py_None)
            value = __Pyx_CallUnboundCMethod1(&__pyx_mstate_global->__pyx_umethod_PyDict_Type_get, d, key);
        else
            value = __Pyx_CallUnboundCMethod2(&__pyx_mstate_global->__pyx_umethod_PyDict_Type_get, d, key, default_value);
    }
    return value;
}

/* RaiseException */
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 PY_VERSION_HEX >= 0x030C00A6
        PyException_SetTraceback(value, tb);
#elif CYTHON_FAST_THREAD_STATE
        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);
        }
#else
        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);
#endif
    }
bad:
    Py_XDECREF(owned_instance);
    return;
}

/* PyObjectFastCallMethod */
#if !CYTHON_VECTORCALL || PY_VERSION_HEX < 0x03090000
static PyObject *__Pyx_PyObject_FastCallMethod(PyObject *name, PyObject *const *args, size_t nargsf) {
    PyObject *result;
    PyObject *attr = PyObject_GetAttr(args[0], name);
    if (unlikely(!attr))
        return NULL;
    result = __Pyx_PyObject_FastCall(attr, args+1, nargsf - 1);
    Py_DECREF(attr);
    return result;
}
#endif

/* tp_new */
#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000
static PyObject* __Pyx_tp_new_fallback(PyObject* type_obj, PyObject* args, PyObject* kwargs) {
    PyObject *new_func = NULL, *new_args = NULL, *obj;
    Py_ssize_t i, nargs = PyTuple_Size(args);
    if (unlikely(nargs < 0)) goto bad;
    new_args = PyTuple_New(nargs + 1);
    if (unlikely(!new_args)) goto bad;
    for (i = 0; i < nargs + 1; i++) {
        PyObject *item = (i == 0) ? type_obj : PyTuple_GetItem(args, i - 1);
        if (unlikely(!item)) goto bad;
        Py_INCREF(item);
        if (unlikely(PyTuple_SetItem(new_args, i, item)) < 0) goto bad;
    }
    new_func = PyObject_GetAttrString(type_obj, "__new__");
    if (unlikely(!new_func)) goto bad;
    obj = PyObject_Call(new_func, new_args, kwargs);
    Py_DECREF(new_func);
    Py_DECREF(new_args);
    return obj;
 bad:
    Py_XDECREF(new_func);
    Py_XDECREF(new_args);
    return NULL;
}
#endif
static PyObject* __Pyx_tp_new_kwargs(PyObject* type_obj, PyObject* args, PyObject* kwargs) {
    newfunc tp_new = __Pyx_PyType_TryGetSlot((PyTypeObject*)type_obj, tp_new, newfunc);
#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000
    if (!tp_new) return __Pyx_tp_new_fallback(type_obj, args, kwargs);
#else
    assert(tp_new != NULL);
#endif
    return tp_new((PyTypeObject*)type_obj, args, kwargs);
}

/* ExtTypeTest */
static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) {
    __Pyx_TypeName obj_type_name;
    __Pyx_TypeName type_name;
    if (unlikely(!type)) {
        PyErr_SetString(PyExc_SystemError, "Missing type object");
        return 0;
    }
    if (likely(__Pyx_TypeCheck(obj, type)))
        return 1;
    obj_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(obj));
    type_name = __Pyx_PyType_GetFullyQualifiedName(type);
    PyErr_Format(PyExc_TypeError,
                 "Cannot convert " __Pyx_FMT_TYPENAME " to " __Pyx_FMT_TYPENAME,
                 obj_type_name, type_name);
    __Pyx_DECREF_TypeName(obj_type_name);
    __Pyx_DECREF_TypeName(type_name);
    return 0;
}

/* DictGetItem */
#if !CYTHON_COMPILING_IN_PYPY
static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key) {
    PyObject *value;
    if (unlikely(__Pyx_PyDict_GetItemRef(d, key, &value) == 0)) { // no value, no error
        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 value;
}
#endif

/* RaiseUnexpectedTypeError */
static int
__Pyx_RaiseUnexpectedTypeError(const char *expected, PyObject *obj)
{
    __Pyx_TypeName obj_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(obj));
    PyErr_Format(PyExc_TypeError, "Expected %s, got " __Pyx_FMT_TYPENAME,
                 expected, obj_type_name);
    __Pyx_DECREF_TypeName(obj_type_name);
    return 0;
}

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

/* ArgTypeTestFunc (used by ArgTypeTest) */
static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *name, int exact)
{
    __Pyx_TypeName type_name;
    __Pyx_TypeName obj_type_name;
    PyObject *extra_info = __pyx_mstate_global->__pyx_empty_unicode;
    int from_annotation_subclass = 0;
    if (unlikely(!type)) {
        PyErr_SetString(PyExc_SystemError, "Missing type object");
        return 0;
    }
    else if (!exact) {
        if (likely(__Pyx_TypeCheck(obj, type))) return 1;
    } else if (exact == 2) {
        if (__Pyx_TypeCheck(obj, type)) {
            from_annotation_subclass = 1;
            extra_info = __pyx_mstate_global->__pyx_kp_u_Note_that_Cython_is_deliberately;
        }
    }
    type_name = __Pyx_PyType_GetFullyQualifiedName(type);
    obj_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(obj));
    PyErr_Format(PyExc_TypeError,
        "Argument '%.200s' has incorrect type (expected " __Pyx_FMT_TYPENAME
        ", got " __Pyx_FMT_TYPENAME ")"
#if __PYX_LIMITED_VERSION_HEX < 0x030C0000
        "%s%U"
#endif
        , name, type_name, obj_type_name
#if __PYX_LIMITED_VERSION_HEX < 0x030C0000
        , (from_annotation_subclass ? ". " : ""), extra_info
#endif
        );
#if __PYX_LIMITED_VERSION_HEX >= 0x030C0000
    if (exact == 2 && from_annotation_subclass) {
        PyObject *res;
        PyObject *vargs[2];
        vargs[0] = PyErr_GetRaisedException();
        vargs[1] = extra_info;
        res = PyObject_VectorcallMethod(__pyx_mstate_global->__pyx_kp_u_add_note, vargs, 2, NULL);
        Py_XDECREF(res);
        PyErr_SetRaisedException(vargs[0]);
    }
#endif
    __Pyx_DECREF_TypeName(type_name);
    __Pyx_DECREF_TypeName(obj_type_name);
    return 0;
}

/* 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_COMPILING_IN_LIMITED_API
    if (unlikely(!__pyx_m)) {
        if (!PyErr_Occurred())
            PyErr_SetNone(PyExc_NameError);
        return NULL;
    }
    result = PyObject_GetAttr(__pyx_m, name);
    if (likely(result)) {
        return result;
    }
    PyErr_Clear();
#elif CYTHON_AVOID_BORROWED_REFS || CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS
    if (unlikely(__Pyx_PyDict_GetItemRef(__pyx_mstate_global->__pyx_d, name, &result) == -1)) PyErr_Clear();
    __PYX_UPDATE_DICT_CACHE(__pyx_mstate_global->__pyx_d, result, *dict_cached_value, *dict_version)
    if (likely(result)) {
        return result;
    }
#else
    result = _PyDict_GetItem_KnownHash(__pyx_mstate_global->__pyx_d, name, ((PyASCIIObject *) name)->hash);
    __PYX_UPDATE_DICT_CACHE(__pyx_mstate_global->__pyx_d, result, *dict_cached_value, *dict_version)
    if (likely(result)) {
        return __Pyx_NewRef(result);
    }
    PyErr_Clear();
#endif
    return __Pyx_GetBuiltinName(name);
}

/* GetTopmostException (used by SaveResetException) */
#if CYTHON_USE_EXC_INFO_STACK && CYTHON_FAST_THREAD_STATE
static _PyErr_StackItem *
__Pyx_PyErr_GetTopmostException(PyThreadState *tstate)
{
    _PyErr_StackItem *exc_info = tstate->exc_info;
    while ((exc_info->exc_value == NULL || exc_info->exc_value == 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 && PY_VERSION_HEX >= 0x030B00a4
    _PyErr_StackItem *exc_info = __Pyx_PyErr_GetTopmostException(tstate);
    PyObject *exc_value = exc_info->exc_value;
    if (exc_value == NULL || exc_value == Py_None) {
        *value = NULL;
        *type = NULL;
        *tb = NULL;
    } else {
        *value = exc_value;
        Py_INCREF(*value);
        *type = (PyObject*) Py_TYPE(exc_value);
        Py_INCREF(*type);
        *tb = PyException_GetTraceback(exc_value);
    }
  #elif 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;
    Py_XINCREF(*type);
    Py_XINCREF(*value);
    Py_XINCREF(*tb);
  #else
    *type = tstate->exc_type;
    *value = tstate->exc_value;
    *tb = tstate->exc_traceback;
    Py_XINCREF(*type);
    Py_XINCREF(*value);
    Py_XINCREF(*tb);
  #endif
}
static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) {
  #if CYTHON_USE_EXC_INFO_STACK && PY_VERSION_HEX >= 0x030B00a4
    _PyErr_StackItem *exc_info = tstate->exc_info;
    PyObject *tmp_value = exc_info->exc_value;
    exc_info->exc_value = value;
    Py_XDECREF(tmp_value);
    Py_XDECREF(type);
    Py_XDECREF(tb);
  #else
    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
}
#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 = NULL, *local_value, *local_tb = NULL;
#if CYTHON_FAST_THREAD_STATE
    PyObject *tmp_type, *tmp_value, *tmp_tb;
  #if PY_VERSION_HEX >= 0x030C0000
    local_value = tstate->current_exception;
    tstate->current_exception = 0;
  #else
    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;
  #endif
#elif __PYX_LIMITED_VERSION_HEX > 0x030C0000
    local_value = PyErr_GetRaisedException();
#else
    PyErr_Fetch(&local_type, &local_value, &local_tb);
#endif
#if __PYX_LIMITED_VERSION_HEX > 0x030C0000
    if (likely(local_value)) {
        local_type = (PyObject*) Py_TYPE(local_value);
        Py_INCREF(local_type);
        local_tb = PyException_GetTraceback(local_value);
    }
#else
    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 (local_tb) {
        if (unlikely(PyException_SetTraceback(local_value, local_tb) < 0))
            goto bad;
    }
#endif // __PYX_LIMITED_VERSION_HEX > 0x030C0000
    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;
      #if PY_VERSION_HEX >= 0x030B00a4
        tmp_value = exc_info->exc_value;
        exc_info->exc_value = local_value;
        tmp_type = NULL;
        tmp_tb = NULL;
        Py_XDECREF(local_type);
        Py_XDECREF(local_tb);
      #else
        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;
      #endif
    }
    #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);
#elif __PYX_LIMITED_VERSION_HEX >= 0x030b0000
    PyErr_SetHandledException(local_value);
    Py_XDECREF(local_value);
    Py_XDECREF(local_type);
    Py_XDECREF(local_tb);
#else
    PyErr_SetExcInfo(local_type, local_value, local_tb);
#endif
    return 0;
#if __PYX_LIMITED_VERSION_HEX <= 0x030C0000
bad:
    *type = 0;
    *value = 0;
    *tb = 0;
    Py_XDECREF(local_type);
    Py_XDECREF(local_value);
    Py_XDECREF(local_tb);
    return -1;
#endif
}

/* SwapException */
#if CYTHON_FAST_THREAD_STATE
static CYTHON_INLINE void __Pyx__ExceptionSwap(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
    PyObject *tmp_type, *tmp_value, *tmp_tb;
  #if CYTHON_USE_EXC_INFO_STACK && PY_VERSION_HEX >= 0x030B00a4
    _PyErr_StackItem *exc_info = tstate->exc_info;
    tmp_value = exc_info->exc_value;
    exc_info->exc_value = *value;
    if (tmp_value == NULL || tmp_value == Py_None) {
        Py_XDECREF(tmp_value);
        tmp_value = NULL;
        tmp_type = NULL;
        tmp_tb = NULL;
    } else {
        tmp_type = (PyObject*) Py_TYPE(tmp_value);
        Py_INCREF(tmp_type);
        #if CYTHON_COMPILING_IN_CPYTHON
        tmp_tb = ((PyBaseExceptionObject*) tmp_value)->traceback;
        Py_XINCREF(tmp_tb);
        #else
        tmp_tb = PyException_GetTraceback(tmp_value);
        #endif
    }
  #elif 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
    *type = tmp_type;
    *value = tmp_value;
    *tb = tmp_tb;
}
#else
static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value, PyObject **tb) {
    PyObject *tmp_type, *tmp_value, *tmp_tb;
    PyErr_GetExcInfo(&tmp_type, &tmp_value, &tmp_tb);
    PyErr_SetExcInfo(*type, *value, *tb);
    *type = tmp_type;
    *value = tmp_value;
    *tb = tmp_tb;
}
#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;
    return __Pyx_PyObject_FormatAndDecref(s, f);
}
static CYTHON_INLINE PyObject* __Pyx_PyObject_FormatAndDecref(PyObject* s, PyObject* f) {
    PyObject *result;
    if (unlikely(!s)) return NULL;
    result = PyObject_Format(s, f);
    Py_DECREF(s);
    return result;
}

/* JoinPyUnicode */
static PyObject* __Pyx_PyUnicode_Join(PyObject** values, Py_ssize_t value_count, Py_ssize_t result_ulength,
                                      Py_UCS4 max_char) {
#if CYTHON_USE_UNICODE_INTERNALS && CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
    PyObject *result_uval;
    int result_ukind, kind_shift;
    Py_ssize_t i, char_pos;
    void *result_udata;
    if (max_char > 1114111) max_char = 1114111;
    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;
    kind_shift = (result_ukind == PyUnicode_4BYTE_KIND) ? 2 : result_ukind - 1;
    result_udata = PyUnicode_DATA(result_uval);
    assert(kind_shift == 2 || kind_shift == 1 || kind_shift == 0);
    if (unlikely((PY_SSIZE_T_MAX >> kind_shift) - result_ulength < 0))
        goto overflow;
    char_pos = 0;
    for (i=0; i < value_count; i++) {
        int ukind;
        Py_ssize_t ulength;
        void *udata;
        PyObject *uval = values[i];
        #if !CYTHON_COMPILING_IN_LIMITED_API
        if (__Pyx_PyUnicode_READY(uval) == (-1))
            goto bad;
        #endif
        ulength = __Pyx_PyUnicode_GET_LENGTH(uval);
        #if !CYTHON_ASSUME_SAFE_SIZE
        if (unlikely(ulength < 0)) goto bad;
        #endif
        if (unlikely(!ulength))
            continue;
        if (unlikely((PY_SSIZE_T_MAX >> kind_shift) - ulength < char_pos))
            goto overflow;
        ukind = __Pyx_PyUnicode_KIND(uval);
        udata = __Pyx_PyUnicode_DATA(uval);
        if (ukind == result_ukind) {
            memcpy((char *)result_udata + (char_pos << kind_shift), udata, (size_t) (ulength << kind_shift));
        } else {
            #if PY_VERSION_HEX >= 0x030d0000
            if (unlikely(PyUnicode_CopyCharacters(result_uval, char_pos, uval, 0, ulength) < 0)) goto bad;
            #elif CYTHON_COMPILING_IN_CPYTHON || 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
    Py_ssize_t i;
    PyObject *result = NULL;
    PyObject *value_tuple = PyTuple_New(value_count);
    if (unlikely(!value_tuple)) return NULL;
    CYTHON_UNUSED_VAR(max_char);
    CYTHON_UNUSED_VAR(result_ulength);
    for (i=0; i<value_count; i++) {
        if (__Pyx_PyTuple_SET_ITEM(value_tuple, i, values[i]) != (0)) goto bad;
        Py_INCREF(values[i]);
    }
    result = PyUnicode_Join(__pyx_mstate_global->__pyx_empty_unicode, value_tuple);
bad:
    Py_DECREF(value_tuple);
    return result;
#endif
}

/* GetItemInt */
static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) {
    PyObject *r;
    if (unlikely(!j)) return NULL;
    r = PyObject_GetItem(o, j);
    Py_DECREF(j);
    return r;
}
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
                                                              int wraparound, int boundscheck, int unsafe_shared) {
    CYTHON_MAYBE_UNUSED_VAR(unsafe_shared);
#if CYTHON_ASSUME_SAFE_SIZE
    Py_ssize_t wrapped_i = i;
    if (wraparound & unlikely(i < 0)) {
        wrapped_i += PyList_GET_SIZE(o);
    }
    if ((CYTHON_AVOID_BORROWED_REFS || CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS || !CYTHON_ASSUME_SAFE_MACROS)) {
        return __Pyx_PyList_GetItemRefFast(o, wrapped_i, unsafe_shared);
    } else
    if ((!boundscheck) || likely(__Pyx_is_valid_index(wrapped_i, PyList_GET_SIZE(o)))) {
        return __Pyx_NewRef(PyList_GET_ITEM(o, wrapped_i));
    }
    return __Pyx_GetItemInt_Generic(o, PyLong_FromSsize_t(i));
#else
    (void)wraparound;
    (void)boundscheck;
    return PySequence_GetItem(o, i);
#endif
}
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
                                                              int wraparound, int boundscheck, int unsafe_shared) {
    CYTHON_MAYBE_UNUSED_VAR(unsafe_shared);
#if CYTHON_ASSUME_SAFE_SIZE && 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)))) {
        return __Pyx_NewRef(PyTuple_GET_ITEM(o, wrapped_i));
    }
    return __Pyx_GetItemInt_Generic(o, PyLong_FromSsize_t(i));
#else
    (void)wraparound;
    (void)boundscheck;
    return PySequence_GetItem(o, i);
#endif
}
static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, int is_list,
                                                     int wraparound, int boundscheck, int unsafe_shared) {
    CYTHON_MAYBE_UNUSED_VAR(unsafe_shared);
#if CYTHON_ASSUME_SAFE_MACROS && CYTHON_ASSUME_SAFE_SIZE
    if (is_list || PyList_CheckExact(o)) {
        Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyList_GET_SIZE(o);
        if ((CYTHON_AVOID_BORROWED_REFS || CYTHON_AVOID_THREAD_UNSAFE_BORROWED_REFS)) {
            return __Pyx_PyList_GetItemRefFast(o, n, unsafe_shared);
        } else if ((!boundscheck) || (likely(__Pyx_is_valid_index(n, PyList_GET_SIZE(o))))) {
            return __Pyx_NewRef(PyList_GET_ITEM(o, n));
        }
    } else
    #if !CYTHON_AVOID_BORROWED_REFS
    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)))) {
            return __Pyx_NewRef(PyTuple_GET_ITEM(o, n));
        }
    } else
    #endif
#endif
#if CYTHON_USE_TYPE_SLOTS && !CYTHON_COMPILING_IN_PYPY
    {
        PyMappingMethods *mm = Py_TYPE(o)->tp_as_mapping;
        PySequenceMethods *sm = Py_TYPE(o)->tp_as_sequence;
        if (!is_list && mm && mm->mp_subscript) {
            PyObject *r, *key = PyLong_FromSsize_t(i);
            if (unlikely(!key)) return NULL;
            r = mm->mp_subscript(o, key);
            Py_DECREF(key);
            return r;
        }
        if (is_list || likely(sm && sm->sq_item)) {
            if (wraparound && unlikely(i < 0) && likely(sm->sq_length)) {
                Py_ssize_t l = sm->sq_length(o);
                if (likely(l >= 0)) {
                    i += l;
                } else {
                    if (!PyErr_ExceptionMatches(PyExc_OverflowError))
                        return NULL;
                    PyErr_Clear();
                }
            }
            return sm->sq_item(o, i);
        }
    }
#else
    if (is_list || !PyMapping_Check(o)) {
        return PySequence_GetItem(o, i);
    }
#endif
    (void)wraparound;
    (void)boundscheck;
    return __Pyx_GetItemInt_Generic(o, PyLong_FromSsize_t(i));
}

/* 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) {
    __Pyx_TypeName obj_type_name;
#if CYTHON_USE_TYPE_SLOTS
    PyMappingMethods* 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 = PyLong_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 = PyLong_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;
    }
    obj_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(obj));
    PyErr_Format(PyExc_TypeError,
        "'" __Pyx_FMT_TYPENAME "' object is unsliceable", obj_type_name);
    __Pyx_DECREF_TypeName(obj_type_name);
bad:
    return NULL;
}

/* pybytes_as_double (used by pynumber_float) */
static double __Pyx_SlowPyString_AsDouble(PyObject *obj) {
    PyObject *float_value = PyFloat_FromString(obj);
    if (likely(float_value)) {
        double value = __Pyx_PyFloat_AS_DOUBLE(float_value);
        Py_DECREF(float_value);
        return value;
    }
    return (double)-1;
}
static const char* __Pyx__PyBytes_AsDouble_Copy(const char* start, char* buffer, Py_ssize_t length) {
    int last_was_punctuation = 1;
    int parse_error_found = 0;
    Py_ssize_t i;
    for (i=0; i < length; i++) {
        char chr = start[i];
        int is_punctuation = (chr == '_') | (chr == '.') | (chr == 'e') | (chr == 'E');
        *buffer = chr;
        buffer += (chr != '_');
        parse_error_found |= last_was_punctuation & is_punctuation;
        last_was_punctuation = is_punctuation;
    }
    parse_error_found |= last_was_punctuation;
    *buffer = '\0';
    return unlikely(parse_error_found) ? NULL : buffer;
}
static double __Pyx__PyBytes_AsDouble_inf_nan(const char* start, Py_ssize_t length) {
    int matches = 1;
    char sign = start[0];
    int is_signed = (sign == '+') | (sign == '-');
    start += is_signed;
    length -= is_signed;
    switch (start[0]) {
        #ifdef Py_NAN
        case 'n':
        case 'N':
            if (unlikely(length != 3)) goto parse_failure;
            matches &= (start[1] == 'a' || start[1] == 'A');
            matches &= (start[2] == 'n' || start[2] == 'N');
            if (unlikely(!matches)) goto parse_failure;
            return (sign == '-') ? -Py_NAN : Py_NAN;
        #endif
        case 'i':
        case 'I':
            if (unlikely(length < 3)) goto parse_failure;
            matches &= (start[1] == 'n' || start[1] == 'N');
            matches &= (start[2] == 'f' || start[2] == 'F');
            if (likely(length == 3 && matches))
                return (sign == '-') ? -Py_HUGE_VAL : Py_HUGE_VAL;
            if (unlikely(length != 8)) goto parse_failure;
            matches &= (start[3] == 'i' || start[3] == 'I');
            matches &= (start[4] == 'n' || start[4] == 'N');
            matches &= (start[5] == 'i' || start[5] == 'I');
            matches &= (start[6] == 't' || start[6] == 'T');
            matches &= (start[7] == 'y' || start[7] == 'Y');
            if (unlikely(!matches)) goto parse_failure;
            return (sign == '-') ? -Py_HUGE_VAL : Py_HUGE_VAL;
        case '.': case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9':
            break;
        default:
            goto parse_failure;
    }
    return 0.0;
parse_failure:
    return -1.0;
}
static CYTHON_INLINE int __Pyx__PyBytes_AsDouble_IsSpace(char ch) {
    return (ch == 0x20) | !((ch < 0x9) | (ch > 0xd));
}
CYTHON_UNUSED static double __Pyx__PyBytes_AsDouble(PyObject *obj, const char* start, Py_ssize_t length) {
    double value;
    Py_ssize_t i, digits;
    const char *last = start + length;
    char *end;
    while (__Pyx__PyBytes_AsDouble_IsSpace(*start))
        start++;
    while (start < last - 1 && __Pyx__PyBytes_AsDouble_IsSpace(last[-1]))
        last--;
    length = last - start;
    if (unlikely(length <= 0)) goto fallback;
    value = __Pyx__PyBytes_AsDouble_inf_nan(start, length);
    if (unlikely(value == -1.0)) goto fallback;
    if (value != 0.0) return value;
    digits = 0;
    for (i=0; i < length; digits += start[i++] != '_');
    if (likely(digits == length)) {
        value = PyOS_string_to_double(start, &end, NULL);
    } else if (digits < 40) {
        char number[40];
        last = __Pyx__PyBytes_AsDouble_Copy(start, number, length);
        if (unlikely(!last)) goto fallback;
        value = PyOS_string_to_double(number, &end, NULL);
    } else {
        char *number = (char*) PyMem_Malloc((digits + 1) * sizeof(char));
        if (unlikely(!number)) goto fallback;
        last = __Pyx__PyBytes_AsDouble_Copy(start, number, length);
        if (unlikely(!last)) {
            PyMem_Free(number);
            goto fallback;
        }
        value = PyOS_string_to_double(number, &end, NULL);
        PyMem_Free(number);
    }
    if (likely(end == last) || (value == (double)-1 && PyErr_Occurred())) {
        return value;
    }
fallback:
    return __Pyx_SlowPyString_AsDouble(obj);
}

/* pynumber_float */
static CYTHON_INLINE PyObject* __Pyx__PyNumber_Float(PyObject* obj) {
    double val;
    if (PyLong_CheckExact(obj)) {
#if CYTHON_USE_PYLONG_INTERNALS
        if (likely(__Pyx_PyLong_IsCompact(obj))) {
            val = (double) __Pyx_PyLong_CompactValue(obj);
            goto no_error;
        }
#endif
        val = PyLong_AsDouble(obj);
    } else if (PyUnicode_CheckExact(obj)) {
        val = __Pyx_PyUnicode_AsDouble(obj);
    } else if (PyBytes_CheckExact(obj)) {
        val = __Pyx_PyBytes_AsDouble(obj);
    } else if (PyByteArray_CheckExact(obj)) {
        val = __Pyx_PyByteArray_AsDouble(obj);
    } else {
        return PyNumber_Float(obj);
    }
    if (unlikely(val == -1 && PyErr_Occurred())) {
        return NULL;
    }
#if CYTHON_USE_PYLONG_INTERNALS
no_error:
#endif
    return PyFloat_FromDouble(val);
}

/* 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);
    return PyObject_SetAttr(obj, attr_name, value);
}
#endif

/* SliceTupleAndList */
#if CYTHON_COMPILING_IN_CPYTHON
static CYTHON_INLINE void __Pyx_crop_slice(Py_ssize_t* _start, Py_ssize_t* _stop, Py_ssize_t* _length) {
    Py_ssize_t start = *_start, stop = *_stop, length = *_length;
    if (start < 0) {
        start += length;
        if (start < 0)
            start = 0;
    }
    if (stop < 0)
        stop += length;
    else if (stop > length)
        stop = length;
    *_length = stop - start;
    *_start = start;
    *_stop = stop;
}
static CYTHON_INLINE PyObject* __Pyx_PyTuple_GetSlice(
            PyObject* src, Py_ssize_t start, Py_ssize_t stop) {
    Py_ssize_t length = PyTuple_GET_SIZE(src);
    __Pyx_crop_slice(&start, &stop, &length);
    return __Pyx_PyTuple_FromArray(((PyTupleObject*)src)->ob_item + start, length);
}
static CYTHON_INLINE PyObject* __Pyx_PyList_GetSlice_locked(
            PyObject* src, Py_ssize_t start, Py_ssize_t stop) {
    Py_ssize_t length = PyList_GET_SIZE(src);
    __Pyx_crop_slice(&start, &stop, &length);
    if (length <= 0) {
        return PyList_New(0);
    }
    return __Pyx_PyList_FromArray(((PyListObject*)src)->ob_item + start, length);
}
static CYTHON_INLINE PyObject* __Pyx_PyList_GetSlice(
            PyObject* src, Py_ssize_t start, Py_ssize_t stop) {
    PyObject *result;
    __Pyx_BEGIN_CRITICAL_SECTION(src);
    result = __Pyx_PyList_GetSlice_locked(src, start, stop);
    __Pyx_END_CRITICAL_SECTION();
    return result;
}
#endif // CYTHON_COMPILING_IN_CPYTHON

/* PyLongCompare */
static CYTHON_INLINE int __Pyx_PyLong_BoolEqObjC(PyObject *op1, PyObject *op2, long intval, long inplace) {
    CYTHON_MAYBE_UNUSED_VAR(intval);
    CYTHON_UNUSED_VAR(inplace);
    if (op1 == op2) {
        return 1;
    }
    #if CYTHON_USE_PYLONG_INTERNALS
    if (likely(PyLong_CheckExact(op1))) {
        int unequal;
        unsigned long uintval;
        Py_ssize_t size = __Pyx_PyLong_DigitCount(op1);
        const digit* digits = __Pyx_PyLong_Digits(op1);
        if (intval == 0) {
            return (__Pyx_PyLong_IsZero(op1) == 1);
        } else if (intval < 0) {
            if (__Pyx_PyLong_IsNonNeg(op1))
                return 0;
            intval = -intval;
        } else {
            if (__Pyx_PyLong_IsNeg(op1))
                return 0;
        }
        uintval = (unsigned long) intval;
#if PyLong_SHIFT * 4 < SIZEOF_LONG*8
        if (uintval >> (PyLong_SHIFT * 4)) {
            unequal = (size != 5) || (digits[0] != (uintval & (unsigned long) PyLong_MASK))
                 | (digits[1] != ((uintval >> (1 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)) | (digits[2] != ((uintval >> (2 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)) | (digits[3] != ((uintval >> (3 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)) | (digits[4] != ((uintval >> (4 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK));
        } else
#endif
#if PyLong_SHIFT * 3 < SIZEOF_LONG*8
        if (uintval >> (PyLong_SHIFT * 3)) {
            unequal = (size != 4) || (digits[0] != (uintval & (unsigned long) PyLong_MASK))
                 | (digits[1] != ((uintval >> (1 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)) | (digits[2] != ((uintval >> (2 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)) | (digits[3] != ((uintval >> (3 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK));
        } else
#endif
#if PyLong_SHIFT * 2 < SIZEOF_LONG*8
        if (uintval >> (PyLong_SHIFT * 2)) {
            unequal = (size != 3) || (digits[0] != (uintval & (unsigned long) PyLong_MASK))
                 | (digits[1] != ((uintval >> (1 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)) | (digits[2] != ((uintval >> (2 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK));
        } else
#endif
#if PyLong_SHIFT * 1 < SIZEOF_LONG*8
        if (uintval >> (PyLong_SHIFT * 1)) {
            unequal = (size != 2) || (digits[0] != (uintval & (unsigned long) PyLong_MASK))
                 | (digits[1] != ((uintval >> (1 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK));
        } else
#endif
            unequal = (size != 1) || (((unsigned long) digits[0]) != (uintval & (unsigned long) PyLong_MASK));
        return (unequal == 0);
    }
    #endif
    if (PyFloat_CheckExact(op1)) {
        const long b = intval;
        double a = __Pyx_PyFloat_AS_DOUBLE(op1);
        return ((double)a == (double)b);
    }
    return __Pyx_PyObject_IsTrueAndDecref(
        PyObject_RichCompare(op1, op2, Py_EQ));
}

/* KeywordStringCheck */
static int __Pyx_CheckKeywordStrings(
    const char* function_name,
    PyObject *kw)
{
#if CYTHON_COMPILING_IN_PYPY && !defined(PyArg_ValidateKeywordArguments)
    CYTHON_UNUSED_VAR(function_name);
    CYTHON_UNUSED_VAR(kw);
    return 0;
#else
    if (CYTHON_METH_FASTCALL && likely(PyTuple_Check(kw))) {
#if PY_VERSION_HEX >= 0x03090000
        CYTHON_UNUSED_VAR(function_name);
#else
        Py_ssize_t kwsize;
        #if CYTHON_ASSUME_SAFE_SIZE
        kwsize = PyTuple_GET_SIZE(kw);
        #else
        kwsize = PyTuple_Size(kw);
        if (unlikely(kwsize < 0)) return -1;
        #endif
        for (Py_ssize_t pos = 0; pos < kwsize; pos++) {
            PyObject* key = NULL;
            #if CYTHON_ASSUME_SAFE_MACROS
            key = PyTuple_GET_ITEM(kw, pos);
            #else
            key = PyTuple_GetItem(kw, pos);
            if (unlikely(!key)) return -1;
            #endif
            if (unlikely(!PyUnicode_Check(key))) {
                PyErr_Format(PyExc_TypeError,
                    "%.200s() keywords must be strings", function_name);
                return -1;
            }
        }
#endif
    } else {
        if (unlikely(!PyArg_ValidateKeywordArguments(kw))) return -1;
    }
    return 0;
#endif
}

/* CIntToDigits (used by CIntToPyUnicode) */
static const char DIGIT_PAIRS_10[2*10*10+1] = {
    "00010203040506070809"
    "10111213141516171819"
    "20212223242526272829"
    "30313233343536373839"
    "40414243444546474849"
    "50515253545556575859"
    "60616263646566676869"
    "70717273747576777879"
    "80818283848586878889"
    "90919293949596979899"
};
static const char DIGIT_PAIRS_8[2*8*8+1] = {
    "0001020304050607"
    "1011121314151617"
    "2021222324252627"
    "3031323334353637"
    "4041424344454647"
    "5051525354555657"
    "6061626364656667"
    "7071727374757677"
};
static const char DIGITS_HEX[2*16+1] = {
    "0123456789abcdef"
    "0123456789ABCDEF"
};

/* BuildPyUnicode (used by COrdinalToPyUnicode) */
static PyObject* __Pyx_PyUnicode_BuildFromAscii(Py_ssize_t ulength, const char* chars, int clength,
                                                int prepend_sign, char padding_char) {
    PyObject *uval;
    Py_ssize_t uoffset = ulength - clength;
#if CYTHON_USE_UNICODE_INTERNALS
    Py_ssize_t i;
    void *udata;
    uval = PyUnicode_New(ulength, 127);
    if (unlikely(!uval)) return NULL;
    udata = PyUnicode_DATA(uval);
    if (uoffset > 0) {
        i = 0;
        if (prepend_sign) {
            __Pyx_PyUnicode_WRITE(PyUnicode_1BYTE_KIND, udata, 0, '-');
            i++;
        }
        for (; i < uoffset; i++) {
            __Pyx_PyUnicode_WRITE(PyUnicode_1BYTE_KIND, udata, i, padding_char);
        }
    }
    for (i=0; i < clength; i++) {
        __Pyx_PyUnicode_WRITE(PyUnicode_1BYTE_KIND, udata, uoffset+i, chars[i]);
    }
#else
    {
        PyObject *sign = NULL, *padding = NULL;
        uval = NULL;
        if (uoffset > 0) {
            prepend_sign = !!prepend_sign;
            if (uoffset > prepend_sign) {
                padding = PyUnicode_FromOrdinal(padding_char);
                if (likely(padding) && uoffset > prepend_sign + 1) {
                    PyObject *tmp = PySequence_Repeat(padding, uoffset - prepend_sign);
                    Py_DECREF(padding);
                    padding = tmp;
                }
                if (unlikely(!padding)) goto done_or_error;
            }
            if (prepend_sign) {
                sign = PyUnicode_FromOrdinal('-');
                if (unlikely(!sign)) goto done_or_error;
            }
        }
        uval = PyUnicode_DecodeASCII(chars, clength, NULL);
        if (likely(uval) && padding) {
            PyObject *tmp = PyUnicode_Concat(padding, uval);
            Py_DECREF(uval);
            uval = tmp;
        }
        if (likely(uval) && sign) {
            PyObject *tmp = PyUnicode_Concat(sign, uval);
            Py_DECREF(uval);
            uval = tmp;
        }
done_or_error:
        Py_XDECREF(padding);
        Py_XDECREF(sign);
    }
#endif
    return uval;
}

/* COrdinalToPyUnicode (used by CIntToPyUnicode) */
static CYTHON_INLINE int __Pyx_CheckUnicodeValue(int value) {
    return value <= 1114111;
}
static PyObject* __Pyx_PyUnicode_FromOrdinal_Padded(int value, Py_ssize_t ulength, char padding_char) {
    Py_ssize_t padding_length = ulength - 1;
    if (likely((padding_length <= 250) && (value < 0xD800 || value > 0xDFFF))) {
        char chars[256];
        if (value <= 255) {
            memset(chars, padding_char, (size_t) padding_length);
            chars[ulength-1] = (char) value;
            return PyUnicode_DecodeLatin1(chars, ulength, NULL);
        }
        char *cpos = chars + sizeof(chars);
        if (value < 0x800) {
            *--cpos = (char) (0x80 | (value & 0x3f));
            value >>= 6;
            *--cpos = (char) (0xc0 | (value & 0x1f));
        } else if (value < 0x10000) {
            *--cpos = (char) (0x80 | (value & 0x3f));
            value >>= 6;
            *--cpos = (char) (0x80 | (value & 0x3f));
            value >>= 6;
            *--cpos = (char) (0xe0 | (value & 0x0f));
        } else {
            *--cpos = (char) (0x80 | (value & 0x3f));
            value >>= 6;
            *--cpos = (char) (0x80 | (value & 0x3f));
            value >>= 6;
            *--cpos = (char) (0x80 | (value & 0x3f));
            value >>= 6;
            *--cpos = (char) (0xf0 | (value & 0x07));
        }
        cpos -= padding_length;
        memset(cpos, padding_char, (size_t) padding_length);
        return PyUnicode_DecodeUTF8(cpos, chars + sizeof(chars) - cpos, NULL);
    }
    if (value <= 127 && CYTHON_USE_UNICODE_INTERNALS) {
        const char chars[1] = {(char) value};
        return __Pyx_PyUnicode_BuildFromAscii(ulength, chars, 1, 0, padding_char);
    }
    {
        PyObject *uchar, *padding_uchar, *padding, *result;
        padding_uchar = PyUnicode_FromOrdinal(padding_char);
        if (unlikely(!padding_uchar)) return NULL;
        padding = PySequence_Repeat(padding_uchar, padding_length);
        Py_DECREF(padding_uchar);
        if (unlikely(!padding)) return NULL;
        uchar = PyUnicode_FromOrdinal(value);
        if (unlikely(!uchar)) {
            Py_DECREF(padding);
            return NULL;
        }
        result = PyUnicode_Concat(padding, uchar);
        Py_DECREF(padding);
        Py_DECREF(uchar);
        return result;
    }
}

/* CIntToPyUnicode */
static CYTHON_INLINE PyObject* __Pyx_uchar___Pyx_PyUnicode_From_long(long value, Py_ssize_t width, char padding_char) {
#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 (unlikely(!(is_unsigned || value == 0 || value > 0) ||
                    !(sizeof(value) <= 2 || value & ~ (long) 0x01fffff || __Pyx_CheckUnicodeValue((int) value)))) {
        PyErr_SetString(PyExc_OverflowError, "%c arg not in range(0x110000)");
        return NULL;
    }
    if (width <= 1) {
        return PyUnicode_FromOrdinal((int) value);
    }
    return __Pyx_PyUnicode_FromOrdinal_Padded((int) value, width, padding_char);
}
static CYTHON_INLINE PyObject* __Pyx____Pyx_PyUnicode_From_long(long value, Py_ssize_t width, char padding_char, char format_char) {
    char digits[sizeof(long)*3+2];
    char *dpos, *end = digits + sizeof(long)*3+2;
    const char *hex_digits = DIGITS_HEX;
    Py_ssize_t length, ulength;
    int prepend_sign, last_one_off;
    long remaining;
#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 (format_char == 'X') {
        hex_digits += 16;
        format_char = 'x';
    }
    remaining = value;
    last_one_off = 0;
    dpos = end;
    do {
        int digit_pos;
        switch (format_char) {
        case 'o':
            digit_pos = abs((int)(remaining % (8*8)));
            remaining = (long) (remaining / (8*8));
            dpos -= 2;
            memcpy(dpos, DIGIT_PAIRS_8 + digit_pos * 2, 2);
            last_one_off = (digit_pos < 8);
            break;
        case 'd':
            digit_pos = abs((int)(remaining % (10*10)));
            remaining = (long) (remaining / (10*10));
            dpos -= 2;
            memcpy(dpos, DIGIT_PAIRS_10 + digit_pos * 2, 2);
            last_one_off = (digit_pos < 10);
            break;
        case 'x':
            *(--dpos) = hex_digits[abs((int)(remaining % 16))];
            remaining = (long) (remaining / 16);
            break;
        default:
            assert(0);
            break;
        }
    } while (unlikely(remaining != 0));
    assert(!last_one_off || *dpos == '0');
    dpos += last_one_off;
    length = end - dpos;
    ulength = length;
    prepend_sign = 0;
    if (!is_unsigned && value <= neg_one) {
        if (padding_char == ' ' || width <= length + 1) {
            *(--dpos) = '-';
            ++length;
        } else {
            prepend_sign = 1;
        }
        ++ulength;
    }
    if (width > ulength) {
        ulength = width;
    }
    if (ulength == 1) {
        return PyUnicode_FromOrdinal(*dpos);
    }
    return __Pyx_PyUnicode_BuildFromAscii(ulength, dpos, (int) length, prepend_sign, padding_char);
}

/* PyObjectFormat */
#if CYTHON_USE_UNICODE_WRITER
static PyObject* __Pyx_PyObject_Format(PyObject* obj, PyObject* format_spec) {
    int ret;
    _PyUnicodeWriter writer;
    if (likely(PyFloat_CheckExact(obj))) {
        _PyUnicodeWriter_Init(&writer);
        ret = _PyFloat_FormatAdvancedWriter(
            &writer,
            obj,
            format_spec, 0, PyUnicode_GET_LENGTH(format_spec));
    } else if (likely(PyLong_CheckExact(obj))) {
        _PyUnicodeWriter_Init(&writer);
        ret = _PyLong_FormatAdvancedWriter(
            &writer,
            obj,
            format_spec, 0, PyUnicode_GET_LENGTH(format_spec));
    } else {
        return PyObject_Format(obj, format_spec);
    }
    if (unlikely(ret == -1)) {
        _PyUnicodeWriter_Dealloc(&writer);
        return NULL;
    }
    return _PyUnicodeWriter_Finish(&writer);
}
#endif

/* PyObjectVectorCallKwBuilder (used by PyObjectVectorCallMethodKwBuilder) */
#if CYTHON_VECTORCALL
static int __Pyx_VectorcallBuilder_AddArg(PyObject *key, PyObject *value, PyObject *builder, PyObject **args, int n) {
    (void)__Pyx_PyObject_FastCallDict;
    if (__Pyx_PyTuple_SET_ITEM(builder, n, key) != (0)) return -1;
    Py_INCREF(key);
    args[n] = value;
    return 0;
}
CYTHON_UNUSED static int __Pyx_VectorcallBuilder_AddArg_Check(PyObject *key, PyObject *value, PyObject *builder, PyObject **args, int n) {
    (void)__Pyx_VectorcallBuilder_AddArgStr;
    if (unlikely(!PyUnicode_Check(key))) {
        PyErr_SetString(PyExc_TypeError, "keywords must be strings");
        return -1;
    }
    return __Pyx_VectorcallBuilder_AddArg(key, value, builder, args, n);
}
static int __Pyx_VectorcallBuilder_AddArgStr(const char *key, PyObject *value, PyObject *builder, PyObject **args, int n) {
    PyObject *pyKey = PyUnicode_FromString(key);
    if (!pyKey) return -1;
    return __Pyx_VectorcallBuilder_AddArg(pyKey, value, builder, args, n);
}
#else // CYTHON_VECTORCALL
CYTHON_UNUSED static int __Pyx_VectorcallBuilder_AddArg_Check(PyObject *key, PyObject *value, PyObject *builder, CYTHON_UNUSED PyObject **args, CYTHON_UNUSED int n) {
    if (unlikely(!PyUnicode_Check(key))) {
        PyErr_SetString(PyExc_TypeError, "keywords must be strings");
        return -1;
    }
    return PyDict_SetItem(builder, key, value);
}
#endif

/* PyObjectVectorCallMethodKwBuilder */
#if !CYTHON_VECTORCALL || PY_VERSION_HEX < 0x03090000
static PyObject *__Pyx_Object_VectorcallMethod_CallFromBuilder(PyObject *name, PyObject *const *args, size_t nargsf, PyObject *kwnames) {
    PyObject *result;
    PyObject *obj = PyObject_GetAttr(args[0], name);
    if (unlikely(!obj))
        return NULL;
    result = __Pyx_Object_Vectorcall_CallFromBuilder(obj, args+1, nargsf-1, kwnames);
    Py_DECREF(obj);
    return result;
}
#endif

/* ObjectGetItem */
#if CYTHON_USE_TYPE_SLOTS
static PyObject *__Pyx_PyObject_GetIndex(PyObject *obj, PyObject *index) {
    PyObject *runerr = NULL;
    Py_ssize_t key_value;
    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, 1);
    }
    if (PyErr_GivenExceptionMatches(runerr, PyExc_OverflowError)) {
        __Pyx_TypeName index_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(index));
        PyErr_Clear();
        PyErr_Format(PyExc_IndexError,
            "cannot fit '" __Pyx_FMT_TYPENAME "' into an index-sized integer", index_type_name);
        __Pyx_DECREF_TypeName(index_type_name);
    }
    return NULL;
}
static PyObject *__Pyx_PyObject_GetItem_Slow(PyObject *obj, PyObject *key) {
    __Pyx_TypeName obj_type_name;
    if (likely(PyType_Check(obj))) {
        PyObject *meth = __Pyx_PyObject_GetAttrStrNoError(obj, __pyx_mstate_global->__pyx_n_u_class_getitem);
        if (!meth) {
            PyErr_Clear();
        } else {
            PyObject *result = __Pyx_PyObject_CallOneArg(meth, key);
            Py_DECREF(meth);
            return result;
        }
    }
    obj_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(obj));
    PyErr_Format(PyExc_TypeError,
        "'" __Pyx_FMT_TYPENAME "' object is not subscriptable", obj_type_name);
    __Pyx_DECREF_TypeName(obj_type_name);
    return NULL;
}
static PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject *key) {
    PyTypeObject *tp = Py_TYPE(obj);
    PyMappingMethods *mm = tp->tp_as_mapping;
    PySequenceMethods *sm = tp->tp_as_sequence;
    if (likely(mm && mm->mp_subscript)) {
        return mm->mp_subscript(obj, key);
    }
    if (likely(sm && sm->sq_item)) {
        return __Pyx_PyObject_GetIndex(obj, key);
    }
    return __Pyx_PyObject_GetItem_Slow(obj, key);
}
#endif

/* GetAttr */
static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *o, PyObject *n) {
#if CYTHON_USE_TYPE_SLOTS
    if (likely(PyUnicode_Check(n)))
        return __Pyx_PyObject_GetAttrStr(o, n);
#endif
    return PyObject_GetAttr(o, n);
}

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

/* py_dict_pop */
static CYTHON_INLINE PyObject *__Pyx_PyDict_Pop(PyObject *d, PyObject *key, PyObject *default_value) {
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d00A2 || defined(PyDict_Pop)
    PyObject *value;
    if (PyDict_Pop(d, key, &value) == 0) {
        if (default_value) {
            Py_INCREF(default_value);
        } else {
            PyErr_SetObject(PyExc_KeyError, key);
        }
        value = default_value;
    }
    return value;
#elif CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030d0000
    return _PyDict_Pop(d, key, default_value);
#else
    if (default_value) {
        return __Pyx_CallUnboundCMethod2(&__pyx_mstate_global->__pyx_umethod_PyDict_Type_pop, d, key, default_value);
    } else {
        return __Pyx_CallUnboundCMethod1(&__pyx_mstate_global->__pyx_umethod_PyDict_Type_pop, d, key);
    }
#endif
}

/* FastTypeChecks */
#if CYTHON_COMPILING_IN_CPYTHON
static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) {
    while (a) {
        a = __Pyx_PyType_GetSlot(a, tp_base, PyTypeObject*);
        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);
}
static CYTHON_INLINE int __Pyx_IsAnySubtype2(PyTypeObject *cls, PyTypeObject *a, PyTypeObject *b) {
    PyObject *mro;
    if (cls == a || cls == b) return 1;
    mro = cls->tp_mro;
    if (likely(mro)) {
        Py_ssize_t i, n;
        n = PyTuple_GET_SIZE(mro);
        for (i = 0; i < n; i++) {
            PyObject *base = PyTuple_GET_ITEM(mro, i);
            if (base == (PyObject *)a || base == (PyObject *)b)
                return 1;
        }
        return 0;
    }
    return __Pyx_InBases(cls, a) || __Pyx_InBases(cls, b);
}
static CYTHON_INLINE int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObject* exc_type1, PyObject *exc_type2) {
    if (exc_type1) {
        return __Pyx_IsAnySubtype2((PyTypeObject*)err, (PyTypeObject*)exc_type1, (PyTypeObject*)exc_type2);
    } else {
        return __Pyx_IsSubtype((PyTypeObject*)err, (PyTypeObject*)exc_type2);
    }
}
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);
    for (i=0; i<n; i++) {
        if (exc_type == PyTuple_GET_ITEM(tuple, i)) return 1;
    }
    for (i=0; i<n; i++) {
        PyObject *t = PyTuple_GET_ITEM(tuple, i);
        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

/* AllocateExtensionType */
static PyObject *__Pyx_AllocateExtensionType(PyTypeObject *t, int is_final) {
    if (is_final || likely(!__Pyx_PyType_HasFeature(t, Py_TPFLAGS_IS_ABSTRACT))) {
        allocfunc alloc_func = __Pyx_PyType_GetSlot(t, tp_alloc, allocfunc);
        return alloc_func(t, 0);
    } else {
        newfunc tp_new = __Pyx_PyType_TryGetSlot(&PyBaseObject_Type, tp_new, newfunc);
    #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000
        if (!tp_new) {
            PyObject *new_str = PyUnicode_FromString("__new__");
            if (likely(new_str)) {
                PyObject *o = PyObject_CallMethodObjArgs((PyObject *)&PyBaseObject_Type, new_str, t, NULL);
                Py_DECREF(new_str);
                return o;
            } else
                return NULL;
        } else
    #endif
        return tp_new(t, __pyx_mstate_global->__pyx_empty_tuple, 0);
    }
}

/* CallTypeTraverse */
#if !CYTHON_USE_TYPE_SPECS || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x03090000)
#else
static int __Pyx_call_type_traverse(PyObject *o, int always_call, visitproc visit, void *arg) {
    #if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x03090000
    if (__Pyx_get_runtime_version() < 0x03090000) return 0;
    #endif
    if (!always_call) {
        PyTypeObject *base = __Pyx_PyObject_GetSlot(o, tp_base, PyTypeObject*);
        unsigned long flags = PyType_GetFlags(base);
        if (flags & Py_TPFLAGS_HEAPTYPE) {
            return 0;
        }
    }
    Py_VISIT((PyObject*)Py_TYPE(o));
    return 0;
}
#endif

/* LimitedApiGetTypeDict (used by SetItemOnTypeDict) */
#if CYTHON_COMPILING_IN_LIMITED_API
static Py_ssize_t __Pyx_GetTypeDictOffset(void) {
    PyObject *tp_dictoffset_o;
    Py_ssize_t tp_dictoffset;
    tp_dictoffset_o = PyObject_GetAttrString((PyObject*)(&PyType_Type), "__dictoffset__");
    if (unlikely(!tp_dictoffset_o)) return -1;
    tp_dictoffset = PyLong_AsSsize_t(tp_dictoffset_o);
    Py_DECREF(tp_dictoffset_o);
    if (unlikely(tp_dictoffset == 0)) {
        PyErr_SetString(
            PyExc_TypeError,
            "'type' doesn't have a dictoffset");
        return -1;
    } else if (unlikely(tp_dictoffset < 0)) {
        PyErr_SetString(
            PyExc_TypeError,
            "'type' has an unexpected negative dictoffset. "
            "Please report this as Cython bug");
        return -1;
    }
    return tp_dictoffset;
}
static PyObject *__Pyx_GetTypeDict(PyTypeObject *tp) {
    static Py_ssize_t tp_dictoffset = 0;
    if (unlikely(tp_dictoffset == 0)) {
        tp_dictoffset = __Pyx_GetTypeDictOffset();
        if (unlikely(tp_dictoffset == -1 && PyErr_Occurred())) {
            tp_dictoffset = 0; // try again next time?
            return NULL;
        }
    }
    return *(PyObject**)((char*)tp + tp_dictoffset);
}
#endif

/* SetItemOnTypeDict (used by FixUpExtensionType) */
static int __Pyx__SetItemOnTypeDict(PyTypeObject *tp, PyObject *k, PyObject *v) {
    int result;
    PyObject *tp_dict;
#if CYTHON_COMPILING_IN_LIMITED_API
    tp_dict = __Pyx_GetTypeDict(tp);
    if (unlikely(!tp_dict)) return -1;
#else
    tp_dict = tp->tp_dict;
#endif
    result = PyDict_SetItem(tp_dict, k, v);
    if (likely(!result)) {
        PyType_Modified(tp);
        if (unlikely(PyObject_HasAttr(v, __pyx_mstate_global->__pyx_n_u_set_name_2))) {
            PyObject *setNameResult = PyObject_CallMethodObjArgs(v, __pyx_mstate_global->__pyx_n_u_set_name_2,  (PyObject *) tp, k, NULL);
            if (!setNameResult) return -1;
            Py_DECREF(setNameResult);
        }
    }
    return result;
}

/* FixUpExtensionType */
static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject *type) {
#if __PYX_LIMITED_VERSION_HEX > 0x030900B1
    CYTHON_UNUSED_VAR(spec);
    CYTHON_UNUSED_VAR(type);
    CYTHON_UNUSED_VAR(__Pyx__SetItemOnTypeDict);
#else
    const PyType_Slot *slot = spec->slots;
    int changed = 0;
#if !CYTHON_COMPILING_IN_LIMITED_API
    while (slot && slot->slot && slot->slot != Py_tp_members)
        slot++;
    if (slot && slot->slot == Py_tp_members) {
#if !CYTHON_COMPILING_IN_CPYTHON
        const
#endif  // !CYTHON_COMPILING_IN_CPYTHON)
            PyMemberDef *memb = (PyMemberDef*) slot->pfunc;
        while (memb && memb->name) {
            if (memb->name[0] == '_' && memb->name[1] == '_') {
                if (strcmp(memb->name, "__weaklistoffset__") == 0) {
                    assert(memb->type == T_PYSSIZET);
                    assert(memb->flags == READONLY);
                    type->tp_weaklistoffset = memb->offset;
                    changed = 1;
                }
                else if (strcmp(memb->name, "__dictoffset__") == 0) {
                    assert(memb->type == T_PYSSIZET);
                    assert(memb->flags == READONLY);
                    type->tp_dictoffset = memb->offset;
                    changed = 1;
                }
#if CYTHON_METH_FASTCALL
                else if (strcmp(memb->name, "__vectorcalloffset__") == 0) {
                    assert(memb->type == T_PYSSIZET);
                    assert(memb->flags == READONLY);
                    type->tp_vectorcall_offset = memb->offset;
                    changed = 1;
                }
#endif  // CYTHON_METH_FASTCALL
#if !CYTHON_COMPILING_IN_PYPY
                else if (strcmp(memb->name, "__module__") == 0) {
                    PyObject *descr;
                    assert(memb->type == T_OBJECT);
                    assert(memb->flags == 0 || memb->flags == READONLY);
                    descr = PyDescr_NewMember(type, memb);
                    if (unlikely(!descr))
                        return -1;
                    int set_item_result = PyDict_SetItem(type->tp_dict, PyDescr_NAME(descr), descr);
                    Py_DECREF(descr);
                    if (unlikely(set_item_result < 0)) {
                        return -1;
                    }
                    changed = 1;
                }
#endif  // !CYTHON_COMPILING_IN_PYPY
            }
            memb++;
        }
    }
#endif  // !CYTHON_COMPILING_IN_LIMITED_API
#if !CYTHON_COMPILING_IN_PYPY
    slot = spec->slots;
    while (slot && slot->slot && slot->slot != Py_tp_getset)
        slot++;
    if (slot && slot->slot == Py_tp_getset) {
        PyGetSetDef *getset = (PyGetSetDef*) slot->pfunc;
        while (getset && getset->name) {
            if (getset->name[0] == '_' && getset->name[1] == '_' && strcmp(getset->name, "__module__") == 0) {
                PyObject *descr = PyDescr_NewGetSet(type, getset);
                if (unlikely(!descr))
                    return -1;
                #if CYTHON_COMPILING_IN_LIMITED_API
                PyObject *pyname = PyUnicode_FromString(getset->name);
                if (unlikely(!pyname)) {
                    Py_DECREF(descr);
                    return -1;
                }
                int set_item_result = __Pyx_SetItemOnTypeDict(type, pyname, descr);
                Py_DECREF(pyname);
                #else
                CYTHON_UNUSED_VAR(__Pyx__SetItemOnTypeDict);
                int set_item_result = PyDict_SetItem(type->tp_dict, PyDescr_NAME(descr), descr);
                #endif
                Py_DECREF(descr);
                if (unlikely(set_item_result < 0)) {
                    return -1;
                }
                changed = 1;
            }
            ++getset;
        }
    }
#else
    CYTHON_UNUSED_VAR(__Pyx__SetItemOnTypeDict);
#endif  // !CYTHON_COMPILING_IN_PYPY
    if (changed)
        PyType_Modified(type);
#endif  // PY_VERSION_HEX > 0x030900B1
    return 0;
}

/* PyObjectCallNoArg (used by PyObjectCallMethod0) */
static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) {
    PyObject *arg[2] = {NULL, NULL};
    return __Pyx_PyObject_FastCall(func, arg + 1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET);
}

/* PyObjectGetMethod (used by PyObjectCallMethod0) */
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
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
    __Pyx_TypeName type_name;
    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 defined(Py_TPFLAGS_METHOD_DESCRIPTOR) && Py_TPFLAGS_METHOD_DESCRIPTOR
        if (__Pyx_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR))
#else
        #ifdef __Pyx_CyFunction_USED
        if (likely(PyFunction_Check(descr) || __Pyx_IS_TYPE(descr, &PyMethodDescr_Type) || __Pyx_CyFunction_Check(descr)))
        #else
        if (likely(PyFunction_Check(descr) || __Pyx_IS_TYPE(descr, &PyMethodDescr_Type)))
        #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 (likely(descr != NULL)) {
        *method = descr;
        return 0;
    }
    type_name = __Pyx_PyType_GetFullyQualifiedName(tp);
    PyErr_Format(PyExc_AttributeError,
                 "'" __Pyx_FMT_TYPENAME "' object has no attribute '%U'",
                 type_name, name);
    __Pyx_DECREF_TypeName(type_name);
    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;
}
#endif

/* PyObjectCallMethod0 (used by PyType_Ready) */
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
    PyObject *args[1] = {obj};
    (void) __Pyx_PyObject_CallOneArg;
    (void) __Pyx_PyObject_CallNoArg;
    return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
#else
    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;
#endif
}

/* ValidateBasesTuple (used by PyType_Ready) */
#if CYTHON_COMPILING_IN_CPYTHON || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_USE_TYPE_SPECS
static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffset, PyObject *bases) {
    Py_ssize_t i, n;
#if CYTHON_ASSUME_SAFE_SIZE
    n = PyTuple_GET_SIZE(bases);
#else
    n = PyTuple_Size(bases);
    if (unlikely(n < 0)) return -1;
#endif
    for (i = 1; i < n; i++)
    {
        PyTypeObject *b;
#if CYTHON_AVOID_BORROWED_REFS
        PyObject *b0 = PySequence_GetItem(bases, i);
        if (!b0) return -1;
#elif CYTHON_ASSUME_SAFE_MACROS
        PyObject *b0 = PyTuple_GET_ITEM(bases, i);
#else
        PyObject *b0 = PyTuple_GetItem(bases, i);
        if (!b0) return -1;
#endif
        b = (PyTypeObject*) b0;
        if (!__Pyx_PyType_HasFeature(b, Py_TPFLAGS_HEAPTYPE))
        {
            __Pyx_TypeName b_name = __Pyx_PyType_GetFullyQualifiedName(b);
            PyErr_Format(PyExc_TypeError,
                "base class '" __Pyx_FMT_TYPENAME "' is not a heap type", b_name);
            __Pyx_DECREF_TypeName(b_name);
#if CYTHON_AVOID_BORROWED_REFS
            Py_DECREF(b0);
#endif
            return -1;
        }
        if (dictoffset == 0)
        {
            Py_ssize_t b_dictoffset = 0;
#if CYTHON_USE_TYPE_SLOTS
            b_dictoffset = b->tp_dictoffset;
#else
            PyObject *py_b_dictoffset = PyObject_GetAttrString((PyObject*)b, "__dictoffset__");
            if (!py_b_dictoffset) goto dictoffset_return;
            b_dictoffset = PyLong_AsSsize_t(py_b_dictoffset);
            Py_DECREF(py_b_dictoffset);
            if (b_dictoffset == -1 && PyErr_Occurred()) goto dictoffset_return;
#endif
            if (b_dictoffset) {
                {
                    __Pyx_TypeName b_name = __Pyx_PyType_GetFullyQualifiedName(b);
                    PyErr_Format(PyExc_TypeError,
                        "extension type '%.200s' has no __dict__ slot, "
                        "but base type '" __Pyx_FMT_TYPENAME "' has: "
                        "either add 'cdef dict __dict__' to the extension type "
                        "or add '__slots__ = [...]' to the base type",
                        type_name, b_name);
                    __Pyx_DECREF_TypeName(b_name);
                }
#if !CYTHON_USE_TYPE_SLOTS
              dictoffset_return:
#endif
#if CYTHON_AVOID_BORROWED_REFS
                Py_DECREF(b0);
#endif
                return -1;
            }
        }
#if CYTHON_AVOID_BORROWED_REFS
        Py_DECREF(b0);
#endif
    }
    return 0;
}
#endif

/* PyType_Ready */
CYTHON_UNUSED static int __Pyx_PyType_HasMultipleInheritance(PyTypeObject *t) {
    while (t) {
        PyObject *bases = __Pyx_PyType_GetSlot(t, tp_bases, PyObject*);
        if (bases) {
            return 1;
        }
        t = __Pyx_PyType_GetSlot(t, tp_base, PyTypeObject*);
    }
    return 0;
}
static int __Pyx_PyType_Ready(PyTypeObject *t) {
#if CYTHON_USE_TYPE_SPECS || !CYTHON_COMPILING_IN_CPYTHON || defined(PYSTON_MAJOR_VERSION)
    (void)__Pyx_PyObject_CallMethod0;
#if CYTHON_USE_TYPE_SPECS
    (void)__Pyx_validate_bases_tuple;
#endif
    return PyType_Ready(t);
#else
    int r;
    if (!__Pyx_PyType_HasMultipleInheritance(t)) {
        return PyType_Ready(t);
    }
    PyObject *bases = __Pyx_PyType_GetSlot(t, tp_bases, PyObject*);
    if (bases && unlikely(__Pyx_validate_bases_tuple(t->tp_name, t->tp_dictoffset, bases) == -1))
        return -1;
#if !defined(PYSTON_MAJOR_VERSION)
    {
        int gc_was_enabled;
    #if PY_VERSION_HEX >= 0x030A00b1
        gc_was_enabled = PyGC_Disable();
        (void)__Pyx_PyObject_CallMethod0;
    #else
        PyObject *ret, *py_status;
        PyObject *gc = NULL;
        #if (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM+0 >= 0x07030400) &&\
                !CYTHON_COMPILING_IN_GRAAL
        gc = PyImport_GetModule(__pyx_mstate_global->__pyx_kp_u_gc);
        #endif
        if (unlikely(!gc)) gc = PyImport_Import(__pyx_mstate_global->__pyx_kp_u_gc);
        if (unlikely(!gc)) return -1;
        py_status = __Pyx_PyObject_CallMethod0(gc, __pyx_mstate_global->__pyx_kp_u_isenabled);
        if (unlikely(!py_status)) {
            Py_DECREF(gc);
            return -1;
        }
        gc_was_enabled = __Pyx_PyObject_IsTrue(py_status);
        Py_DECREF(py_status);
        if (gc_was_enabled > 0) {
            ret = __Pyx_PyObject_CallMethod0(gc, __pyx_mstate_global->__pyx_kp_u_disable);
            if (unlikely(!ret)) {
                Py_DECREF(gc);
                return -1;
            }
            Py_DECREF(ret);
        } else if (unlikely(gc_was_enabled == -1)) {
            Py_DECREF(gc);
            return -1;
        }
    #endif
        t->tp_flags |= Py_TPFLAGS_HEAPTYPE;
#if PY_VERSION_HEX >= 0x030A0000
        t->tp_flags |= Py_TPFLAGS_IMMUTABLETYPE;
#endif
#else
        (void)__Pyx_PyObject_CallMethod0;
#endif
    r = PyType_Ready(t);
#if !defined(PYSTON_MAJOR_VERSION)
        t->tp_flags &= ~Py_TPFLAGS_HEAPTYPE;
    #if PY_VERSION_HEX >= 0x030A00b1
        if (gc_was_enabled)
            PyGC_Enable();
    #else
        if (gc_was_enabled) {
            PyObject *tp, *v, *tb;
            PyErr_Fetch(&tp, &v, &tb);
            ret = __Pyx_PyObject_CallMethod0(gc, __pyx_mstate_global->__pyx_kp_u_enable);
            if (likely(ret || r == -1)) {
                Py_XDECREF(ret);
                PyErr_Restore(tp, v, tb);
            } else {
                Py_XDECREF(tp);
                Py_XDECREF(v);
                Py_XDECREF(tb);
                r = -1;
            }
        }
        Py_DECREF(gc);
    #endif
    }
#endif
    return r;
#endif
}

/* SetVTable */
static int __Pyx_SetVtable(PyTypeObject *type, void *vtable) {
    PyObject *ob = PyCapsule_New(vtable, 0, 0);
    if (unlikely(!ob))
        goto bad;
#if CYTHON_COMPILING_IN_LIMITED_API
    if (unlikely(PyObject_SetAttr((PyObject *) type, __pyx_mstate_global->__pyx_n_u_pyx_vtable, ob) < 0))
#else
    if (unlikely(PyDict_SetItem(type->tp_dict, __pyx_mstate_global->__pyx_n_u_pyx_vtable, ob) < 0))
#endif
        goto bad;
    Py_DECREF(ob);
    return 0;
bad:
    Py_XDECREF(ob);
    return -1;
}

/* GetVTable (used by MergeVTables) */
static void* __Pyx_GetVtable(PyTypeObject *type) {
    void* ptr;
#if CYTHON_COMPILING_IN_LIMITED_API
    PyObject *ob = PyObject_GetAttr((PyObject *)type, __pyx_mstate_global->__pyx_n_u_pyx_vtable);
#else
    PyObject *ob = PyObject_GetItem(type->tp_dict, __pyx_mstate_global->__pyx_n_u_pyx_vtable);
#endif
    if (!ob)
        goto bad;
    ptr = PyCapsule_GetPointer(ob, 0);
    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;
}

/* MergeVTables */
static int __Pyx_MergeVtables(PyTypeObject *type) {
    int i=0;
    Py_ssize_t size;
    void** base_vtables;
    __Pyx_TypeName tp_base_name = NULL;
    __Pyx_TypeName base_name = NULL;
    void* unknown = (void*)-1;
    PyObject* bases = __Pyx_PyType_GetSlot(type, tp_bases, PyObject*);
    int base_depth = 0;
    {
        PyTypeObject* base = __Pyx_PyType_GetSlot(type, tp_base, PyTypeObject*);
        while (base) {
            base_depth += 1;
            base = __Pyx_PyType_GetSlot(base, tp_base, PyTypeObject*);
        }
    }
    base_vtables = (void**) PyMem_Malloc(sizeof(void*) * (size_t)(base_depth + 1));
    base_vtables[0] = unknown;
#if CYTHON_COMPILING_IN_LIMITED_API
    size = PyTuple_Size(bases);
    if (size < 0) goto other_failure;
#else
    size = PyTuple_GET_SIZE(bases);
#endif
    for (i = 1; i < size; i++) {
        PyObject *basei;
        void* base_vtable;
#if CYTHON_AVOID_BORROWED_REFS
        basei = PySequence_GetItem(bases, i);
        if (unlikely(!basei)) goto other_failure;
#elif !CYTHON_ASSUME_SAFE_MACROS
        basei = PyTuple_GetItem(bases, i);
        if (unlikely(!basei)) goto other_failure;
#else
        basei = PyTuple_GET_ITEM(bases, i);
#endif
        base_vtable = __Pyx_GetVtable((PyTypeObject*)basei);
#if CYTHON_AVOID_BORROWED_REFS
        Py_DECREF(basei);
#endif
        if (base_vtable != NULL) {
            int j;
            PyTypeObject* base = __Pyx_PyType_GetSlot(type, tp_base, PyTypeObject*);
            for (j = 0; j < base_depth; j++) {
                if (base_vtables[j] == unknown) {
                    base_vtables[j] = __Pyx_GetVtable(base);
                    base_vtables[j + 1] = unknown;
                }
                if (base_vtables[j] == base_vtable) {
                    break;
                } else if (base_vtables[j] == NULL) {
                    goto bad;
                }
                base = __Pyx_PyType_GetSlot(base, tp_base, PyTypeObject*);
            }
        }
    }
    PyErr_Clear();
    PyMem_Free(base_vtables);
    return 0;
bad:
    {
        PyTypeObject* basei = NULL;
        PyTypeObject* tp_base = __Pyx_PyType_GetSlot(type, tp_base, PyTypeObject*);
        tp_base_name = __Pyx_PyType_GetFullyQualifiedName(tp_base);
#if CYTHON_AVOID_BORROWED_REFS
        basei = (PyTypeObject*)PySequence_GetItem(bases, i);
        if (unlikely(!basei)) goto really_bad;
#elif !CYTHON_ASSUME_SAFE_MACROS
        basei = (PyTypeObject*)PyTuple_GetItem(bases, i);
        if (unlikely(!basei)) goto really_bad;
#else
        basei = (PyTypeObject*)PyTuple_GET_ITEM(bases, i);
#endif
        base_name = __Pyx_PyType_GetFullyQualifiedName(basei);
#if CYTHON_AVOID_BORROWED_REFS
        Py_DECREF(basei);
#endif
    }
    PyErr_Format(PyExc_TypeError,
        "multiple bases have vtable conflict: '" __Pyx_FMT_TYPENAME "' and '" __Pyx_FMT_TYPENAME "'", tp_base_name, base_name);
#if CYTHON_AVOID_BORROWED_REFS || !CYTHON_ASSUME_SAFE_MACROS
really_bad: // bad has failed!
#endif
    __Pyx_DECREF_TypeName(tp_base_name);
    __Pyx_DECREF_TypeName(base_name);
#if CYTHON_COMPILING_IN_LIMITED_API || CYTHON_AVOID_BORROWED_REFS || !CYTHON_ASSUME_SAFE_MACROS
other_failure:
#endif
    PyMem_Free(base_vtables);
    return -1;
}

/* DelItemOnTypeDict (used by SetupReduce) */
static int __Pyx__DelItemOnTypeDict(PyTypeObject *tp, PyObject *k) {
    int result;
    PyObject *tp_dict;
#if CYTHON_COMPILING_IN_LIMITED_API
    tp_dict = __Pyx_GetTypeDict(tp);
    if (unlikely(!tp_dict)) return -1;
#else
    tp_dict = tp->tp_dict;
#endif
    result = PyDict_DelItem(tp_dict, k);
    if (likely(!result)) PyType_Modified(tp);
    return result;
}

/* SetupReduce */
static int __Pyx_setup_reduce_is_named(PyObject* meth, PyObject* name) {
  int ret;
  PyObject *name_attr;
  name_attr = __Pyx_PyObject_GetAttrStrNoError(meth, __pyx_mstate_global->__pyx_n_u_name_2);
  if (likely(name_attr)) {
      ret = PyObject_RichCompareBool(name_attr, name, Py_EQ);
  } else {
      ret = -1;
  }
  if (unlikely(ret < 0)) {
      PyErr_Clear();
      ret = 0;
  }
  Py_XDECREF(name_attr);
  return ret;
}
static int __Pyx_setup_reduce(PyObject* type_obj) {
    int ret = 0;
    PyObject *object_reduce = NULL;
    PyObject *object_getstate = NULL;
    PyObject *object_reduce_ex = NULL;
    PyObject *reduce = NULL;
    PyObject *reduce_ex = NULL;
    PyObject *reduce_cython = NULL;
    PyObject *setstate = NULL;
    PyObject *setstate_cython = NULL;
    PyObject *getstate = NULL;
#if CYTHON_USE_PYTYPE_LOOKUP
    getstate = _PyType_Lookup((PyTypeObject*)type_obj, __pyx_mstate_global->__pyx_n_u_getstate);
#else
    getstate = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_mstate_global->__pyx_n_u_getstate);
    if (!getstate && PyErr_Occurred()) {
        goto __PYX_BAD;
    }
#endif
    if (getstate) {
#if CYTHON_USE_PYTYPE_LOOKUP
        object_getstate = _PyType_Lookup(&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_getstate);
#else
        object_getstate = __Pyx_PyObject_GetAttrStrNoError((PyObject*)&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_getstate);
        if (!object_getstate && PyErr_Occurred()) {
            goto __PYX_BAD;
        }
#endif
        if (object_getstate != getstate) {
            goto __PYX_GOOD;
        }
    }
#if CYTHON_USE_PYTYPE_LOOKUP
    object_reduce_ex = _PyType_Lookup(&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_reduce_ex); if (!object_reduce_ex) goto __PYX_BAD;
#else
    object_reduce_ex = __Pyx_PyObject_GetAttrStr((PyObject*)&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_reduce_ex); if (!object_reduce_ex) goto __PYX_BAD;
#endif
    reduce_ex = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_mstate_global->__pyx_n_u_reduce_ex); if (unlikely(!reduce_ex)) goto __PYX_BAD;
    if (reduce_ex == object_reduce_ex) {
#if CYTHON_USE_PYTYPE_LOOKUP
        object_reduce = _PyType_Lookup(&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_reduce); if (!object_reduce) goto __PYX_BAD;
#else
        object_reduce = __Pyx_PyObject_GetAttrStr((PyObject*)&PyBaseObject_Type, __pyx_mstate_global->__pyx_n_u_reduce); if (!object_reduce) goto __PYX_BAD;
#endif
        reduce = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_mstate_global->__pyx_n_u_reduce); if (unlikely(!reduce)) goto __PYX_BAD;
        if (reduce == object_reduce || __Pyx_setup_reduce_is_named(reduce, __pyx_mstate_global->__pyx_n_u_reduce_cython)) {
            reduce_cython = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_mstate_global->__pyx_n_u_reduce_cython);
            if (likely(reduce_cython)) {
                ret = __Pyx_SetItemOnTypeDict((PyTypeObject*)type_obj, __pyx_mstate_global->__pyx_n_u_reduce, reduce_cython); if (unlikely(ret < 0)) goto __PYX_BAD;
                ret = __Pyx_DelItemOnTypeDict((PyTypeObject*)type_obj, __pyx_mstate_global->__pyx_n_u_reduce_cython); if (unlikely(ret < 0)) goto __PYX_BAD;
            } else if (reduce == object_reduce || PyErr_Occurred()) {
                goto __PYX_BAD;
            }
            setstate = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_mstate_global->__pyx_n_u_setstate);
            if (!setstate) PyErr_Clear();
            if (!setstate || __Pyx_setup_reduce_is_named(setstate, __pyx_mstate_global->__pyx_n_u_setstate_cython)) {
                setstate_cython = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_mstate_global->__pyx_n_u_setstate_cython);
                if (likely(setstate_cython)) {
                    ret = __Pyx_SetItemOnTypeDict((PyTypeObject*)type_obj, __pyx_mstate_global->__pyx_n_u_setstate, setstate_cython); if (unlikely(ret < 0)) goto __PYX_BAD;
                    ret = __Pyx_DelItemOnTypeDict((PyTypeObject*)type_obj, __pyx_mstate_global->__pyx_n_u_setstate_cython); if (unlikely(ret < 0)) goto __PYX_BAD;
                } else if (!setstate || PyErr_Occurred()) {
                    goto __PYX_BAD;
                }
            }
            PyType_Modified((PyTypeObject*)type_obj);
        }
    }
    goto __PYX_GOOD;
__PYX_BAD:
    if (!PyErr_Occurred()) {
        __Pyx_TypeName type_obj_name =
            __Pyx_PyType_GetFullyQualifiedName((PyTypeObject*)type_obj);
        PyErr_Format(PyExc_RuntimeError,
            "Unable to initialize pickling for " __Pyx_FMT_TYPENAME, type_obj_name);
        __Pyx_DECREF_TypeName(type_obj_name);
    }
    ret = -1;
__PYX_GOOD:
#if !CYTHON_USE_PYTYPE_LOOKUP
    Py_XDECREF(object_reduce);
    Py_XDECREF(object_reduce_ex);
    Py_XDECREF(object_getstate);
    Py_XDECREF(getstate);
#endif
    Py_XDECREF(reduce);
    Py_XDECREF(reduce_ex);
    Py_XDECREF(reduce_cython);
    Py_XDECREF(setstate);
    Py_XDECREF(setstate_cython);
    return ret;
}

/* TypeImport */
#ifndef __PYX_HAVE_RT_ImportType_3_2_3
#define __PYX_HAVE_RT_ImportType_3_2_3
static PyTypeObject *__Pyx_ImportType_3_2_3(PyObject *module, const char *module_name, const char *class_name,
    size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_2_3 check_size)
{
    PyObject *result = 0;
    Py_ssize_t basicsize;
    Py_ssize_t itemsize;
#if defined(Py_LIMITED_API) || (defined(CYTHON_COMPILING_IN_LIMITED_API) && CYTHON_COMPILING_IN_LIMITED_API)
    PyObject *py_basicsize;
    PyObject *py_itemsize;
#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;
    }
#if !( defined(Py_LIMITED_API) || (defined(CYTHON_COMPILING_IN_LIMITED_API) && CYTHON_COMPILING_IN_LIMITED_API) )
    basicsize = ((PyTypeObject *)result)->tp_basicsize;
    itemsize = ((PyTypeObject *)result)->tp_itemsize;
#else
    if (size == 0) {
        return (PyTypeObject *)result;
    }
    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;
    py_itemsize = PyObject_GetAttrString(result, "__itemsize__");
    if (!py_itemsize)
        goto bad;
    itemsize = PyLong_AsSsize_t(py_itemsize);
    Py_DECREF(py_itemsize);
    py_itemsize = 0;
    if (itemsize == (Py_ssize_t)-1 && PyErr_Occurred())
        goto bad;
#endif
    if (itemsize) {
        if (size % alignment) {
            alignment = size % alignment;
        }
        if (itemsize < (Py_ssize_t)alignment)
            itemsize = (Py_ssize_t)alignment;
    }
    if ((size_t)(basicsize + itemsize) < 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+itemsize);
        goto bad;
    }
    if (check_size == __Pyx_ImportType_CheckSize_Error_3_2_3 &&
            ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
        PyErr_Format(PyExc_ValueError,
            "%.200s.%.200s size changed, may indicate binary incompatibility. "
            "Expected %zd from C header, got %zd-%zd from PyObject",
            module_name, class_name, size, basicsize, basicsize+itemsize);
        goto bad;
    }
    else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_2_3 && (size_t)basicsize > size) {
        if (PyErr_WarnFormat(NULL, 0,
                "%.200s.%.200s size changed, may indicate binary incompatibility. "
                "Expected %zd from C header, got %zd from PyObject",
                module_name, class_name, size, basicsize) < 0) {
            goto bad;
        }
    }
    return (PyTypeObject *)result;
bad:
    Py_XDECREF(result);
    return NULL;
}
#endif

/* PxdImportShared (used by VoidPtrImport) */
#ifndef __PYX_HAVE_RT_ImportFromPxd_3_2_3
#define __PYX_HAVE_RT_ImportFromPxd_3_2_3
static int __Pyx_ImportFromPxd_3_2_3(PyObject *module, const char *name, void **p, const char *sig, const char *what) {
    PyObject *d = 0;
    PyObject *cobj = 0;
    d = PyObject_GetAttrString(module, "__pyx_capi__");
    if (!d)
        goto bad;
#if (defined(Py_LIMITED_API) && Py_LIMITED_API >= 0x030d0000) || (!defined(Py_LIMITED_API) && PY_VERSION_HEX >= 0x030d0000)
    PyDict_GetItemStringRef(d, name, &cobj);
#else
    cobj = PyDict_GetItemString(d, name);
    Py_XINCREF(cobj);
#endif
    if (!cobj) {
        PyErr_Format(PyExc_ImportError,
            "%.200s does not export expected C %.8s %.200s",
                PyModule_GetName(module), what, name);
        goto bad;
    }
    if (!PyCapsule_IsValid(cobj, sig)) {
        PyErr_Format(PyExc_TypeError,
            "C %.8s %.200s.%.200s has wrong signature (expected %.500s, got %.500s)",
             what, PyModule_GetName(module), name, sig, PyCapsule_GetName(cobj));
        goto bad;
    }
    *p = PyCapsule_GetPointer(cobj, sig);
    if (!(*p))
        goto bad;
    Py_DECREF(d);
    Py_DECREF(cobj);
    return 0;
bad:
    Py_XDECREF(d);
    Py_XDECREF(cobj);
    return -1;
}
#endif

/* VoidPtrImport */
#ifndef __PYX_HAVE_RT_ImportVoidPtr_3_2_3
#define __PYX_HAVE_RT_ImportVoidPtr_3_2_3
static int __Pyx_ImportVoidPtr_3_2_3(PyObject *module, const char *name, void **p, const char *sig) {
    return __Pyx_ImportFromPxd_3_2_3(module, name, p, sig, "variable");
}
#endif

/* FunctionImport */
#ifndef __PYX_HAVE_RT_ImportFunction_3_2_3
#define __PYX_HAVE_RT_ImportFunction_3_2_3
static int __Pyx_ImportFunction_3_2_3(PyObject *module, const char *funcname, void (**f)(void), const char *sig) {
    union {
        void (*fp)(void);
        void *p;
    } tmp;
    int result = __Pyx_ImportFromPxd_3_2_3(module, funcname, &tmp.p, sig, "function");
    if (result == 0) {
        *f = tmp.fp;
    }
    return result;
}
#endif

/* HasAttr (used by ImportImpl) */
#if __PYX_LIMITED_VERSION_HEX < 0x030d0000
static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
    PyObject *r;
    if (unlikely(!PyUnicode_Check(n))) {
        PyErr_SetString(PyExc_TypeError,
                        "hasattr(): attribute name must be string");
        return -1;
    }
    r = __Pyx_PyObject_GetAttrStrNoError(o, n);
    if (!r) {
        return (unlikely(PyErr_Occurred())) ? -1 : 0;
    } else {
        Py_DECREF(r);
        return 1;
    }
}
#endif

/* ImportImpl (used by Import) */
static int __Pyx__Import_GetModule(PyObject *qualname, PyObject **module) {
    PyObject *imported_module = PyImport_GetModule(qualname);
    if (unlikely(!imported_module)) {
        *module = NULL;
        if (PyErr_Occurred()) {
            return -1;
        }
        return 0;
    }
    *module = imported_module;
    return 1;
}
static int __Pyx__Import_Lookup(PyObject *qualname, PyObject *const *imported_names, Py_ssize_t len_imported_names, PyObject **module) {
    PyObject *imported_module;
    PyObject *top_level_package_name;
    Py_ssize_t i;
    int status, module_found;
    Py_ssize_t dot_index;
    module_found = __Pyx__Import_GetModule(qualname, &imported_module);
    if (unlikely(!module_found || module_found == -1)) {
        *module = NULL;
        return module_found;
    }
    if (imported_names) {
        for (i = 0; i < len_imported_names; i++) {
            PyObject *imported_name = imported_names[i];
#if __PYX_LIMITED_VERSION_HEX < 0x030d0000
            int has_imported_attribute = PyObject_HasAttr(imported_module, imported_name);
#else
            int has_imported_attribute = PyObject_HasAttrWithError(imported_module, imported_name);
            if (unlikely(has_imported_attribute == -1)) goto error;
#endif
            if (!has_imported_attribute) {
                goto not_found;
            }
        }
        *module = imported_module;
        return 1;
    }
    dot_index = PyUnicode_FindChar(qualname, '.', 0, PY_SSIZE_T_MAX, 1);
    if (dot_index == -1) {
        *module = imported_module;
        return 1;
    }
    if (unlikely(dot_index == -2)) goto error;
    top_level_package_name = PyUnicode_Substring(qualname, 0, dot_index);
    if (unlikely(!top_level_package_name)) goto error;
    Py_DECREF(imported_module);
    status = __Pyx__Import_GetModule(top_level_package_name, module);
    Py_DECREF(top_level_package_name);
    return status;
error:
    Py_DECREF(imported_module);
    *module = NULL;
    return -1;
not_found:
    Py_DECREF(imported_module);
    *module = NULL;
    return 0;
}
static PyObject *__Pyx__Import(PyObject *name, PyObject *const *imported_names, Py_ssize_t len_imported_names, PyObject *qualname, PyObject *moddict, int level) {
    PyObject *module = 0;
    PyObject *empty_dict = 0;
    PyObject *from_list = 0;
    int module_found;
    if (!qualname) {
        qualname = name;
    }
    module_found = __Pyx__Import_Lookup(qualname, imported_names, len_imported_names, &module);
    if (likely(module_found == 1)) {
        return module;
    } else if (unlikely(module_found == -1)) {
        return NULL;
    }
    empty_dict = PyDict_New();
    if (unlikely(!empty_dict))
        goto bad;
    if (imported_names) {
#if CYTHON_COMPILING_IN_CPYTHON
        from_list = __Pyx_PyList_FromArray(imported_names, len_imported_names);
        if (unlikely(!from_list))
            goto bad;
#else
        from_list = PyList_New(len_imported_names);
        if (unlikely(!from_list)) goto bad;
        for (Py_ssize_t i=0; i<len_imported_names; ++i) {
            if (PyList_SetItem(from_list, i, __Pyx_NewRef(imported_names[i])) < 0) goto bad;
        }
#endif
    }
    if (level == -1) {
        const char* package_sep = strchr(__Pyx_MODULE_NAME, '.');
        if (package_sep != (0)) {
            module = PyImport_ImportModuleLevelObject(
                name, moddict, empty_dict, from_list, 1);
            if (unlikely(!module)) {
                if (unlikely(!PyErr_ExceptionMatches(PyExc_ImportError)))
                    goto bad;
                PyErr_Clear();
            }
        }
        level = 0;
    }
    if (!module) {
        module = PyImport_ImportModuleLevelObject(
            name, moddict, empty_dict, from_list, level);
    }
bad:
    Py_XDECREF(from_list);
    Py_XDECREF(empty_dict);
    return module;
}

/* Import */
static PyObject *__Pyx_Import(PyObject *name, PyObject *const *imported_names, Py_ssize_t len_imported_names, PyObject *qualname, int level) {
    return __Pyx__Import(name, imported_names, len_imported_names, qualname, __pyx_mstate_global->__pyx_d, level);
}

/* ImportFrom */
static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) {
    PyObject* value = __Pyx_PyObject_GetAttrStr(module, name);
    if (unlikely(!value) && PyErr_ExceptionMatches(PyExc_AttributeError)) {
        const char* module_name_str = 0;
        PyObject* module_name = 0;
        PyObject* module_dot = 0;
        PyObject* full_name = 0;
        PyErr_Clear();
        module_name_str = PyModule_GetName(module);
        if (unlikely(!module_name_str)) { goto modbad; }
        module_name = PyUnicode_FromString(module_name_str);
        if (unlikely(!module_name)) { goto modbad; }
        module_dot = PyUnicode_Concat(module_name, __pyx_mstate_global->__pyx_kp_u__4);
        if (unlikely(!module_dot)) { goto modbad; }
        full_name = PyUnicode_Concat(module_dot, name);
        if (unlikely(!full_name)) { goto modbad; }
        #if (CYTHON_COMPILING_IN_PYPY && PYPY_VERSION_NUM  < 0x07030400) ||\
                CYTHON_COMPILING_IN_GRAAL
        {
            PyObject *modules = PyImport_GetModuleDict();
            if (unlikely(!modules))
                goto modbad;
            value = PyObject_GetItem(modules, full_name);
        }
        #else
        value = PyImport_GetModule(full_name);
        #endif
      modbad:
        Py_XDECREF(full_name);
        Py_XDECREF(module_dot);
        Py_XDECREF(module_name);
    }
    if (unlikely(!value)) {
        PyErr_Format(PyExc_ImportError, "cannot import name %S", name);
    }
    return value;
}

/* dict_setdefault (used by FetchCommonType) */
static CYTHON_INLINE PyObject *__Pyx_PyDict_SetDefault(PyObject *d, PyObject *key, PyObject *default_value) {
    PyObject* value;
#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
    PyObject *args[] = {d, key, default_value};
    value = PyObject_VectorcallMethod(__pyx_mstate_global->__pyx_n_u_setdefault, args, 3 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
#elif CYTHON_COMPILING_IN_LIMITED_API
    value = PyObject_CallMethodObjArgs(d, __pyx_mstate_global->__pyx_n_u_setdefault, key, default_value, NULL);
#elif PY_VERSION_HEX >= 0x030d0000
    PyDict_SetDefaultRef(d, key, default_value, &value);
#else
    value = PyDict_SetDefault(d, key, default_value);
    if (unlikely(!value)) return NULL;
    Py_INCREF(value);
#endif
    return value;
}

/* AddModuleRef (used by FetchSharedCythonModule) */
#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
  static PyObject *__Pyx_PyImport_AddModuleObjectRef(PyObject *name) {
      PyObject *module_dict = PyImport_GetModuleDict();
      PyObject *m;
      if (PyMapping_GetOptionalItem(module_dict, name, &m) < 0) {
          return NULL;
      }
      if (m != NULL && PyModule_Check(m)) {
          return m;
      }
      Py_XDECREF(m);
      m = PyModule_NewObject(name);
      if (m == NULL)
          return NULL;
      if (PyDict_CheckExact(module_dict)) {
          PyObject *new_m;
          (void)PyDict_SetDefaultRef(module_dict, name, m, &new_m);
          Py_DECREF(m);
          return new_m;
      } else {
           if (PyObject_SetItem(module_dict, name, m) != 0) {
                Py_DECREF(m);
                return NULL;
            }
            return m;
      }
  }
  static PyObject *__Pyx_PyImport_AddModuleRef(const char *name) {
      PyObject *py_name = PyUnicode_FromString(name);
      if (!py_name) return NULL;
      PyObject *module = __Pyx_PyImport_AddModuleObjectRef(py_name);
      Py_DECREF(py_name);
      return module;
  }
#elif __PYX_LIMITED_VERSION_HEX >= 0x030d0000
  #define __Pyx_PyImport_AddModuleRef(name) PyImport_AddModuleRef(name)
#else
  static PyObject *__Pyx_PyImport_AddModuleRef(const char *name) {
      PyObject *module = PyImport_AddModule(name);
      Py_XINCREF(module);
      return module;
  }
#endif

/* FetchSharedCythonModule (used by FetchCommonType) */
static PyObject *__Pyx_FetchSharedCythonABIModule(void) {
    return __Pyx_PyImport_AddModuleRef(__PYX_ABI_MODULE_NAME);
}

/* FetchCommonType (used by CommonTypesMetaclass) */
#if __PYX_LIMITED_VERSION_HEX < 0x030C0000
static PyObject* __Pyx_PyType_FromMetaclass(PyTypeObject *metaclass, PyObject *module, PyType_Spec *spec, PyObject *bases) {
    PyObject *result = __Pyx_PyType_FromModuleAndSpec(module, spec, bases);
    if (result && metaclass) {
        PyObject *old_tp = (PyObject*)Py_TYPE(result);
    Py_INCREF((PyObject*)metaclass);
#if __PYX_LIMITED_VERSION_HEX >= 0x03090000
        Py_SET_TYPE(result, metaclass);
#else
        result->ob_type = metaclass;
#endif
        Py_DECREF(old_tp);
    }
    return result;
}
#else
#define __Pyx_PyType_FromMetaclass(me, mo, s, b) PyType_FromMetaclass(me, mo, s, b)
#endif
static int __Pyx_VerifyCachedType(PyObject *cached_type,
                               const char *name,
                               Py_ssize_t expected_basicsize) {
    Py_ssize_t basicsize;
    if (!PyType_Check(cached_type)) {
        PyErr_Format(PyExc_TypeError,
            "Shared Cython type %.200s is not a type object", name);
        return -1;
    }
    if (expected_basicsize == 0) {
        return 0; // size is inherited, nothing useful to check
    }
#if CYTHON_COMPILING_IN_LIMITED_API
    PyObject *py_basicsize;
    py_basicsize = PyObject_GetAttrString(cached_type, "__basicsize__");
    if (unlikely(!py_basicsize)) return -1;
    basicsize = PyLong_AsSsize_t(py_basicsize);
    Py_DECREF(py_basicsize);
    py_basicsize = NULL;
    if (unlikely(basicsize == (Py_ssize_t)-1) && PyErr_Occurred()) return -1;
#else
    basicsize = ((PyTypeObject*) cached_type)->tp_basicsize;
#endif
    if (basicsize != expected_basicsize) {
        PyErr_Format(PyExc_TypeError,
            "Shared Cython type %.200s has the wrong size, try recompiling",
            name);
        return -1;
    }
    return 0;
}
static PyTypeObject *__Pyx_FetchCommonTypeFromSpec(PyTypeObject *metaclass, PyObject *module, PyType_Spec *spec, PyObject *bases) {
    PyObject *abi_module = NULL, *cached_type = NULL, *abi_module_dict, *new_cached_type, *py_object_name;
    int get_item_ref_result;
    const char* object_name = strrchr(spec->name, '.');
    object_name = object_name ? object_name+1 : spec->name;
    py_object_name = PyUnicode_FromString(object_name);
    if (!py_object_name) return NULL;
    abi_module = __Pyx_FetchSharedCythonABIModule();
    if (!abi_module) goto done;
    abi_module_dict = PyModule_GetDict(abi_module);
    if (!abi_module_dict) goto done;
    get_item_ref_result = __Pyx_PyDict_GetItemRef(abi_module_dict, py_object_name, &cached_type);
    if (get_item_ref_result == 1) {
        if (__Pyx_VerifyCachedType(
              cached_type,
              object_name,
              spec->basicsize) < 0) {
            goto bad;
        }
        goto done;
    } else if (unlikely(get_item_ref_result == -1)) {
        goto bad;
    }
    cached_type = __Pyx_PyType_FromMetaclass(
        metaclass,
        CYTHON_USE_MODULE_STATE ? module : abi_module,
        spec, bases);
    if (unlikely(!cached_type)) goto bad;
    if (unlikely(__Pyx_fix_up_extension_type_from_spec(spec, (PyTypeObject *) cached_type) < 0)) goto bad;
    new_cached_type = __Pyx_PyDict_SetDefault(abi_module_dict, py_object_name, cached_type);
    if (unlikely(new_cached_type != cached_type)) {
        if (unlikely(!new_cached_type)) goto bad;
        Py_DECREF(cached_type);
        cached_type = new_cached_type;
        if (__Pyx_VerifyCachedType(
                cached_type,
                object_name,
                spec->basicsize) < 0) {
            goto bad;
        }
        goto done;
    } else {
        Py_DECREF(new_cached_type);
    }
done:
    Py_XDECREF(abi_module);
    Py_DECREF(py_object_name);
    assert(cached_type == NULL || PyType_Check(cached_type));
    return (PyTypeObject *) cached_type;
bad:
    Py_XDECREF(cached_type);
    cached_type = NULL;
    goto done;
}

/* CommonTypesMetaclass (used by CythonFunctionShared) */
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
    return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
}
#if __PYX_LIMITED_VERSION_HEX < 0x030A0000
static PyObject* __pyx_CommonTypesMetaclass_call(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED PyObject *args, CYTHON_UNUSED PyObject *kwds) {
    PyErr_SetString(PyExc_TypeError, "Cannot instantiate Cython internal types");
    return NULL;
}
static int __pyx_CommonTypesMetaclass_setattr(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED PyObject *attr, CYTHON_UNUSED PyObject *value) {
    PyErr_SetString(PyExc_TypeError, "Cython internal types are immutable");
    return -1;
}
#endif
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
    {"__module__", __pyx_CommonTypesMetaclass_get_module, NULL, NULL, NULL},
    {0, 0, 0, 0, 0}
};
static PyType_Slot __pyx_CommonTypesMetaclass_slots[] = {
    {Py_tp_getset, (void *)__pyx_CommonTypesMetaclass_getset},
    #if __PYX_LIMITED_VERSION_HEX < 0x030A0000
    {Py_tp_call, (void*)__pyx_CommonTypesMetaclass_call},
    {Py_tp_new, (void*)__pyx_CommonTypesMetaclass_call},
    {Py_tp_setattro, (void*)__pyx_CommonTypesMetaclass_setattr},
    #endif
    {0, 0}
};
static PyType_Spec __pyx_CommonTypesMetaclass_spec = {
    __PYX_TYPE_MODULE_PREFIX "_common_types_metatype",
    0,
    0,
    Py_TPFLAGS_IMMUTABLETYPE |
    Py_TPFLAGS_DISALLOW_INSTANTIATION |
    Py_TPFLAGS_DEFAULT,
    __pyx_CommonTypesMetaclass_slots
};
static int __pyx_CommonTypesMetaclass_init(PyObject *module) {
    __pyx_mstatetype *mstate = __Pyx_PyModule_GetState(module);
    PyObject *bases = PyTuple_Pack(1, &PyType_Type);
    if (unlikely(!bases)) {
        return -1;
    }
    mstate->__pyx_CommonTypesMetaclassType = __Pyx_FetchCommonTypeFromSpec(NULL, module, &__pyx_CommonTypesMetaclass_spec, bases);
    Py_DECREF(bases);
    if (unlikely(mstate->__pyx_CommonTypesMetaclassType == NULL)) {
        return -1;
    }
    return 0;
}

/* PyMethodNew (used by CythonFunctionShared) */
#if CYTHON_COMPILING_IN_LIMITED_API
static PyObject *__Pyx_PyMethod_New(PyObject *func, PyObject *self, PyObject *typ) {
    PyObject *result;
    CYTHON_UNUSED_VAR(typ);
    if (!self)
        return __Pyx_NewRef(func);
    #if __PYX_LIMITED_VERSION_HEX >= 0x030C0000
    {
        PyObject *args[] = {func, self};
        result = PyObject_Vectorcall(__pyx_mstate_global->__Pyx_CachedMethodType, args, 2, NULL);
    }
    #else
    result = PyObject_CallFunctionObjArgs(__pyx_mstate_global->__Pyx_CachedMethodType, func, self, NULL);
    #endif
    return result;
}
#else
static PyObject *__Pyx_PyMethod_New(PyObject *func, PyObject *self, PyObject *typ) {
    CYTHON_UNUSED_VAR(typ);
    if (!self)
        return __Pyx_NewRef(func);
    return PyMethod_New(func, self);
}
#endif

/* PyVectorcallFastCallDict (used by CythonFunctionShared) */
#if CYTHON_METH_FASTCALL && CYTHON_VECTORCALL
static PyObject *__Pyx_PyVectorcall_FastCallDict_kw(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw)
{
    PyObject *res = NULL;
    PyObject *kwnames;
    PyObject **newargs;
    PyObject **kwvalues;
    Py_ssize_t i;
    #if CYTHON_AVOID_BORROWED_REFS
    PyObject *pos;
    #else
    Py_ssize_t pos;
    #endif
    size_t j;
    PyObject *key, *value;
    unsigned long keys_are_strings;
    #if !CYTHON_ASSUME_SAFE_SIZE
    Py_ssize_t nkw = PyDict_Size(kw);
    if (unlikely(nkw == -1)) return NULL;
    #else
    Py_ssize_t nkw = PyDict_GET_SIZE(kw);
    #endif
    newargs = (PyObject **)PyMem_Malloc((nargs + (size_t)nkw) * sizeof(args[0]));
    if (unlikely(newargs == NULL)) {
        PyErr_NoMemory();
        return NULL;
    }
    for (j = 0; j < nargs; j++) newargs[j] = args[j];
    kwnames = PyTuple_New(nkw);
    if (unlikely(kwnames == NULL)) {
        PyMem_Free(newargs);
        return NULL;
    }
    kwvalues = newargs + nargs;
    pos = 0;
    i = 0;
    keys_are_strings = Py_TPFLAGS_UNICODE_SUBCLASS;
    while (__Pyx_PyDict_NextRef(kw, &pos, &key, &value)) {
        keys_are_strings &=
        #if CYTHON_COMPILING_IN_LIMITED_API
            PyType_GetFlags(Py_TYPE(key));
        #else
            Py_TYPE(key)->tp_flags;
        #endif
        #if !CYTHON_ASSUME_SAFE_MACROS
        if (unlikely(PyTuple_SetItem(kwnames, i, key) < 0)) goto cleanup;
        #else
        PyTuple_SET_ITEM(kwnames, i, key);
        #endif
        kwvalues[i] = value;
        i++;
    }
    if (unlikely(!keys_are_strings)) {
        PyErr_SetString(PyExc_TypeError, "keywords must be strings");
        goto cleanup;
    }
    res = vc(func, newargs, nargs, kwnames);
cleanup:
    #if CYTHON_AVOID_BORROWED_REFS
    Py_DECREF(pos);
    #endif
    Py_DECREF(kwnames);
    for (i = 0; i < nkw; i++)
        Py_DECREF(kwvalues[i]);
    PyMem_Free(newargs);
    return res;
}
static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw)
{
    Py_ssize_t kw_size =
        likely(kw == NULL) ?
        0 :
#if !CYTHON_ASSUME_SAFE_SIZE
        PyDict_Size(kw);
#else
        PyDict_GET_SIZE(kw);
#endif
    if (kw_size == 0) {
        return vc(func, args, nargs, NULL);
    }
#if !CYTHON_ASSUME_SAFE_SIZE
    else if (unlikely(kw_size == -1)) {
        return NULL;
    }
#endif
    return __Pyx_PyVectorcall_FastCallDict_kw(func, vc, args, nargs, kw);
}
#endif

/* CythonFunctionShared (used by CythonFunction) */
#if CYTHON_COMPILING_IN_LIMITED_API
static CYTHON_INLINE int __Pyx__IsSameCyOrCFunctionNoMethod(PyObject *func, void (*cfunc)(void)) {
    if (__Pyx_CyFunction_Check(func)) {
        return PyCFunction_GetFunction(((__pyx_CyFunctionObject*)func)->func) == (PyCFunction) cfunc;
    } else if (PyCFunction_Check(func)) {
        return PyCFunction_GetFunction(func) == (PyCFunction) cfunc;
    }
    return 0;
}
static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void (*cfunc)(void)) {
    if ((PyObject*)Py_TYPE(func) == __pyx_mstate_global->__Pyx_CachedMethodType) {
        int result;
        PyObject *newFunc = PyObject_GetAttr(func, __pyx_mstate_global->__pyx_n_u_func);
        if (unlikely(!newFunc)) {
            PyErr_Clear(); // It's only an optimization, so don't throw an error
            return 0;
        }
        result = __Pyx__IsSameCyOrCFunctionNoMethod(newFunc, cfunc);
        Py_DECREF(newFunc);
        return result;
    }
    return __Pyx__IsSameCyOrCFunctionNoMethod(func, cfunc);
}
#else
static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void (*cfunc)(void)) {
    if (PyMethod_Check(func)) {
        func = PyMethod_GET_FUNCTION(func);
    }
    return __Pyx_CyOrPyCFunction_Check(func) && __Pyx_CyOrPyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc;
}
#endif
static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj) {
#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API
    __Pyx_Py_XDECREF_SET(
        __Pyx_CyFunction_GetClassObj(f),
            ((classobj) ? __Pyx_NewRef(classobj) : NULL));
#else
    __Pyx_Py_XDECREF_SET(
        ((PyCMethodObject *) (f))->mm_class,
        (PyTypeObject*)((classobj) ? __Pyx_NewRef(classobj) : NULL));
#endif
}
static PyObject *
__Pyx_CyFunction_get_doc_locked(__pyx_CyFunctionObject *op)
{
    if (unlikely(op->func_doc == NULL)) {
#if CYTHON_COMPILING_IN_LIMITED_API
        op->func_doc = PyObject_GetAttrString(op->func, "__doc__");
        if (unlikely(!op->func_doc)) return NULL;
#else
        if (((PyCFunctionObject*)op)->m_ml->ml_doc) {
            op->func_doc = PyUnicode_FromString(((PyCFunctionObject*)op)->m_ml->ml_doc);
            if (unlikely(op->func_doc == NULL))
                return NULL;
        } else {
            Py_INCREF(Py_None);
            return Py_None;
        }
#endif
    }
    Py_INCREF(op->func_doc);
    return op->func_doc;
}
static PyObject *
__Pyx_CyFunction_get_doc(__pyx_CyFunctionObject *op, void *closure) {
    PyObject *result;
    CYTHON_UNUSED_VAR(closure);
    __Pyx_BEGIN_CRITICAL_SECTION(op);
    result = __Pyx_CyFunction_get_doc_locked(op);
    __Pyx_END_CRITICAL_SECTION();
    return result;
}
static int
__Pyx_CyFunction_set_doc(__pyx_CyFunctionObject *op, PyObject *value, void *context)
{
    CYTHON_UNUSED_VAR(context);
    if (value == NULL) {
        value = Py_None;
    }
    Py_INCREF(value);
    __Pyx_BEGIN_CRITICAL_SECTION(op);
    __Pyx_Py_XDECREF_SET(op->func_doc, value);
    __Pyx_END_CRITICAL_SECTION();
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_name_locked(__pyx_CyFunctionObject *op)
{
    if (unlikely(op->func_name == NULL)) {
#if CYTHON_COMPILING_IN_LIMITED_API
        op->func_name = PyObject_GetAttrString(op->func, "__name__");
#else
        op->func_name = PyUnicode_InternFromString(((PyCFunctionObject*)op)->m_ml->ml_name);
#endif
        if (unlikely(op->func_name == NULL))
            return NULL;
    }
    Py_INCREF(op->func_name);
    return op->func_name;
}
static PyObject *
__Pyx_CyFunction_get_name(__pyx_CyFunctionObject *op, void *context)
{
    PyObject *result = NULL;
    CYTHON_UNUSED_VAR(context);
    __Pyx_BEGIN_CRITICAL_SECTION(op);
    result = __Pyx_CyFunction_get_name_locked(op);
    __Pyx_END_CRITICAL_SECTION();
    return result;
}
static int
__Pyx_CyFunction_set_name(__pyx_CyFunctionObject *op, PyObject *value, void *context)
{
    CYTHON_UNUSED_VAR(context);
    if (unlikely(value == NULL || !PyUnicode_Check(value))) {
        PyErr_SetString(PyExc_TypeError,
                        "__name__ must be set to a string object");
        return -1;
    }
    Py_INCREF(value);
    __Pyx_BEGIN_CRITICAL_SECTION(op);
    __Pyx_Py_XDECREF_SET(op->func_name, value);
    __Pyx_END_CRITICAL_SECTION();
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_qualname(__pyx_CyFunctionObject *op, void *context)
{
    CYTHON_UNUSED_VAR(context);
    PyObject *result;
    __Pyx_BEGIN_CRITICAL_SECTION(op);
    Py_INCREF(op->func_qualname);
    result = op->func_qualname;
    __Pyx_END_CRITICAL_SECTION();
    return result;
}
static int
__Pyx_CyFunction_set_qualname(__pyx_CyFunctionObject *op, PyObject *value, void *context)
{
    CYTHON_UNUSED_VAR(context);
    if (unlikely(value == NULL || !PyUnicode_Check(value))) {
        PyErr_SetString(PyExc_TypeError,
                        "__qualname__ must be set to a string object");
        return -1;
    }
    Py_INCREF(value);
    __Pyx_BEGIN_CRITICAL_SECTION(op);
    __Pyx_Py_XDECREF_SET(op->func_qualname, value);
    __Pyx_END_CRITICAL_SECTION();
    return 0;
}
#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000
static PyObject *
__Pyx_CyFunction_get_dict(__pyx_CyFunctionObject *op, void *context)
{
    CYTHON_UNUSED_VAR(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;
}
#endif
static PyObject *
__Pyx_CyFunction_get_globals(__pyx_CyFunctionObject *op, void *context)
{
    CYTHON_UNUSED_VAR(context);
    Py_INCREF(op->func_globals);
    return op->func_globals;
}
static PyObject *
__Pyx_CyFunction_get_closure(__pyx_CyFunctionObject *op, void *context)
{
    CYTHON_UNUSED_VAR(op);
    CYTHON_UNUSED_VAR(context);
    Py_INCREF(Py_None);
    return Py_None;
}
static PyObject *
__Pyx_CyFunction_get_code(__pyx_CyFunctionObject *op, void *context)
{
    PyObject* result = (op->func_code) ? op->func_code : Py_None;
    CYTHON_UNUSED_VAR(context);
    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 = __Pyx_PySequence_ITEM(res, 0);
    if (unlikely(!op->defaults_tuple)) result = -1;
    else {
        op->defaults_kwdict = __Pyx_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, void *context) {
    CYTHON_UNUSED_VAR(context);
    if (!value) {
        value = Py_None;
    } else if (unlikely(value != Py_None && !PyTuple_Check(value))) {
        PyErr_SetString(PyExc_TypeError,
                        "__defaults__ must be set to a tuple object");
        return -1;
    }
    PyErr_WarnEx(PyExc_RuntimeWarning, "changes to cyfunction.__defaults__ will not "
                 "currently affect the values used in function calls", 1);
    Py_INCREF(value);
    __Pyx_BEGIN_CRITICAL_SECTION(op);
    __Pyx_Py_XDECREF_SET(op->defaults_tuple, value);
    __Pyx_END_CRITICAL_SECTION();
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_defaults_locked(__pyx_CyFunctionObject *op) {
    PyObject* result = op->defaults_tuple;
    if (unlikely(!result)) {
        if (op->defaults_getter) {
            if (unlikely(__Pyx_CyFunction_init_defaults(op) < 0)) return NULL;
            result = op->defaults_tuple;
        } else {
            result = Py_None;
        }
    }
    Py_INCREF(result);
    return result;
}
static PyObject *
__Pyx_CyFunction_get_defaults(__pyx_CyFunctionObject *op, void *context) {
    PyObject* result = NULL;
    CYTHON_UNUSED_VAR(context);
    __Pyx_BEGIN_CRITICAL_SECTION(op);
    result = __Pyx_CyFunction_get_defaults_locked(op);
    __Pyx_END_CRITICAL_SECTION();
    return result;
}
static int
__Pyx_CyFunction_set_kwdefaults(__pyx_CyFunctionObject *op, PyObject* value, void *context) {
    CYTHON_UNUSED_VAR(context);
    if (!value) {
        value = Py_None;
    } else if (unlikely(value != Py_None && !PyDict_Check(value))) {
        PyErr_SetString(PyExc_TypeError,
                        "__kwdefaults__ must be set to a dict object");
        return -1;
    }
    PyErr_WarnEx(PyExc_RuntimeWarning, "changes to cyfunction.__kwdefaults__ will not "
                 "currently affect the values used in function calls", 1);
    Py_INCREF(value);
    __Pyx_BEGIN_CRITICAL_SECTION(op);
    __Pyx_Py_XDECREF_SET(op->defaults_kwdict, value);
    __Pyx_END_CRITICAL_SECTION();
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_kwdefaults_locked(__pyx_CyFunctionObject *op) {
    PyObject* result = op->defaults_kwdict;
    if (unlikely(!result)) {
        if (op->defaults_getter) {
            if (unlikely(__Pyx_CyFunction_init_defaults(op) < 0)) return NULL;
            result = op->defaults_kwdict;
        } else {
            result = Py_None;
        }
    }
    Py_INCREF(result);
    return result;
}
static PyObject *
__Pyx_CyFunction_get_kwdefaults(__pyx_CyFunctionObject *op, void *context) {
    PyObject* result;
    CYTHON_UNUSED_VAR(context);
    __Pyx_BEGIN_CRITICAL_SECTION(op);
    result = __Pyx_CyFunction_get_kwdefaults_locked(op);
    __Pyx_END_CRITICAL_SECTION();
    return result;
}
static int
__Pyx_CyFunction_set_annotations(__pyx_CyFunctionObject *op, PyObject* value, void *context) {
    CYTHON_UNUSED_VAR(context);
    if (!value || value == Py_None) {
        value = NULL;
    } else if (unlikely(!PyDict_Check(value))) {
        PyErr_SetString(PyExc_TypeError,
                        "__annotations__ must be set to a dict object");
        return -1;
    }
    Py_XINCREF(value);
    __Pyx_BEGIN_CRITICAL_SECTION(op);
    __Pyx_Py_XDECREF_SET(op->func_annotations, value);
    __Pyx_END_CRITICAL_SECTION();
    return 0;
}
static PyObject *
__Pyx_CyFunction_get_annotations_locked(__pyx_CyFunctionObject *op) {
    PyObject* result = op->func_annotations;
    if (unlikely(!result)) {
        result = PyDict_New();
        if (unlikely(!result)) return NULL;
        op->func_annotations = result;
    }
    Py_INCREF(result);
    return result;
}
static PyObject *
__Pyx_CyFunction_get_annotations(__pyx_CyFunctionObject *op, void *context) {
    PyObject *result;
    CYTHON_UNUSED_VAR(context);
    __Pyx_BEGIN_CRITICAL_SECTION(op);
    result = __Pyx_CyFunction_get_annotations_locked(op);
    __Pyx_END_CRITICAL_SECTION();
    return result;
}
static PyObject *
__Pyx_CyFunction_get_is_coroutine_value(__pyx_CyFunctionObject *op) {
    int is_coroutine = op->flags & __Pyx_CYFUNCTION_COROUTINE;
    if (is_coroutine) {
        PyObject *is_coroutine_value, *module, *fromlist, *marker = __pyx_mstate_global->__pyx_n_u_is_coroutine;
        fromlist = PyList_New(1);
        if (unlikely(!fromlist)) return NULL;
        Py_INCREF(marker);
#if CYTHON_ASSUME_SAFE_MACROS
        PyList_SET_ITEM(fromlist, 0, marker);
#else
        if (unlikely(PyList_SetItem(fromlist, 0, marker) < 0)) {
            Py_DECREF(marker);
            Py_DECREF(fromlist);
            return NULL;
        }
#endif
        module = PyImport_ImportModuleLevelObject(__pyx_mstate_global->__pyx_n_u_asyncio_coroutines, NULL, NULL, fromlist, 0);
        Py_DECREF(fromlist);
        if (unlikely(!module)) goto ignore;
        is_coroutine_value = __Pyx_PyObject_GetAttrStr(module, marker);
        Py_DECREF(module);
        if (likely(is_coroutine_value)) {
            return is_coroutine_value;
        }
ignore:
        PyErr_Clear();
    }
    return __Pyx_PyBool_FromLong(is_coroutine);
}
static PyObject *
__Pyx_CyFunction_get_is_coroutine(__pyx_CyFunctionObject *op, void *context) {
    PyObject *result;
    CYTHON_UNUSED_VAR(context);
    if (op->func_is_coroutine) {
        return __Pyx_NewRef(op->func_is_coroutine);
    }
    result = __Pyx_CyFunction_get_is_coroutine_value(op);
    if (unlikely(!result))
        return NULL;
    __Pyx_BEGIN_CRITICAL_SECTION(op);
    if (op->func_is_coroutine) {
        Py_DECREF(result);
        result = __Pyx_NewRef(op->func_is_coroutine);
    } else {
        op->func_is_coroutine = __Pyx_NewRef(result);
    }
    __Pyx_END_CRITICAL_SECTION();
    return result;
}
static void __Pyx_CyFunction_raise_argument_count_error(__pyx_CyFunctionObject *func, const char* message, Py_ssize_t size) {
#if CYTHON_COMPILING_IN_LIMITED_API
    PyObject *py_name = __Pyx_CyFunction_get_name(func, NULL);
    if (!py_name) return;
    PyErr_Format(PyExc_TypeError,
        "%.200S() %s (%" CYTHON_FORMAT_SSIZE_T "d given)",
        py_name, message, size);
    Py_DECREF(py_name);
#else
    const char* name = ((PyCFunctionObject*)func)->m_ml->ml_name;
    PyErr_Format(PyExc_TypeError,
        "%.200s() %s (%" CYTHON_FORMAT_SSIZE_T "d given)",
        name, message, size);
#endif
}
static void __Pyx_CyFunction_raise_type_error(__pyx_CyFunctionObject *func, const char* message) {
#if CYTHON_COMPILING_IN_LIMITED_API
    PyObject *py_name = __Pyx_CyFunction_get_name(func, NULL);
    if (!py_name) return;
    PyErr_Format(PyExc_TypeError,
        "%.200S() %s",
        py_name, message);
    Py_DECREF(py_name);
#else
    const char* name = ((PyCFunctionObject*)func)->m_ml->ml_name;
    PyErr_Format(PyExc_TypeError,
        "%.200s() %s",
        name, message);
#endif
}
#if CYTHON_COMPILING_IN_LIMITED_API
static PyObject *
__Pyx_CyFunction_get_module(__pyx_CyFunctionObject *op, void *context) {
    CYTHON_UNUSED_VAR(context);
    return PyObject_GetAttrString(op->func, "__module__");
}
static int
__Pyx_CyFunction_set_module(__pyx_CyFunctionObject *op, PyObject* value, void *context) {
    CYTHON_UNUSED_VAR(context);
    return PyObject_SetAttrString(op->func, "__module__", value);
}
#endif
static PyGetSetDef __pyx_CyFunction_getsets[] = {
    {"func_doc", (getter)__Pyx_CyFunction_get_doc, (setter)__Pyx_CyFunction_set_doc, 0, 0},
    {"__doc__",  (getter)__Pyx_CyFunction_get_doc, (setter)__Pyx_CyFunction_set_doc, 0, 0},
    {"func_name", (getter)__Pyx_CyFunction_get_name, (setter)__Pyx_CyFunction_set_name, 0, 0},
    {"__name__", (getter)__Pyx_CyFunction_get_name, (setter)__Pyx_CyFunction_set_name, 0, 0},
    {"__qualname__", (getter)__Pyx_CyFunction_get_qualname, (setter)__Pyx_CyFunction_set_qualname, 0, 0},
#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000
    {"func_dict", (getter)__Pyx_CyFunction_get_dict, (setter)PyObject_GenericSetDict, 0, 0},
    {"__dict__", (getter)__Pyx_CyFunction_get_dict, (setter)PyObject_GenericSetDict, 0, 0},
#else
    {"func_dict", (getter)PyObject_GenericGetDict, (setter)PyObject_GenericSetDict, 0, 0},
    {"__dict__", (getter)PyObject_GenericGetDict, (setter)PyObject_GenericSetDict, 0, 0},
#endif
    {"func_globals", (getter)__Pyx_CyFunction_get_globals, 0, 0, 0},
    {"__globals__", (getter)__Pyx_CyFunction_get_globals, 0, 0, 0},
    {"func_closure", (getter)__Pyx_CyFunction_get_closure, 0, 0, 0},
    {"__closure__", (getter)__Pyx_CyFunction_get_closure, 0, 0, 0},
    {"func_code", (getter)__Pyx_CyFunction_get_code, 0, 0, 0},
    {"__code__", (getter)__Pyx_CyFunction_get_code, 0, 0, 0},
    {"func_defaults", (getter)__Pyx_CyFunction_get_defaults, (setter)__Pyx_CyFunction_set_defaults, 0, 0},
    {"__defaults__", (getter)__Pyx_CyFunction_get_defaults, (setter)__Pyx_CyFunction_set_defaults, 0, 0},
    {"__kwdefaults__", (getter)__Pyx_CyFunction_get_kwdefaults, (setter)__Pyx_CyFunction_set_kwdefaults, 0, 0},
    {"__annotations__", (getter)__Pyx_CyFunction_get_annotations, (setter)__Pyx_CyFunction_set_annotations, 0, 0},
    {"_is_coroutine", (getter)__Pyx_CyFunction_get_is_coroutine, 0, 0, 0},
#if CYTHON_COMPILING_IN_LIMITED_API
    {"__module__", (getter)__Pyx_CyFunction_get_module, (setter)__Pyx_CyFunction_set_module, 0, 0},
#endif
    {0, 0, 0, 0, 0}
};
static PyMemberDef __pyx_CyFunction_members[] = {
#if !CYTHON_COMPILING_IN_LIMITED_API
    {"__module__", T_OBJECT, offsetof(PyCFunctionObject, m_module), 0, 0},
#endif
#if PY_VERSION_HEX < 0x030C0000 || CYTHON_COMPILING_IN_LIMITED_API
    {"__dictoffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_dict), READONLY, 0},
#endif
#if CYTHON_METH_FASTCALL
#if CYTHON_COMPILING_IN_LIMITED_API
    {"__vectorcalloffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_vectorcall), READONLY, 0},
#else
    {"__vectorcalloffset__", T_PYSSIZET, offsetof(PyCFunctionObject, vectorcall), READONLY, 0},
#endif
#if CYTHON_COMPILING_IN_LIMITED_API
    {"__weaklistoffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_weakreflist), READONLY, 0},
#else
    {"__weaklistoffset__", T_PYSSIZET, offsetof(PyCFunctionObject, m_weakreflist), READONLY, 0},
#endif
#endif
    {0, 0, 0,  0, 0}
};
static PyObject *
__Pyx_CyFunction_reduce(__pyx_CyFunctionObject *m, PyObject *args)
{
    PyObject *result = NULL;
    CYTHON_UNUSED_VAR(args);
    __Pyx_BEGIN_CRITICAL_SECTION(m);
    Py_INCREF(m->func_qualname);
    result = m->func_qualname;
    __Pyx_END_CRITICAL_SECTION();
    return result;
}
static PyMethodDef __pyx_CyFunction_methods[] = {
    {"__reduce__", (PyCFunction)__Pyx_CyFunction_reduce, METH_VARARGS, 0},
    {0, 0, 0, 0}
};
#if CYTHON_COMPILING_IN_LIMITED_API
#define __Pyx_CyFunction_weakreflist(cyfunc) ((cyfunc)->func_weakreflist)
#else
#define __Pyx_CyFunction_weakreflist(cyfunc) (((PyCFunctionObject*)cyfunc)->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 !CYTHON_COMPILING_IN_LIMITED_API
    PyCFunctionObject *cf = (PyCFunctionObject*) op;
#endif
    if (unlikely(op == NULL))
        return NULL;
#if CYTHON_COMPILING_IN_LIMITED_API
    op->func = PyCFunction_NewEx(ml, (PyObject*)op, module);
    if (unlikely(!op->func)) return NULL;
#endif
    op->flags = flags;
    __Pyx_CyFunction_weakreflist(op) = NULL;
#if !CYTHON_COMPILING_IN_LIMITED_API
    cf->m_ml = ml;
    cf->m_self = (PyObject *) op;
#endif
    Py_XINCREF(closure);
    op->func_closure = closure;
#if !CYTHON_COMPILING_IN_LIMITED_API
    Py_XINCREF(module);
    cf->m_module = module;
#endif
#if PY_VERSION_HEX < 0x030C0000 || CYTHON_COMPILING_IN_LIMITED_API
    op->func_dict = NULL;
#endif
    op->func_name = NULL;
    Py_INCREF(qualname);
    op->func_qualname = qualname;
    op->func_doc = NULL;
#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API
    op->func_classobj = NULL;
#else
    ((PyCMethodObject*)op)->mm_class = NULL;
#endif
    op->func_globals = globals;
    Py_INCREF(op->func_globals);
    Py_XINCREF(code);
    op->func_code = code;
    op->defaults = NULL;
    op->defaults_tuple = NULL;
    op->defaults_kwdict = NULL;
    op->defaults_getter = NULL;
    op->func_annotations = NULL;
    op->func_is_coroutine = NULL;
#if CYTHON_METH_FASTCALL
    switch (ml->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | METH_KEYWORDS | METH_METHOD)) {
    case METH_NOARGS:
        __Pyx_CyFunction_func_vectorcall(op) = __Pyx_CyFunction_Vectorcall_NOARGS;
        break;
    case METH_O:
        __Pyx_CyFunction_func_vectorcall(op) = __Pyx_CyFunction_Vectorcall_O;
        break;
    case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
        __Pyx_CyFunction_func_vectorcall(op) = __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD;
        break;
    case METH_FASTCALL | METH_KEYWORDS:
        __Pyx_CyFunction_func_vectorcall(op) = __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS;
        break;
    case METH_VARARGS | METH_KEYWORDS:
        __Pyx_CyFunction_func_vectorcall(op) = NULL;
        break;
    default:
        PyErr_SetString(PyExc_SystemError, "Bad call flags for CyFunction");
        Py_DECREF(op);
        return NULL;
    }
#endif
    return (PyObject *) op;
}
static int
__Pyx_CyFunction_clear(__pyx_CyFunctionObject *m)
{
    Py_CLEAR(m->func_closure);
#if CYTHON_COMPILING_IN_LIMITED_API
    Py_CLEAR(m->func);
#else
    Py_CLEAR(((PyCFunctionObject*)m)->m_module);
#endif
#if PY_VERSION_HEX < 0x030C0000 || CYTHON_COMPILING_IN_LIMITED_API
    Py_CLEAR(m->func_dict);
#elif PY_VERSION_HEX < 0x030d0000
    _PyObject_ClearManagedDict((PyObject*)m);
#else
    PyObject_ClearManagedDict((PyObject*)m);
#endif
    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);
#if !CYTHON_COMPILING_IN_LIMITED_API
#if PY_VERSION_HEX < 0x030900B1
    Py_CLEAR(__Pyx_CyFunction_GetClassObj(m));
#else
    {
        PyObject *cls = (PyObject*) ((PyCMethodObject *) (m))->mm_class;
        ((PyCMethodObject *) (m))->mm_class = NULL;
        Py_XDECREF(cls);
    }
#endif
#endif
    Py_CLEAR(m->defaults_tuple);
    Py_CLEAR(m->defaults_kwdict);
    Py_CLEAR(m->func_annotations);
    Py_CLEAR(m->func_is_coroutine);
    Py_CLEAR(m->defaults);
    return 0;
}
static void __Pyx__CyFunction_dealloc(__pyx_CyFunctionObject *m)
{
    if (__Pyx_CyFunction_weakreflist(m) != NULL)
        PyObject_ClearWeakRefs((PyObject *) m);
    __Pyx_CyFunction_clear(m);
    __Pyx_PyHeapTypeObject_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)
{
    {
        int e = __Pyx_call_type_traverse((PyObject*)m, 1, visit, arg);
        if (e) return e;
    }
    Py_VISIT(m->func_closure);
#if CYTHON_COMPILING_IN_LIMITED_API
    Py_VISIT(m->func);
#else
    Py_VISIT(((PyCFunctionObject*)m)->m_module);
#endif
#if PY_VERSION_HEX < 0x030C0000 || CYTHON_COMPILING_IN_LIMITED_API
    Py_VISIT(m->func_dict);
#else
    {
        int e =
#if PY_VERSION_HEX < 0x030d0000
            _PyObject_VisitManagedDict
#else
            PyObject_VisitManagedDict
#endif
                ((PyObject*)m, visit, arg);
        if (e != 0) return e;
    }
#endif
    __Pyx_VISIT_CONST(m->func_name);
    __Pyx_VISIT_CONST(m->func_qualname);
    Py_VISIT(m->func_doc);
    Py_VISIT(m->func_globals);
    __Pyx_VISIT_CONST(m->func_code);
#if !CYTHON_COMPILING_IN_LIMITED_API
    Py_VISIT(__Pyx_CyFunction_GetClassObj(m));
#endif
    Py_VISIT(m->defaults_tuple);
    Py_VISIT(m->defaults_kwdict);
    Py_VISIT(m->func_is_coroutine);
    Py_VISIT(m->defaults);
    return 0;
}
static PyObject*
__Pyx_CyFunction_repr(__pyx_CyFunctionObject *op)
{
    PyObject *repr;
    __Pyx_BEGIN_CRITICAL_SECTION(op);
    repr = PyUnicode_FromFormat("<cyfunction %U at %p>",
                                op->func_qualname, (void *)op);
    __Pyx_END_CRITICAL_SECTION();
    return repr;
}
static PyObject * __Pyx_CyFunction_CallMethod(PyObject *func, PyObject *self, PyObject *arg, PyObject *kw) {
#if CYTHON_COMPILING_IN_LIMITED_API
    PyObject *f = ((__pyx_CyFunctionObject*)func)->func;
    PyCFunction meth;
    int flags;
    meth = PyCFunction_GetFunction(f);
    if (unlikely(!meth)) return NULL;
    flags = PyCFunction_GetFlags(f);
    if (unlikely(flags < 0)) return NULL;
#else
    PyCFunctionObject* f = (PyCFunctionObject*)func;
    PyCFunction meth = f->m_ml->ml_meth;
    int flags = f->m_ml->ml_flags;
#endif
    Py_ssize_t size;
    switch (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(*)(void))meth)(self, arg, kw);
    case METH_NOARGS:
        if (likely(kw == NULL || PyDict_Size(kw) == 0)) {
#if CYTHON_ASSUME_SAFE_SIZE
            size = PyTuple_GET_SIZE(arg);
#else
            size = PyTuple_Size(arg);
            if (unlikely(size < 0)) return NULL;
#endif
            if (likely(size == 0))
                return (*meth)(self, NULL);
            __Pyx_CyFunction_raise_argument_count_error(
                (__pyx_CyFunctionObject*)func,
                "takes no arguments", size);
            return NULL;
        }
        break;
    case METH_O:
        if (likely(kw == NULL || PyDict_Size(kw) == 0)) {
#if CYTHON_ASSUME_SAFE_SIZE
            size = PyTuple_GET_SIZE(arg);
#else
            size = PyTuple_Size(arg);
            if (unlikely(size < 0)) return NULL;
#endif
            if (likely(size == 1)) {
                PyObject *result, *arg0;
                #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
                arg0 = PyTuple_GET_ITEM(arg, 0);
                #else
                arg0 = __Pyx_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;
            }
            __Pyx_CyFunction_raise_argument_count_error(
                (__pyx_CyFunctionObject*)func,
                "takes exactly one argument", size);
            return NULL;
        }
        break;
    default:
        PyErr_SetString(PyExc_SystemError, "Bad call flags for CyFunction");
        return NULL;
    }
    __Pyx_CyFunction_raise_type_error(
        (__pyx_CyFunctionObject*)func, "takes no keyword arguments");
    return NULL;
}
static CYTHON_INLINE PyObject *__Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) {
    PyObject *self, *result;
#if CYTHON_COMPILING_IN_LIMITED_API
    self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)func)->func);
    if (unlikely(!self) && PyErr_Occurred()) return NULL;
#else
    self = ((PyCFunctionObject*)func)->m_self;
#endif
    result = __Pyx_CyFunction_CallMethod(func, self, arg, kw);
    return result;
}
static PyObject *__Pyx_CyFunction_CallAsMethod(PyObject *func, PyObject *args, PyObject *kw) {
    PyObject *result;
    __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *) func;
#if CYTHON_METH_FASTCALL && CYTHON_VECTORCALL
     __pyx_vectorcallfunc vc = __Pyx_CyFunction_func_vectorcall(cyfunc);
    if (vc) {
#if CYTHON_ASSUME_SAFE_MACROS && CYTHON_ASSUME_SAFE_SIZE
        return __Pyx_PyVectorcall_FastCallDict(func, vc, &PyTuple_GET_ITEM(args, 0), (size_t)PyTuple_GET_SIZE(args), kw);
#else
        (void) &__Pyx_PyVectorcall_FastCallDict;
        return PyVectorcall_Call(func, args, kw);
#endif
    }
#endif
    if ((cyfunc->flags & __Pyx_CYFUNCTION_CCLASS) && !(cyfunc->flags & __Pyx_CYFUNCTION_STATICMETHOD)) {
        Py_ssize_t argc;
        PyObject *new_args;
        PyObject *self;
#if CYTHON_ASSUME_SAFE_SIZE
        argc = PyTuple_GET_SIZE(args);
#else
        argc = PyTuple_Size(args);
        if (unlikely(argc < 0)) return NULL;
#endif
        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);
            PyErr_Format(PyExc_TypeError,
                         "unbound method %.200S() needs an argument",
                         cyfunc->func_qualname);
            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;
}
#if CYTHON_METH_FASTCALL && CYTHON_VECTORCALL
static CYTHON_INLINE int __Pyx_CyFunction_Vectorcall_CheckArgs(__pyx_CyFunctionObject *cyfunc, Py_ssize_t nargs, PyObject *kwnames)
{
    int ret = 0;
    if ((cyfunc->flags & __Pyx_CYFUNCTION_CCLASS) && !(cyfunc->flags & __Pyx_CYFUNCTION_STATICMETHOD)) {
        if (unlikely(nargs < 1)) {
            __Pyx_CyFunction_raise_type_error(
                cyfunc, "needs an argument");
            return -1;
        }
        ret = 1;
    }
    if (unlikely(kwnames) && unlikely(__Pyx_PyTuple_GET_SIZE(kwnames))) {
        __Pyx_CyFunction_raise_type_error(
            cyfunc, "takes no keyword arguments");
        return -1;
    }
    return ret;
}
static PyObject * __Pyx_CyFunction_Vectorcall_NOARGS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
{
    __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func;
    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
    PyObject *self;
#if CYTHON_COMPILING_IN_LIMITED_API
    PyCFunction meth = PyCFunction_GetFunction(cyfunc->func);
    if (unlikely(!meth)) return NULL;
#else
    PyCFunction meth = ((PyCFunctionObject*)cyfunc)->m_ml->ml_meth;
#endif
    switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, kwnames)) {
    case 1:
        self = args[0];
        args += 1;
        nargs -= 1;
        break;
    case 0:
#if CYTHON_COMPILING_IN_LIMITED_API
        self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)cyfunc)->func);
        if (unlikely(!self) && PyErr_Occurred()) return NULL;
#else
        self = ((PyCFunctionObject*)cyfunc)->m_self;
#endif
        break;
    default:
        return NULL;
    }
    if (unlikely(nargs != 0)) {
        __Pyx_CyFunction_raise_argument_count_error(
            cyfunc, "takes no arguments", nargs);
        return NULL;
    }
    return meth(self, NULL);
}
static PyObject * __Pyx_CyFunction_Vectorcall_O(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
{
    __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func;
    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
    PyObject *self;
#if CYTHON_COMPILING_IN_LIMITED_API
    PyCFunction meth = PyCFunction_GetFunction(cyfunc->func);
    if (unlikely(!meth)) return NULL;
#else
    PyCFunction meth = ((PyCFunctionObject*)cyfunc)->m_ml->ml_meth;
#endif
    switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, kwnames)) {
    case 1:
        self = args[0];
        args += 1;
        nargs -= 1;
        break;
    case 0:
#if CYTHON_COMPILING_IN_LIMITED_API
        self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)cyfunc)->func);
        if (unlikely(!self) && PyErr_Occurred()) return NULL;
#else
        self = ((PyCFunctionObject*)cyfunc)->m_self;
#endif
        break;
    default:
        return NULL;
    }
    if (unlikely(nargs != 1)) {
        __Pyx_CyFunction_raise_argument_count_error(
            cyfunc, "takes exactly one argument", nargs);
        return NULL;
    }
    return meth(self, args[0]);
}
static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
{
    __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func;
    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
    PyObject *self;
#if CYTHON_COMPILING_IN_LIMITED_API
    PyCFunction meth = PyCFunction_GetFunction(cyfunc->func);
    if (unlikely(!meth)) return NULL;
#else
    PyCFunction meth = ((PyCFunctionObject*)cyfunc)->m_ml->ml_meth;
#endif
    switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, NULL)) {
    case 1:
        self = args[0];
        args += 1;
        nargs -= 1;
        break;
    case 0:
#if CYTHON_COMPILING_IN_LIMITED_API
        self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)cyfunc)->func);
        if (unlikely(!self) && PyErr_Occurred()) return NULL;
#else
        self = ((PyCFunctionObject*)cyfunc)->m_self;
#endif
        break;
    default:
        return NULL;
    }
    return ((__Pyx_PyCFunctionFastWithKeywords)(void(*)(void))meth)(self, args, nargs, kwnames);
}
static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames)
{
    __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func;
    PyTypeObject *cls = (PyTypeObject *) __Pyx_CyFunction_GetClassObj(cyfunc);
    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
    PyObject *self;
#if CYTHON_COMPILING_IN_LIMITED_API
    PyCFunction meth = PyCFunction_GetFunction(cyfunc->func);
    if (unlikely(!meth)) return NULL;
#else
    PyCFunction meth = ((PyCFunctionObject*)cyfunc)->m_ml->ml_meth;
#endif
    switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, NULL)) {
    case 1:
        self = args[0];
        args += 1;
        nargs -= 1;
        break;
    case 0:
#if CYTHON_COMPILING_IN_LIMITED_API
        self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)cyfunc)->func);
        if (unlikely(!self) && PyErr_Occurred()) return NULL;
#else
        self = ((PyCFunctionObject*)cyfunc)->m_self;
#endif
        break;
    default:
        return NULL;
    }
    #if PY_VERSION_HEX < 0x030e00A6
    size_t nargs_value = (size_t) nargs;
    #else
    Py_ssize_t nargs_value = nargs;
    #endif
    return ((__Pyx_PyCMethod)(void(*)(void))meth)(self, cls, args, nargs_value, kwnames);
}
#endif
static PyType_Slot __pyx_CyFunctionType_slots[] = {
    {Py_tp_dealloc, (void *)__Pyx_CyFunction_dealloc},
    {Py_tp_repr, (void *)__Pyx_CyFunction_repr},
    {Py_tp_call, (void *)__Pyx_CyFunction_CallAsMethod},
    {Py_tp_traverse, (void *)__Pyx_CyFunction_traverse},
    {Py_tp_clear, (void *)__Pyx_CyFunction_clear},
    {Py_tp_methods, (void *)__pyx_CyFunction_methods},
    {Py_tp_members, (void *)__pyx_CyFunction_members},
    {Py_tp_getset, (void *)__pyx_CyFunction_getsets},
    {Py_tp_descr_get, (void *)__Pyx_PyMethod_New},
    {0, 0},
};
static PyType_Spec __pyx_CyFunctionType_spec = {
    __PYX_TYPE_MODULE_PREFIX "cython_function_or_method",
    sizeof(__pyx_CyFunctionObject),
    0,
#ifdef Py_TPFLAGS_METHOD_DESCRIPTOR
    Py_TPFLAGS_METHOD_DESCRIPTOR |
#endif
#if CYTHON_METH_FASTCALL
#if defined(Py_TPFLAGS_HAVE_VECTORCALL)
    Py_TPFLAGS_HAVE_VECTORCALL |
#elif defined(_Py_TPFLAGS_HAVE_VECTORCALL)
    _Py_TPFLAGS_HAVE_VECTORCALL |
#endif
#endif // CYTHON_METH_FASTCALL
#if PY_VERSION_HEX >= 0x030C0000 && !CYTHON_COMPILING_IN_LIMITED_API
    Py_TPFLAGS_MANAGED_DICT |
#endif
    Py_TPFLAGS_IMMUTABLETYPE | Py_TPFLAGS_DISALLOW_INSTANTIATION |
    Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_BASETYPE,
    __pyx_CyFunctionType_slots
};
static int __pyx_CyFunction_init(PyObject *module) {
    __pyx_mstatetype *mstate = __Pyx_PyModule_GetState(module);
    mstate->__pyx_CyFunctionType = __Pyx_FetchCommonTypeFromSpec(
        mstate->__pyx_CommonTypesMetaclassType, module, &__pyx_CyFunctionType_spec, NULL);
    if (unlikely(mstate->__pyx_CyFunctionType == NULL)) {
        return -1;
    }
    return 0;
}
static CYTHON_INLINE PyObject *__Pyx_CyFunction_InitDefaults(PyObject *func, PyTypeObject *defaults_type) {
    __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func;
    m->defaults = PyObject_CallObject((PyObject*)defaults_type, NULL); // _PyObject_New(defaults_type);
    if (unlikely(!m->defaults))
        return NULL;
    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_mstate_global->__pyx_CyFunctionType),
        ml, flags, qualname, closure, module, globals, code
    );
    if (likely(op)) {
        PyObject_GC_Track(op);
    }
    return op;
}

/* Py3UpdateBases */
static PyObject*
__Pyx_PEP560_update_bases(PyObject *bases)
{
    Py_ssize_t i, j, size_bases;
    PyObject *base = NULL, *meth, *new_base, *result, *new_bases = NULL;
#if CYTHON_ASSUME_SAFE_SIZE
    size_bases = PyTuple_GET_SIZE(bases);
#else
    size_bases = PyTuple_Size(bases);
    if (size_bases < 0) return NULL;
#endif
    for (i = 0; i < size_bases; i++) {
#if CYTHON_AVOID_BORROWED_REFS
        Py_CLEAR(base);
#endif
#if CYTHON_ASSUME_SAFE_MACROS
        base = PyTuple_GET_ITEM(bases, i);
#else
        base = PyTuple_GetItem(bases, i);
        if (!base) goto error;
#endif
#if CYTHON_AVOID_BORROWED_REFS
        Py_INCREF(base);
#endif
        if (PyType_Check(base)) {
            if (new_bases) {
                if (PyList_Append(new_bases, base) < 0) {
                    goto error;
                }
            }
            continue;
        }
        meth = __Pyx_PyObject_GetAttrStrNoError(base, __pyx_mstate_global->__pyx_n_u_mro_entries);
        if (!meth && PyErr_Occurred()) {
            goto error;
        }
        if (!meth) {
            if (new_bases) {
                if (PyList_Append(new_bases, base) < 0) {
                    goto error;
                }
            }
            continue;
        }
        new_base = __Pyx_PyObject_CallOneArg(meth, bases);
        Py_DECREF(meth);
        if (!new_base) {
            goto error;
        }
        if (!PyTuple_Check(new_base)) {
            PyErr_SetString(PyExc_TypeError,
                            "__mro_entries__ must return a tuple");
            Py_DECREF(new_base);
            goto error;
        }
        if (!new_bases) {
            if (!(new_bases = PyList_New(i))) {
                goto error;
            }
            for (j = 0; j < i; j++) {
                PyObject *base_from_list;
#if CYTHON_ASSUME_SAFE_MACROS
                base_from_list = PyTuple_GET_ITEM(bases, j);
                PyList_SET_ITEM(new_bases, j, base_from_list);
                Py_INCREF(base_from_list);
#else
                base_from_list = PyTuple_GetItem(bases, j);
                if (!base_from_list) goto error;
                Py_INCREF(base_from_list);
                if (PyList_SetItem(new_bases, j, base_from_list) < 0) goto error;
#endif
            }
        }
#if CYTHON_ASSUME_SAFE_SIZE
        j = PyList_GET_SIZE(new_bases);
#else
        j = PyList_Size(new_bases);
        if (j < 0) goto error;
#endif
        if (PyList_SetSlice(new_bases, j, j, new_base) < 0) {
            goto error;
        }
        Py_DECREF(new_base);
    }
    if (!new_bases) {
        Py_INCREF(bases);
        return bases;
    }
    result = PyList_AsTuple(new_bases);
    Py_DECREF(new_bases);
#if CYTHON_AVOID_BORROWED_REFS
    Py_XDECREF(base);
#endif
    return result;
error:
    Py_XDECREF(new_bases);
#if CYTHON_AVOID_BORROWED_REFS
    Py_XDECREF(base);
#endif
    return NULL;
}

/* CalculateMetaclass */
static PyObject *__Pyx_CalculateMetaclass(PyTypeObject *metaclass, PyObject *bases) {
    Py_ssize_t i, nbases;
#if CYTHON_ASSUME_SAFE_SIZE
    nbases = PyTuple_GET_SIZE(bases);
#else
    nbases = PyTuple_Size(bases);
    if (nbases < 0) return NULL;
#endif
    for (i=0; i < nbases; i++) {
        PyTypeObject *tmptype;
#if CYTHON_ASSUME_SAFE_MACROS
        PyObject *tmp = PyTuple_GET_ITEM(bases, i);
#else
        PyObject *tmp = PyTuple_GetItem(bases, i);
        if (!tmp) return NULL;
#endif
        tmptype = Py_TYPE(tmp);
        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) {
        metaclass = &PyType_Type;
    }
    Py_INCREF((PyObject*) metaclass);
    return (PyObject*) metaclass;
}

/* PyObjectLookupSpecial (used by Py3ClassCreate) */
#if CYTHON_USE_PYTYPE_LOOKUP && CYTHON_USE_TYPE_SLOTS
static CYTHON_INLINE PyObject* __Pyx__PyObject_LookupSpecial(PyObject* obj, PyObject* attr_name, int with_error) {
    PyObject *res;
    PyTypeObject *tp = Py_TYPE(obj);
    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 if (with_error) {
        PyErr_SetObject(PyExc_AttributeError, attr_name);
    }
    return res;
}
#endif

/* 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_GetAttrStrNoError(metaclass, __pyx_mstate_global->__pyx_n_u_prepare);
        if (prep) {
            PyObject *pargs[3] = {NULL, name, bases};
            ns = __Pyx_PyObject_FastCallDict(prep, pargs+1, 2 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET, mkw);
            Py_DECREF(prep);
        } else {
            if (unlikely(PyErr_Occurred()))
                return NULL;
            ns = PyDict_New();
        }
    } else {
        ns = PyDict_New();
    }
    if (unlikely(!ns))
        return NULL;
    if (unlikely(PyObject_SetItem(ns, __pyx_mstate_global->__pyx_n_u_module, modname) < 0)) goto bad;
    if (unlikely(PyObject_SetItem(ns, __pyx_mstate_global->__pyx_n_u_qualname, qualname) < 0)) goto bad;
    if (unlikely(doc && PyObject_SetItem(ns, __pyx_mstate_global->__pyx_n_u_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;
    PyObject *owned_metaclass = NULL;
    PyObject *margs[4] = {NULL, name, bases, dict};
    if (allow_py2_metaclass) {
        owned_metaclass = PyObject_GetItem(dict, __pyx_mstate_global->__pyx_n_u_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;
    }
    result = __Pyx_PyObject_FastCallDict(metaclass, margs+1, 3 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET, mkw);
    Py_XDECREF(owned_metaclass);
    return result;
}

/* CLineInTraceback (used by AddTraceback) */
#if CYTHON_CLINE_IN_TRACEBACK && CYTHON_CLINE_IN_TRACEBACK_RUNTIME
#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030A0000
#define __Pyx_PyProbablyModule_GetDict(o) __Pyx_XNewRef(PyModule_GetDict(o))
#elif !CYTHON_COMPILING_IN_CPYTHON || CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
#define __Pyx_PyProbablyModule_GetDict(o) PyObject_GenericGetDict(o, NULL);
#else
PyObject* __Pyx_PyProbablyModule_GetDict(PyObject *o) {
    PyObject **dict_ptr = _PyObject_GetDictPtr(o);
    return dict_ptr ? __Pyx_XNewRef(*dict_ptr) : NULL;
}
#endif
static int __Pyx_CLineForTraceback(PyThreadState *tstate, int c_line) {
    PyObject *use_cline = NULL;
    PyObject *ptype, *pvalue, *ptraceback;
    PyObject *cython_runtime_dict;
    CYTHON_MAYBE_UNUSED_VAR(tstate);
    if (unlikely(!__pyx_mstate_global->__pyx_cython_runtime)) {
        return c_line;
    }
    __Pyx_ErrFetchInState(tstate, &ptype, &pvalue, &ptraceback);
    cython_runtime_dict = __Pyx_PyProbablyModule_GetDict(__pyx_mstate_global->__pyx_cython_runtime);
    if (likely(cython_runtime_dict)) {
        __PYX_PY_DICT_LOOKUP_IF_MODIFIED(
            use_cline, cython_runtime_dict,
            __Pyx_PyDict_SetDefault(cython_runtime_dict, __pyx_mstate_global->__pyx_n_u_cline_in_traceback, Py_False))
    }
    if (use_cline == NULL || use_cline == Py_False || (use_cline != Py_True && PyObject_Not(use_cline) != 0)) {
        c_line = 0;
    }
    Py_XDECREF(use_cline);
    Py_XDECREF(cython_runtime_dict);
    __Pyx_ErrRestoreInState(tstate, ptype, pvalue, ptraceback);
    return c_line;
}
#endif

/* CodeObjectCache (used by AddTraceback) */
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 __Pyx_CachedCodeObjectType *__pyx__find_code_object(struct __Pyx_CodeObjectCache *code_cache, int code_line) {
    __Pyx_CachedCodeObjectType* code_object;
    int pos;
    if (unlikely(!code_line) || unlikely(!code_cache->entries)) {
        return NULL;
    }
    pos = __pyx_bisect_code_objects(code_cache->entries, code_cache->count, code_line);
    if (unlikely(pos >= code_cache->count) || unlikely(code_cache->entries[pos].code_line != code_line)) {
        return NULL;
    }
    code_object = code_cache->entries[pos].code_object;
    Py_INCREF(code_object);
    return code_object;
}
static __Pyx_CachedCodeObjectType *__pyx_find_code_object(int code_line) {
#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && !CYTHON_ATOMICS
    (void)__pyx__find_code_object;
    return NULL; // Most implementation should have atomics. But otherwise, don't make it thread-safe, just miss.
#else
    struct __Pyx_CodeObjectCache *code_cache = &__pyx_mstate_global->__pyx_code_cache;
#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
    __pyx_nonatomic_int_type old_count = __pyx_atomic_incr_acq_rel(&code_cache->accessor_count);
    if (old_count < 0) {
        __pyx_atomic_decr_acq_rel(&code_cache->accessor_count);
        return NULL;
    }
#endif
    __Pyx_CachedCodeObjectType *result = __pyx__find_code_object(code_cache, code_line);
#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
    __pyx_atomic_decr_acq_rel(&code_cache->accessor_count);
#endif
    return result;
#endif
}
static void __pyx__insert_code_object(struct __Pyx_CodeObjectCache *code_cache, int code_line, __Pyx_CachedCodeObjectType* code_object)
{
    int pos, i;
    __Pyx_CodeObjectCacheEntry* entries = code_cache->entries;
    if (unlikely(!code_line)) {
        return;
    }
    if (unlikely(!entries)) {
        entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Malloc(64*sizeof(__Pyx_CodeObjectCacheEntry));
        if (likely(entries)) {
            code_cache->entries = entries;
            code_cache->max_count = 64;
            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(code_cache->entries, code_cache->count, code_line);
    if ((pos < code_cache->count) && unlikely(code_cache->entries[pos].code_line == code_line)) {
        __Pyx_CachedCodeObjectType* tmp = entries[pos].code_object;
        entries[pos].code_object = code_object;
        Py_INCREF(code_object);
        Py_DECREF(tmp);
        return;
    }
    if (code_cache->count == code_cache->max_count) {
        int new_max = code_cache->max_count + 64;
        entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Realloc(
            code_cache->entries, ((size_t)new_max) * sizeof(__Pyx_CodeObjectCacheEntry));
        if (unlikely(!entries)) {
            return;
        }
        code_cache->entries = entries;
        code_cache->max_count = new_max;
    }
    for (i=code_cache->count; i>pos; i--) {
        entries[i] = entries[i-1];
    }
    entries[pos].code_line = code_line;
    entries[pos].code_object = code_object;
    code_cache->count++;
    Py_INCREF(code_object);
}
static void __pyx_insert_code_object(int code_line, __Pyx_CachedCodeObjectType* code_object) {
#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING && !CYTHON_ATOMICS
    (void)__pyx__insert_code_object;
    return; // Most implementation should have atomics. But otherwise, don't make it thread-safe, just fail.
#else
    struct __Pyx_CodeObjectCache *code_cache = &__pyx_mstate_global->__pyx_code_cache;
#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
    __pyx_nonatomic_int_type expected = 0;
    if (!__pyx_atomic_int_cmp_exchange(&code_cache->accessor_count, &expected, INT_MIN)) {
        return;
    }
#endif
    __pyx__insert_code_object(code_cache, code_line, code_object);
#if CYTHON_COMPILING_IN_CPYTHON_FREETHREADING
    __pyx_atomic_sub(&code_cache->accessor_count, INT_MIN);
#endif
#endif
}

/* AddTraceback */
#include "compile.h"
#include "frameobject.h"
#include "traceback.h"
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
  #ifndef Py_BUILD_CORE
    #define Py_BUILD_CORE 1
  #endif
  #include "internal/pycore_frame.h"
#endif
#if CYTHON_COMPILING_IN_LIMITED_API
static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject *scratch_dict,
                                                       PyObject *firstlineno, PyObject *name) {
    PyObject *replace = NULL;
    if (unlikely(PyDict_SetItemString(scratch_dict, "co_firstlineno", firstlineno))) return NULL;
    if (unlikely(PyDict_SetItemString(scratch_dict, "co_name", name))) return NULL;
    replace = PyObject_GetAttrString(code, "replace");
    if (likely(replace)) {
        PyObject *result = PyObject_Call(replace, __pyx_mstate_global->__pyx_empty_tuple, scratch_dict);
        Py_DECREF(replace);
        return result;
    }
    PyErr_Clear();
    return NULL;
}
static void __Pyx_AddTraceback(const char *funcname, int c_line,
                               int py_line, const char *filename) {
    PyObject *code_object = NULL, *py_py_line = NULL, *py_funcname = NULL, *dict = NULL;
    PyObject *replace = NULL, *getframe = NULL, *frame = NULL;
    PyObject *exc_type, *exc_value, *exc_traceback;
    int success = 0;
    if (c_line) {
        c_line = __Pyx_CLineForTraceback(__Pyx_PyThreadState_Current, c_line);
    }
    PyErr_Fetch(&exc_type, &exc_value, &exc_traceback);
    code_object = __pyx_find_code_object(c_line ? -c_line : py_line);
    if (!code_object) {
        code_object = Py_CompileString("_getframe()", filename, Py_eval_input);
        if (unlikely(!code_object)) goto bad;
        py_py_line = PyLong_FromLong(py_line);
        if (unlikely(!py_py_line)) goto bad;
        if (c_line) {
            py_funcname = PyUnicode_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
        } else {
            py_funcname = PyUnicode_FromString(funcname);
        }
        if (unlikely(!py_funcname)) goto bad;
        dict = PyDict_New();
        if (unlikely(!dict)) goto bad;
        {
            PyObject *old_code_object = code_object;
            code_object = __Pyx_PyCode_Replace_For_AddTraceback(code_object, dict, py_py_line, py_funcname);
            Py_DECREF(old_code_object);
        }
        if (unlikely(!code_object)) goto bad;
        __pyx_insert_code_object(c_line ? -c_line : py_line, code_object);
    } else {
        dict = PyDict_New();
    }
    getframe = PySys_GetObject("_getframe");
    if (unlikely(!getframe)) goto bad;
    if (unlikely(PyDict_SetItemString(dict, "_getframe", getframe))) goto bad;
    frame = PyEval_EvalCode(code_object, dict, dict);
    if (unlikely(!frame) || frame == Py_None) goto bad;
    success = 1;
  bad:
    PyErr_Restore(exc_type, exc_value, exc_traceback);
    Py_XDECREF(code_object);
    Py_XDECREF(py_py_line);
    Py_XDECREF(py_funcname);
    Py_XDECREF(dict);
    Py_XDECREF(replace);
    if (success) {
        PyTraceBack_Here(
            (struct _frame*)frame);
    }
    Py_XDECREF(frame);
}
#else
static PyCodeObject* __Pyx_CreateCodeObjectForTraceback(
            const char *funcname, int c_line,
            int py_line, const char *filename) {
    PyCodeObject *py_code = NULL;
    PyObject *py_funcname = NULL;
    if (c_line) {
        py_funcname = PyUnicode_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line);
        if (!py_funcname) goto bad;
        funcname = PyUnicode_AsUTF8(py_funcname);
        if (!funcname) goto bad;
    }
    py_code = PyCode_NewEmpty(filename, funcname, py_line);
    Py_XDECREF(py_funcname);
    return py_code;
bad:
    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;
    PyObject *ptype, *pvalue, *ptraceback;
    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) {
        __Pyx_ErrFetchInState(tstate, &ptype, &pvalue, &ptraceback);
        py_code = __Pyx_CreateCodeObjectForTraceback(
            funcname, c_line, py_line, filename);
        if (!py_code) {
            /* If the code object creation fails, then we should clear the
               fetched exception references and propagate the new exception */
            Py_XDECREF(ptype);
            Py_XDECREF(pvalue);
            Py_XDECREF(ptraceback);
            goto bad;
        }
        __Pyx_ErrRestoreInState(tstate, ptype, pvalue, ptraceback);
        __pyx_insert_code_object(c_line ? -c_line : py_line, py_code);
    }
    py_frame = PyFrame_New(
        tstate,            /*PyThreadState *tstate,*/
        py_code,           /*PyCodeObject *code,*/
        __pyx_mstate_global->__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);
}
#endif

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

/* CIntFromPy */
static CYTHON_INLINE int __Pyx_PyLong_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 (unlikely(!PyLong_Check(x))) {
        int val;
        PyObject *tmp = __Pyx_PyNumber_Long(x);
        if (!tmp) return (int) -1;
        val = __Pyx_PyLong_As_int(tmp);
        Py_DECREF(tmp);
        return val;
    }
    if (is_unsigned) {
#if CYTHON_USE_PYLONG_INTERNALS
        if (unlikely(__Pyx_PyLong_IsNeg(x))) {
            goto raise_neg_overflow;
        } else if (__Pyx_PyLong_IsCompact(x)) {
            __PYX_VERIFY_RETURN_INT(int, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x))
        } else {
            const digit* digits = __Pyx_PyLong_Digits(x);
            assert(__Pyx_PyLong_DigitCount(x) > 1);
            switch (__Pyx_PyLong_DigitCount(x)) {
                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 && PY_VERSION_HEX < 0x030C00A7
        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))
        } else if ((sizeof(int) <= sizeof(unsigned PY_LONG_LONG))) {
            __PYX_VERIFY_RETURN_INT_EXC(int, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
        }
    } else {
#if CYTHON_USE_PYLONG_INTERNALS
        if (__Pyx_PyLong_IsCompact(x)) {
            __PYX_VERIFY_RETURN_INT(int, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x))
        } else {
            const digit* digits = __Pyx_PyLong_Digits(x);
            assert(__Pyx_PyLong_DigitCount(x) > 1);
            switch (__Pyx_PyLong_SignedDigitCount(x)) {
                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))
        } else if ((sizeof(int) <= sizeof(PY_LONG_LONG))) {
            __PYX_VERIFY_RETURN_INT_EXC(int, PY_LONG_LONG, PyLong_AsLongLong(x))
        }
    }
    {
        int val;
        int ret = -1;
#if PY_VERSION_HEX >= 0x030d00A6 && !CYTHON_COMPILING_IN_LIMITED_API
        Py_ssize_t bytes_copied = PyLong_AsNativeBytes(
            x, &val, sizeof(val), Py_ASNATIVEBYTES_NATIVE_ENDIAN | (is_unsigned ? Py_ASNATIVEBYTES_UNSIGNED_BUFFER | Py_ASNATIVEBYTES_REJECT_NEGATIVE : 0));
        if (unlikely(bytes_copied == -1)) {
        } else if (unlikely(bytes_copied > (Py_ssize_t) sizeof(val))) {
            goto raise_overflow;
        } else {
            ret = 0;
        }
#elif PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
        int one = 1; int is_little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&val;
        ret = _PyLong_AsByteArray((PyLongObject *)x,
                                    bytes, sizeof(val),
                                    is_little, !is_unsigned);
#else
        PyObject *v;
        PyObject *stepval = NULL, *mask = NULL, *shift = NULL;
        int bits, remaining_bits, is_negative = 0;
        int chunk_size = (sizeof(long) < 8) ? 30 : 62;
        if (likely(PyLong_CheckExact(x))) {
            v = __Pyx_NewRef(x);
        } else {
            v = PyNumber_Long(x);
            if (unlikely(!v)) return (int) -1;
            assert(PyLong_CheckExact(v));
        }
        {
            int result = PyObject_RichCompareBool(v, Py_False, Py_LT);
            if (unlikely(result < 0)) {
                Py_DECREF(v);
                return (int) -1;
            }
            is_negative = result == 1;
        }
        if (is_unsigned && unlikely(is_negative)) {
            Py_DECREF(v);
            goto raise_neg_overflow;
        } else if (is_negative) {
            stepval = PyNumber_Invert(v);
            Py_DECREF(v);
            if (unlikely(!stepval))
                return (int) -1;
        } else {
            stepval = v;
        }
        v = NULL;
        val = (int) 0;
        mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done;
        shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done;
        for (bits = 0; bits < (int) sizeof(int) * 8 - chunk_size; bits += chunk_size) {
            PyObject *tmp, *digit;
            long idigit;
            digit = PyNumber_And(stepval, mask);
            if (unlikely(!digit)) goto done;
            idigit = PyLong_AsLong(digit);
            Py_DECREF(digit);
            if (unlikely(idigit < 0)) goto done;
            val |= ((int) idigit) << bits;
            tmp = PyNumber_Rshift(stepval, shift);
            if (unlikely(!tmp)) goto done;
            Py_DECREF(stepval); stepval = tmp;
        }
        Py_DECREF(shift); shift = NULL;
        Py_DECREF(mask); mask = NULL;
        {
            long idigit = PyLong_AsLong(stepval);
            if (unlikely(idigit < 0)) goto done;
            remaining_bits = ((int) sizeof(int) * 8) - bits - (is_unsigned ? 0 : 1);
            if (unlikely(idigit >= (1L << remaining_bits)))
                goto raise_overflow;
            val |= ((int) idigit) << bits;
        }
        if (!is_unsigned) {
            if (unlikely(val & (((int) 1) << (sizeof(int) * 8 - 1))))
                goto raise_overflow;
            if (is_negative)
                val = ~val;
        }
        ret = 0;
    done:
        Py_XDECREF(shift);
        Py_XDECREF(mask);
        Py_XDECREF(stepval);
#endif
        if (unlikely(ret))
            return (int) -1;
        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;
}

/* CIntToPy */
static CYTHON_INLINE PyObject* __Pyx_PyLong_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 PyLong_FromLong((long) value);
        } else if (sizeof(int) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
#if !CYTHON_COMPILING_IN_PYPY
        } 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 PyLong_FromLong((long) value);
        } else if (sizeof(int) <= sizeof(PY_LONG_LONG)) {
            return PyLong_FromLongLong((PY_LONG_LONG) value);
        }
    }
    {
        unsigned char *bytes = (unsigned char *)&value;
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x030d00A4
        if (is_unsigned) {
            return PyLong_FromUnsignedNativeBytes(bytes, sizeof(value), -1);
        } else {
            return PyLong_FromNativeBytes(bytes, sizeof(value), -1);
        }
#elif !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
        int one = 1; int little = (int)*(unsigned char *)&one;
        return _PyLong_FromByteArray(bytes, sizeof(int),
                                     little, !is_unsigned);
#else
        int one = 1; int little = (int)*(unsigned char *)&one;
        PyObject *from_bytes, *result = NULL, *kwds = NULL;
        PyObject *py_bytes = NULL, *order_str = NULL;
        from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
        if (!from_bytes) return NULL;
        py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(int));
        if (!py_bytes) goto limited_bad;
        order_str = PyUnicode_FromString(little ? "little" : "big");
        if (!order_str) goto limited_bad;
        {
            PyObject *args[3+(CYTHON_VECTORCALL ? 1 : 0)] = { NULL, py_bytes, order_str };
            if (!is_unsigned) {
                kwds = __Pyx_MakeVectorcallBuilderKwds(1);
                if (!kwds) goto limited_bad;
                if (__Pyx_VectorcallBuilder_AddArgStr("signed", __Pyx_NewRef(Py_True), kwds, args+3, 0) < 0) goto limited_bad;
            }
            result = __Pyx_Object_Vectorcall_CallFromBuilder(from_bytes, args+1, 2 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET, kwds);
        }
        limited_bad:
        Py_XDECREF(kwds);
        Py_XDECREF(order_str);
        Py_XDECREF(py_bytes);
        Py_XDECREF(from_bytes);
        return result;
#endif
    }
}

/* CIntToPy */
static CYTHON_INLINE PyObject* __Pyx_PyLong_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 PyLong_FromLong((long) value);
        } else if (sizeof(long) <= sizeof(unsigned long)) {
            return PyLong_FromUnsignedLong((unsigned long) value);
#if !CYTHON_COMPILING_IN_PYPY
        } 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 PyLong_FromLong((long) value);
        } else if (sizeof(long) <= sizeof(PY_LONG_LONG)) {
            return PyLong_FromLongLong((PY_LONG_LONG) value);
        }
    }
    {
        unsigned char *bytes = (unsigned char *)&value;
#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x030d00A4
        if (is_unsigned) {
            return PyLong_FromUnsignedNativeBytes(bytes, sizeof(value), -1);
        } else {
            return PyLong_FromNativeBytes(bytes, sizeof(value), -1);
        }
#elif !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
        int one = 1; int little = (int)*(unsigned char *)&one;
        return _PyLong_FromByteArray(bytes, sizeof(long),
                                     little, !is_unsigned);
#else
        int one = 1; int little = (int)*(unsigned char *)&one;
        PyObject *from_bytes, *result = NULL, *kwds = NULL;
        PyObject *py_bytes = NULL, *order_str = NULL;
        from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
        if (!from_bytes) return NULL;
        py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(long));
        if (!py_bytes) goto limited_bad;
        order_str = PyUnicode_FromString(little ? "little" : "big");
        if (!order_str) goto limited_bad;
        {
            PyObject *args[3+(CYTHON_VECTORCALL ? 1 : 0)] = { NULL, py_bytes, order_str };
            if (!is_unsigned) {
                kwds = __Pyx_MakeVectorcallBuilderKwds(1);
                if (!kwds) goto limited_bad;
                if (__Pyx_VectorcallBuilder_AddArgStr("signed", __Pyx_NewRef(Py_True), kwds, args+3, 0) < 0) goto limited_bad;
            }
            result = __Pyx_Object_Vectorcall_CallFromBuilder(from_bytes, args+1, 2 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET, kwds);
        }
        limited_bad:
        Py_XDECREF(kwds);
        Py_XDECREF(order_str);
        Py_XDECREF(py_bytes);
        Py_XDECREF(from_bytes);
        return result;
#endif
    }
}

/* CIntFromPy */
static CYTHON_INLINE long __Pyx_PyLong_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 (unlikely(!PyLong_Check(x))) {
        long val;
        PyObject *tmp = __Pyx_PyNumber_Long(x);
        if (!tmp) return (long) -1;
        val = __Pyx_PyLong_As_long(tmp);
        Py_DECREF(tmp);
        return val;
    }
    if (is_unsigned) {
#if CYTHON_USE_PYLONG_INTERNALS
        if (unlikely(__Pyx_PyLong_IsNeg(x))) {
            goto raise_neg_overflow;
        } else if (__Pyx_PyLong_IsCompact(x)) {
            __PYX_VERIFY_RETURN_INT(long, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x))
        } else {
            const digit* digits = __Pyx_PyLong_Digits(x);
            assert(__Pyx_PyLong_DigitCount(x) > 1);
            switch (__Pyx_PyLong_DigitCount(x)) {
                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 && PY_VERSION_HEX < 0x030C00A7
        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))
        } else if ((sizeof(long) <= sizeof(unsigned PY_LONG_LONG))) {
            __PYX_VERIFY_RETURN_INT_EXC(long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
        }
    } else {
#if CYTHON_USE_PYLONG_INTERNALS
        if (__Pyx_PyLong_IsCompact(x)) {
            __PYX_VERIFY_RETURN_INT(long, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x))
        } else {
            const digit* digits = __Pyx_PyLong_Digits(x);
            assert(__Pyx_PyLong_DigitCount(x) > 1);
            switch (__Pyx_PyLong_SignedDigitCount(x)) {
                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))
        } else if ((sizeof(long) <= sizeof(PY_LONG_LONG))) {
            __PYX_VERIFY_RETURN_INT_EXC(long, PY_LONG_LONG, PyLong_AsLongLong(x))
        }
    }
    {
        long val;
        int ret = -1;
#if PY_VERSION_HEX >= 0x030d00A6 && !CYTHON_COMPILING_IN_LIMITED_API
        Py_ssize_t bytes_copied = PyLong_AsNativeBytes(
            x, &val, sizeof(val), Py_ASNATIVEBYTES_NATIVE_ENDIAN | (is_unsigned ? Py_ASNATIVEBYTES_UNSIGNED_BUFFER | Py_ASNATIVEBYTES_REJECT_NEGATIVE : 0));
        if (unlikely(bytes_copied == -1)) {
        } else if (unlikely(bytes_copied > (Py_ssize_t) sizeof(val))) {
            goto raise_overflow;
        } else {
            ret = 0;
        }
#elif PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
        int one = 1; int is_little = (int)*(unsigned char *)&one;
        unsigned char *bytes = (unsigned char *)&val;
        ret = _PyLong_AsByteArray((PyLongObject *)x,
                                    bytes, sizeof(val),
                                    is_little, !is_unsigned);
#else
        PyObject *v;
        PyObject *stepval = NULL, *mask = NULL, *shift = NULL;
        int bits, remaining_bits, is_negative = 0;
        int chunk_size = (sizeof(long) < 8) ? 30 : 62;
        if (likely(PyLong_CheckExact(x))) {
            v = __Pyx_NewRef(x);
        } else {
            v = PyNumber_Long(x);
            if (unlikely(!v)) return (long) -1;
            assert(PyLong_CheckExact(v));
        }
        {
            int result = PyObject_RichCompareBool(v, Py_False, Py_LT);
            if (unlikely(result < 0)) {
                Py_DECREF(v);
                return (long) -1;
            }
            is_negative = result == 1;
        }
        if (is_unsigned && unlikely(is_negative)) {
            Py_DECREF(v);
            goto raise_neg_overflow;
        } else if (is_negative) {
            stepval = PyNumber_Invert(v);
            Py_DECREF(v);
            if (unlikely(!stepval))
                return (long) -1;
        } else {
            stepval = v;
        }
        v = NULL;
        val = (long) 0;
        mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done;
        shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done;
        for (bits = 0; bits < (int) sizeof(long) * 8 - chunk_size; bits += chunk_size) {
            PyObject *tmp, *digit;
            long idigit;
            digit = PyNumber_And(stepval, mask);
            if (unlikely(!digit)) goto done;
            idigit = PyLong_AsLong(digit);
            Py_DECREF(digit);
            if (unlikely(idigit < 0)) goto done;
            val |= ((long) idigit) << bits;
            tmp = PyNumber_Rshift(stepval, shift);
            if (unlikely(!tmp)) goto done;
            Py_DECREF(stepval); stepval = tmp;
        }
        Py_DECREF(shift); shift = NULL;
        Py_DECREF(mask); mask = NULL;
        {
            long idigit = PyLong_AsLong(stepval);
            if (unlikely(idigit < 0)) goto done;
            remaining_bits = ((int) sizeof(long) * 8) - bits - (is_unsigned ? 0 : 1);
            if (unlikely(idigit >= (1L << remaining_bits)))
                goto raise_overflow;
            val |= ((long) idigit) << bits;
        }
        if (!is_unsigned) {
            if (unlikely(val & (((long) 1) << (sizeof(long) * 8 - 1))))
                goto raise_overflow;
            if (is_negative)
                val = ~val;
        }
        ret = 0;
    done:
        Py_XDECREF(shift);
        Py_XDECREF(mask);
        Py_XDECREF(stepval);
#endif
        if (unlikely(ret))
            return (long) -1;
        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;
}

/* FormatTypeName */
#if CYTHON_COMPILING_IN_LIMITED_API && __PYX_LIMITED_VERSION_HEX < 0x030d0000
static __Pyx_TypeName
__Pyx_PyType_GetFullyQualifiedName(PyTypeObject* tp)
{
    PyObject *module = NULL, *name = NULL, *result = NULL;
    #if __PYX_LIMITED_VERSION_HEX < 0x030b0000
    name = __Pyx_PyObject_GetAttrStr((PyObject *)tp,
                                               __pyx_mstate_global->__pyx_n_u_qualname);
    #else
    name = PyType_GetQualName(tp);
    #endif
    if (unlikely(name == NULL) || unlikely(!PyUnicode_Check(name))) goto bad;
    module = __Pyx_PyObject_GetAttrStr((PyObject *)tp,
                                               __pyx_mstate_global->__pyx_n_u_module);
    if (unlikely(module == NULL) || unlikely(!PyUnicode_Check(module))) goto bad;
    if (PyUnicode_CompareWithASCIIString(module, "builtins") == 0) {
        result = name;
        name = NULL;
        goto done;
    }
    result = PyUnicode_FromFormat("%U.%U", module, name);
    if (unlikely(result == NULL)) goto bad;
  done:
    Py_XDECREF(name);
    Py_XDECREF(module);
    return result;
  bad:
    PyErr_Clear();
    if (name) {
        result = name;
        name = NULL;
    } else {
        result = __Pyx_NewRef(__pyx_mstate_global->__pyx_kp_u__6);
    }
    goto done;
}
#endif

/* GetRuntimeVersion */
#if __PYX_LIMITED_VERSION_HEX < 0x030b0000
void __Pyx_init_runtime_version(void) {
    if (__Pyx_cached_runtime_version == 0) {
        const char* rt_version = Py_GetVersion();
        unsigned long version = 0;
        unsigned long factor = 0x01000000UL;
        unsigned int digit = 0;
        int i = 0;
        while (factor) {
            while ('0' <= rt_version[i] && rt_version[i] <= '9') {
                digit = digit * 10 + (unsigned int) (rt_version[i] - '0');
                ++i;
            }
            version += factor * digit;
            if (rt_version[i] != '.')
                break;
            digit = 0;
            factor >>= 8;
            ++i;
        }
        __Pyx_cached_runtime_version = version;
    }
}
#endif
static unsigned long __Pyx_get_runtime_version(void) {
#if __PYX_LIMITED_VERSION_HEX >= 0x030b0000
    return Py_Version & ~0xFFUL;
#else
    return __Pyx_cached_runtime_version;
#endif
}

/* CheckBinaryVersion */
static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer) {
    const unsigned long MAJOR_MINOR = 0xFFFF0000UL;
    if ((rt_version & MAJOR_MINOR) == (ct_version & MAJOR_MINOR))
        return 0;
    if (likely(allow_newer && (rt_version & MAJOR_MINOR) > (ct_version & MAJOR_MINOR)))
        return 1;
    {
        char message[200];
        PyOS_snprintf(message, sizeof(message),
                      "compile time Python version %d.%d "
                      "of module '%.100s' "
                      "%s "
                      "runtime version %d.%d",
                       (int) (ct_version >> 24), (int) ((ct_version >> 16) & 0xFF),
                       __Pyx_MODULE_NAME,
                       (allow_newer) ? "was newer than" : "does not match",
                       (int) (rt_version >> 24), (int) ((rt_version >> 16) & 0xFF)
       );
        return PyErr_WarnEx(NULL, message, 1);
    }
}

/* NewCodeObj */
#if CYTHON_COMPILING_IN_LIMITED_API
    static PyObject* __Pyx__PyCode_New(int a, int p, int k, int l, int s, int f,
                                       PyObject *code, PyObject *c, PyObject* n, PyObject *v,
                                       PyObject *fv, PyObject *cell, PyObject* fn,
                                       PyObject *name, int fline, PyObject *lnos) {
        PyObject *exception_table = NULL;
        PyObject *types_module=NULL, *code_type=NULL, *result=NULL;
        #if __PYX_LIMITED_VERSION_HEX < 0x030b0000
        PyObject *version_info;
        PyObject *py_minor_version = NULL;
        #endif
        long minor_version = 0;
        PyObject *type, *value, *traceback;
        PyErr_Fetch(&type, &value, &traceback);
        #if __PYX_LIMITED_VERSION_HEX >= 0x030b0000
        minor_version = 11;
        #else
        if (!(version_info = PySys_GetObject("version_info"))) goto end;
        if (!(py_minor_version = PySequence_GetItem(version_info, 1))) goto end;
        minor_version = PyLong_AsLong(py_minor_version);
        Py_DECREF(py_minor_version);
        if (minor_version == -1 && PyErr_Occurred()) goto end;
        #endif
        if (!(types_module = PyImport_ImportModule("types"))) goto end;
        if (!(code_type = PyObject_GetAttrString(types_module, "CodeType"))) goto end;
        if (minor_version <= 7) {
            (void)p;
            result = PyObject_CallFunction(code_type, "iiiiiOOOOOOiOOO", a, k, l, s, f, code,
                          c, n, v, fn, name, fline, lnos, fv, cell);
        } else if (minor_version <= 10) {
            result = PyObject_CallFunction(code_type, "iiiiiiOOOOOOiOOO", a,p, k, l, s, f, code,
                          c, n, v, fn, name, fline, lnos, fv, cell);
        } else {
            if (!(exception_table = PyBytes_FromStringAndSize(NULL, 0))) goto end;
            result = PyObject_CallFunction(code_type, "iiiiiiOOOOOOOiOOOO", a,p, k, l, s, f, code,
                          c, n, v, fn, name, name, fline, lnos, exception_table, fv, cell);
        }
    end:
        Py_XDECREF(code_type);
        Py_XDECREF(exception_table);
        Py_XDECREF(types_module);
        if (type) {
            PyErr_Restore(type, value, traceback);
        }
        return result;
    }
#elif PY_VERSION_HEX >= 0x030B0000
  static PyCodeObject* __Pyx__PyCode_New(int a, int p, int k, int l, int s, int f,
                                         PyObject *code, PyObject *c, PyObject* n, PyObject *v,
                                         PyObject *fv, PyObject *cell, PyObject* fn,
                                         PyObject *name, int fline, PyObject *lnos) {
    PyCodeObject *result;
    result =
      #if PY_VERSION_HEX >= 0x030C0000
        PyUnstable_Code_NewWithPosOnlyArgs
      #else
        PyCode_NewWithPosOnlyArgs
      #endif
        (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, __pyx_mstate_global->__pyx_empty_bytes);
    #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030c00A1
    if (likely(result))
        result->_co_firsttraceable = 0;
    #endif
    return result;
  }
#elif !CYTHON_COMPILING_IN_PYPY
  #define __Pyx__PyCode_New(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
          PyCode_NewWithPosOnlyArgs(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
#else
  #define __Pyx__PyCode_New(a, p, 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
static PyObject* __Pyx_PyCode_New(
        const __Pyx_PyCode_New_function_description descr,
        PyObject * const *varnames,
        PyObject *filename,
        PyObject *funcname,
        PyObject *line_table,
        PyObject *tuple_dedup_map
) {
    PyObject *code_obj = NULL, *varnames_tuple_dedup = NULL, *code_bytes = NULL;
    Py_ssize_t var_count = (Py_ssize_t) descr.nlocals;
    PyObject *varnames_tuple = PyTuple_New(var_count);
    if (unlikely(!varnames_tuple)) return NULL;
    for (Py_ssize_t i=0; i < var_count; i++) {
        Py_INCREF(varnames[i]);
        if (__Pyx_PyTuple_SET_ITEM(varnames_tuple, i, varnames[i]) != (0)) goto done;
    }
    #if CYTHON_COMPILING_IN_LIMITED_API
    varnames_tuple_dedup = PyDict_GetItem(tuple_dedup_map, varnames_tuple);
    if (!varnames_tuple_dedup) {
        if (unlikely(PyDict_SetItem(tuple_dedup_map, varnames_tuple, varnames_tuple) < 0)) goto done;
        varnames_tuple_dedup = varnames_tuple;
    }
    #else
    varnames_tuple_dedup = PyDict_SetDefault(tuple_dedup_map, varnames_tuple, varnames_tuple);
    if (unlikely(!varnames_tuple_dedup)) goto done;
    #endif
    #if CYTHON_AVOID_BORROWED_REFS
    Py_INCREF(varnames_tuple_dedup);
    #endif
    if (__PYX_LIMITED_VERSION_HEX >= (0x030b0000) && line_table != NULL && !CYTHON_COMPILING_IN_GRAAL) {
        Py_ssize_t line_table_length = __Pyx_PyBytes_GET_SIZE(line_table);
        #if !CYTHON_ASSUME_SAFE_SIZE
        if (unlikely(line_table_length == -1)) goto done;
        #endif
        Py_ssize_t code_len = (line_table_length * 2 + 4) & ~3LL;
        code_bytes = PyBytes_FromStringAndSize(NULL, code_len);
        if (unlikely(!code_bytes)) goto done;
        char* c_code_bytes = PyBytes_AsString(code_bytes);
        if (unlikely(!c_code_bytes)) goto done;
        memset(c_code_bytes, 0, (size_t) code_len);
    }
    code_obj = (PyObject*) __Pyx__PyCode_New(
        (int) descr.argcount,
        (int) descr.num_posonly_args,
        (int) descr.num_kwonly_args,
        (int) descr.nlocals,
        0,
        (int) descr.flags,
        code_bytes ? code_bytes : __pyx_mstate_global->__pyx_empty_bytes,
        __pyx_mstate_global->__pyx_empty_tuple,
        __pyx_mstate_global->__pyx_empty_tuple,
        varnames_tuple_dedup,
        __pyx_mstate_global->__pyx_empty_tuple,
        __pyx_mstate_global->__pyx_empty_tuple,
        filename,
        funcname,
        (int) descr.first_line,
        (__PYX_LIMITED_VERSION_HEX >= (0x030b0000) && line_table) ? line_table : __pyx_mstate_global->__pyx_empty_bytes
    );
done:
    Py_XDECREF(code_bytes);
    #if CYTHON_AVOID_BORROWED_REFS
    Py_XDECREF(varnames_tuple_dedup);
    #endif
    Py_DECREF(varnames_tuple);
    return code_obj;
}

/* DecompressString */
static PyObject *__Pyx_DecompressString(const char *s, Py_ssize_t length, int algo) {
    PyObject *module, *decompress, *compressed_bytes, *decompressed;
    const char* module_name = algo == 3 ? "compression.zstd" : algo == 2 ? "bz2" : "zlib";
    PyObject *methodname = PyUnicode_FromString("decompress");
    if (unlikely(!methodname)) return NULL;
    #if __PYX_LIMITED_VERSION_HEX >= 0x030e0000
    if (algo == 3) {
        PyObject *fromlist = Py_BuildValue("[O]", methodname);
        if (unlikely(!fromlist)) return NULL;
        module = PyImport_ImportModuleLevel("compression.zstd", NULL, NULL, fromlist, 0);
        Py_DECREF(fromlist);
    } else
    #endif
        module = PyImport_ImportModule(module_name);
    if (unlikely(!module)) goto import_failed;
    decompress = PyObject_GetAttr(module, methodname);
    if (unlikely(!decompress)) goto import_failed;
    {
        #ifdef __cplusplus
            char *memview_bytes = const_cast<char*>(s);
        #else
            #if defined(__clang__)
              #pragma clang diagnostic push
              #pragma clang diagnostic ignored "-Wcast-qual"
            #elif !defined(__INTEL_COMPILER) && defined(__GNUC__)
              #pragma GCC diagnostic push
              #pragma GCC diagnostic ignored "-Wcast-qual"
            #endif
            char *memview_bytes = (char*) s;
            #if defined(__clang__)
              #pragma clang diagnostic pop
            #elif !defined(__INTEL_COMPILER) && defined(__GNUC__)
              #pragma GCC diagnostic pop
            #endif
        #endif
        #if CYTHON_COMPILING_IN_LIMITED_API && !defined(PyBUF_READ)
        int memview_flags = 0x100;
        #else
        int memview_flags = PyBUF_READ;
        #endif
        compressed_bytes = PyMemoryView_FromMemory(memview_bytes, length, memview_flags);
    }
    if (unlikely(!compressed_bytes)) {
        Py_DECREF(decompress);
        goto bad;
    }
    decompressed = PyObject_CallFunctionObjArgs(decompress, compressed_bytes, NULL);
    Py_DECREF(compressed_bytes);
    Py_DECREF(decompress);
    Py_DECREF(module);
    Py_DECREF(methodname);
    return decompressed;
import_failed:
    PyErr_Format(PyExc_ImportError,
        "Failed to import '%.20s.decompress' - cannot initialise module strings. "
        "String compression was configured with the C macro 'CYTHON_COMPRESS_STRINGS=%d'.",
        module_name, algo);
bad:
    Py_XDECREF(module);
    Py_DECREF(methodname);
    return NULL;
}

#include <string.h>
static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) {
    size_t len = strlen(s);
    if (unlikely(len > (size_t) PY_SSIZE_T_MAX)) {
        PyErr_SetString(PyExc_OverflowError, "byte string is too long");
        return -1;
    }
    return (Py_ssize_t) len;
}
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
    Py_ssize_t len = __Pyx_ssize_strlen(c_str);
    if (unlikely(len < 0)) return NULL;
    return __Pyx_PyUnicode_FromStringAndSize(c_str, len);
}
static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char* c_str) {
    Py_ssize_t len = __Pyx_ssize_strlen(c_str);
    if (unlikely(len < 0)) return NULL;
    return PyByteArray_FromStringAndSize(c_str, len);
}
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_UTF8
static CYTHON_INLINE const char* __Pyx_PyUnicode_AsStringAndSize(PyObject* o, Py_ssize_t *length) {
    if (unlikely(__Pyx_PyUnicode_READY(o) == -1)) return NULL;
#if CYTHON_COMPILING_IN_LIMITED_API
    {
        const char* result;
        Py_ssize_t unicode_length;
        CYTHON_MAYBE_UNUSED_VAR(unicode_length); // only for __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
        #if __PYX_LIMITED_VERSION_HEX < 0x030A0000
        if (unlikely(PyArg_Parse(o, "s#", &result, length) < 0)) return NULL;
        #else
        result = PyUnicode_AsUTF8AndSize(o, length);
        #endif
        #if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
        unicode_length = PyUnicode_GetLength(o);
        if (unlikely(unicode_length < 0)) return NULL;
        if (unlikely(unicode_length != *length)) {
            PyUnicode_AsASCIIString(o);
            return NULL;
        }
        #endif
        return result;
    }
#else
#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_UTF8
    if (PyUnicode_Check(o)) {
        return __Pyx_PyUnicode_AsStringAndSize(o, length);
    } else
#endif
    if (PyByteArray_Check(o)) {
#if (CYTHON_ASSUME_SAFE_SIZE && CYTHON_ASSUME_SAFE_MACROS) || (CYTHON_COMPILING_IN_PYPY && (defined(PyByteArray_AS_STRING) && defined(PyByteArray_GET_SIZE)))
        *length = PyByteArray_GET_SIZE(o);
        return PyByteArray_AS_STRING(o);
#else
        *length = PyByteArray_Size(o);
        if (*length == -1) return NULL;
        return PyByteArray_AsString(o);
#endif
    } else
    {
        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_LongWrongResultType(PyObject* result) {
    __Pyx_TypeName result_type_name = __Pyx_PyType_GetFullyQualifiedName(Py_TYPE(result));
    if (PyLong_Check(result)) {
        if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
                "__int__ returned non-int (type " __Pyx_FMT_TYPENAME ").  "
                "The ability to return an instance of a strict subclass of int is deprecated, "
                "and may be removed in a future version of Python.",
                result_type_name)) {
            __Pyx_DECREF_TypeName(result_type_name);
            Py_DECREF(result);
            return NULL;
        }
        __Pyx_DECREF_TypeName(result_type_name);
        return result;
    }
    PyErr_Format(PyExc_TypeError,
                 "__int__ returned non-int (type " __Pyx_FMT_TYPENAME ")",
                 result_type_name);
    __Pyx_DECREF_TypeName(result_type_name);
    Py_DECREF(result);
    return NULL;
}
static CYTHON_INLINE PyObject* __Pyx_PyNumber_Long(PyObject* x) {
#if CYTHON_USE_TYPE_SLOTS
  PyNumberMethods *m;
#endif
  PyObject *res = NULL;
  if (likely(PyLong_Check(x)))
      return __Pyx_NewRef(x);
#if CYTHON_USE_TYPE_SLOTS
  m = Py_TYPE(x)->tp_as_number;
  if (likely(m && m->nb_int)) {
      res = m->nb_int(x);
  }
#else
  if (!PyBytes_CheckExact(x) && !PyUnicode_CheckExact(x)) {
      res = PyNumber_Long(x);
  }
#endif
  if (likely(res)) {
      if (unlikely(!PyLong_CheckExact(res))) {
          return __Pyx_PyNumber_LongWrongResultType(res);
      }
  }
  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 (likely(PyLong_CheckExact(b))) {
    #if CYTHON_USE_PYLONG_INTERNALS
    if (likely(__Pyx_PyLong_IsCompact(b))) {
        return __Pyx_PyLong_CompactValue(b);
    } else {
      const digit* digits = __Pyx_PyLong_Digits(b);
      const Py_ssize_t size = __Pyx_PyLong_SignedDigitCount(b);
      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 = PyLong_AsSsize_t(x);
  Py_DECREF(x);
  return ival;
}
static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject* o) {
  if (sizeof(Py_hash_t) == sizeof(Py_ssize_t)) {
    return (Py_hash_t) __Pyx_PyIndex_AsSsize_t(o);
  } else {
    Py_ssize_t ival;
    PyObject *x;
    x = PyNumber_Index(o);
    if (!x) return -1;
    ival = PyLong_AsLong(x);
    Py_DECREF(x);
    return ival;
  }
}
static CYTHON_INLINE PyObject *__Pyx_Owned_Py_None(int b) {
    CYTHON_UNUSED_VAR(b);
    return __Pyx_NewRef(Py_None);
}
static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b) {
  return __Pyx_NewRef(b ? Py_True: Py_False);
}
static CYTHON_INLINE PyObject * __Pyx_PyLong_FromSize_t(size_t ival) {
    return PyLong_FromSize_t(ival);
}


/* MultiPhaseInitModuleState */
#if CYTHON_PEP489_MULTI_PHASE_INIT && CYTHON_USE_MODULE_STATE
#ifndef CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE
#if (CYTHON_COMPILING_IN_LIMITED_API || PY_VERSION_HEX >= 0x030C0000)
  #define CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE 1
#else
  #define CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE 0
#endif
#endif
#if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE && !CYTHON_ATOMICS
#error "Module state with PEP489 requires atomics. Currently that's one of\
 C11, C++11, gcc atomic intrinsics or MSVC atomic intrinsics"
#endif
#if !CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE
#define __Pyx_ModuleStateLookup_Lock()
#define __Pyx_ModuleStateLookup_Unlock()
#elif !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x030d0000
static PyMutex __Pyx_ModuleStateLookup_mutex = {0};
#define __Pyx_ModuleStateLookup_Lock() PyMutex_Lock(&__Pyx_ModuleStateLookup_mutex)
#define __Pyx_ModuleStateLookup_Unlock() PyMutex_Unlock(&__Pyx_ModuleStateLookup_mutex)
#elif defined(__cplusplus) && __cplusplus >= 201103L
#include <mutex>
static std::mutex __Pyx_ModuleStateLookup_mutex;
#define __Pyx_ModuleStateLookup_Lock() __Pyx_ModuleStateLookup_mutex.lock()
#define __Pyx_ModuleStateLookup_Unlock() __Pyx_ModuleStateLookup_mutex.unlock()
#elif defined(__STDC_VERSION__) && (__STDC_VERSION__ > 201112L) && !defined(__STDC_NO_THREADS__)
#include <threads.h>
static mtx_t __Pyx_ModuleStateLookup_mutex;
static once_flag __Pyx_ModuleStateLookup_mutex_once_flag = ONCE_FLAG_INIT;
static void __Pyx_ModuleStateLookup_initialize_mutex(void) {
    mtx_init(&__Pyx_ModuleStateLookup_mutex, mtx_plain);
}
#define __Pyx_ModuleStateLookup_Lock()\
  call_once(&__Pyx_ModuleStateLookup_mutex_once_flag, __Pyx_ModuleStateLookup_initialize_mutex);\
  mtx_lock(&__Pyx_ModuleStateLookup_mutex)
#define __Pyx_ModuleStateLookup_Unlock() mtx_unlock(&__Pyx_ModuleStateLookup_mutex)
#elif defined(HAVE_PTHREAD_H)
#include <pthread.h>
static pthread_mutex_t __Pyx_ModuleStateLookup_mutex = PTHREAD_MUTEX_INITIALIZER;
#define __Pyx_ModuleStateLookup_Lock() pthread_mutex_lock(&__Pyx_ModuleStateLookup_mutex)
#define __Pyx_ModuleStateLookup_Unlock() pthread_mutex_unlock(&__Pyx_ModuleStateLookup_mutex)
#elif defined(_WIN32)
#include <Windows.h>  // synchapi.h on its own doesn't work
static SRWLOCK __Pyx_ModuleStateLookup_mutex = SRWLOCK_INIT;
#define __Pyx_ModuleStateLookup_Lock() AcquireSRWLockExclusive(&__Pyx_ModuleStateLookup_mutex)
#define __Pyx_ModuleStateLookup_Unlock() ReleaseSRWLockExclusive(&__Pyx_ModuleStateLookup_mutex)
#else
#error "No suitable lock available for CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE.\
 Requires C standard >= C11, or C++ standard >= C++11,\
 or pthreads, or the Windows 32 API, or Python >= 3.13."
#endif
typedef struct {
    int64_t id;
    PyObject *module;
} __Pyx_InterpreterIdAndModule;
typedef struct {
    char interpreter_id_as_index;
    Py_ssize_t count;
    Py_ssize_t allocated;
    __Pyx_InterpreterIdAndModule table[1];
} __Pyx_ModuleStateLookupData;
#define __PYX_MODULE_STATE_LOOKUP_SMALL_SIZE 32
#if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE
static __pyx_atomic_int_type __Pyx_ModuleStateLookup_read_counter = 0;
#endif
#if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE
static __pyx_atomic_ptr_type __Pyx_ModuleStateLookup_data = 0;
#else
static __Pyx_ModuleStateLookupData* __Pyx_ModuleStateLookup_data = NULL;
#endif
static __Pyx_InterpreterIdAndModule* __Pyx_State_FindModuleStateLookupTableLowerBound(
        __Pyx_InterpreterIdAndModule* table,
        Py_ssize_t count,
        int64_t interpreterId) {
    __Pyx_InterpreterIdAndModule* begin = table;
    __Pyx_InterpreterIdAndModule* end = begin + count;
    if (begin->id == interpreterId) {
        return begin;
    }
    while ((end - begin) > __PYX_MODULE_STATE_LOOKUP_SMALL_SIZE) {
        __Pyx_InterpreterIdAndModule* halfway = begin + (end - begin)/2;
        if (halfway->id == interpreterId) {
            return halfway;
        }
        if (halfway->id < interpreterId) {
            begin = halfway;
        } else {
            end = halfway;
        }
    }
    for (; begin < end; ++begin) {
        if (begin->id >= interpreterId) return begin;
    }
    return begin;
}
static PyObject *__Pyx_State_FindModule(CYTHON_UNUSED void* dummy) {
    int64_t interpreter_id = PyInterpreterState_GetID(__Pyx_PyInterpreterState_Get());
    if (interpreter_id == -1) return NULL;
#if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE
    __Pyx_ModuleStateLookupData* data = (__Pyx_ModuleStateLookupData*)__pyx_atomic_pointer_load_relaxed(&__Pyx_ModuleStateLookup_data);
    {
        __pyx_atomic_incr_acq_rel(&__Pyx_ModuleStateLookup_read_counter);
        if (likely(data)) {
            __Pyx_ModuleStateLookupData* new_data = (__Pyx_ModuleStateLookupData*)__pyx_atomic_pointer_load_acquire(&__Pyx_ModuleStateLookup_data);
            if (likely(data == new_data)) {
                goto read_finished;
            }
        }
        __pyx_atomic_decr_acq_rel(&__Pyx_ModuleStateLookup_read_counter);
        __Pyx_ModuleStateLookup_Lock();
        __pyx_atomic_incr_relaxed(&__Pyx_ModuleStateLookup_read_counter);
        data = (__Pyx_ModuleStateLookupData*)__pyx_atomic_pointer_load_relaxed(&__Pyx_ModuleStateLookup_data);
        __Pyx_ModuleStateLookup_Unlock();
    }
  read_finished:;
#else
    __Pyx_ModuleStateLookupData* data = __Pyx_ModuleStateLookup_data;
#endif
    __Pyx_InterpreterIdAndModule* found = NULL;
    if (unlikely(!data)) goto end;
    if (data->interpreter_id_as_index) {
        if (interpreter_id < data->count) {
            found = data->table+interpreter_id;
        }
    } else {
        found = __Pyx_State_FindModuleStateLookupTableLowerBound(
            data->table, data->count, interpreter_id);
    }
  end:
    {
        PyObject *result=NULL;
        if (found && found->id == interpreter_id) {
            result = found->module;
        }
#if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE
        __pyx_atomic_decr_acq_rel(&__Pyx_ModuleStateLookup_read_counter);
#endif
        return result;
    }
}
#if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE
static void __Pyx_ModuleStateLookup_wait_until_no_readers(void) {
    while (__pyx_atomic_load(&__Pyx_ModuleStateLookup_read_counter) != 0);
}
#else
#define __Pyx_ModuleStateLookup_wait_until_no_readers()
#endif
static int __Pyx_State_AddModuleInterpIdAsIndex(__Pyx_ModuleStateLookupData **old_data, PyObject* module, int64_t interpreter_id) {
    Py_ssize_t to_allocate = (*old_data)->allocated;
    while (to_allocate <= interpreter_id) {
        if (to_allocate == 0) to_allocate = 1;
        else to_allocate *= 2;
    }
    __Pyx_ModuleStateLookupData *new_data = *old_data;
    if (to_allocate != (*old_data)->allocated) {
         new_data = (__Pyx_ModuleStateLookupData *)realloc(
            *old_data,
            sizeof(__Pyx_ModuleStateLookupData)+(to_allocate-1)*sizeof(__Pyx_InterpreterIdAndModule));
        if (!new_data) {
            PyErr_NoMemory();
            return -1;
        }
        for (Py_ssize_t i = new_data->allocated; i < to_allocate; ++i) {
            new_data->table[i].id = i;
            new_data->table[i].module = NULL;
        }
        new_data->allocated = to_allocate;
    }
    new_data->table[interpreter_id].module = module;
    if (new_data->count < interpreter_id+1) {
        new_data->count = interpreter_id+1;
    }
    *old_data = new_data;
    return 0;
}
static void __Pyx_State_ConvertFromInterpIdAsIndex(__Pyx_ModuleStateLookupData *data) {
    __Pyx_InterpreterIdAndModule *read = data->table;
    __Pyx_InterpreterIdAndModule *write = data->table;
    __Pyx_InterpreterIdAndModule *end = read + data->count;
    for (; read<end; ++read) {
        if (read->module) {
            write->id = read->id;
            write->module = read->module;
            ++write;
        }
    }
    data->count = write - data->table;
    for (; write<end; ++write) {
        write->id = 0;
        write->module = NULL;
    }
    data->interpreter_id_as_index = 0;
}
static int __Pyx_State_AddModule(PyObject* module, CYTHON_UNUSED void* dummy) {
    int64_t interpreter_id = PyInterpreterState_GetID(__Pyx_PyInterpreterState_Get());
    if (interpreter_id == -1) return -1;
    int result = 0;
    __Pyx_ModuleStateLookup_Lock();
#if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE
    __Pyx_ModuleStateLookupData *old_data = (__Pyx_ModuleStateLookupData *)
            __pyx_atomic_pointer_exchange(&__Pyx_ModuleStateLookup_data, 0);
#else
    __Pyx_ModuleStateLookupData *old_data = __Pyx_ModuleStateLookup_data;
#endif
    __Pyx_ModuleStateLookupData *new_data = old_data;
    if (!new_data) {
        new_data = (__Pyx_ModuleStateLookupData *)calloc(1, sizeof(__Pyx_ModuleStateLookupData));
        if (!new_data) {
            result = -1;
            PyErr_NoMemory();
            goto end;
        }
        new_data->allocated = 1;
        new_data->interpreter_id_as_index = 1;
    }
    __Pyx_ModuleStateLookup_wait_until_no_readers();
    if (new_data->interpreter_id_as_index) {
        if (interpreter_id < __PYX_MODULE_STATE_LOOKUP_SMALL_SIZE) {
            result = __Pyx_State_AddModuleInterpIdAsIndex(&new_data, module, interpreter_id);
            goto end;
        }
        __Pyx_State_ConvertFromInterpIdAsIndex(new_data);
    }
    {
        Py_ssize_t insert_at = 0;
        {
            __Pyx_InterpreterIdAndModule* lower_bound = __Pyx_State_FindModuleStateLookupTableLowerBound(
                new_data->table, new_data->count, interpreter_id);
            assert(lower_bound);
            insert_at = lower_bound - new_data->table;
            if (unlikely(insert_at < new_data->count && lower_bound->id == interpreter_id)) {
                lower_bound->module = module;
                goto end;  // already in table, nothing more to do
            }
        }
        if (new_data->count+1 >= new_data->allocated) {
            Py_ssize_t to_allocate = (new_data->count+1)*2;
            new_data =
                (__Pyx_ModuleStateLookupData*)realloc(
                    new_data,
                    sizeof(__Pyx_ModuleStateLookupData) +
                    (to_allocate-1)*sizeof(__Pyx_InterpreterIdAndModule));
            if (!new_data) {
                result = -1;
                new_data = old_data;
                PyErr_NoMemory();
                goto end;
            }
            new_data->allocated = to_allocate;
        }
        ++new_data->count;
        int64_t last_id = interpreter_id;
        PyObject *last_module = module;
        for (Py_ssize_t i=insert_at; i<new_data->count; ++i) {
            int64_t current_id = new_data->table[i].id;
            new_data->table[i].id = last_id;
            last_id = current_id;
            PyObject *current_module = new_data->table[i].module;
            new_data->table[i].module = last_module;
            last_module = current_module;
        }
    }
  end:
#if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE
    __pyx_atomic_pointer_exchange(&__Pyx_ModuleStateLookup_data, new_data);
#else
    __Pyx_ModuleStateLookup_data = new_data;
#endif
    __Pyx_ModuleStateLookup_Unlock();
    return result;
}
static int __Pyx_State_RemoveModule(CYTHON_UNUSED void* dummy) {
    int64_t interpreter_id = PyInterpreterState_GetID(__Pyx_PyInterpreterState_Get());
    if (interpreter_id == -1) return -1;
    __Pyx_ModuleStateLookup_Lock();
#if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE
    __Pyx_ModuleStateLookupData *data = (__Pyx_ModuleStateLookupData *)
            __pyx_atomic_pointer_exchange(&__Pyx_ModuleStateLookup_data, 0);
#else
    __Pyx_ModuleStateLookupData *data = __Pyx_ModuleStateLookup_data;
#endif
    if (data->interpreter_id_as_index) {
        if (interpreter_id < data->count) {
            data->table[interpreter_id].module = NULL;
        }
        goto done;
    }
    {
        __Pyx_ModuleStateLookup_wait_until_no_readers();
        __Pyx_InterpreterIdAndModule* lower_bound = __Pyx_State_FindModuleStateLookupTableLowerBound(
            data->table, data->count, interpreter_id);
        if (!lower_bound) goto done;
        if (lower_bound->id != interpreter_id) goto done;
        __Pyx_InterpreterIdAndModule *end = data->table+data->count;
        for (;lower_bound<end-1; ++lower_bound) {
            lower_bound->id = (lower_bound+1)->id;
            lower_bound->module = (lower_bound+1)->module;
        }
    }
    --data->count;
    if (data->count == 0) {
        free(data);
        data = NULL;
    }
  done:
#if CYTHON_MODULE_STATE_LOOKUP_THREAD_SAFE
    __pyx_atomic_pointer_exchange(&__Pyx_ModuleStateLookup_data, data);
#else
    __Pyx_ModuleStateLookup_data = data;
#endif
    __Pyx_ModuleStateLookup_Unlock();
    return 0;
}
#endif

/* #### Code section: utility_code_pragmas_end ### */
#ifdef _MSC_VER
#pragma warning( pop )
#endif



/* #### Code section: end ### */
#endif /* Py_PYTHON_H */
